34#define EFX_EV_SIZE(_nevs) ((_nevs) * sizeof(efx_qword_t))
35#define EFX_EVQ_NBUFS(_nevs) (EFX_EV_SIZE(_nevs) / EFX_BUF_ALIGN)
37#define EFX_RXQ_SIZE(_ndescs) ((_ndescs) * sizeof(efx_qword_t))
38#define EFX_RXQ_NBUFS(_ndescs) (EFX_RXQ_SIZE(_ndescs) / EFX_BUF_ALIGN)
40#define EFX_TXQ_SIZE(_ndescs) ((_ndescs) * sizeof(efx_qword_t))
41#define EFX_TXQ_NBUFS(_ndescs) (EFX_TXQ_SIZE(_ndescs) / EFX_BUF_ALIGN)
union efx_dword efx_dword_t
A doubleword (4 byte) datatype - little-endian in HW.
void efx_hunt_free_special_buffer(void *buf, int bytes)
int efx_hunt_open(struct net_device *netdev)
void efx_hunt_close(struct net_device *netdev)
int efx_hunt_ev_init(struct net_device *netdev, dma_addr_t *dma_addr)
int efx_hunt_rx_init(struct net_device *netdev, dma_addr_t *dma_addr)
void efx_hunt_poll(struct net_device *netdev)
int efx_hunt_transmit(struct net_device *netdev, struct io_buffer *iob)
void efx_hunt_irq(struct net_device *netdev, int enable)
int efx_hunt_tx_init(struct net_device *netdev, dma_addr_t *dma_addr)
static struct net_device * netdev
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
size_t emr_out_length_used
efx_dword_t * emr_out_buf