Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/net/ethernet/samsung/sxgbe/
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()
/Linux-v6.1/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c838 RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts()
843 info->data |= RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts()
853 info->data |= RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts()
858 info->data |= RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts()
869 info->data |= RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts()
888 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in vmxnet3_set_rss_hash_opt()
895 if (!(nfc->data & RXH_IP_SRC) || in vmxnet3_set_rss_hash_opt()
902 if (!(nfc->data & RXH_IP_SRC) || in vmxnet3_set_rss_hash_opt()
917 if (!(nfc->data & RXH_IP_SRC) || in vmxnet3_set_rss_hash_opt()
934 if (!(nfc->data & RXH_IP_SRC) || in vmxnet3_set_rss_hash_opt()
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/fm10k/
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-v6.1/drivers/net/ethernet/cisco/enic/
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()
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3_common/
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()
422 if (nfc->data & RXH_IP_SRC) in hclge_comm_get_rss_hash_bits()
502 tuple_data |= RXH_IP_SRC; in hclge_comm_convert_rss_tuple()
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4/
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()
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.h611 | RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 \
615 #define DPAA2_RXH_DEFAULT (RXH_L3_PROTO | RXH_IP_SRC | RXH_IP_DST | \
/Linux-v6.1/drivers/net/ethernet/broadcom/bnx2x/
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()
/Linux-v6.1/drivers/net/ethernet/intel/igc/
Digc_ethtool.c1052 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igc_ethtool_get_rss_hash_opts()
1066 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igc_ethtool_get_rss_hash_opts()
1108 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in igc_ethtool_set_rss_hash_opt()
1115 if (!(nfc->data & RXH_IP_SRC) || in igc_ethtool_set_rss_hash_opt()
1122 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()
1159 if (!(nfc->data & RXH_IP_SRC) || in igc_ethtool_set_rss_hash_opt()
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c364 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in dpaa_get_hash_opts()
411 ~(RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3)) in dpaa_set_hash_opts()
/Linux-v6.1/drivers/net/
Dvirtio_net.c2484 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow()
2487 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
2492 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow()
2495 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
2500 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow()
2503 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
2508 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow()
2511 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
2516 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
2521 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow()
[all …]
/Linux-v6.1/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1182 info->data = RXH_IP_SRC | RXH_IP_DST; in qede_get_rss_flags()
1253 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags()
1261 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags()
1266 } else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags()
1276 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags()
1281 } else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags()
1292 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c920 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in mlx5e_set_rss_hash_opt()
924 if (nfc->data & RXH_IP_SRC) in mlx5e_set_rss_hash_opt()
954 nfc->data |= RXH_IP_SRC; in mlx5e_get_rss_hash_opt()
/Linux-v6.1/drivers/net/ethernet/emulex/benet/
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-v6.1/drivers/net/ethernet/sfc/
Dethtool_common.c881 RXH_IP_SRC | RXH_IP_DST); in efx_ethtool_get_rxnfc()
883 data = RXH_IP_SRC | RXH_IP_DST; in efx_ethtool_get_rxnfc()
888 RXH_IP_SRC | RXH_IP_DST); in efx_ethtool_get_rxnfc()
896 data = RXH_IP_SRC | RXH_IP_DST; in efx_ethtool_get_rxnfc()
/Linux-v6.1/drivers/net/ethernet/sfc/siena/
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()
/Linux-v6.1/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c1536 if (cmd->data & RXH_IP_SRC || cmd->data & RXH_IP_DST) { in iavf_adv_rss_parse_hash_flds()
1541 if (cmd->data & RXH_IP_SRC) in iavf_adv_rss_parse_hash_flds()
1549 if (cmd->data & RXH_IP_SRC) in iavf_adv_rss_parse_hash_flds()
1708 cmd->data |= (u64)RXH_IP_SRC; in iavf_get_adv_rss_hash_opt()
/Linux-v6.1/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c517 data |= RXH_IP_SRC; in ena_flow_hash_to_flow_type()
538 if (hash_fields & RXH_IP_SRC) in ena_flow_data_to_flow_hash()
/Linux-v6.1/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2527 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igb_get_rss_hash_opts()
2541 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igb_get_rss_hash_opts()
2591 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in igb_set_rss_hash_opt()
2598 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt()
2605 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt()
2620 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt()
2642 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt()
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1109 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv4_rss()
1116 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv6_rss()
1126 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1132 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1145 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1151 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1165 #define RXH_4TUPLE (RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3)
1166 #define RXH_2TUPLE (RXH_IP_SRC | RXH_IP_DST)
/Linux-v6.1/drivers/net/ethernet/cavium/thunder/
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-v6.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2614 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in ixgbe_get_rss_hash_opts()
2628 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in ixgbe_get_rss_hash_opts()
2921 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in ixgbe_set_rss_hash_opt()
2928 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt()
2935 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt()
2950 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt()
2972 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt()
/Linux-v6.1/drivers/net/ethernet/huawei/hinic/
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-v6.1/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c1114 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in nfp_net_get_rss_hash_opts()
1148 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in nfp_net_set_rss_hash_opt()
1153 if (!(nfc->data & RXH_IP_SRC) || in nfp_net_set_rss_hash_opt()
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c568 nfc->data = RXH_IP_SRC | RXH_IP_DST; in otx2_get_rss_hash_opts()
622 if (!(nfc->data & RXH_IP_SRC) || !(nfc->data & RXH_IP_DST)) in otx2_set_rss_hash_opts()

12