struct net_drv_xdp_cfg

Overview

Configuration parameters for AF_XDP sockets More...

#include <common_rss.h>

struct net_drv_xdp_cfg {
    // fields

    unsigned int frame_len;
    size_t frames_num;
    unsigned int rx_frames;
    unsigned int fill_size;
    unsigned int comp_size;
    unsigned int rx_size;
    unsigned int tx_size;
    uint32_t bind_flags;
};

Detailed Documentation

Configuration parameters for AF_XDP sockets

Fields

unsigned int frame_len

Frame length

size_t frames_num

Number of frames in UMEM

unsigned int rx_frames

Frames reserved for receiving

unsigned int fill_size

Size of FILL ring

unsigned int comp_size

Size of COMPLETION ring

unsigned int rx_size

Size of Rx ring

unsigned int tx_size

Size of Tx ring

uint32_t bind_flags

Flags passed when binding AF_XDP socket