DPDK
17.11.10
|
#include <rte_ethdev.h>
Data Fields | |
enum rte_eth_rx_mq_mode | mq_mode |
uint32_t | max_rx_pkt_len |
uint16_t | split_hdr_size |
uint64_t | offloads |
__extension__ uint16_t | header_split: 1 |
__extension__ uint16_t | hw_ip_checksum: 1 |
__extension__ uint16_t | hw_vlan_filter: 1 |
__extension__ uint16_t | hw_vlan_strip: 1 |
__extension__ uint16_t | hw_vlan_extend: 1 |
__extension__ uint16_t | jumbo_frame: 1 |
__extension__ uint16_t | hw_strip_crc: 1 |
__extension__ uint16_t | enable_scatter: 1 |
__extension__ uint16_t | enable_lro: 1 |
__extension__ uint16_t | hw_timestamp: 1 |
__extension__ uint16_t | security: 1 |
__extension__ uint16_t | ignore_offload_bitfield: 1 |
A structure used to configure the RX features of an Ethernet port.
Definition at line 349 of file rte_ethdev.h.
enum rte_eth_rx_mq_mode mq_mode |
The multi-queue packet distribution mode to be used, e.g. RSS.
Definition at line 351 of file rte_ethdev.h.
uint32_t max_rx_pkt_len |
Only used if jumbo_frame enabled.
Definition at line 352 of file rte_ethdev.h.
uint16_t split_hdr_size |
hdr buf size (header_split enabled).
Definition at line 353 of file rte_ethdev.h.
uint64_t offloads |
Per-port Rx offloads to be set using DEV_RX_OFFLOAD_* flags. Only offloads set on rx_offload_capa field on rte_eth_dev_info structure are allowed to be set.
Definition at line 359 of file rte_ethdev.h.
__extension__ uint16_t header_split |
Below bitfield API is obsolete. Application should enable per-port offloads using the offload field above.Header Split enable.
Definition at line 366 of file rte_ethdev.h.
__extension__ uint16_t hw_ip_checksum |
IP/UDP/TCP checksum offload enable.
Definition at line 366 of file rte_ethdev.h.
__extension__ uint16_t hw_vlan_filter |
VLAN filter enable.
Definition at line 366 of file rte_ethdev.h.
__extension__ uint16_t hw_vlan_strip |
VLAN strip enable.
Definition at line 366 of file rte_ethdev.h.
__extension__ uint16_t hw_vlan_extend |
Extended VLAN enable.
Definition at line 366 of file rte_ethdev.h.
__extension__ uint16_t jumbo_frame |
Jumbo Frame Receipt enable.
Definition at line 366 of file rte_ethdev.h.
__extension__ uint16_t hw_strip_crc |
Enable CRC stripping by hardware.
Definition at line 366 of file rte_ethdev.h.
__extension__ uint16_t enable_scatter |
Enable scatter packets rx handler
Definition at line 366 of file rte_ethdev.h.
__extension__ uint16_t enable_lro |
Enable LRO
Definition at line 366 of file rte_ethdev.h.
__extension__ uint16_t hw_timestamp |
Enable HW timestamp
Definition at line 366 of file rte_ethdev.h.
__extension__ uint16_t security |
Enable rte_security offloads
Definition at line 366 of file rte_ethdev.h.
__extension__ uint16_t ignore_offload_bitfield |
When set the offload bitfield should be ignored. Instead per-port Rx offloads should be set on offloads field above. Per-queue offloads shuold be set on rte_eth_rxq_conf structure. This bit is temporary till rxmode bitfield offloads API will be deprecated.
Definition at line 366 of file rte_ethdev.h.