Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs_ethtool.h16 struct ethtool_rxnfc *info, u32 *rule_locs);
26 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc() argument
/linux-6.12.1/drivers/net/ethernet/wangxun/txgbe/
Dtxgbe_ethtool.c150 u32 *rule_locs) in txgbe_get_ethtool_fdir_all() argument
163 rule_locs[cnt] = rule->sw_idx; in txgbe_get_ethtool_fdir_all()
173 u32 *rule_locs) in txgbe_get_rxnfc() argument
192 ret = txgbe_get_ethtool_fdir_all(txgbe, cmd, (u32 *)rule_locs); in txgbe_get_rxnfc()
/linux-6.12.1/drivers/net/ethernet/aquantia/atlantic/
Daq_filters.h29 u32 *rule_locs);
Daq_ethtool.c504 u32 *rule_locs) in aq_ethtool_get_rxnfc() argument
523 err = aq_get_rxnfc_all_rules(aq_nic, cmd, rule_locs); in aq_ethtool_get_rxnfc()
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()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dethtool.c253 u32 *rule_locs) in mlx5i_get_rxnfc() argument
267 return mlx5e_ethtool_get_rxnfc(priv, info, rule_locs); in mlx5i_get_rxnfc()
/linux-6.12.1/drivers/net/ethernet/engleder/
Dtsnep_rxnfc.c126 u32 *rule_locs) in tsnep_rxnfc_get_all() argument
142 rule_locs[count] = rule->location; in tsnep_rxnfc_get_all()
Dtsnep_ethtool.c261 struct ethtool_rxnfc *cmd, u32 *rule_locs) in tsnep_ethtool_get_rxnfc() argument
277 return tsnep_rxnfc_get_all(adapter, cmd, rule_locs); in tsnep_ethtool_get_rxnfc()
Dtsnep.h219 u32 *rule_locs);
/linux-6.12.1/drivers/net/ethernet/sfc/siena/
Dethtool_common.h39 struct ethtool_rxnfc *info, u32 *rule_locs);
/linux-6.12.1/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c471 u32 *rule_locs) in enic_grxclsrlall() argument
485 rule_locs[cnt] = n->fltr_id; in enic_grxclsrlall()
575 u32 *rule_locs) in enic_get_rxnfc() argument
592 ret = enic_grxclsrlall(enic, cmd, rule_locs); in enic_get_rxnfc()
/linux-6.12.1/drivers/net/ethernet/sfc/
Dethtool_common.h42 struct ethtool_rxnfc *info, u32 *rule_locs);
/linux-6.12.1/drivers/net/dsa/
Dbcm_sf2_cfp.c1086 u32 *rule_locs) in bcm_sf2_cfp_rule_get_all() argument
1091 rule_locs[rules_cnt] = index; in bcm_sf2_cfp_rule_get_all()
1103 struct ethtool_rxnfc *nfc, u32 *rule_locs) in bcm_sf2_get_rxnfc() argument
1123 ret = bcm_sf2_cfp_rule_get_all(priv, port, nfc, rule_locs); in bcm_sf2_get_rxnfc()
1137 ret = p->ethtool_ops->get_rxnfc(p, nfc, rule_locs); in bcm_sf2_get_rxnfc()
Dbcm_sf2.h224 struct ethtool_rxnfc *nfc, u32 *rule_locs);
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c821 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_all_flows() argument
831 rule_locs[idx++] = location; in mlx5e_ethtool_get_all_flows()
999 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc() argument
1012 err = mlx5e_ethtool_get_all_flows(priv, info, rule_locs); in mlx5e_ethtool_get_rxnfc()
/linux-6.12.1/drivers/net/ethernet/google/gve/
Dgve_flow_rule.c233 int gve_get_flow_rule_ids(struct gve_priv *priv, struct ethtool_rxnfc *cmd, u32 *rule_locs) in gve_get_flow_rule_ids() argument
254 rule_locs[j++] = be32_to_cpu(rule_ids_cache[i]); in gve_get_flow_rule_ids()
Dgve_ethtool.c807 static int gve_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 *rule_locs) in gve_get_rxnfc() argument
831 err = gve_get_flow_rule_ids(priv, cmd, (u32 *)rule_locs); in gve_get_rxnfc()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_debugfs.c2212 static int hclge_dbg_get_rules_location(struct hclge_dev *hdev, u16 *rule_locs) in hclge_dbg_get_rules_location() argument
2220 rule_locs[cnt] = rule->location; in hclge_dbg_get_rules_location()
2236 u16 *rule_locs; in hclge_dbg_dump_fd_tcam() local
2249 rule_locs = kcalloc(rule_num, sizeof(u16), GFP_KERNEL); in hclge_dbg_dump_fd_tcam()
2250 if (!rule_locs) in hclge_dbg_dump_fd_tcam()
2255 kfree(rule_locs); in hclge_dbg_dump_fd_tcam()
2259 rule_cnt = hclge_dbg_get_rules_location(hdev, rule_locs); in hclge_dbg_dump_fd_tcam()
2270 tcam_msg.loc = rule_locs[i]; in hclge_dbg_dump_fd_tcam()
2293 kfree(rule_locs); in hclge_dbg_dump_fd_tcam()
/linux-6.12.1/drivers/net/ethernet/broadcom/asp2/
Dbcmasp_ethtool.c321 u32 *rule_locs) in bcmasp_get_rxnfc() argument
338 err = bcmasp_netfilt_get_all_active(intf, rule_locs, &cmd->rule_cnt); in bcmasp_get_rxnfc()
/linux-6.12.1/net/ethtool/
Dcommon.c555 info = kvzalloc(struct_size(info, rule_locs, rule_cnt), GFP_KERNEL); in ethtool_get_max_rxnfc_channel()
561 err = ops->get_rxnfc(dev, info, info->rule_locs); in ethtool_get_max_rxnfc_channel()
568 .fs.location = info->rule_locs[i], in ethtool_get_max_rxnfc_channel()
/linux-6.12.1/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1370 struct ethtool_rxnfc *cmd, u32 *rule_locs) in gfar_get_cls_all() argument
1378 rule_locs[i] = comp->fs.location; in gfar_get_cls_all()
1424 u32 *rule_locs) in gfar_get_nfc() argument
1440 ret = gfar_get_cls_all(priv, cmd, rule_locs); in gfar_get_nfc()
/linux-6.12.1/include/linux/
Dethtool.h39 u32 rule_locs[]; member
1016 struct ethtool_rxnfc *, u32 *rule_locs);
/linux-6.12.1/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c1061 u32 *rule_locs) in iavf_get_fdir_fltr_ids() argument
1082 rule_locs[cnt] = fltr->loc; in iavf_get_fdir_fltr_ids()
1605 u32 *rule_locs) in iavf_get_rxnfc() argument
1628 ret = iavf_get_fdir_fltr_ids(adapter, cmd, (u32 *)rule_locs); in iavf_get_rxnfc()
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c720 struct ethtool_rxnfc *rxnfc, u32 *rule_locs) in dpaa2_eth_get_rxnfc() argument
757 rule_locs[j++] = i; in dpaa2_eth_get_rxnfc()
/linux-6.12.1/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_ethtool.c348 u32 *rule_locs) in sxgbe_get_rxnfc() argument

123