Home
last modified time | relevance | path

Searched refs:RXH_IP_SRC (Results 1 – 25 of 40) sorted by relevance

12

/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_ethtool.c329 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in sxgbe_get_rss_hash_opts()
340 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in sxgbe_get_rss_hash_opts()
374 if (cmd->data & ~(RXH_IP_SRC | RXH_IP_DST | in sxgbe_set_rss_hash_opt()
381 if (!(cmd->data & RXH_IP_SRC) || in sxgbe_set_rss_hash_opt()
390 if (!(cmd->data & RXH_IP_SRC) || in sxgbe_set_rss_hash_opt()
407 if (!(cmd->data & RXH_IP_SRC) || in sxgbe_set_rss_hash_opt()
/openbmc/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()
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()
976 if (!(nfc->data & RXH_IP_SRC) || in vmxnet3_set_rss_hash_opt()
[all …]
/openbmc/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()
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Denic_ethtool.c461 RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash()
464 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash()
469 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash()
483 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_rss.c157 ~(RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3)) in hclge_comm_set_rss_tuple()
421 if (nfc->data & RXH_IP_SRC) in hclge_comm_get_rss_hash_bits()
501 tuple_data |= RXH_IP_SRC; in hclge_comm_convert_rss_tuple()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c1752 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc()
1755 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
1760 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc()
1763 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
1769 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
1773 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc()
1776 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
1781 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc()
1784 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
1790 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
/openbmc/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()
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_ethtool.c3334 info->data = RXH_IP_SRC | RXH_IP_DST | in bnx2x_get_rss_flags()
3339 info->data = RXH_IP_SRC | RXH_IP_DST | in bnx2x_get_rss_flags()
3342 info->data = RXH_IP_SRC | RXH_IP_DST; in bnx2x_get_rss_flags()
3346 info->data = RXH_IP_SRC | RXH_IP_DST | in bnx2x_get_rss_flags()
3349 info->data = RXH_IP_SRC | RXH_IP_DST; in bnx2x_get_rss_flags()
3353 info->data = RXH_IP_SRC | RXH_IP_DST; in bnx2x_get_rss_flags()
3392 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST | in bnx2x_set_rss_flags()
3403 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in bnx2x_set_rss_flags()
3406 else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) in bnx2x_set_rss_flags()
3441 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST)) { in bnx2x_set_rss_flags()
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c1067 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igc_ethtool_get_rss_hash_opts()
1081 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igc_ethtool_get_rss_hash_opts()
1123 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in igc_ethtool_set_rss_hash_opt()
1130 if (!(nfc->data & RXH_IP_SRC) || in igc_ethtool_set_rss_hash_opt()
1137 if (!(nfc->data & RXH_IP_SRC) || in igc_ethtool_set_rss_hash_opt()
1152 if (!(nfc->data & RXH_IP_SRC) || in igc_ethtool_set_rss_hash_opt()
1174 if (!(nfc->data & RXH_IP_SRC) || in igc_ethtool_set_rss_hash_opt()
/openbmc/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 | \
/openbmc/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ethtool.c1199 info->data = RXH_IP_SRC | RXH_IP_DST; in qede_get_rss_flags()
1270 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags()
1278 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags()
1283 } else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags()
1293 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags()
1298 } else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags()
1309 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c845 RXH_IP_SRC | RXH_IP_DST); in efx_siena_ethtool_get_rxnfc()
847 data = RXH_IP_SRC | RXH_IP_DST; in efx_siena_ethtool_get_rxnfc()
852 RXH_IP_SRC | RXH_IP_DST); in efx_siena_ethtool_get_rxnfc()
860 data = RXH_IP_SRC | RXH_IP_DST; in efx_siena_ethtool_get_rxnfc()
/openbmc/u-boot/include/linux/
H A Dethtool.h687 #define RXH_IP_SRC (1 << 4) macro
/openbmc/linux/drivers/net/
H A Dvirtio_net.c3031 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow()
3034 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
3039 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow()
3042 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
3047 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow()
3050 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
3055 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow()
3058 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
3063 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
3068 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c1555 if (cmd->data & RXH_IP_SRC || cmd->data & RXH_IP_DST) { in iavf_adv_rss_parse_hash_flds()
1560 if (cmd->data & RXH_IP_SRC) in iavf_adv_rss_parse_hash_flds()
1568 if (cmd->data & RXH_IP_SRC) in iavf_adv_rss_parse_hash_flds()
1727 cmd->data |= (u64)RXH_IP_SRC; in iavf_get_adv_rss_hash_opt()
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c2530 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igb_get_rss_hash_opts()
2544 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igb_get_rss_hash_opts()
2594 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in igb_set_rss_hash_opt()
2601 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt()
2608 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt()
2623 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt()
2645 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt()
/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_ethtool.c574 data |= RXH_IP_SRC; in ena_flow_hash_to_flow_type()
595 if (hash_fields & RXH_IP_SRC) in ena_flow_data_to_flow_hash()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c2645 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in ixgbe_get_rss_hash_opts()
2659 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in ixgbe_get_rss_hash_opts()
2961 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in ixgbe_set_rss_hash_opt()
2968 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt()
2975 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt()
2990 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt()
3012 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c1102 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv4_rss()
1109 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv6_rss()
1119 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1125 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1138 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1144 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1158 #define RXH_4TUPLE (RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3)
1159 #define RXH_2TUPLE (RXH_IP_SRC | RXH_IP_DST)
/openbmc/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()
/openbmc/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()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c1313 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in nfp_net_get_rss_hash_opts()
1347 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in nfp_net_set_rss_hash_opt()
1352 if (!(nfc->data & RXH_IP_SRC) || in nfp_net_set_rss_hash_opt()

12