Lines Matching +full:tx +full:- +full:hw +full:- +full:gso +full:- +full:packets

1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
14 * Structures labeled with "HW DATA" are exchanged with the hardware. All of
24 #define INVALID_MANA_HANDLE ((mana_handle_t)-1)
27 TRI_STATE_UNKNOWN = -1,
42 * allocation calculation. It allows maximum 2^(MAX_ORDER -1) pages. RX buffer
49 /* This max value for TX buffers is derived as the maximum allocatable
50 * pages supported on host per guest through testing. TX buffer size beyond
68 u64 packets; member
77 u64 packets; member
107 /* The SKBs are sent to the HW and we are waiting for the CQEs. */
120 /* GSO pkts may have 2 SGEs for the linear part*/
146 }; /* HW DATA */
165 }; /* HW DATA */
170 }; /* HW DATA */
202 }; /* HW DATA */
225 }; /* HW DATA */
250 }; /* HW DATA */
261 }; /* HW DATA */
273 /* Type of the CQ: TX or RX */
277 * Only and must be non-NULL if type is MANA_CQ_TYPE_RX.
281 /* Pointer to the mana_txq that is pushing TX CQEs to the queue.
282 * Only and must be non-NULL if type is MANA_CQ_TYPE_TX.
317 #define MANA_XDP_MTU_MAX (PAGE_SIZE - MANA_RXBUF_PAD - XDP_PACKET_HEADROOM)
432 /* Indirection Table for RX & TX. The values are queue indexes */
445 /* pre-allocated rx buffer array */
455 /* Create num_queues EQs, SQs, SQ-CQs, RQs and RQ-CQs, respectively. */
549 }; /* HW DATA */
567 }; /* HW DATA */
573 }; /* HW DATA */
584 }; /* HW DATA */
592 }; /* HW DATA */
599 }; /* HW DATA */
613 }; /* HW DATA */
620 }; /* HW DATA */
628 }; /* HW DATA */
632 }; /* HW DATA */
638 }; /* HW DATA */
642 }; /* HW DATA */
648 }; /* HW DATA */
656 /* rx bytes/packets */
664 /* tx errors */
675 /* tx bytes/packets */
683 /* tx error */
685 }; /* HW DATA */
704 }; /* HW DATA */
708 }; /* HW DATA */
710 /* Register HW vPort */
720 }; /* HW DATA */
725 }; /* HW DATA */
727 /* Deregister HW vPort */
731 }; /* HW DATA */
735 }; /* HW DATA */
750 }; /* HW DATA */
755 }; /* HW DATA */
761 }; /* HW DATA */
765 }; /* HW DATA */
779 /* Tx errors */
792 /* Tx bytes/pkts */
800 /* Tx error */
805 #define MANA_SHORT_VPORT_OFFSET_MAX ((1U << 8) - 1)