Lines Matching +full:per +full:- +full:cpu +full:- +full:cluster
2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2017, Intel Corporation
95 * TxDescriptors Valid Range: 64-4096 Default Value: 256 This value is the
107 * RxDescriptors Valid Range: 64-4096 Default Value: 256 This value is the
135 #define IXGBE_TX_CLEANUP_THRESHOLD(_a) ((_a)->num_tx_desc / 8)
136 #define IXGBE_TX_OP_THRESHOLD(_a) ((_a)->num_tx_desc / 32)
143 #define IXGBE_MAX_MTU (IXGBE_MAX_FRAME_SIZE - IXGBE_MTU_HDR)
144 #define IXGBE_MAX_MTU_VLAN (IXGBE_MAX_FRAME_SIZE - IXGBE_MTU_HDR_VLAN)
153 * small and aligned for the CPU L1 cache.
155 * MHLEN is typically 168 bytes, giving us 8-byte alignment. Getting
159 * in observed efficiency of the optimization, 97.9% -> 81.8%.
163 #define IXGBE_RX_COPY_HDR_PADDED ((((IXGBE_MPKTHSIZE - 1) / 32) + 1) * 32)
164 #define IXGBE_RX_COPY_LEN (MSIZE - IXGBE_RX_COPY_HDR_PADDED)
165 #define IXGBE_RX_COPY_ALIGN (IXGBE_RX_COPY_HDR_PADDED - IXGBE_MPKTHSIZE)
200 /* All BASE-T Physical layers */
270 * The transmit ring, one per queue
296 * The Receive ring, one per rx queue
367 #define num_tx_queues shared->isc_ntxqsets
368 #define num_rx_queues shared->isc_nrxqsets
369 #define max_frame_size shared->isc_max_frame_size
370 #define intr_type shared->isc_intr
380 * when doing MSI-X
412 /* Power management-related */
416 /* Mbuf cluster size */
439 /* SR-IOV */
487 u8 cluster_id; /* also used to get next cluster id */
502 #define IXGBE_SET_IPACKETS(sc, count) (sc)->ipackets = (count)
503 #define IXGBE_SET_IERRORS(sc, count) (sc)->ierrors = (count)
504 #define IXGBE_SET_OPACKETS(sc, count) (sc)->opackets = (count)
505 #define IXGBE_SET_OERRORS(sc, count) (sc)->oerrors = (count)
507 #define IXGBE_SET_IBYTES(sc, count) (sc)->ibytes = (count)
508 #define IXGBE_SET_OBYTES(sc, count) (sc)->obytes = (count)
509 #define IXGBE_SET_IMCASTS(sc, count) (sc)->imcasts = (count)
510 #define IXGBE_SET_OMCASTS(sc, count) (sc)->omcasts = (count)
511 #define IXGBE_SET_IQDROPS(sc, count) (sc)->iqdrops = (count)
542 "\n\t 0x1 - Link" \
543 "\n\t 0x2 - Full CSR Space, excluding RCW registers" \
545 "\nUse \"sysctl -x\" to view flags properly."
550 "\nThe \"-b\" flag must be used in order to dump this data " \
554 /* Sysctl help messages; displayed with sysctl -d */
557 "\t0x1 - advertise 100M\n" \
558 "\t0x2 - advertise 1G\n" \
559 "\t0x4 - advertise 10G\n" \
560 "\t0x8 - advertise 10M\n\n" \
561 "\t0x10 - advertise 2.5G\n" \
562 "\t0x20 - advertise 5G\n\n" \
567 "\t0 - off\n" \
568 "\t1 - rx pause\n" \
569 "\t2 - tx pause\n" \
570 "\t3 - tx and rx pause"