Home
last modified time | relevance | path

Searched refs:RXH_IP_SRC (Results 1 – 25 of 40) 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()
379 if (!(cmd->data & RXH_IP_SRC) || in sxgbe_set_rss_hash_opt()
388 if (!(cmd->data & RXH_IP_SRC) || in sxgbe_set_rss_hash_opt()
405 if (!(cmd->data & RXH_IP_SRC) || 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()
918 if (!(nfc->data & RXH_IP_SRC) || in vmxnet3_set_rss_hash_opt()
925 if (!(nfc->data & RXH_IP_SRC) || in vmxnet3_set_rss_hash_opt()
940 if (!(nfc->data & RXH_IP_SRC) || in vmxnet3_set_rss_hash_opt()
957 if (!(nfc->data & RXH_IP_SRC) || 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()
774 if (!(nfc->data & RXH_IP_SRC) || in fm10k_set_rss_hash_opt()
781 if (!(nfc->data & RXH_IP_SRC) || in fm10k_set_rss_hash_opt()
798 if (!(nfc->data & RXH_IP_SRC) || in fm10k_set_rss_hash_opt()
822 if (!(nfc->data & RXH_IP_SRC) || 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()
434 if (nfc->data & RXH_IP_SRC) in hclge_comm_get_rss_hash_bits()
514 tuple_data |= RXH_IP_SRC; 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.c3332 info->data = RXH_IP_SRC | RXH_IP_DST | in bnx2x_get_rss_flags()
3337 info->data = RXH_IP_SRC | RXH_IP_DST | in bnx2x_get_rss_flags()
3340 info->data = RXH_IP_SRC | RXH_IP_DST; in bnx2x_get_rss_flags()
3344 info->data = RXH_IP_SRC | RXH_IP_DST | in bnx2x_get_rss_flags()
3347 info->data = RXH_IP_SRC | RXH_IP_DST; in bnx2x_get_rss_flags()
3351 info->data = RXH_IP_SRC | RXH_IP_DST; in bnx2x_get_rss_flags()
3390 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST | in bnx2x_set_rss_flags()
3401 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in bnx2x_set_rss_flags()
3404 else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) in bnx2x_set_rss_flags()
3439 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST)) { in bnx2x_set_rss_flags()
/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c306 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in dpaa_get_hash_opts()
353 ~(RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3)) in dpaa_set_hash_opts()
/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c834 RXH_IP_SRC | RXH_IP_DST); in efx_siena_ethtool_get_rxnfc()
836 data = RXH_IP_SRC | RXH_IP_DST; in efx_siena_ethtool_get_rxnfc()
841 RXH_IP_SRC | RXH_IP_DST); in efx_siena_ethtool_get_rxnfc()
849 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/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()
1129 if (!(nfc->data & RXH_IP_SRC) || in igc_ethtool_set_rss_hash_opt()
1136 if (!(nfc->data & RXH_IP_SRC) || in igc_ethtool_set_rss_hash_opt()
1151 if (!(nfc->data & RXH_IP_SRC) || in igc_ethtool_set_rss_hash_opt()
1173 if (!(nfc->data & RXH_IP_SRC) || in igc_ethtool_set_rss_hash_opt()
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ethtool.c1177 info->data = RXH_IP_SRC | RXH_IP_DST; in qede_get_rss_flags()
1248 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags()
1256 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags()
1261 } else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags()
1271 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags()
1276 } else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags()
1287 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_rpc.c33 (RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3)
35 (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/sfc/
H A Dethtool_common.c844 RXH_IP_SRC | RXH_IP_DST); in efx_ethtool_get_rxnfc()
846 data = RXH_IP_SRC | RXH_IP_DST; in efx_ethtool_get_rxnfc()
851 RXH_IP_SRC | RXH_IP_DST); in efx_ethtool_get_rxnfc()
859 data = RXH_IP_SRC | RXH_IP_DST; in efx_ethtool_get_rxnfc()
/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()
926 if (nfc->data & RXH_IP_SRC) in mlx5e_set_rss_hash_opt()
965 nfc->data |= RXH_IP_SRC; 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()
1376 if (cmd->data & RXH_IP_SRC) in iavf_adv_rss_parse_hash_flds()
1384 if (cmd->data & RXH_IP_SRC) in iavf_adv_rss_parse_hash_flds()
1548 cmd->data |= (u64)RXH_IP_SRC; 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()
2593 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt()
2600 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt()
2615 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt()
2637 if (!(nfc->data & RXH_IP_SRC) || 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()
2969 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt()
2976 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt()
2991 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt()
3013 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c1554 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv4_rss()
1561 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv6_rss()
1571 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1577 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1584 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1596 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1602 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1609 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1622 #define RXH_4TUPLE (RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3)
1623 #define RXH_2TUPLE (RXH_IP_SRC | RXH_IP_DST)
/linux/drivers/net/
H A Dvirtio_net.c3946 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow()
3949 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
3954 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow()
3957 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
3962 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow()
3965 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
3970 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow()
3973 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
3978 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
3983 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
[all …]
/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.c691 data |= RXH_IP_SRC; in ena_flow_hash_to_flow_type()
712 if (hash_fields & RXH_IP_SRC) 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/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c582 nfc->data = RXH_IP_SRC | RXH_IP_DST; in otx2_get_rss_hash_opts()
636 if (!(nfc->data & RXH_IP_SRC) || !(nfc->data & RXH_IP_DST)) in otx2_set_rss_hash_opts()

12