Lines Matching +full:big +full:- +full:endian +full:- +full:desc
4 * Copyright (C) 2008-2024, VMware, Inc. All Rights Reserved.
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
23 * Maintained by: pv-drivers@vmware.com
73 #define VMXNET3_REG_ALIGN 8 /* All registers are 8-byte aligned. */
133 * Little Endian layout of bitfields -
139 * Big Endian layout of bitfields -
145 * Thus, le32_to_cpu on the dword will allow the big endian driver to read
147 * bit fields written by big endian driver to format required by device.
421 /* # of tx desc needed for a tx buffer size */
422 #define VMXNET3_TXD_NEEDED(size) (((size) + VMXNET3_MAX_TX_BUF_SIZE - 1) / \
425 /* max # of tx descs for a non-tso pkt */
431 #define VMXNET3_MAX_RX_BUF_SIZE ((1 << 14) - 1)
438 #define VMXNET3_RING_BA_MASK (VMXNET3_RING_BA_ALIGN - 1)
442 #define VMXNET3_RING_SIZE_MASK (VMXNET3_RING_SIZE_ALIGN - 1)
446 #define VMXNET3_TXDATA_DESC_SIZE_MASK (VMXNET3_TXDATA_DESC_SIZE_ALIGN - 1)
450 #define VMXNET3_RXDATA_DESC_SIZE_MASK (VMXNET3_RXDATA_DESC_SIZE_ALIGN - 1)
454 #define VMXNET3_RXTS_DESC_SIZE_MASK (VMXNET3_RXTS_DESC_SIZE_ALIGN - 1)
457 #define VMXNET3_TXTS_DESC_SIZE_MASK (VMXNET3_TXTS_DESC_SIZE_ALIGN - 1)
477 VMXNET3_ERR_NOEOP = 0x80000000, /* cannot find the EOP desc of a pkt */
506 u32 gosBits:2; /* 32-bit or 64-bit? */
508 u32 gosBits:2; /* 32-bit or 64-bit? */
540 __le32 queueDescLen; /* queue desc. table len in bytes */
555 __le32 txRingSize; /* # of tx desc */
556 __le32 dataRingSize; /* # of data desc */
557 __le32 compRingSize; /* # of comp desc */
571 __le32 rxRingSize[2]; /* # of rx desc */
572 __le32 compRingSize; /* # of rx comp desc */
824 /* read-only region for device, read by dev in response to a SET cmd */
834 /* read-only region for device, read by dev in response to a SET cmd */