Home
last modified time | relevance | path

Searched refs:RXH_IP_DST (Results 1 – 25 of 34) sorted by relevance

12

/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_ethtool.c327 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in sxgbe_get_rss_hash_opts()
338 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in sxgbe_get_rss_hash_opts()
372 if (cmd->data & ~(RXH_IP_SRC | RXH_IP_DST | in sxgbe_set_rss_hash_opt()
380 !(cmd->data & RXH_IP_DST) || in sxgbe_set_rss_hash_opt()
389 !(cmd->data & RXH_IP_DST) || in sxgbe_set_rss_hash_opt()
406 !(cmd->data & RXH_IP_DST) || in sxgbe_set_rss_hash_opt()
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_ethtool.c861 RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts()
866 info->data |= RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts()
876 info->data |= RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts()
881 info->data |= RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts()
892 info->data |= RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts()
911 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in vmxnet3_set_rss_hash_opt()
919 !(nfc->data & RXH_IP_DST) || in vmxnet3_set_rss_hash_opt()
926 !(nfc->data & RXH_IP_DST)) in vmxnet3_set_rss_hash_opt()
941 !(nfc->data & RXH_IP_DST)) in vmxnet3_set_rss_hash_opt()
958 !(nfc->data & RXH_IP_DST)) in vmxnet3_set_rss_hash_opt()
[all …]
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_ethtool.c720 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in fm10k_get_rss_hash_opts()
726 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in fm10k_get_rss_hash_opts()
767 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in fm10k_set_rss_hash_opt()
775 !(nfc->data & RXH_IP_DST) || in fm10k_set_rss_hash_opt()
782 !(nfc->data & RXH_IP_DST)) in fm10k_set_rss_hash_opt()
799 !(nfc->data & RXH_IP_DST)) in fm10k_set_rss_hash_opt()
823 !(nfc->data & RXH_IP_DST) || in fm10k_set_rss_hash_opt()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_rss.c161 ~(RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3)) in hclge_comm_set_rss_tuple()
439 if (nfc->data & RXH_IP_DST) in hclge_comm_get_rss_hash_bits()
512 tuple_data |= RXH_IP_DST; in hclge_comm_convert_rss_tuple()
/linux/drivers/net/ethernet/cisco/enic/
H A Denic_ethtool.c543 RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash()
546 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash()
551 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash()
565 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c1749 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc()
1752 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
1757 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc()
1760 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
1766 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
1770 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc()
1773 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
1778 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc()
1781 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
1787 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_ethtool.c3326 info->data = RXH_IP_SRC | RXH_IP_DST | in bnx2x_get_rss_flags()
3331 info->data = RXH_IP_SRC | RXH_IP_DST | in bnx2x_get_rss_flags()
3334 info->data = RXH_IP_SRC | RXH_IP_DST; in bnx2x_get_rss_flags()
3338 info->data = RXH_IP_SRC | RXH_IP_DST | in bnx2x_get_rss_flags()
3341 info->data = RXH_IP_SRC | RXH_IP_DST; in bnx2x_get_rss_flags()
3345 info->data = RXH_IP_SRC | RXH_IP_DST; in bnx2x_get_rss_flags()
3384 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST | in bnx2x_set_rss_flags()
3395 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in bnx2x_set_rss_flags()
3398 else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) in bnx2x_set_rss_flags()
3433 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST)) { in bnx2x_set_rss_flags()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c1066 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igc_ethtool_get_rss_hash_opts()
1080 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igc_ethtool_get_rss_hash_opts()
1122 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in igc_ethtool_set_rss_hash_opt()
1130 !(nfc->data & RXH_IP_DST) || in igc_ethtool_set_rss_hash_opt()
1137 !(nfc->data & RXH_IP_DST)) in igc_ethtool_set_rss_hash_opt()
1152 !(nfc->data & RXH_IP_DST)) in igc_ethtool_set_rss_hash_opt()
1174 !(nfc->data & RXH_IP_DST) || in igc_ethtool_set_rss_hash_opt()
/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c828 RXH_IP_SRC | RXH_IP_DST); in efx_siena_ethtool_get_rxnfc()
830 data = RXH_IP_SRC | RXH_IP_DST; in efx_siena_ethtool_get_rxnfc()
835 RXH_IP_SRC | RXH_IP_DST); in efx_siena_ethtool_get_rxnfc()
843 data = RXH_IP_SRC | RXH_IP_DST; in efx_siena_ethtool_get_rxnfc()
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.h649 | RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 \
653 #define DPAA2_RXH_DEFAULT (RXH_L3_PROTO | RXH_IP_SRC | RXH_IP_DST | \
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_ethtool.c1083 data |= RXH_IP_DST | RXH_IP_SRC; in be_get_rss_hash_opts()
1089 data |= RXH_IP_DST | RXH_IP_SRC; in be_get_rss_hash_opts()
1095 data |= RXH_IP_DST | RXH_IP_SRC; in be_get_rss_hash_opts()
1101 data |= RXH_IP_DST | RXH_IP_SRC; in be_get_rss_hash_opts()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c922 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in mlx5e_set_rss_hash_opt()
928 if (nfc->data & RXH_IP_DST) in mlx5e_set_rss_hash_opt()
967 nfc->data |= RXH_IP_DST; in mlx5e_get_rss_hash_opt()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c1371 if (cmd->data & RXH_IP_SRC || cmd->data & RXH_IP_DST) { in iavf_adv_rss_parse_hash_flds()
1378 if (cmd->data & RXH_IP_DST) in iavf_adv_rss_parse_hash_flds()
1386 if (cmd->data & RXH_IP_DST) in iavf_adv_rss_parse_hash_flds()
1552 cmd->data |= (u64)RXH_IP_DST; in iavf_get_adv_rss_hash_opt()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c2522 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igb_get_rss_hash_opts()
2536 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igb_get_rss_hash_opts()
2586 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in igb_set_rss_hash_opt()
2594 !(nfc->data & RXH_IP_DST) || in igb_set_rss_hash_opt()
2601 !(nfc->data & RXH_IP_DST)) in igb_set_rss_hash_opt()
2616 !(nfc->data & RXH_IP_DST)) in igb_set_rss_hash_opt()
2638 !(nfc->data & RXH_IP_DST) || in igb_set_rss_hash_opt()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c2646 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in ixgbe_get_rss_hash_opts()
2660 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in ixgbe_get_rss_hash_opts()
2962 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in ixgbe_set_rss_hash_opt()
2970 !(nfc->data & RXH_IP_DST) || in ixgbe_set_rss_hash_opt()
2977 !(nfc->data & RXH_IP_DST)) in ixgbe_set_rss_hash_opt()
2992 !(nfc->data & RXH_IP_DST)) in ixgbe_set_rss_hash_opt()
3014 !(nfc->data & RXH_IP_DST) || in ixgbe_set_rss_hash_opt()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c1557 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv4_rss()
1564 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv6_rss()
1574 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1580 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1587 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1599 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1605 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1612 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1625 #define RXH_4TUPLE (RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3)
1626 #define RXH_2TUPLE (RXH_IP_SRC | RXH_IP_DST)
/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_ethtool.c535 info->data |= RXH_IP_SRC | RXH_IP_DST; in nicvf_get_rss_hash_opts()
576 if (!(info->data & RXH_IP_SRC) || !(info->data & RXH_IP_DST)) in nicvf_set_rss_hash_opts()
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_ethtool.c688 data |= RXH_IP_DST; in ena_flow_hash_to_flow_type()
709 if (hash_fields & RXH_IP_DST) in ena_flow_data_to_flow_hash()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_ethtool.c938 cmd->data = RXH_IP_SRC | RXH_IP_DST; in hinic_get_rss_hash_opts()
1017 if (cmd->data & ~(RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | in hinic_set_rss_hash_opts()
1022 if (!(cmd->data & RXH_IP_SRC) || !(cmd->data & RXH_IP_DST)) in hinic_set_rss_hash_opts()
/linux/drivers/net/
H A Dvirtio_net.c4119 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow()
4122 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
4127 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow()
4130 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
4135 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow()
4138 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
4143 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow()
4146 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
4151 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
4156 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c572 nfc->data = RXH_IP_SRC | RXH_IP_DST; in otx2_get_rss_hash_opts()
626 if (!(nfc->data & RXH_IP_SRC) || !(nfc->data & RXH_IP_DST)) in otx2_set_rss_hash_opts()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c3169 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in i40e_get_rss_hash_opts()
3196 cmd->data |= RXH_IP_DST; in i40e_get_rss_hash_opts()
3201 cmd->data |= RXH_IP_DST; in i40e_get_rss_hash_opts()
3208 cmd->data |= RXH_IP_DST; in i40e_get_rss_hash_opts()
3603 if (nfc->data & RXH_IP_DST) in i40e_get_rss_hash_bits()
3638 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in i40e_set_rss_hash_opt()
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_cls.c1649 if (info->data & RXH_IP_DST) in mvpp2_ethtool_rxfh_set()
1687 info->data |= RXH_IP_DST; in mvpp2_ethtool_rxfh_get()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c1320 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in nfp_net_get_rss_hash_opts()
1472 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in nfp_net_set_rss_hash_opt()
1478 !(nfc->data & RXH_IP_DST)) in nfp_net_set_rss_hash_opt()
/linux/drivers/net/hyperv/
H A Dnetvsc_drv.c1621 info->data = RXH_IP_SRC | RXH_IP_DST; in netvsc_get_rss_hash_opts()
1683 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in netvsc_set_rss_hash_opts()
1709 if (info->data == (RXH_IP_SRC | RXH_IP_DST)) { in netvsc_set_rss_hash_opts()

12