Lines Matching +full:rx +full:- +full:port +full:- +full:mapping

1 /* SPDX-License-Identifier: BSD-3-Clause */
83 * for_each_set_bit - For loop over each set bit in a bit string
94 (bit) != -1; \
125 /* global sysctl indicating whether to enable 5-layer scheduler topology */
130 * @brief PCI BAR mapping information
145 /* Maximum TSO size is (256K)-1 */
146 #define ICE_TSO_SIZE ((256*1024) - 1)
154 #define ICE_MAX_DMA_SEG_SIZE ((16*1024) - 1)
179 /* List of known RX CSUM offload flags */
199 (ice_is_bit_set(sc->feat_en, ICE_FEATURE_SAFE_MODE) ? ICE_SAFE_CAPS : ICE_FULL_CAPS)
238 * number assigned to it in hw->func_caps.guar_num_vsi, though there
244 /* Maximum size of a single frame (for Tx and Rx) */
248 #define ICE_MAX_MTU (ICE_MAX_FRAME_SIZE - \
249 ETHER_HDR_LEN - ETHER_CRC_LEN - ETHER_VLAN_ENCAP_LEN)
275 #define ICE_INVALID_MIRROR_VSI ((u16)-1)
277 * The maximum number of RX queues allowed per TC in a VSI.
316 /* By convention ITR0 is used for RX, and ITR1 is used for TX */
322 /* Define the default Tx and Rx ITR as 50us (translates to ~20k int/sec max) */
349 * ice_itr_to_reg - Convert an ITR setting into its register equivalent
358 return itr_setting / hw->itr_gran; in ice_itr_to_reg()
365 * This enum matches the Rx context bits to define whether header split is
380 #define ICE_FEC_STRING_RS "RS-FEC"
381 #define ICE_FEC_STRING_BASER "FC-FEC/BASE-R"
383 #define ICE_FEC_STRING_DIS_AUTO "Auto (w/ No-FEC)"
392 #define ICE_FC_STRING_RX "Rx"
432 * during the Rx path.
480 * @brief software Rx statistics
482 * Contains software counted Rx statistics for a single queue
529 /* # of detected MDD events for Tx and Rx */
533 u64 rx_roc_error; /* port oversize packet stats, error_cnt \
547 u16 qcount_rx; /* RX queues */
563 u16 idx; /* software index to sc->all_vsi[] */
565 u16 *tx_qmap; /* Tx VSI to PF queue mapping */
566 u16 *rx_qmap; /* Rx VSI to PF queue mapping */
571 struct ice_rx_queue *rx_queues; /* Rx queue array */
595 /* context for per-VSI sysctls */
599 /* context for per-txq sysctls */
603 /* context for per-rxq sysctls */
607 /* VSI-level stats */
654 * @brief FEC stats register value of port
667 * @brief PHY stats of port
670 /* A multilane port can have max 4 serdes */
677 * @brief Port topology from lport i.e. serdes mapping, pcsquad, macport, cage
731 * ice_set_state - Set the specified state
745 * ice_clear_state - Clear the specified state
759 * ice_testandset_state - Test and set the specified state
774 * ice_testandclear_state - Test and clear the specified state
789 * ice_test_state - Test the specified state
808 * numeric->string conversion functions that may want to return non-constant
842 * ice_enable_intr - Enable interrupts for given vector
860 * ice_disable_intr - Disable interrupts for given vector
877 * ice_is_tx_desc_done - determine if a Tx descriptor is done
881 * capable of re-using it.
886 return (((txd->cmd_type_offset_bsz & ICE_TXD_QW1_DTYPE_M) in ice_is_tx_desc_done()
891 * ice_get_pf_id - Get the PF id from the hardware registers
895 * Intended to be used in cases where hw->pf_id hasn't yet been assigned by
900 * cached hw->pf_id value can be used.
909 /* Details of how to re-initialize depend on the networking stack */