Home
last modified time | relevance | path

Searched refs:etqf (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c644 u32 etqf; in ixgbe_configure_fcoe() local
651 etqf = ETH_P_FCOE | IXGBE_ETQF_FCOE | IXGBE_ETQF_FILTER_EN; in ixgbe_configure_fcoe()
653 etqf |= IXGBE_ETQF_POOL_ENABLE; in ixgbe_configure_fcoe()
654 etqf |= VMDQ_P(0) << IXGBE_ETQF_POOL_SHIFT; in ixgbe_configure_fcoe()
656 IXGBE_WRITE_REG(hw, IXGBE_ETQF(IXGBE_ETQF_FILTER_FCOE), etqf); in ixgbe_configure_fcoe()
686 etqf = ETH_P_FIP | IXGBE_ETQF_FILTER_EN; in ixgbe_configure_fcoe()
688 etqf |= IXGBE_ETQF_POOL_ENABLE; in ixgbe_configure_fcoe()
689 etqf |= VMDQ_P(0) << IXGBE_ETQF_POOL_SHIFT; in ixgbe_configure_fcoe()
691 IXGBE_WRITE_REG(hw, IXGBE_ETQF(IXGBE_ETQF_FILTER_FIP), etqf); in ixgbe_configure_fcoe()
/linux-6.6.21/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2693 u32 etqf; in igb_rxnfc_write_etype_filter() local
2708 etqf = rd32(E1000_ETQF(i)); in igb_rxnfc_write_etype_filter()
2711 etqf |= E1000_ETQF_FILTER_ENABLE; in igb_rxnfc_write_etype_filter()
2712 etqf &= ~E1000_ETQF_ETYPE_MASK; in igb_rxnfc_write_etype_filter()
2713 etqf |= (etype & E1000_ETQF_ETYPE_MASK); in igb_rxnfc_write_etype_filter()
2715 etqf &= ~E1000_ETQF_QUEUE_MASK; in igb_rxnfc_write_etype_filter()
2716 etqf |= ((input->action << E1000_ETQF_QUEUE_SHIFT) in igb_rxnfc_write_etype_filter()
2718 etqf |= E1000_ETQF_QUEUE_ENABLE; in igb_rxnfc_write_etype_filter()
2720 wr32(E1000_ETQF(i), etqf); in igb_rxnfc_write_etype_filter()
2802 u32 etqf = rd32(E1000_ETQF(reg_index)); in igb_clear_etype_filter_regs() local
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/igc/
Digc_main.c3294 u32 etqf = rd32(IGC_ETQF(i)); in igc_get_avail_etype_filter_slot() local
3296 if (!(etqf & IGC_ETQF_FILTER_ENABLE)) in igc_get_avail_etype_filter_slot()
3318 u32 etqf; in igc_add_etype_filter() local
3324 etqf = rd32(IGC_ETQF(index)); in igc_add_etype_filter()
3326 etqf &= ~IGC_ETQF_ETYPE_MASK; in igc_add_etype_filter()
3327 etqf |= etype; in igc_add_etype_filter()
3330 etqf &= ~IGC_ETQF_QUEUE_MASK; in igc_add_etype_filter()
3331 etqf |= (queue << IGC_ETQF_QUEUE_SHIFT); in igc_add_etype_filter()
3332 etqf |= IGC_ETQF_QUEUE_ENABLE; in igc_add_etype_filter()
3335 etqf |= IGC_ETQF_FILTER_ENABLE; in igc_add_etype_filter()
[all …]