Home
last modified time | relevance | path

Searched refs:mrqc (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c833 u32 mrqc; in fm10k_set_rss_hash_opt() local
836 mrqc = FM10K_MRQC_IPV4 | in fm10k_set_rss_hash_opt()
843 mrqc |= FM10K_MRQC_UDP_IPV4; in fm10k_set_rss_hash_opt()
848 mrqc |= FM10K_MRQC_UDP_IPV6; in fm10k_set_rss_hash_opt()
859 fm10k_write_reg(hw, FM10K_MRQC(0), mrqc); in fm10k_set_rss_hash_opt()
Dfm10k_pci.c1096 u32 mrqc; in fm10k_configure_dglort() local
1109 mrqc = FM10K_MRQC_IPV4 | in fm10k_configure_dglort()
1115 mrqc |= FM10K_MRQC_UDP_IPV4; in fm10k_configure_dglort()
1117 mrqc |= FM10K_MRQC_UDP_IPV6; in fm10k_configure_dglort()
1119 fm10k_write_reg(hw, FM10K_MRQC(0), mrqc); in fm10k_configure_dglort()
/drivers/net/ethernet/intel/e1000e/
Dethtool.c2126 u32 mrqc; in e1000_get_rxnfc() local
2129 mrqc = er32(MRQC); in e1000_get_rxnfc()
2132 if (!(mrqc & E1000_MRQC_RSS_FIELD_MASK)) in e1000_get_rxnfc()
2137 if (mrqc & E1000_MRQC_RSS_FIELD_IPV4_TCP) in e1000_get_rxnfc()
2144 if (mrqc & E1000_MRQC_RSS_FIELD_IPV4) in e1000_get_rxnfc()
2148 if (mrqc & E1000_MRQC_RSS_FIELD_IPV6_TCP) in e1000_get_rxnfc()
2155 if (mrqc & E1000_MRQC_RSS_FIELD_IPV6) in e1000_get_rxnfc()
Dnetdev.c3463 u32 mrqc, rxcsum; in e1000e_setup_rss_hash() local
3483 mrqc = (E1000_MRQC_RSS_FIELD_IPV4 | in e1000e_setup_rss_hash()
3489 ew32(MRQC, mrqc); in e1000e_setup_rss_hash()
/drivers/net/ethernet/intel/igc/
Digc_ethtool.c1151 u32 mrqc = rd32(IGC_MRQC); in igc_ethtool_set_rss_hash_opt() local
1161 mrqc |= IGC_MRQC_RSS_FIELD_IPV4 | in igc_ethtool_set_rss_hash_opt()
1166 mrqc &= ~(IGC_MRQC_RSS_FIELD_IPV4_UDP | in igc_ethtool_set_rss_hash_opt()
1170 mrqc |= IGC_MRQC_RSS_FIELD_IPV4_UDP; in igc_ethtool_set_rss_hash_opt()
1173 mrqc |= IGC_MRQC_RSS_FIELD_IPV6_UDP; in igc_ethtool_set_rss_hash_opt()
1175 wr32(IGC_MRQC, mrqc); in igc_ethtool_set_rss_hash_opt()
Digc_main.c644 u32 mrqc, rxcsum; in igc_setup_mrqc() local
677 mrqc = IGC_MRQC_RSS_FIELD_IPV4 | in igc_setup_mrqc()
684 mrqc |= IGC_MRQC_RSS_FIELD_IPV4_UDP; in igc_setup_mrqc()
686 mrqc |= IGC_MRQC_RSS_FIELD_IPV6_UDP; in igc_setup_mrqc()
688 mrqc |= IGC_MRQC_ENABLE_RSS_MQ; in igc_setup_mrqc()
690 wr32(IGC_MRQC, mrqc); in igc_setup_mrqc()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c3001 u32 mrqc; in ixgbe_set_rss_hash_opt() local
3006 mrqc = IXGBE_READ_REG(hw, IXGBE_PFVFMRQC(pf_pool)); in ixgbe_set_rss_hash_opt()
3008 mrqc = IXGBE_READ_REG(hw, IXGBE_MRQC); in ixgbe_set_rss_hash_opt()
3017 mrqc |= IXGBE_MRQC_RSS_FIELD_IPV4 in ixgbe_set_rss_hash_opt()
3022 mrqc &= ~(IXGBE_MRQC_RSS_FIELD_IPV4_UDP | in ixgbe_set_rss_hash_opt()
3026 mrqc |= IXGBE_MRQC_RSS_FIELD_IPV4_UDP; in ixgbe_set_rss_hash_opt()
3029 mrqc |= IXGBE_MRQC_RSS_FIELD_IPV6_UDP; in ixgbe_set_rss_hash_opt()
3033 IXGBE_WRITE_REG(hw, IXGBE_PFVFMRQC(pf_pool), mrqc); in ixgbe_set_rss_hash_opt()
3035 IXGBE_WRITE_REG(hw, IXGBE_MRQC, mrqc); in ixgbe_set_rss_hash_opt()
Dixgbe_main.c3928 u32 mrqc = 0, rss_field = 0, vfmrqc = 0; in ixgbe_setup_mrqc() local
3938 mrqc = IXGBE_MRQC_RSSEN; in ixgbe_setup_mrqc()
3944 mrqc = IXGBE_MRQC_VMDQRT8TCEN; /* 8 TCs */ in ixgbe_setup_mrqc()
3946 mrqc = IXGBE_MRQC_VMDQRT4TCEN; /* 4 TCs */ in ixgbe_setup_mrqc()
3949 mrqc = IXGBE_MRQC_VMDQRSS32EN; in ixgbe_setup_mrqc()
3951 mrqc = IXGBE_MRQC_VMDQRSS64EN; in ixgbe_setup_mrqc()
3957 mrqc |= IXGBE_MRQC_L3L4TXSWEN; in ixgbe_setup_mrqc()
3960 mrqc = IXGBE_MRQC_RTRSS8TCEN; in ixgbe_setup_mrqc()
3962 mrqc = IXGBE_MRQC_RTRSS4TCEN; in ixgbe_setup_mrqc()
3964 mrqc = IXGBE_MRQC_RSSEN; in ixgbe_setup_mrqc()
[all …]
/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2667 u32 mrqc = rd32(E1000_MRQC); in igb_set_rss_hash_opt() local
2677 mrqc |= E1000_MRQC_RSS_FIELD_IPV4 | in igb_set_rss_hash_opt()
2682 mrqc &= ~(E1000_MRQC_RSS_FIELD_IPV4_UDP | in igb_set_rss_hash_opt()
2686 mrqc |= E1000_MRQC_RSS_FIELD_IPV4_UDP; in igb_set_rss_hash_opt()
2689 mrqc |= E1000_MRQC_RSS_FIELD_IPV6_UDP; in igb_set_rss_hash_opt()
2691 wr32(E1000_MRQC, mrqc); in igb_set_rss_hash_opt()
Digb_main.c4429 u32 mrqc, rxcsum; in igb_setup_mrqc() local
4474 mrqc = E1000_MRQC_RSS_FIELD_IPV4 | in igb_setup_mrqc()
4481 mrqc |= E1000_MRQC_RSS_FIELD_IPV4_UDP; in igb_setup_mrqc()
4483 mrqc |= E1000_MRQC_RSS_FIELD_IPV6_UDP; in igb_setup_mrqc()
4501 mrqc |= E1000_MRQC_ENABLE_VMDQ_RSS_MQ; in igb_setup_mrqc()
4503 mrqc |= E1000_MRQC_ENABLE_VMDQ; in igb_setup_mrqc()
4505 mrqc |= E1000_MRQC_ENABLE_RSS_MQ; in igb_setup_mrqc()
4509 wr32(E1000_MRQC, mrqc); in igb_setup_mrqc()