/Linux-v5.4/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_ethtool.c | 318 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/ |
D | hinic_ethtool.c | 180 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/ |
D | fm10k_ethtool.c | 696 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/ |
D | nicvf_ethtool.c | 526 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/ |
D | igc_ethtool.c | 959 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/ |
D | dpaa2-eth.h | 413 | 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/ |
D | enic_ethtool.c | 488 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/ |
D | igb_ethtool.c | 2532 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/ |
D | dpaa_ethtool.c | 394 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/ |
D | nfp_net_ethtool.c | 814 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/ |
D | ixgbe_ethtool.c | 2511 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/ |
D | en_fs_ethtool.c | 836 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/ |
D | be_ethtool.c | 1080 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/ |
D | qede_ethtool.c | 1205 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/ |
D | cxgb4_ethtool.c | 1344 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/ |
D | ena_ethtool.c | 465 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/ |
D | bnx2x_ethtool.c | 3333 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/ |
D | enetc_ethtool.c | 275 #define ENETC_RSSHASH_L4 (ENETC_RSSHASH_L3 | RXH_L4_B_0_1 | RXH_L4_B_2_3)
|
/Linux-v5.4/include/uapi/linux/ |
D | ethtool.h | 1716 #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/ |
D | bnxt_ethtool.c | 1023 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/ |
D | hclgevf_main.c | 799 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/ |
D | lan743x_ethtool.c | 550 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/ |
D | mvpp2_cls.c | 1628 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/ |
D | ethtool.c | 1005 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/ |
D | i40e_ethtool.c | 3029 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()
|