DPDK  18.05.1
Data Fields
rte_eth_rxmode Struct Reference

#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

Detailed Description

A structure used to configure the RX features of an Ethernet port.

Definition at line 321 of file rte_ethdev.h.

Field Documentation

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

Below bitfield API is obsolete. Application should enable per-port offloads using the offload field above.Header Split enable.

Definition at line 338 of file rte_ethdev.h.

__extension__ uint16_t hw_ip_checksum

IP/UDP/TCP checksum offload enable.

Definition at line 338 of file rte_ethdev.h.

__extension__ uint16_t hw_vlan_filter

VLAN filter enable.

Definition at line 338 of file rte_ethdev.h.

__extension__ uint16_t hw_vlan_strip

VLAN strip enable.

Definition at line 338 of file rte_ethdev.h.

__extension__ uint16_t hw_vlan_extend

Extended VLAN enable.

Definition at line 338 of file rte_ethdev.h.

__extension__ uint16_t jumbo_frame

Jumbo Frame Receipt enable.

Definition at line 338 of file rte_ethdev.h.

__extension__ uint16_t hw_strip_crc

Enable CRC stripping by hardware.

Definition at line 338 of file rte_ethdev.h.

__extension__ uint16_t enable_scatter

Enable scatter packets rx handler

Definition at line 338 of file rte_ethdev.h.

__extension__ uint16_t enable_lro

Enable LRO

Definition at line 338 of file rte_ethdev.h.

__extension__ uint16_t hw_timestamp

Enable HW timestamp

Definition at line 338 of file rte_ethdev.h.

__extension__ uint16_t security

Enable rte_security offloads

Definition at line 338 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.

Examples:
examples/exception_path/main.c, examples/kni/main.c, and examples/packet_ordering/main.c.

Definition at line 338 of file rte_ethdev.h.


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