Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/ixgbe/
H A 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/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c2686 u32 etqf; in igb_rxnfc_write_etype_filter() local
2701 etqf = rd32(E1000_ETQF(i)); in igb_rxnfc_write_etype_filter()
2704 etqf |= E1000_ETQF_FILTER_ENABLE; in igb_rxnfc_write_etype_filter()
2705 etqf &= ~E1000_ETQF_ETYPE_MASK; in igb_rxnfc_write_etype_filter()
2706 etqf |= (etype & E1000_ETQF_ETYPE_MASK); in igb_rxnfc_write_etype_filter()
2708 etqf &= ~E1000_ETQF_QUEUE_MASK; in igb_rxnfc_write_etype_filter()
2709 etqf |= FIELD_PREP(E1000_ETQF_QUEUE_MASK, input->action); in igb_rxnfc_write_etype_filter()
2710 etqf |= E1000_ETQF_QUEUE_ENABLE; in igb_rxnfc_write_etype_filter()
2712 wr32(E1000_ETQF(i), etqf); in igb_rxnfc_write_etype_filter()
2794 u32 etqf = rd32(E1000_ETQF(reg_index)); in igb_clear_etype_filter_regs() local
[all …]
/linux/drivers/net/ethernet/intel/igc/
H A Digc_main.c3486 u32 etqf = rd32(IGC_ETQF(i)); in igc_get_avail_etype_filter_slot() local
3488 if (!(etqf & IGC_ETQF_FILTER_ENABLE)) in igc_get_avail_etype_filter_slot()
3510 u32 etqf; in igc_add_etype_filter() local
3516 etqf = rd32(IGC_ETQF(index)); in igc_add_etype_filter()
3518 etqf &= ~IGC_ETQF_ETYPE_MASK; in igc_add_etype_filter()
3519 etqf |= etype; in igc_add_etype_filter()
3522 etqf &= ~IGC_ETQF_QUEUE_MASK; in igc_add_etype_filter()
3523 etqf |= (queue << IGC_ETQF_QUEUE_SHIFT); in igc_add_etype_filter()
3524 etqf |= IGC_ETQF_QUEUE_ENABLE; in igc_add_etype_filter()
3527 etqf |= IGC_ETQF_FILTER_ENABLE; in igc_add_etype_filter()
[all …]