/Linux-v5.15/drivers/net/ethernet/samsung/sxgbe/ |
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-v5.15/drivers/net/vmxnet3/ |
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() 815 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in vmxnet3_set_rss_hash_opt() 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() [all …]
|
/Linux-v5.15/drivers/net/ethernet/intel/fm10k/ |
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-v5.15/drivers/net/ethernet/cisco/enic/ |
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-v5.15/drivers/net/ethernet/chelsio/cxgb4/ |
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-v5.15/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.h | 586 | RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 \ 590 #define DPAA2_RXH_DEFAULT (RXH_L3_PROTO | RXH_IP_SRC | RXH_IP_DST | \
|
/Linux-v5.15/drivers/net/ethernet/broadcom/bnx2x/ |
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-v5.15/drivers/net/ethernet/intel/igc/ |
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-v5.15/drivers/net/ethernet/freescale/dpaa/ |
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-v5.15/drivers/net/ethernet/qlogic/qede/ |
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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
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-v5.15/drivers/net/ethernet/emulex/benet/ |
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-v5.15/drivers/net/ethernet/sfc/ |
D | ethtool_common.c | 849 RXH_IP_SRC | RXH_IP_DST); in efx_ethtool_get_rxnfc() 851 data = RXH_IP_SRC | RXH_IP_DST; in efx_ethtool_get_rxnfc() 856 RXH_IP_SRC | RXH_IP_DST); in efx_ethtool_get_rxnfc() 864 data = RXH_IP_SRC | RXH_IP_DST; in efx_ethtool_get_rxnfc()
|
/Linux-v5.15/drivers/net/ethernet/intel/iavf/ |
D | iavf_ethtool.c | 1482 if (cmd->data & RXH_IP_SRC || cmd->data & RXH_IP_DST) { in iavf_adv_rss_parse_hash_flds() 1489 if (cmd->data & RXH_IP_DST) in iavf_adv_rss_parse_hash_flds() 1497 if (cmd->data & RXH_IP_DST) in iavf_adv_rss_parse_hash_flds() 1658 cmd->data |= (u64)RXH_IP_DST; in iavf_get_adv_rss_hash_opt()
|
/Linux-v5.15/drivers/net/ethernet/amazon/ena/ |
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-v5.15/drivers/net/ethernet/intel/igb/ |
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-v5.15/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_ethtool.c | 901 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in nfp_net_get_rss_hash_opts() 935 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in nfp_net_set_rss_hash_opt() 941 !(nfc->data & RXH_IP_DST)) in nfp_net_set_rss_hash_opt()
|
/Linux-v5.15/drivers/net/ethernet/cavium/thunder/ |
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-v5.15/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 2613 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in ixgbe_get_rss_hash_opts() 2627 cmd->data |= RXH_IP_SRC | RXH_IP_DST; in ixgbe_get_rss_hash_opts() 2920 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in ixgbe_set_rss_hash_opt() 2928 !(nfc->data & RXH_IP_DST) || in ixgbe_set_rss_hash_opt() 2935 !(nfc->data & RXH_IP_DST)) in ixgbe_set_rss_hash_opt() 2950 !(nfc->data & RXH_IP_DST)) in ixgbe_set_rss_hash_opt() 2972 !(nfc->data & RXH_IP_DST) || in ixgbe_set_rss_hash_opt()
|
/Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 1073 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv4_rss() 1080 return RXH_IP_SRC | RXH_IP_DST; in get_ethtool_ipv6_rss() 1090 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1096 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1109 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1115 cmd->data |= RXH_IP_SRC | RXH_IP_DST | in bnxt_grxfh() 1129 #define RXH_4TUPLE (RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | RXH_L4_B_2_3) 1130 #define RXH_2TUPLE (RXH_IP_SRC | RXH_IP_DST)
|
/Linux-v5.15/drivers/net/ethernet/huawei/hinic/ |
D | hinic_ethtool.c | 937 cmd->data = RXH_IP_SRC | RXH_IP_DST; in hinic_get_rss_hash_opts() 1016 if (cmd->data & ~(RXH_IP_SRC | RXH_IP_DST | RXH_L4_B_0_1 | in hinic_set_rss_hash_opts() 1021 if (!(cmd->data & RXH_IP_SRC) || !(cmd->data & RXH_IP_DST)) in hinic_set_rss_hash_opts()
|
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ethtool.c | 495 nfc->data = RXH_IP_SRC | RXH_IP_DST; in otx2_get_rss_hash_opts() 549 if (!(nfc->data & RXH_IP_SRC) || !(nfc->data & RXH_IP_DST)) in otx2_set_rss_hash_opts()
|
/Linux-v5.15/include/uapi/linux/ |
D | ethtool.h | 1883 #define RXH_IP_DST (1 << 5) macro
|
/Linux-v5.15/drivers/net/ethernet/microchip/ |
D | lan743x_ethtool.c | 553 rxnfc->data |= RXH_IP_SRC | RXH_IP_DST; in lan743x_ethtool_get_rxnfc()
|
/Linux-v5.15/drivers/net/ethernet/marvell/mvpp2/ |
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()
|