/linux/drivers/net/ethernet/samsung/sxgbe/ |
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()
|
/linux/drivers/net/vmxnet3/ |
A D | vmxnet3_ethtool.c | 765 RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts() 770 info->data |= RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts() 780 info->data |= RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts() 785 info->data |= RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts() 796 info->data |= RXH_IP_SRC | RXH_IP_DST; in vmxnet3_get_rss_hash_opts() 823 !(nfc->data & RXH_IP_DST) || in vmxnet3_set_rss_hash_opt() 830 !(nfc->data & RXH_IP_DST)) in vmxnet3_set_rss_hash_opt() 845 !(nfc->data & RXH_IP_DST)) in vmxnet3_set_rss_hash_opt() 862 !(nfc->data & RXH_IP_DST)) in vmxnet3_set_rss_hash_opt() 881 !(nfc->data & RXH_IP_DST)) in vmxnet3_set_rss_hash_opt() [all …]
|
/linux/drivers/net/ethernet/intel/fm10k/ |
A D | fm10k_ethtool.c | 716 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in fm10k_get_rss_hash_opts() 722 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in fm10k_get_rss_hash_opts() 763 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in fm10k_set_rss_hash_opt() 771 !(nfc->data & RXH_IP_DST) || in fm10k_set_rss_hash_opt() 778 !(nfc->data & RXH_IP_DST)) in fm10k_set_rss_hash_opt() 795 !(nfc->data & RXH_IP_DST)) in fm10k_set_rss_hash_opt() 819 !(nfc->data & RXH_IP_DST) || in fm10k_set_rss_hash_opt()
|
/linux/drivers/net/ethernet/cisco/enic/ |
A D | enic_ethtool.c | 472 RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash() 475 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash() 480 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash() 494 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in enic_get_rx_flow_hash()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_ethtool.c | 1748 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc() 1751 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc() 1756 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc() 1759 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc() 1765 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc() 1769 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc() 1772 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc() 1777 info->data = RXH_IP_SRC | RXH_IP_DST | in get_rxnfc() 1780 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc() 1786 info->data = RXH_IP_SRC | RXH_IP_DST; in get_rxnfc()
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-eth.h | 590 | RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 \ 594 #define DPAA2_RXH_DEFAULT (RXH_L3_PROTO | RXH_IP_SRC | RXH_IP_DST | \
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_ethtool.c | 3330 info->data = RXH_IP_SRC | RXH_IP_DST | in bnx2x_get_rss_flags() 3335 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() 3342 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() 3349 info->data = RXH_IP_SRC | RXH_IP_DST; in bnx2x_get_rss_flags() 3388 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST | in bnx2x_set_rss_flags() 3399 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in bnx2x_set_rss_flags() 3402 else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) in bnx2x_set_rss_flags() 3437 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST)) { in bnx2x_set_rss_flags()
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_ethtool.c | 1046 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igc_ethtool_get_rss_hash_opts() 1060 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igc_ethtool_get_rss_hash_opts() 1102 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in igc_ethtool_set_rss_hash_opt() 1110 !(nfc->data & RXH_IP_DST) || in igc_ethtool_set_rss_hash_opt() 1117 !(nfc->data & RXH_IP_DST)) in igc_ethtool_set_rss_hash_opt() 1132 !(nfc->data & RXH_IP_DST)) in igc_ethtool_set_rss_hash_opt() 1154 !(nfc->data & RXH_IP_DST) || in igc_ethtool_set_rss_hash_opt()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede_ethtool.c | 1165 info->data = RXH_IP_SRC | RXH_IP_DST; in qede_get_rss_flags() 1236 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags() 1244 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags() 1249 } else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags() 1259 if (info->data == (RXH_IP_SRC | RXH_IP_DST | in qede_set_rss_flags() 1264 } else if (info->data == (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags() 1275 if (info->data ^ (RXH_IP_SRC | RXH_IP_DST)) { in qede_set_rss_flags()
|
/linux/drivers/net/ethernet/freescale/dpaa/ |
A D | dpaa_ethtool.c | 390 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in dpaa_get_hash_opts() 437 ~(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/emulex/benet/ |
A D | be_ethtool.c | 1081 data |= RXH_IP_DST | RXH_IP_SRC; in be_get_rss_hash_opts() 1087 data |= RXH_IP_DST | RXH_IP_SRC; in be_get_rss_hash_opts() 1093 data |= RXH_IP_DST | RXH_IP_SRC; in be_get_rss_hash_opts() 1099 data |= RXH_IP_DST | RXH_IP_SRC; in be_get_rss_hash_opts()
|
/linux/drivers/net/ethernet/sfc/ |
A D | ethtool_common.c | 843 RXH_IP_SRC | RXH_IP_DST); in efx_ethtool_get_rxnfc() 845 data = RXH_IP_SRC | RXH_IP_DST; in efx_ethtool_get_rxnfc() 850 RXH_IP_SRC | RXH_IP_DST); in efx_ethtool_get_rxnfc() 858 data = RXH_IP_SRC | RXH_IP_DST; in efx_ethtool_get_rxnfc()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_fs_ethtool.c | 895 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in mlx5e_set_rss_hash_opt() 901 if (nfc->data & RXH_IP_DST) in mlx5e_set_rss_hash_opt() 931 nfc->data |= RXH_IP_DST; in mlx5e_get_rss_hash_opt()
|
/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_ethtool.c | 1528 if (cmd->data & RXH_IP_SRC || cmd->data & RXH_IP_DST) { in iavf_adv_rss_parse_hash_flds() 1535 if (cmd->data & RXH_IP_DST) in iavf_adv_rss_parse_hash_flds() 1543 if (cmd->data & RXH_IP_DST) in iavf_adv_rss_parse_hash_flds() 1704 cmd->data |= (u64)RXH_IP_DST; in iavf_get_adv_rss_hash_opt()
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | igb_ethtool.c | 2525 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igb_get_rss_hash_opts() 2539 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in igb_get_rss_hash_opts() 2589 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in igb_set_rss_hash_opt() 2597 !(nfc->data & RXH_IP_DST) || in igb_set_rss_hash_opt() 2604 !(nfc->data & RXH_IP_DST)) in igb_set_rss_hash_opt() 2619 !(nfc->data & RXH_IP_DST)) in igb_set_rss_hash_opt() 2641 !(nfc->data & RXH_IP_DST) || in igb_set_rss_hash_opt()
|
/linux/drivers/net/ethernet/amazon/ena/ |
A D | ena_ethtool.c | 507 data |= RXH_IP_DST; in ena_flow_hash_to_flow_type() 528 if (hash_fields & RXH_IP_DST) in ena_flow_data_to_flow_hash()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_ethtool.c | 1075 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv4_rss() 1082 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv6_rss() 1092 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1098 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1111 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1117 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1131 #define RXH_4TUPLE (RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3) 1132 #define RXH_2TUPLE (RXH_IP_SRC | RXH_IP_DST)
|
/linux/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_net_ethtool.c | 902 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in nfp_net_get_rss_hash_opts() 936 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in nfp_net_set_rss_hash_opt() 942 !(nfc->data & RXH_IP_DST)) in nfp_net_set_rss_hash_opt()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_ethtool.c | 2612 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in ixgbe_get_rss_hash_opts() 2626 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in ixgbe_get_rss_hash_opts() 2919 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in ixgbe_set_rss_hash_opt() 2927 !(nfc->data & RXH_IP_DST) || in ixgbe_set_rss_hash_opt() 2934 !(nfc->data & RXH_IP_DST)) in ixgbe_set_rss_hash_opt() 2949 !(nfc->data & RXH_IP_DST)) in ixgbe_set_rss_hash_opt() 2971 !(nfc->data & RXH_IP_DST) || in ixgbe_set_rss_hash_opt()
|
/linux/drivers/net/ethernet/cavium/thunder/ |
A D | nicvf_ethtool.c | 531 info->data |= RXH_IP_SRC | RXH_IP_DST; in nicvf_get_rss_hash_opts() 572 if (!(info->data & RXH_IP_SRC) || !(info->data & RXH_IP_DST)) in nicvf_set_rss_hash_opts()
|
/linux/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_ethtool.c | 935 cmd->data = RXH_IP_SRC | RXH_IP_DST; in hinic_get_rss_hash_opts() 1014 if (cmd->data & ~(RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | in hinic_set_rss_hash_opts() 1019 if (!(cmd->data & RXH_IP_SRC) || !(cmd->data & RXH_IP_DST)) in hinic_set_rss_hash_opts()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_ethtool.c | 502 nfc->data = RXH_IP_SRC | RXH_IP_DST; in otx2_get_rss_hash_opts() 556 if (!(nfc->data & RXH_IP_SRC) || !(nfc->data & RXH_IP_DST)) in otx2_set_rss_hash_opts()
|
/linux/drivers/net/ethernet/marvell/mvpp2/ |
A D | mvpp2_cls.c | 1653 if (info->data & RXH_IP_DST) in mvpp2_ethtool_rxfh_set() 1691 info->data |= RXH_IP_DST; in mvpp2_ethtool_rxfh_get()
|
/linux/drivers/net/ethernet/microchip/ |
A D | lan743x_ethtool.c | 553 rxnfc->data |= RXH_IP_SRC | RXH_IP_DST; in lan743x_ethtool_get_rxnfc()
|
/linux/include/uapi/linux/ |
A D | ethtool.h | 1912 #define RXH_IP_DST (1 << 5) macro
|