/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_ethtool.c | 322 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in sxgbe_get_rss_hash_opts() 333 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in sxgbe_get_rss_hash_opts() 375 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in sxgbe_set_rss_hash_opt() 384 !(cmd->data & RXH_L4_B_2_3)) in sxgbe_set_rss_hash_opt() 393 !(cmd->data & RXH_L4_B_2_3)) in sxgbe_set_rss_hash_opt() 410 (cmd->data & RXH_L4_B_2_3)) in sxgbe_set_rss_hash_opt()
|
/openbmc/linux/drivers/net/vmxnet3/ |
H A D | vmxnet3_ethtool.c | 860 info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3 | in vmxnet3_get_rss_hash_opts() 865 info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in vmxnet3_get_rss_hash_opts() 872 info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in vmxnet3_get_rss_hash_opts() 880 info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in vmxnet3_get_rss_hash_opts() 912 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in vmxnet3_set_rss_hash_opt() 921 !(nfc->data & RXH_L4_B_2_3)) in vmxnet3_set_rss_hash_opt() 932 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in vmxnet3_set_rss_hash_opt() 947 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in vmxnet3_set_rss_hash_opt() 964 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in vmxnet3_set_rss_hash_opt() 983 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in vmxnet3_set_rss_hash_opt() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_ethtool.c | 703 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in fm10k_get_rss_hash_opts() 708 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in fm10k_get_rss_hash_opts() 725 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in fm10k_get_rss_hash_opts() 768 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in fm10k_set_rss_hash_opt() 777 !(nfc->data & RXH_L4_B_2_3)) in fm10k_set_rss_hash_opt() 784 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in fm10k_set_rss_hash_opt() 789 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in fm10k_set_rss_hash_opt() 801 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in fm10k_set_rss_hash_opt() 806 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in fm10k_set_rss_hash_opt() 825 (nfc->data & RXH_L4_B_2_3)) in fm10k_set_rss_hash_opt()
|
/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() 416 if (nfc->data & RXH_L4_B_2_3) in hclge_comm_get_rss_hash_bits() 472 (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3))) in hclge_comm_init_rss_tuple_cmd() 495 tuple_data |= RXH_L4_B_2_3; in hclge_comm_convert_rss_tuple()
|
/openbmc/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_ethtool.c | 531 info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in nicvf_get_rss_hash_opts() 582 switch (info->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in nicvf_set_rss_hash_opts() 586 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in nicvf_set_rss_hash_opts() 595 switch (info->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in nicvf_set_rss_hash_opts() 599 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in nicvf_set_rss_hash_opts() 608 switch (info->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in nicvf_set_rss_hash_opts() 612 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in nicvf_set_rss_hash_opts()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ethtool.c | 590 nfc->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in otx2_get_rss_hash_opts() 595 nfc->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in otx2_get_rss_hash_opts() 600 nfc->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in otx2_get_rss_hash_opts() 605 nfc->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in otx2_get_rss_hash_opts() 626 u32 rxh_l4 = RXH_L4_B_0_1 | RXH_L4_B_2_3; in otx2_set_rss_hash_opts() 654 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in otx2_set_rss_hash_opts() 667 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in otx2_set_rss_hash_opts() 680 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in otx2_set_rss_hash_opts() 696 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in otx2_set_rss_hash_opts()
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_ethtool.c | 1056 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in igc_ethtool_get_rss_hash_opts() 1060 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in igc_ethtool_get_rss_hash_opts() 1070 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in igc_ethtool_get_rss_hash_opts() 1074 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in igc_ethtool_get_rss_hash_opts() 1124 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in igc_ethtool_set_rss_hash_opt() 1133 !(nfc->data & RXH_L4_B_2_3)) in igc_ethtool_set_rss_hash_opt() 1140 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in igc_ethtool_set_rss_hash_opt() 1144 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in igc_ethtool_set_rss_hash_opt() 1155 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in igc_ethtool_set_rss_hash_opt() 1159 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in igc_ethtool_set_rss_hash_opt() [all …]
|
/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_ethtool.c | 460 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3 | in enic_get_rx_flow_hash() 466 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in enic_get_rx_flow_hash() 471 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in enic_get_rx_flow_hash()
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_ethtool.c | 942 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in hinic_get_rss_hash_opts() 946 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in hinic_get_rss_hash_opts() 950 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in hinic_get_rss_hash_opts() 954 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in hinic_get_rss_hash_opts() 972 switch (cmd->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in set_l4_rss_hash_ops() 976 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in set_l4_rss_hash_ops() 1018 RXH_L4_B_2_3)) in hinic_set_rss_hash_opts()
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_ethtool.c | 293 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; 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/intel/igb/ |
H A D | igb_ethtool.c | 2519 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in igb_get_rss_hash_opts() 2523 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in igb_get_rss_hash_opts() 2533 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in igb_get_rss_hash_opts() 2537 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in igb_get_rss_hash_opts() 2595 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in igb_set_rss_hash_opt() 2604 !(nfc->data & RXH_L4_B_2_3)) in igb_set_rss_hash_opt() 2611 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in igb_set_rss_hash_opt() 2615 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in igb_set_rss_hash_opt() 2626 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in igb_set_rss_hash_opt() 2630 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in igb_set_rss_hash_opt() [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.h | 650 | RXH_L4_B_2_3) 654 RXH_L4_B_0_1 | RXH_L4_B_2_3)
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 2634 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in ixgbe_get_rss_hash_opts() 2638 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in ixgbe_get_rss_hash_opts() 2648 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in ixgbe_get_rss_hash_opts() 2652 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in ixgbe_get_rss_hash_opts() 2962 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in ixgbe_set_rss_hash_opt() 2971 !(nfc->data & RXH_L4_B_2_3)) in ixgbe_set_rss_hash_opt() 2978 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in ixgbe_set_rss_hash_opt() 2982 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in ixgbe_set_rss_hash_opt() 2993 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in ixgbe_set_rss_hash_opt() 2997 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in ixgbe_set_rss_hash_opt() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs_ethtool.c | 923 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in mlx5e_set_rss_hash_opt() 932 if (nfc->data & RXH_L4_B_2_3) in mlx5e_set_rss_hash_opt() 971 nfc->data |= RXH_L4_B_2_3; in mlx5e_get_rss_hash_opt()
|
/openbmc/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_ethtool.c | 1085 data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in be_get_rss_hash_opts() 1091 data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in be_get_rss_hash_opts() 1097 data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in be_get_rss_hash_opts() 1103 data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in be_get_rss_hash_opts()
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_ethtool.c | 1578 if (cmd->data & RXH_L4_B_0_1 || cmd->data & RXH_L4_B_2_3) { in iavf_adv_rss_parse_hash_flds() 1584 if (cmd->data & RXH_L4_B_2_3) in iavf_adv_rss_parse_hash_flds() 1591 if (cmd->data & RXH_L4_B_2_3) in iavf_adv_rss_parse_hash_flds() 1598 if (cmd->data & RXH_L4_B_2_3) in iavf_adv_rss_parse_hash_flds() 1741 cmd->data |= (u64)RXH_L4_B_2_3; in iavf_get_adv_rss_hash_opt()
|
/openbmc/u-boot/include/linux/ |
H A D | ethtool.h | 690 #define RXH_L4_B_2_3 (1 << 7) /* dst port in case of TCP/UDP/SCTP */ macro
|
/openbmc/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ethtool.c | 1204 info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in qede_get_rss_flags() 1208 info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in qede_get_rss_flags() 1212 info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in qede_get_rss_flags() 1271 RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in qede_set_rss_flags() 1279 RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in qede_set_rss_flags() 1294 RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in qede_set_rss_flags()
|
/openbmc/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_ethtool.c | 577 data |= RXH_L4_B_2_3; in ena_flow_hash_to_flow_type() 598 if (hash_fields & RXH_L4_B_2_3) in ena_flow_data_to_flow_hash()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ethtool.c | 1315 cmd->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; in nfp_net_get_rss_hash_opts() 1348 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in nfp_net_set_rss_hash_opt() 1360 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in nfp_net_set_rss_hash_opt() 1364 case (RXH_L4_B_0_1 | RXH_L4_B_2_3): in nfp_net_set_rss_hash_opt()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_ethtool.c | 1753 RXH_L4_B_0_1 | RXH_L4_B_2_3; in get_rxnfc() 1761 RXH_L4_B_0_1 | RXH_L4_B_2_3; in get_rxnfc() 1774 RXH_L4_B_0_1 | RXH_L4_B_2_3; in get_rxnfc() 1782 RXH_L4_B_0_1 | RXH_L4_B_2_3; in get_rxnfc()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_ethtool.c | 3335 RXH_L4_B_0_1 | RXH_L4_B_2_3; in bnx2x_get_rss_flags() 3340 RXH_L4_B_0_1 | RXH_L4_B_2_3; in bnx2x_get_rss_flags() 3347 RXH_L4_B_0_1 | RXH_L4_B_2_3; in bnx2x_get_rss_flags() 3393 RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in bnx2x_set_rss_flags() 3404 RXH_L4_B_0_1 | RXH_L4_B_2_3)) in bnx2x_set_rss_flags()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ethtool_common.c | 843 data = (RXH_L4_B_0_1 | RXH_L4_B_2_3 | in efx_ethtool_get_rxnfc() 850 data = (RXH_L4_B_0_1 | RXH_L4_B_2_3 | in efx_ethtool_get_rxnfc()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | ethtool_common.c | 844 data = (RXH_L4_B_0_1 | RXH_L4_B_2_3 | in efx_siena_ethtool_get_rxnfc() 851 data = (RXH_L4_B_0_1 | RXH_L4_B_2_3 | in efx_siena_ethtool_get_rxnfc()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool.c | 2469 if (nfc->data & RXH_L4_B_0_1 || nfc->data & RXH_L4_B_2_3) { in ice_parse_hash_flds() 2475 if (nfc->data & RXH_L4_B_2_3) in ice_parse_hash_flds() 2482 if (nfc->data & RXH_L4_B_2_3) in ice_parse_hash_flds() 2489 if (nfc->data & RXH_L4_B_2_3) in ice_parse_hash_flds() 2599 nfc->data |= (u64)RXH_L4_B_2_3; in ice_get_rss_hash_opt()
|