Data Fields
txnic Struct Reference

A virtual NIC. More...

#include <thunderx.h>

Data Fields

void * regs
 Registers. More...
const char * name
 Device name (for debugging) More...
struct net_devicenetdev
 Network device. More...
struct txnic_sq sq
 Send queue. More...
struct txnic_rq rq
 Receive queue. More...
struct txnic_cq cq
 Completion queue. More...

Detailed Description

A virtual NIC.

Definition at line 417 of file thunderx.h.

Field Documentation

◆ regs

void* txnic::regs

◆ name

const char* txnic::name

◆ netdev

struct net_device* txnic::netdev

◆ sq

struct txnic_sq txnic::sq

Send queue.

Definition at line 426 of file thunderx.h.

Referenced by txnic_alloc(), txnic_complete_sqe(), txnic_create_sq(), txnic_diag(), txnic_free(), and txnic_send().

◆ rq

struct txnic_rq txnic::rq

◆ cq

struct txnic_cq txnic::cq

Completion queue.

Definition at line 430 of file thunderx.h.

Referenced by txnic_alloc(), txnic_create_cq(), txnic_diag(), txnic_free(), and txnic_poll_cq().

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