Home
last modified time | relevance | path

Searched refs:rule_locs (Results 1 – 25 of 49) sorted by relevance

12

/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_debugfs.c1059 static int hclge_dbg_get_rules_location(struct hclge_dev *hdev, u16 *rule_locs) in hclge_dbg_get_rules_location() argument
1067 rule_locs[cnt] = rule->location; in hclge_dbg_get_rules_location()
1081 u16 *rule_locs; in hclge_dbg_fd_tcam() local
1093 rule_locs = kcalloc(hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1], in hclge_dbg_fd_tcam()
1095 if (!rule_locs) in hclge_dbg_fd_tcam()
1098 rule_cnt = hclge_dbg_get_rules_location(hdev, rule_locs); in hclge_dbg_fd_tcam()
1102 kfree(rule_locs); in hclge_dbg_fd_tcam()
1107 ret = hclge_dbg_fd_tcam_read(hdev, 0, true, rule_locs[i]); in hclge_dbg_fd_tcam()
1111 kfree(rule_locs); in hclge_dbg_fd_tcam()
1115 ret = hclge_dbg_fd_tcam_read(hdev, 0, false, rule_locs[i]); in hclge_dbg_fd_tcam()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs.h182 struct ethtool_rxnfc *info, u32 *rule_locs);
189 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc() argument
/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c396 u32 *rule_locs) in enic_grxclsrlall() argument
410 rule_locs[cnt] = n->fltr_id; in enic_grxclsrlall()
500 u32 *rule_locs) in enic_get_rxnfc() argument
517 ret = enic_grxclsrlall(enic, cmd, rule_locs); in enic_get_rxnfc()
/drivers/net/ethernet/aquantia/atlantic/
Daq_filters.h29 u32 *rule_locs);
Daq_filters.c762 u32 *rule_locs) in aq_get_rxnfc_all_rules() argument
776 rule_locs[count++] = rule->aq_fsp.location; in aq_get_rxnfc_all_rules()
Daq_ethtool.c500 u32 *rule_locs) in aq_ethtool_get_rxnfc() argument
519 err = aq_get_rxnfc_all_rules(aq_nic, cmd, rule_locs); in aq_ethtool_get_rxnfc()
/drivers/net/ethernet/sfc/
Dethtool_common.h42 struct ethtool_rxnfc *info, u32 *rule_locs);
Dethtool_common.c810 struct ethtool_rxnfc *info, u32 *rule_locs) in efx_ethtool_get_rxnfc() argument
894 rule_locs, info->rule_cnt); in efx_ethtool_get_rxnfc()
/drivers/net/dsa/
Dbcm_sf2_cfp.c1090 u32 *rule_locs) in bcm_sf2_cfp_rule_get_all() argument
1095 rule_locs[rules_cnt] = index; in bcm_sf2_cfp_rule_get_all()
1107 struct ethtool_rxnfc *nfc, u32 *rule_locs) in bcm_sf2_get_rxnfc() argument
1127 ret = bcm_sf2_cfp_rule_get_all(priv, port, nfc, rule_locs); in bcm_sf2_get_rxnfc()
1141 ret = p->ethtool_ops->get_rxnfc(p, nfc, rule_locs); in bcm_sf2_get_rxnfc()
Dbcm_sf2.h213 struct ethtool_rxnfc *nfc, u32 *rule_locs);
/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c758 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_all_flows() argument
768 rule_locs[idx++] = location; in mlx5e_ethtool_get_all_flows()
918 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc() argument
931 err = mlx5e_ethtool_get_all_flows(priv, info, rule_locs); in mlx5e_ethtool_get_rxnfc()
/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1360 struct ethtool_rxnfc *cmd, u32 *rule_locs) in gfar_get_cls_all() argument
1368 rule_locs[i] = comp->fs.location; in gfar_get_cls_all()
1414 u32 *rule_locs) in gfar_get_nfc() argument
1430 ret = gfar_get_cls_all(priv, cmd, rule_locs); in gfar_get_nfc()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c688 struct ethtool_rxnfc *rxnfc, u32 *rule_locs) in dpaa2_eth_get_rxnfc() argument
725 rule_locs[j++] = i; in dpaa2_eth_get_rxnfc()
/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c396 u32 *rule_locs) in enetc_get_rxnfc() argument
434 rule_locs[j++] = i; in enetc_get_rxnfc()
/drivers/net/ethernet/intel/igc/
Digc_ethtool.c987 u32 *rule_locs) in igc_ethtool_get_nfc_rules() argument
1001 rule_locs[cnt] = rule->location; in igc_ethtool_get_nfc_rules()
1055 struct ethtool_rxnfc *cmd, u32 *rule_locs) in igc_ethtool_get_rxnfc() argument
1069 return igc_ethtool_get_nfc_rules(adapter, cmd, rule_locs); in igc_ethtool_get_rxnfc()
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_ethtool.c346 u32 *rule_locs) in sxgbe_get_rxnfc() argument
/drivers/net/ethernet/intel/ice/
Dice.h599 u32 *rule_locs);
Dice_ethtool_fdir.c232 u32 *rule_locs) in ice_get_fdir_fltr_ids() argument
248 rule_locs[cnt] = f_rule->fltr_id; in ice_get_fdir_fltr_ids()
/drivers/net/ethernet/qlogic/qede/
Dqede.h518 u32 *rule_locs);
/drivers/net/ethernet/sfc/falcon/
Dethtool.c944 struct ethtool_rxnfc *info, u32 *rule_locs) in ef4_ethtool_get_rxnfc() argument
996 rule_locs, info->rule_cnt); in ef4_ethtool_get_rxnfc()
/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h607 struct ethtool_rxnfc *cmd, u32 *rule_locs);
Dhns3_ethtool.c904 u32 *rule_locs) in hns3_get_rxnfc() argument
927 rule_locs); in hns3_get_rxnfc()
/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c882 u32 *rule_locs) in iavf_get_rxnfc() argument
/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c542 u32 *rule_locs) in lan743x_ethtool_get_rxnfc() argument
/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c2009 u32 *rule_locs) in mtk_hwlro_get_fdir_all() argument
2020 rule_locs[cnt] = i; in mtk_hwlro_get_fdir_all()
2766 u32 *rule_locs) in mtk_get_rxnfc() argument
2792 rule_locs); in mtk_get_rxnfc()

12