logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_eth_pfc_queue_conf

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                       rte_eth_pfc_queue_conf(3)

Detailed Description

WarningEXPERIMENTAL: this API may change, or be removed, without prior notice

       A structure used to configure Ethernet priority flow control parameters for ethdev queues.

       rte_eth_pfc_queue_conf::rx_pause structure shall be used to configure given tx_qid with corresponding tc.
       When ethdev device receives PFC frame with rte_eth_pfc_queue_conf::rx_pause::tc, traffic will be paused
       on rte_eth_pfc_queue_conf::rx_pause::tx_qid for that tc.

       rte_eth_pfc_queue_conf::tx_pause structure shall be used to configure given rx_qid. When rx_qid is
       congested, PFC frames are generated with rte_eth_pfc_queue_conf::rx_pause::tc and
       rte_eth_pfc_queue_conf::rx_pause::pause_time to the peer.

       Definition at line 1429 of file rte_ethdev.h.

Field Documentation

enumrte_eth_fc_modemode
       Link flow control mode

       Definition at line 1430 of file rte_ethdev.h.

   uint16_ttx_qid
       Tx queue ID

       Definition at line 1433 of file rte_ethdev.h.

   uint8_ttc
       Traffic class as per PFC (802.1Qbb) spec. The value must be in the range [0,
       rte_eth_pfc_queue_info::tx_max - 1]

       Definition at line 1437 of file rte_ethdev.h.

   uint16_tpause_time
       Pause quota in the Pause frame

       Definition at line 1441 of file rte_ethdev.h.

   uint16_trx_qid
       Rx queue ID

       Definition at line 1442 of file rte_ethdev.h.

Name

       rte_eth_pfc_queue_conf

Synopsis

       #include <rte_ethdev.h>

   DataFields
       enum rte_eth_fc_modemode

See Also