NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
eth_rxq_common.h File Reference
#include <unistd.h>
#include <doca_flow.h>
#include <doca_dev.h>
#include <doca_error.h>
#include <doca_buf.h>
Include dependency graph for eth_rxq_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  eth_rxq_flow_resources
 
struct  eth_rxq_flow_config
 

Functions

doca_error_t rxq_common_init_doca_flow (struct doca_dev *dev, struct eth_rxq_flow_resources *resources)
 
doca_error_t allocate_eth_rxq_flow_resources (struct eth_rxq_flow_config *cfg, struct eth_rxq_flow_resources *resources)
 
doca_error_t destroy_eth_rxq_flow_resources (struct eth_rxq_flow_resources *resources)
 
doca_error_t get_pkt_headroom (struct doca_buf *pkt, uint16_t *headroom_size)
 
doca_error_t get_pkt_tailroom (struct doca_buf *pkt, uint16_t *tailroom_size)
 

Function Documentation

◆ allocate_eth_rxq_flow_resources()

doca_error_t allocate_eth_rxq_flow_resources ( struct eth_rxq_flow_config cfg,
struct eth_rxq_flow_resources resources 
)

Definition at line 272 of file eth_rxq_common.c.

◆ destroy_eth_rxq_flow_resources()

doca_error_t destroy_eth_rxq_flow_resources ( struct eth_rxq_flow_resources resources)

Definition at line 298 of file eth_rxq_common.c.

◆ get_pkt_headroom()

doca_error_t get_pkt_headroom ( struct doca_buf *  pkt,
uint16_t *  headroom_size 
)

Definition at line 321 of file eth_rxq_common.c.

◆ get_pkt_tailroom()

doca_error_t get_pkt_tailroom ( struct doca_buf *  pkt,
uint16_t *  tailroom_size 
)

Definition at line 341 of file eth_rxq_common.c.

◆ rxq_common_init_doca_flow()

doca_error_t rxq_common_init_doca_flow ( struct doca_dev *  dev,
struct eth_rxq_flow_resources resources 
)

Definition at line 238 of file eth_rxq_common.c.