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_desc_lim

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                             rte_eth_desc_lim(3)

Detailed Description

       A structure contains information about HW descriptor ring limitations.

       Definition at line 1333 of file rte_ethdev.h.

Field Documentation

uint16_tnb_max
       Max allowed number of descriptors.

       Definition at line 1334 of file rte_ethdev.h.

   uint16_tnb_min
       Min allowed number of descriptors.

       Definition at line 1335 of file rte_ethdev.h.

   uint16_tnb_align
       Number of descriptors should be aligned to.

       Definition at line 1336 of file rte_ethdev.h.

   uint16_tnb_seg_max
       Max allowed number of segments per whole packet.

       • For TSO packet this is the total number of data descriptors allowed by device.

       Seealsonb_mtu_seg_max

       Definition at line 1346 of file rte_ethdev.h.

   uint16_tnb_mtu_seg_max
       Max number of segments per one MTU.

       • For non-TSO packet, this is the maximum allowed number of segments in a single transmit packet.

       • For TSO packet each segment within the TSO may span up to this value.

       Seealsonb_seg_max

       Definition at line 1359 of file rte_ethdev.h.

Name

       rte_eth_desc_lim

Synopsis

       #include <rte_ethdev.h>

   DataFields
       uint16_t nb_max
       uint16_t nb_min
       uint16_t nb_align
       uint16_t nb_seg_max
       uint16_t nb_mtu_seg_max

See Also