/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_ethtool.c | 327 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in sxgbe_get_rss_hash_opts() 338 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in sxgbe_get_rss_hash_opts() 372 if (cmd->data & ~(RXH_IP_SRC | RXH_IP_DST | in sxgbe_set_rss_hash_opt() 379 if (!(cmd->data & RXH_IP_SRC) || in sxgbe_set_rss_hash_opt() 388 if (!(cmd->data & RXH_IP_SRC) || in sxgbe_set_rss_hash_opt() 405 if (!(cmd->data & RXH_IP_SRC) || in sxgbe_set_rss_hash_opt()
|
/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() 911 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in vmxnet3_set_rss_hash_opt() 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() [all …]
|
/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()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
H A D | hclge_comm_rss.c | 161 ~(RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3)) in hclge_comm_set_rss_tuple() 434 if (nfc->data & RXH_IP_SRC) in hclge_comm_get_rss_hash_bits() 514 tuple_data |= RXH_IP_SRC; in hclge_comm_convert_rss_tuple()
|
/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_ethtool.c | 543 RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash() 546 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash() 551 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash() 565 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_ethtool.c | 1749 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc() 1752 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc() 1757 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc() 1760 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc() 1766 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc() 1770 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc() 1773 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc() 1778 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc() 1781 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc() 1787 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_ethtool.c | 3332 info->data = RXH_IP_SRC | RXH_IP_DST | in bnx2x_get_rss_flags() 3337 info->data = RXH_IP_SRC | RXH_IP_DST | in bnx2x_get_rss_flags() 3340 info->data = RXH_IP_SRC | RXH_IP_DST; in bnx2x_get_rss_flags() 3344 info->data = RXH_IP_SRC | RXH_IP_DST | in bnx2x_get_rss_flags() 3347 info->data = RXH_IP_SRC | RXH_IP_DST; in bnx2x_get_rss_flags() 3351 info->data = RXH_IP_SRC | RXH_IP_DST; in bnx2x_get_rss_flags() 3390 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST | in bnx2x_set_rss_flags() 3401 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in bnx2x_set_rss_flags() 3404 else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) in bnx2x_set_rss_flags() 3439 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST)) { in bnx2x_set_rss_flags()
|
/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()
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | ethtool_common.c | 834 RXH_IP_SRC | RXH_IP_DST); in efx_siena_ethtool_get_rxnfc() 836 data = RXH_IP_SRC | RXH_IP_DST; in efx_siena_ethtool_get_rxnfc() 841 RXH_IP_SRC | RXH_IP_DST); in efx_siena_ethtool_get_rxnfc() 849 data = RXH_IP_SRC | RXH_IP_DST; in efx_siena_ethtool_get_rxnfc()
|
/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 | \
|
/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_ethtool.c | 1066 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igc_ethtool_get_rss_hash_opts() 1080 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igc_ethtool_get_rss_hash_opts() 1122 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in igc_ethtool_set_rss_hash_opt() 1129 if (!(nfc->data & RXH_IP_SRC) || in igc_ethtool_set_rss_hash_opt() 1136 if (!(nfc->data & RXH_IP_SRC) || in igc_ethtool_set_rss_hash_opt() 1151 if (!(nfc->data & RXH_IP_SRC) || in igc_ethtool_set_rss_hash_opt() 1173 if (!(nfc->data & RXH_IP_SRC) || in igc_ethtool_set_rss_hash_opt()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ethtool.c | 1177 info->data = RXH_IP_SRC | RXH_IP_DST; in qede_get_rss_flags() 1248 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags() 1256 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags() 1261 } else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags() 1271 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags() 1276 } else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags() 1287 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags()
|
/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_rpc.c | 33 (RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3) 35 (RXH_IP_SRC | RXH_IP_DST)
|
/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()
|
/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()
|
/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()
|
/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_ethtool.c | 1371 if (cmd->data & RXH_IP_SRC || cmd->data & RXH_IP_DST) { in iavf_adv_rss_parse_hash_flds() 1376 if (cmd->data & RXH_IP_SRC) in iavf_adv_rss_parse_hash_flds() 1384 if (cmd->data & RXH_IP_SRC) in iavf_adv_rss_parse_hash_flds() 1548 cmd->data |= (u64)RXH_IP_SRC; in iavf_get_adv_rss_hash_opt()
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_ethtool.c | 2522 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igb_get_rss_hash_opts() 2536 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igb_get_rss_hash_opts() 2586 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in igb_set_rss_hash_opt() 2593 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt() 2600 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt() 2615 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt() 2637 if (!(nfc->data & RXH_IP_SRC) || in igb_set_rss_hash_opt()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 2646 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in ixgbe_get_rss_hash_opts() 2660 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in ixgbe_get_rss_hash_opts() 2962 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in ixgbe_set_rss_hash_opt() 2969 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt() 2976 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt() 2991 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt() 3013 if (!(nfc->data & RXH_IP_SRC) || in ixgbe_set_rss_hash_opt()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 1554 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv4_rss() 1561 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv6_rss() 1571 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1577 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1584 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1596 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1602 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1609 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1622 #define RXH_4TUPLE (RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3) 1623 #define RXH_2TUPLE (RXH_IP_SRC | RXH_IP_DST)
|
/linux/drivers/net/ |
H A D | virtio_net.c | 3946 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow() 3949 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() 3954 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow() 3957 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() 3962 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow() 3965 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() 3970 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow() 3973 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() 3978 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() 3983 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() [all …]
|
/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()
|
/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_ethtool.c | 691 data |= RXH_IP_SRC; in ena_flow_hash_to_flow_type() 712 if (hash_fields & RXH_IP_SRC) in ena_flow_data_to_flow_hash()
|
/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()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ethtool.c | 582 nfc->data = RXH_IP_SRC | RXH_IP_DST; in otx2_get_rss_hash_opts() 636 if (!(nfc->data & RXH_IP_SRC) || !(nfc->data & RXH_IP_DST)) in otx2_set_rss_hash_opts()
|