Home
last modified time | relevance | path

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

12

/Linux-v5.15/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()
382 !(cmd->data & RXH_IP_DST) || in sxgbe_set_rss_hash_opt()
391 !(cmd->data & RXH_IP_DST) || in sxgbe_set_rss_hash_opt()
408 !(cmd->data & RXH_IP_DST) || in sxgbe_set_rss_hash_opt()
/Linux-v5.15/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c765 RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts()
770 info->data |= RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts()
780 info->data |= RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts()
785 info->data |= RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts()
796 info->data |= RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts()
815 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in vmxnet3_set_rss_hash_opt()
823 !(nfc->data & RXH_IP_DST) || in vmxnet3_set_rss_hash_opt()
830 !(nfc->data & RXH_IP_DST)) in vmxnet3_set_rss_hash_opt()
845 !(nfc->data & RXH_IP_DST)) in vmxnet3_set_rss_hash_opt()
862 !(nfc->data & RXH_IP_DST)) in vmxnet3_set_rss_hash_opt()
[all …]
/Linux-v5.15/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c716 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in fm10k_get_rss_hash_opts()
722 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in fm10k_get_rss_hash_opts()
763 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in fm10k_set_rss_hash_opt()
771 !(nfc->data & RXH_IP_DST) || in fm10k_set_rss_hash_opt()
778 !(nfc->data & RXH_IP_DST)) in fm10k_set_rss_hash_opt()
795 !(nfc->data & RXH_IP_DST)) in fm10k_set_rss_hash_opt()
819 !(nfc->data & RXH_IP_DST) || in fm10k_set_rss_hash_opt()
/Linux-v5.15/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c472 RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash()
475 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash()
480 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash()
494 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash()
/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c1748 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc()
1751 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
1756 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc()
1759 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
1765 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
1769 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc()
1772 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
1777 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc()
1780 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
1786 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.h586 | RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 \
590 #define DPAA2_RXH_DEFAULT (RXH_L3_PROTO | RXH_IP_SRC | RXH_IP_DST | \
/Linux-v5.15/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c3330 info->data = RXH_IP_SRC | RXH_IP_DST | in bnx2x_get_rss_flags()
3335 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()
3342 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()
3349 info->data = RXH_IP_SRC | RXH_IP_DST; in bnx2x_get_rss_flags()
3388 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST | in bnx2x_set_rss_flags()
3399 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in bnx2x_set_rss_flags()
3402 else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) in bnx2x_set_rss_flags()
3437 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST)) { in bnx2x_set_rss_flags()
/Linux-v5.15/drivers/net/ethernet/intel/igc/
Digc_ethtool.c1046 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igc_ethtool_get_rss_hash_opts()
1060 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igc_ethtool_get_rss_hash_opts()
1102 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in igc_ethtool_set_rss_hash_opt()
1110 !(nfc->data & RXH_IP_DST) || in igc_ethtool_set_rss_hash_opt()
1117 !(nfc->data & RXH_IP_DST)) in igc_ethtool_set_rss_hash_opt()
1132 !(nfc->data & RXH_IP_DST)) in igc_ethtool_set_rss_hash_opt()
1154 !(nfc->data & RXH_IP_DST) || in igc_ethtool_set_rss_hash_opt()
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c390 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in dpaa_get_hash_opts()
437 ~(RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3)) in dpaa_set_hash_opts()
/Linux-v5.15/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1165 info->data = RXH_IP_SRC | RXH_IP_DST; in qede_get_rss_flags()
1236 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags()
1244 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags()
1249 } else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags()
1259 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags()
1264 } else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags()
1275 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c895 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in mlx5e_set_rss_hash_opt()
901 if (nfc->data & RXH_IP_DST) in mlx5e_set_rss_hash_opt()
931 nfc->data |= RXH_IP_DST; in mlx5e_get_rss_hash_opt()
/Linux-v5.15/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c1081 data |= RXH_IP_DST | RXH_IP_SRC; in be_get_rss_hash_opts()
1087 data |= RXH_IP_DST | RXH_IP_SRC; in be_get_rss_hash_opts()
1093 data |= RXH_IP_DST | RXH_IP_SRC; in be_get_rss_hash_opts()
1099 data |= RXH_IP_DST | RXH_IP_SRC; in be_get_rss_hash_opts()
/Linux-v5.15/drivers/net/ethernet/sfc/
Dethtool_common.c849 RXH_IP_SRC | RXH_IP_DST); in efx_ethtool_get_rxnfc()
851 data = RXH_IP_SRC | RXH_IP_DST; in efx_ethtool_get_rxnfc()
856 RXH_IP_SRC | RXH_IP_DST); in efx_ethtool_get_rxnfc()
864 data = RXH_IP_SRC | RXH_IP_DST; in efx_ethtool_get_rxnfc()
/Linux-v5.15/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c1482 if (cmd->data & RXH_IP_SRC || cmd->data & RXH_IP_DST) { in iavf_adv_rss_parse_hash_flds()
1489 if (cmd->data & RXH_IP_DST) in iavf_adv_rss_parse_hash_flds()
1497 if (cmd->data & RXH_IP_DST) in iavf_adv_rss_parse_hash_flds()
1658 cmd->data |= (u64)RXH_IP_DST; in iavf_get_adv_rss_hash_opt()
/Linux-v5.15/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c507 data |= RXH_IP_DST; in ena_flow_hash_to_flow_type()
528 if (hash_fields & RXH_IP_DST) in ena_flow_data_to_flow_hash()
/Linux-v5.15/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2525 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igb_get_rss_hash_opts()
2539 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igb_get_rss_hash_opts()
2589 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in igb_set_rss_hash_opt()
2597 !(nfc->data & RXH_IP_DST) || in igb_set_rss_hash_opt()
2604 !(nfc->data & RXH_IP_DST)) in igb_set_rss_hash_opt()
2619 !(nfc->data & RXH_IP_DST)) in igb_set_rss_hash_opt()
2641 !(nfc->data & RXH_IP_DST) || in igb_set_rss_hash_opt()
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c901 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in nfp_net_get_rss_hash_opts()
935 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in nfp_net_set_rss_hash_opt()
941 !(nfc->data & RXH_IP_DST)) in nfp_net_set_rss_hash_opt()
/Linux-v5.15/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c531 info->data |= RXH_IP_SRC | RXH_IP_DST; in nicvf_get_rss_hash_opts()
572 if (!(info->data & RXH_IP_SRC) || !(info->data & RXH_IP_DST)) in nicvf_set_rss_hash_opts()
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2613 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in ixgbe_get_rss_hash_opts()
2627 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in ixgbe_get_rss_hash_opts()
2920 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in ixgbe_set_rss_hash_opt()
2928 !(nfc->data & RXH_IP_DST) || in ixgbe_set_rss_hash_opt()
2935 !(nfc->data & RXH_IP_DST)) in ixgbe_set_rss_hash_opt()
2950 !(nfc->data & RXH_IP_DST)) in ixgbe_set_rss_hash_opt()
2972 !(nfc->data & RXH_IP_DST) || in ixgbe_set_rss_hash_opt()
/Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1073 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv4_rss()
1080 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv6_rss()
1090 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1096 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1109 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1115 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh()
1129 #define RXH_4TUPLE (RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3)
1130 #define RXH_2TUPLE (RXH_IP_SRC | RXH_IP_DST)
/Linux-v5.15/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c937 cmd->data = RXH_IP_SRC | RXH_IP_DST; in hinic_get_rss_hash_opts()
1016 if (cmd->data & ~(RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | in hinic_set_rss_hash_opts()
1021 if (!(cmd->data & RXH_IP_SRC) || !(cmd->data & RXH_IP_DST)) in hinic_set_rss_hash_opts()
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c495 nfc->data = RXH_IP_SRC | RXH_IP_DST; in otx2_get_rss_hash_opts()
549 if (!(nfc->data & RXH_IP_SRC) || !(nfc->data & RXH_IP_DST)) in otx2_set_rss_hash_opts()
/Linux-v5.15/include/uapi/linux/
Dethtool.h1883 #define RXH_IP_DST (1 << 5) macro
/Linux-v5.15/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c553 rxnfc->data |= RXH_IP_SRC | RXH_IP_DST; in lan743x_ethtool_get_rxnfc()
/Linux-v5.15/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_cls.c1653 if (info->data & RXH_IP_DST) in mvpp2_ethtool_rxfh_set()
1691 info->data |= RXH_IP_DST; in mvpp2_ethtool_rxfh_get()

12