Home
last modified time | relevance | path

Searched refs:RXH_L4_B_0_1 (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v5.4/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_ethtool.c318 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in sxgbe_get_rss_hash_opts()
329 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in sxgbe_get_rss_hash_opts()
371 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in sxgbe_set_rss_hash_opt()
379 !(cmd->data & RXH_L4_B_0_1) || in sxgbe_set_rss_hash_opt()
388 !(cmd->data & RXH_L4_B_0_1) || in sxgbe_set_rss_hash_opt()
405 (cmd->data & RXH_L4_B_0_1) || in sxgbe_set_rss_hash_opt()
/Linux-v5.4/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c180 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in hinic_get_rss_hash_opts()
184 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in hinic_get_rss_hash_opts()
188 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in hinic_get_rss_hash_opts()
192 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in hinic_get_rss_hash_opts()
210 switch (cmd->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in set_l4_rss_hash_ops()
214 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in set_l4_rss_hash_ops()
255 if (cmd->data & ~(RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | in hinic_set_rss_hash_opts()
/Linux-v5.4/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c696 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in fm10k_get_rss_hash_opts()
701 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in fm10k_get_rss_hash_opts()
718 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in fm10k_get_rss_hash_opts()
761 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in fm10k_set_rss_hash_opt()
769 !(nfc->data & RXH_L4_B_0_1) || in fm10k_set_rss_hash_opt()
777 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in fm10k_set_rss_hash_opt()
782 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in fm10k_set_rss_hash_opt()
794 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in fm10k_set_rss_hash_opt()
799 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in fm10k_set_rss_hash_opt()
817 (nfc->data & RXH_L4_B_0_1) || in fm10k_set_rss_hash_opt()
/Linux-v5.4/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c526 info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in nicvf_get_rss_hash_opts()
577 switch (info->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in nicvf_set_rss_hash_opts()
581 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in nicvf_set_rss_hash_opts()
590 switch (info->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in nicvf_set_rss_hash_opts()
594 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in nicvf_set_rss_hash_opts()
603 switch (info->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in nicvf_set_rss_hash_opts()
607 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in nicvf_set_rss_hash_opts()
/Linux-v5.4/drivers/net/ethernet/intel/igc/
Digc_ethtool.c959 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in igc_get_rss_hash_opts()
963 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in igc_get_rss_hash_opts()
977 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in igc_get_rss_hash_opts()
981 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in igc_get_rss_hash_opts()
1043 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in igc_set_rss_hash_opt()
1051 !(nfc->data & RXH_L4_B_0_1) || in igc_set_rss_hash_opt()
1059 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in igc_set_rss_hash_opt()
1063 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in igc_set_rss_hash_opt()
1074 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in igc_set_rss_hash_opt()
1078 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in igc_set_rss_hash_opt()
[all …]
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.h413 | RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 \
418 RXH_L4_B_0_1 | RXH_L4_B_2_3)
/Linux-v5.4/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c488 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3 | in enic_get_rx_flow_hash()
494 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in enic_get_rx_flow_hash()
499 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in enic_get_rx_flow_hash()
/Linux-v5.4/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2532 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in igb_get_rss_hash_opts()
2536 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in igb_get_rss_hash_opts()
2546 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in igb_get_rss_hash_opts()
2550 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in igb_get_rss_hash_opts()
2608 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in igb_set_rss_hash_opt()
2616 !(nfc->data & RXH_L4_B_0_1) || in igb_set_rss_hash_opt()
2624 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in igb_set_rss_hash_opt()
2628 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in igb_set_rss_hash_opt()
2639 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in igb_set_rss_hash_opt()
2643 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in igb_set_rss_hash_opt()
[all …]
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c394 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in dpaa_get_hash_opts()
454 ~(RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3)) in dpaa_set_hash_opts()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c814 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in nfp_net_get_rss_hash_opts()
847 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in nfp_net_set_rss_hash_opt()
859 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in nfp_net_set_rss_hash_opt()
863 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in nfp_net_set_rss_hash_opt()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2511 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in ixgbe_get_rss_hash_opts()
2515 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in ixgbe_get_rss_hash_opts()
2525 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in ixgbe_get_rss_hash_opts()
2529 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in ixgbe_get_rss_hash_opts()
2830 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in ixgbe_set_rss_hash_opt()
2838 !(nfc->data & RXH_L4_B_0_1) || in ixgbe_set_rss_hash_opt()
2846 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in ixgbe_set_rss_hash_opt()
2850 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in ixgbe_set_rss_hash_opt()
2861 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in ixgbe_set_rss_hash_opt()
2865 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in ixgbe_set_rss_hash_opt()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c836 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in mlx5e_set_rss_hash_opt()
843 if (nfc->data & RXH_L4_B_0_1) in mlx5e_set_rss_hash_opt()
884 nfc->data |= RXH_L4_B_0_1; in mlx5e_get_rss_hash_opt()
/Linux-v5.4/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c1080 data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in be_get_rss_hash_opts()
1086 data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in be_get_rss_hash_opts()
1092 data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in be_get_rss_hash_opts()
1098 data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in be_get_rss_hash_opts()
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1205 info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in qede_get_rss_flags()
1209 info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in qede_get_rss_flags()
1213 info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in qede_get_rss_flags()
1272 RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in qede_set_rss_flags()
1280 RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in qede_set_rss_flags()
1295 RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in qede_set_rss_flags()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c1344 RXH_L4_B_0_1 | RXH_L4_B_2_3; in get_rxnfc()
1352 RXH_L4_B_0_1 | RXH_L4_B_2_3; in get_rxnfc()
1365 RXH_L4_B_0_1 | RXH_L4_B_2_3; in get_rxnfc()
1373 RXH_L4_B_0_1 | RXH_L4_B_2_3; in get_rxnfc()
/Linux-v5.4/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c465 data |= RXH_L4_B_0_1; in ena_flow_hash_to_flow_type()
486 if (hash_fields & RXH_L4_B_0_1) in ena_flow_data_to_flow_hash()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c3333 RXH_L4_B_0_1 | RXH_L4_B_2_3; in bnx2x_get_rss_flags()
3338 RXH_L4_B_0_1 | RXH_L4_B_2_3; in bnx2x_get_rss_flags()
3345 RXH_L4_B_0_1 | RXH_L4_B_2_3; in bnx2x_get_rss_flags()
3391 RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in bnx2x_set_rss_flags()
3402 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in bnx2x_set_rss_flags()
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c275 #define ENETC_RSSHASH_L4 (ENETC_RSSHASH_L3 | RXH_L4_B_0_1 | RXH_L4_B_2_3)
/Linux-v5.4/include/uapi/linux/
Dethtool.h1716 #define RXH_L4_B_0_1 (1 << 6) /* src port in case of TCP/UDP/SCTP */ macro
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c1023 RXH_L4_B_0_1 | RXH_L4_B_2_3; in bnxt_grxfh()
1029 RXH_L4_B_0_1 | RXH_L4_B_2_3; in bnxt_grxfh()
1042 RXH_L4_B_0_1 | RXH_L4_B_2_3; in bnxt_grxfh()
1048 RXH_L4_B_0_1 | RXH_L4_B_2_3; in bnxt_grxfh()
1061 #define RXH_4TUPLE (RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3)
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c799 u8 hash_sets = nfc->data & RXH_L4_B_0_1 ? HCLGEVF_S_PORT_BIT : 0; in hclgevf_get_rss_hash_bits()
836 ~(RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3)) in hclgevf_set_rss_tuple()
869 if ((nfc->data & RXH_L4_B_0_1) || in hclgevf_set_rss_tuple()
948 nfc->data |= RXH_L4_B_0_1; in hclgevf_get_rss_tuple()
/Linux-v5.4/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c550 rxnfc->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in lan743x_ethtool_get_rxnfc()
/Linux-v5.4/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_cls.c1628 if (info->data & RXH_L4_B_0_1) in mvpp2_ethtool_rxfh_set()
1685 info->data |= RXH_L4_B_0_1; in mvpp2_ethtool_rxfh_get()
/Linux-v5.4/drivers/net/ethernet/sfc/
Dethtool.c1005 info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in efx_ethtool_get_rxnfc()
1016 info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in efx_ethtool_get_rxnfc()
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c3029 cmd->data |= RXH_L4_B_0_1; in i40e_get_rss_hash_opts()
3355 if (nfc->data & RXH_L4_B_0_1) in i40e_get_rss_hash_bits()
3413 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in i40e_set_rss_hash_opt()
3454 if ((nfc->data & RXH_L4_B_0_1) || in i40e_set_rss_hash_opt()
3463 if ((nfc->data & RXH_L4_B_0_1) || in i40e_set_rss_hash_opt()

12