/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() 380 !(cmd->data & RXH_IP_DST) || in sxgbe_set_rss_hash_opt() 389 !(cmd->data & RXH_IP_DST) || in sxgbe_set_rss_hash_opt() 406 !(cmd->data & RXH_IP_DST) || 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() 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() [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() 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()
|
/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() 439 if (nfc->data & RXH_IP_DST) in hclge_comm_get_rss_hash_bits() 512 tuple_data |= RXH_IP_DST; 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 | 3326 info->data = RXH_IP_SRC | RXH_IP_DST | in bnx2x_get_rss_flags() 3331 info->data = RXH_IP_SRC | RXH_IP_DST | in bnx2x_get_rss_flags() 3334 info->data = RXH_IP_SRC | RXH_IP_DST; in bnx2x_get_rss_flags() 3338 info->data = RXH_IP_SRC | RXH_IP_DST | in bnx2x_get_rss_flags() 3341 info->data = RXH_IP_SRC | RXH_IP_DST; in bnx2x_get_rss_flags() 3345 info->data = RXH_IP_SRC | RXH_IP_DST; in bnx2x_get_rss_flags() 3384 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST | in bnx2x_set_rss_flags() 3395 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in bnx2x_set_rss_flags() 3398 else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) in bnx2x_set_rss_flags() 3433 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST)) { in bnx2x_set_rss_flags()
|
/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() 1130 !(nfc->data & RXH_IP_DST) || in igc_ethtool_set_rss_hash_opt() 1137 !(nfc->data & RXH_IP_DST)) in igc_ethtool_set_rss_hash_opt() 1152 !(nfc->data & RXH_IP_DST)) in igc_ethtool_set_rss_hash_opt() 1174 !(nfc->data & RXH_IP_DST) || in igc_ethtool_set_rss_hash_opt()
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | ethtool_common.c | 828 RXH_IP_SRC | RXH_IP_DST); in efx_siena_ethtool_get_rxnfc() 830 data = RXH_IP_SRC | RXH_IP_DST; in efx_siena_ethtool_get_rxnfc() 835 RXH_IP_SRC | RXH_IP_DST); in efx_siena_ethtool_get_rxnfc() 843 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/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/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()
|
/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() 1378 if (cmd->data & RXH_IP_DST) in iavf_adv_rss_parse_hash_flds() 1386 if (cmd->data & RXH_IP_DST) in iavf_adv_rss_parse_hash_flds() 1552 cmd->data |= (u64)RXH_IP_DST; 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() 2594 !(nfc->data & RXH_IP_DST) || in igb_set_rss_hash_opt() 2601 !(nfc->data & RXH_IP_DST)) in igb_set_rss_hash_opt() 2616 !(nfc->data & RXH_IP_DST)) in igb_set_rss_hash_opt() 2638 !(nfc->data & RXH_IP_DST) || 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() 2970 !(nfc->data & RXH_IP_DST) || in ixgbe_set_rss_hash_opt() 2977 !(nfc->data & RXH_IP_DST)) in ixgbe_set_rss_hash_opt() 2992 !(nfc->data & RXH_IP_DST)) in ixgbe_set_rss_hash_opt() 3014 !(nfc->data & RXH_IP_DST) || in ixgbe_set_rss_hash_opt()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 1557 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv4_rss() 1564 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv6_rss() 1574 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1580 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1587 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1599 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1605 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1612 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1625 #define RXH_4TUPLE (RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3) 1626 #define RXH_2TUPLE (RXH_IP_SRC | RXH_IP_DST)
|
/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 | 688 data |= RXH_IP_DST; in ena_flow_hash_to_flow_type() 709 if (hash_fields & RXH_IP_DST) 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/ |
H A D | virtio_net.c | 4119 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow() 4122 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() 4127 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow() 4130 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() 4135 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow() 4138 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() 4143 info->data = RXH_IP_SRC | RXH_IP_DST | in virtnet_get_hashflow() 4146 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() 4151 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() 4156 info->data = RXH_IP_SRC | RXH_IP_DST; in virtnet_get_hashflow() [all …]
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ethtool.c | 572 nfc->data = RXH_IP_SRC | RXH_IP_DST; in otx2_get_rss_hash_opts() 626 if (!(nfc->data & RXH_IP_SRC) || !(nfc->data & RXH_IP_DST)) in otx2_set_rss_hash_opts()
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 3169 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in i40e_get_rss_hash_opts() 3196 cmd->data |= RXH_IP_DST; in i40e_get_rss_hash_opts() 3201 cmd->data |= RXH_IP_DST; in i40e_get_rss_hash_opts() 3208 cmd->data |= RXH_IP_DST; in i40e_get_rss_hash_opts() 3603 if (nfc->data & RXH_IP_DST) in i40e_get_rss_hash_bits() 3638 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in i40e_set_rss_hash_opt()
|
/linux/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_cls.c | 1649 if (info->data & RXH_IP_DST) in mvpp2_ethtool_rxfh_set() 1687 info->data |= RXH_IP_DST; in mvpp2_ethtool_rxfh_get()
|
/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ethtool.c | 1320 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in nfp_net_get_rss_hash_opts() 1472 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in nfp_net_set_rss_hash_opt() 1478 !(nfc->data & RXH_IP_DST)) in nfp_net_set_rss_hash_opt()
|
/linux/drivers/net/hyperv/ |
H A D | netvsc_drv.c | 1621 info->data = RXH_IP_SRC | RXH_IP_DST; in netvsc_get_rss_hash_opts() 1683 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in netvsc_set_rss_hash_opts() 1709 if (info->data == (RXH_IP_SRC | RXH_IP_DST)) { in netvsc_set_rss_hash_opts()
|