Lines Matching +full:tx +full:- +full:ts +full:- +full:max
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
55 VMXNET3_REG_TXPROD = 0x600, /* Tx Producer Index */
62 VMXNET3_REG_LB_TXPROD = 0x1000, /* Tx Producer Index */
73 #define VMXNET3_REG_ALIGN 8 /* All registers are 8-byte aligned. */
133 * Little Endian layout of bitfields -
139 * Big Endian layout of bitfields -
264 u64 tsi:1; //bit to indicate to set ts
270 struct Vmxnet3TSInfo ts; member
275 struct Vmxnet3TSInfo ts; member
306 u32 ts:1; /* Tag is stripped */ member
312 u32 ts:1; /* Tag is stripped */ member
418 /* Max size of a single tx buffer */
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 */
427 /* max # of tx descs for a tso pkt */
430 /* Max size of a single rx buffer */
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)
444 /* Tx Data Ring buffer size must be a multiple of 64 */
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)
452 /* Rx TS Ring buffer size must be a multiple of 64 bytes */
454 #define VMXNET3_RXTS_DESC_SIZE_MASK (VMXNET3_RXTS_DESC_SIZE_ALIGN - 1)
455 /* Tx TS Ring buffer size must be a multiple of 64 bytes */
457 #define VMXNET3_TXTS_DESC_SIZE_MASK (VMXNET3_TXTS_DESC_SIZE_ALIGN - 1)
459 /* Max ring size */
478 VMXNET3_ERR_TXD_REUSE = 0x80000001, /* reuse TxDesc before tx completion */
488 #define VMXNET3_CDTYPE_TXCOMP 0 /* Tx Completion Descriptor */
506 u32 gosBits:2; /* 32-bit or 64-bit? */
508 u32 gosBits:2; /* 32-bit or 64-bit? */
555 __le32 txRingSize; /* # of tx desc */
588 __le16 txTSRingDescSize; /* size of tx timestamp ring buffer */
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 */