/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_debugfs.c | 1059 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/ |
D | fs.h | 182 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/ |
D | enic_ethtool.c | 396 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/ |
D | aq_filters.h | 29 u32 *rule_locs);
|
D | aq_filters.c | 762 u32 *rule_locs) in aq_get_rxnfc_all_rules() argument 776 rule_locs[count++] = rule->aq_fsp.location; in aq_get_rxnfc_all_rules()
|
D | aq_ethtool.c | 500 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/ |
D | ethtool_common.h | 42 struct ethtool_rxnfc *info, u32 *rule_locs);
|
D | ethtool_common.c | 810 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/ |
D | bcm_sf2_cfp.c | 1090 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()
|
D | bcm_sf2.h | 213 struct ethtool_rxnfc *nfc, u32 *rule_locs);
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs_ethtool.c | 758 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/ |
D | gianfar_ethtool.c | 1360 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/ |
D | dpaa2-ethtool.c | 688 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/ |
D | enetc_ethtool.c | 396 u32 *rule_locs) in enetc_get_rxnfc() argument 434 rule_locs[j++] = i; in enetc_get_rxnfc()
|
/drivers/net/ethernet/intel/igc/ |
D | igc_ethtool.c | 987 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/ |
D | sxgbe_ethtool.c | 346 u32 *rule_locs) in sxgbe_get_rxnfc() argument
|
/drivers/net/ethernet/intel/ice/ |
D | ice.h | 599 u32 *rule_locs);
|
D | ice_ethtool_fdir.c | 232 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/ |
D | qede.h | 518 u32 *rule_locs);
|
/drivers/net/ethernet/sfc/falcon/ |
D | ethtool.c | 944 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/ |
D | hnae3.h | 607 struct ethtool_rxnfc *cmd, u32 *rule_locs);
|
D | hns3_ethtool.c | 904 u32 *rule_locs) in hns3_get_rxnfc() argument 927 rule_locs); in hns3_get_rxnfc()
|
/drivers/net/ethernet/intel/iavf/ |
D | iavf_ethtool.c | 882 u32 *rule_locs) in iavf_get_rxnfc() argument
|
/drivers/net/ethernet/microchip/ |
D | lan743x_ethtool.c | 542 u32 *rule_locs) in lan743x_ethtool_get_rxnfc() argument
|
/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 2009 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()
|