DPDK  24.11.0-rc3
Data Fields
rte_eth_fc_conf Struct Reference

#include <rte_ethdev.h>

Data Fields

uint32_t high_water
 
uint32_t low_water
 
uint16_t pause_time
 
uint16_t send_xon
 
enum rte_eth_fc_mode mode
 
uint8_t mac_ctrl_frame_fwd
 
uint8_t autoneg
 

Detailed Description

A structure used to configure Ethernet flow control parameter. These parameters will be configured into the register of the NIC. Please refer to the corresponding data sheet for proper value.

Examples:
examples/ethtool/lib/rte_ethtool.c.

Definition at line 1377 of file rte_ethdev.h.

Field Documentation

◆ high_water

uint32_t high_water

High threshold value to trigger XOFF

Definition at line 1378 of file rte_ethdev.h.

◆ low_water

uint32_t low_water

Low threshold value to trigger XON

Definition at line 1379 of file rte_ethdev.h.

◆ pause_time

uint16_t pause_time

Pause quota in the Pause frame

Definition at line 1380 of file rte_ethdev.h.

◆ send_xon

uint16_t send_xon

Is XON frame need be sent

Definition at line 1381 of file rte_ethdev.h.

◆ mode

enum rte_eth_fc_mode mode

Link flow control mode

Examples:
examples/ethtool/lib/rte_ethtool.c.

Definition at line 1382 of file rte_ethdev.h.

◆ mac_ctrl_frame_fwd

uint8_t mac_ctrl_frame_fwd

Forward MAC control frames

Definition at line 1383 of file rte_ethdev.h.

◆ autoneg

uint8_t autoneg

Use Pause autoneg

Examples:
examples/ethtool/lib/rte_ethtool.c.

Definition at line 1384 of file rte_ethdev.h.


The documentation for this struct was generated from the following file: