Lines Matching +full:rx +full:- +full:shared

2   SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2017, Intel Corporation
93 * TxDescriptors Valid Range: 64-4096 Default Value: 256 This value is the
105 * RxDescriptors Valid Range: 64-4096 Default Value: 256 This value is the
106 * number of receive descriptors allocated for each RX queue. Increasing this
133 #define IXGBE_TX_CLEANUP_THRESHOLD(_a) ((_a)->num_tx_desc / 8)
134 #define IXGBE_TX_OP_THRESHOLD(_a) ((_a)->num_tx_desc / 32)
141 #define IXGBE_MAX_MTU (IXGBE_MAX_FRAME_SIZE - IXGBE_MTU_HDR)
142 #define IXGBE_MAX_MTU_VLAN (IXGBE_MAX_FRAME_SIZE - IXGBE_MTU_HDR_VLAN)
150 * Used for optimizing small rx mbufs. Effort is made to keep the copy
153 * MHLEN is typically 168 bytes, giving us 8-byte alignment. Getting
157 * in observed efficiency of the optimization, 97.9% -> 81.8%.
161 #define IXGBE_RX_COPY_HDR_PADDED ((((IXGBE_MPKTHSIZE - 1) / 32) + 1) * 32)
162 #define IXGBE_RX_COPY_LEN (MSIZE - IXGBE_RX_COPY_HDR_PADDED)
163 #define IXGBE_RX_COPY_ALIGN (IXGBE_RX_COPY_HDR_PADDED - IXGBE_MPKTHSIZE)
285 * The Receive ring, one per rx queue
315 * for the associated tx and rx ring.
355 if_softc_ctx_t shared; member
356 #define num_tx_queues shared->isc_ntxqsets
357 #define num_rx_queues shared->isc_nrxqsets
358 #define max_frame_size shared->isc_max_frame_size
359 #define intr_type shared->isc_intr
369 * when doing MSI-X
401 /* Power management-related */
419 * and RX/TX pair or rings associated
428 /* SR-IOV */
476 #define IXGBE_SET_IPACKETS(sc, count) (sc)->ipackets = (count)
477 #define IXGBE_SET_IERRORS(sc, count) (sc)->ierrors = (count)
478 #define IXGBE_SET_OPACKETS(sc, count) (sc)->opackets = (count)
479 #define IXGBE_SET_OERRORS(sc, count) (sc)->oerrors = (count)
481 #define IXGBE_SET_IBYTES(sc, count) (sc)->ibytes = (count)
482 #define IXGBE_SET_OBYTES(sc, count) (sc)->obytes = (count)
483 #define IXGBE_SET_IMCASTS(sc, count) (sc)->imcasts = (count)
484 #define IXGBE_SET_OMCASTS(sc, count) (sc)->omcasts = (count)
485 #define IXGBE_SET_IQDROPS(sc, count) (sc)->iqdrops = (count)
491 /* Sysctl help messages; displayed with sysctl -d */
494 "\t0x1 - advertise 100M\n" \
495 "\t0x2 - advertise 1G\n" \
496 "\t0x4 - advertise 10G\n" \
497 "\t0x8 - advertise 10M\n\n" \
498 "\t0x10 - advertise 2.5G\n" \
499 "\t0x20 - advertise 5G\n\n" \
504 "\t0 - off\n" \
505 "\t1 - rx pause\n" \
506 "\t2 - tx pause\n" \
507 "\t3 - tx and rx pause"
510 "\nSum of the following RX errors counters:\n" \
538 /* Shared Prototypes */