/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() 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()
|
/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() 919 !(nfc->data & RXH_IP_DST) || in vmxnet3_set_rss_hash_opt() 926 !(nfc->data & RXH_IP_DST)) in vmxnet3_set_rss_hash_opt() 941 !(nfc->data & RXH_IP_DST)) in vmxnet3_set_rss_hash_opt() 958 !(nfc->data & RXH_IP_DST)) in vmxnet3_set_rss_hash_opt() 977 !(nfc->data & RXH_IP_DST)) 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() 775 !(nfc->data & RXH_IP_DST) || in fm10k_set_rss_hash_opt() 782 !(nfc->data & RXH_IP_DST)) in fm10k_set_rss_hash_opt() 799 !(nfc->data & RXH_IP_DST)) in fm10k_set_rss_hash_opt() 823 !(nfc->data & RXH_IP_DST) || 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() 426 if (nfc->data & RXH_IP_DST) in hclge_comm_get_rss_hash_bits() 499 tuple_data |= RXH_IP_DST; 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() 1131 !(nfc->data & RXH_IP_DST) || in igc_ethtool_set_rss_hash_opt() 1138 !(nfc->data & RXH_IP_DST)) in igc_ethtool_set_rss_hash_opt() 1153 !(nfc->data & RXH_IP_DST)) in igc_ethtool_set_rss_hash_opt() 1175 !(nfc->data & RXH_IP_DST) || 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() 928 if (nfc->data & RXH_IP_DST) in mlx5e_set_rss_hash_opt() 967 nfc->data |= RXH_IP_DST; 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/linux/drivers/net/ |
H A D | virtio_net.c | 3025 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow() 3028 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() 3033 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow() 3036 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() 3041 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow() 3044 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() 3049 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow() 3052 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() 3057 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() 3062 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() [all …]
|
/openbmc/u-boot/include/linux/ |
H A D | ethtool.h | 688 #define RXH_IP_DST (1 << 5) macro
|
/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() 1562 if (cmd->data & RXH_IP_DST) in iavf_adv_rss_parse_hash_flds() 1570 if (cmd->data & RXH_IP_DST) in iavf_adv_rss_parse_hash_flds() 1731 cmd->data |= (u64)RXH_IP_DST; 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() 2602 !(nfc->data & RXH_IP_DST) || in igb_set_rss_hash_opt() 2609 !(nfc->data & RXH_IP_DST)) in igb_set_rss_hash_opt() 2624 !(nfc->data & RXH_IP_DST)) in igb_set_rss_hash_opt() 2646 !(nfc->data & RXH_IP_DST) || in igb_set_rss_hash_opt()
|
/openbmc/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_ethtool.c | 571 data |= RXH_IP_DST; in ena_flow_hash_to_flow_type() 592 if (hash_fields & RXH_IP_DST) 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() 2969 !(nfc->data & RXH_IP_DST) || in ixgbe_set_rss_hash_opt() 2976 !(nfc->data & RXH_IP_DST)) in ixgbe_set_rss_hash_opt() 2991 !(nfc->data & RXH_IP_DST)) in ixgbe_set_rss_hash_opt() 3013 !(nfc->data & RXH_IP_DST) || 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() 1353 !(nfc->data & RXH_IP_DST)) in nfp_net_set_rss_hash_opt()
|