struct net_drv_xdp_sock

Overview

Structure describing AF_XDP socket More...

#include <common_rss.h>

struct net_drv_xdp_sock {
    // fields

    unsigned int queue_id;
    bool tx_capable;
    rpc_ptr mem;
    rpc_ptr umem;
    rpc_ptr sock;
    int fd;
};

Detailed Documentation

Structure describing AF_XDP socket

Fields

unsigned int queue_id

Queue ID used to bind this socket

bool tx_capable

Whether this socket queue has Tx capability

rpc_ptr mem

Memory allocated for UMEM

rpc_ptr umem

Pointer to UMEM structure on TA

rpc_ptr sock

Pointer to socket structure on TA

int fd

Socket FD