/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_ethtool.c | 329 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 D | vmxnet3_ethtool.c | 861 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 D | fm10k_ethtool.c | 720 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 D | enic_ethtool.c | 461 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 D | hclge_comm_rss.c | 157 ~(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 D | cxgb4_ethtool.c | 1752 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 D | dpaa_ethtool.c | 306 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 D | bnx2x_ethtool.c | 3334 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 D | igc_ethtool.c | 1067 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 D | dpaa2-eth.h | 649 | 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 D | qede_ethtool.c | 1199 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 D | en_fs_ethtool.c | 922 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 D | ethtool_common.c | 844 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 D | be_ethtool.c | 1083 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 D | ethtool_common.c | 845 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 D | ethtool.h | 687 #define RXH_IP_SRC (1 << 4) macro
|
/openbmc/linux/drivers/net/ |
H A D | virtio_net.c | 3031 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 D | iavf_ethtool.c | 1555 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 D | igb_ethtool.c | 2530 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 D | ena_ethtool.c | 574 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 D | ixgbe_ethtool.c | 2645 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 D | bnxt_ethtool.c | 1102 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 D | nicvf_ethtool.c | 535 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 D | hinic_ethtool.c | 938 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 D | nfp_net_ethtool.c | 1313 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()
|