DPDK  16.04.0
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
uint16_t header_split: 1
uint16_t hw_ip_checksum: 1
uint16_t hw_vlan_filter: 1
uint16_t hw_vlan_strip: 1
uint16_t hw_vlan_extend: 1
uint16_t jumbo_frame: 1
uint16_t hw_strip_crc: 1
uint16_t enable_scatter: 1
uint16_t enable_lro: 1

Detailed Description

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

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

Header Split enable.

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

Definition at line 375 of file rte_ethdev.h.

uint16_t hw_ip_checksum

IP/UDP/TCP checksum offload enable.

Definition at line 375 of file rte_ethdev.h.

uint16_t hw_vlan_filter

VLAN filter enable.

Definition at line 375 of file rte_ethdev.h.

uint16_t hw_vlan_strip

VLAN strip enable.

Examples:
vhost/main.c.

Definition at line 375 of file rte_ethdev.h.

uint16_t hw_vlan_extend

Extended VLAN enable.

Definition at line 375 of file rte_ethdev.h.

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 375 of file rte_ethdev.h.

uint16_t hw_strip_crc

Enable CRC stripping by hardware.

Definition at line 375 of file rte_ethdev.h.

uint16_t enable_scatter

Enable scatter packets rx handler

Definition at line 375 of file rte_ethdev.h.

uint16_t enable_lro

Enable LRO

Definition at line 375 of file rte_ethdev.h.


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