DPDK  16.11.11
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
 
__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
 

Detailed Description

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

Definition at line 348 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
__extension__ uint16_t header_split

Header Split enable.

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

Definition at line 354 of file rte_ethdev.h.

__extension__ uint16_t hw_ip_checksum

IP/UDP/TCP checksum offload enable.

Definition at line 354 of file rte_ethdev.h.

__extension__ uint16_t hw_vlan_filter

VLAN filter enable.

Definition at line 354 of file rte_ethdev.h.

__extension__ uint16_t hw_vlan_strip

VLAN strip enable.

Definition at line 354 of file rte_ethdev.h.

__extension__ uint16_t hw_vlan_extend

Extended VLAN enable.

Definition at line 354 of file rte_ethdev.h.

__extension__ uint16_t jumbo_frame

Jumbo Frame Receipt enable.

Examples:
l3fwd-acl/main.c, l3fwd-power/main.c, l3fwd-vf/main.c, l3fwd/main.c, performance-thread/l3fwd-thread/main.c, and vhost/main.c.

Definition at line 354 of file rte_ethdev.h.

__extension__ uint16_t hw_strip_crc

Enable CRC stripping by hardware.

Definition at line 354 of file rte_ethdev.h.

__extension__ uint16_t enable_scatter

Enable scatter packets rx handler

Definition at line 354 of file rte_ethdev.h.

__extension__ uint16_t enable_lro

Enable LRO

Definition at line 354 of file rte_ethdev.h.


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