Home
last modified time | relevance | path

Searched refs:rule_locs (Results 1 - 25 of 124) sorted by relevance

12345

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dfs_ethtool.h16 struct ethtool_rxnfc *info, u32 *rule_locs);
26 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc()
25 mlx5e_ethtool_get_rxnfc(struct mlx5e_priv *priv, struct ethtool_rxnfc *info, u32 *rule_locs) mlx5e_ethtool_get_rxnfc() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.h29 u32 *rule_locs);
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.h29 u32 *rule_locs);
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dfs.h182 struct ethtool_rxnfc *info, u32 *rule_locs);
189 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc()
188 mlx5e_ethtool_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info, u32 *rule_locs) mlx5e_ethtool_get_rxnfc() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dethtool.c253 u32 *rule_locs) in mlx5i_get_rxnfc()
267 return mlx5e_ethtool_get_rxnfc(priv, info, rule_locs); in mlx5i_get_rxnfc()
252 mlx5i_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info, u32 *rule_locs) mlx5i_get_rxnfc() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A 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[ in hclge_dbg_fd_tcam()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
H A Denic_ethtool.c396 u32 *rule_locs) in enic_grxclsrlall()
410 rule_locs[cnt] = n->fltr_id; in enic_grxclsrlall()
500 u32 *rule_locs) in enic_get_rxnfc()
517 ret = enic_grxclsrlall(enic, cmd, rule_locs); in enic_get_rxnfc()
395 enic_grxclsrlall(struct enic *enic, struct ethtool_rxnfc *cmd, u32 *rule_locs) enic_grxclsrlall() argument
499 enic_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, u32 *rule_locs) enic_get_rxnfc() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/
H A Denic_ethtool.c389 u32 *rule_locs) in enic_grxclsrlall()
403 rule_locs[cnt] = n->fltr_id; in enic_grxclsrlall()
493 u32 *rule_locs) in enic_get_rxnfc()
510 ret = enic_grxclsrlall(enic, cmd, rule_locs); in enic_get_rxnfc()
388 enic_grxclsrlall(struct enic *enic, struct ethtool_rxnfc *cmd, u32 *rule_locs) enic_grxclsrlall() argument
492 enic_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, u32 *rule_locs) enic_get_rxnfc() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Dethtool_common.h42 struct ethtool_rxnfc *info, u32 *rule_locs);
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dethtool_common.h42 struct ethtool_rxnfc *info, u32 *rule_locs);
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.h39 struct ethtool_rxnfc *info, u32 *rule_locs);
/kernel/linux/linux-5.10/include/linux/
H A Dethtool.h36 u32 rule_locs[]; member
458 struct ethtool_rxnfc *, u32 *rule_locs);
/kernel/linux/linux-6.6/drivers/net/ethernet/engleder/
H A Dtsnep_rxnfc.c126 u32 *rule_locs) in tsnep_rxnfc_get_all()
142 rule_locs[count] = rule->location; in tsnep_rxnfc_get_all()
124 tsnep_rxnfc_get_all(struct tsnep_adapter *adapter, struct ethtool_rxnfc *cmd, u32 *rule_locs) tsnep_rxnfc_get_all() argument
H A Dtsnep_ethtool.c261 struct ethtool_rxnfc *cmd, u32 *rule_locs) in tsnep_ethtool_get_rxnfc()
277 return tsnep_rxnfc_get_all(adapter, cmd, rule_locs); in tsnep_ethtool_get_rxnfc()
260 tsnep_ethtool_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 *rule_locs) tsnep_ethtool_get_rxnfc() argument
H A Dtsnep.h219 u32 *rule_locs);
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c758 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_all_flows()
768 rule_locs[idx++] = location; in mlx5e_ethtool_get_all_flows()
918 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc()
931 err = mlx5e_ethtool_get_all_flows(priv, info, rule_locs); in mlx5e_ethtool_get_rxnfc()
757 mlx5e_ethtool_get_all_flows(struct mlx5e_priv *priv, struct ethtool_rxnfc *info, u32 *rule_locs) mlx5e_ethtool_get_all_flows() argument
917 mlx5e_ethtool_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info, u32 *rule_locs) mlx5e_ethtool_get_rxnfc() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c821 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_all_flows()
831 rule_locs[idx++] = location; in mlx5e_ethtool_get_all_flows()
999 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc()
1012 err = mlx5e_ethtool_get_all_flows(priv, info, rule_locs); in mlx5e_ethtool_get_rxnfc()
820 mlx5e_ethtool_get_all_flows(struct mlx5e_priv *priv, struct ethtool_rxnfc *info, u32 *rule_locs) mlx5e_ethtool_get_all_flows() argument
998 mlx5e_ethtool_get_rxnfc(struct mlx5e_priv *priv, struct ethtool_rxnfc *info, u32 *rule_locs) mlx5e_ethtool_get_rxnfc() argument
/kernel/linux/linux-6.6/net/ethtool/
H A Dcommon.c553 info = kvzalloc(struct_size(info, rule_locs, rule_cnt), GFP_KERNEL); in ethtool_get_max_rxnfc_channel()
559 err = ops->get_rxnfc(dev, info, info->rule_locs); in ethtool_get_max_rxnfc_channel()
566 .fs.location = info->rule_locs[i], in ethtool_get_max_rxnfc_channel()
/kernel/linux/linux-5.10/drivers/net/dsa/
H A Dbcm_sf2_cfp.c1090 u32 *rule_locs) in bcm_sf2_cfp_rule_get_all()
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()
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()
1088 bcm_sf2_cfp_rule_get_all(struct bcm_sf2_priv *priv, int port, struct ethtool_rxnfc *nfc, u32 *rule_locs) bcm_sf2_cfp_rule_get_all() argument
1106 bcm_sf2_get_rxnfc(struct dsa_switch *ds, int port, struct ethtool_rxnfc *nfc, u32 *rule_locs) bcm_sf2_get_rxnfc() argument
H A Dbcm_sf2.h213 struct ethtool_rxnfc *nfc, u32 *rule_locs);
/kernel/linux/linux-6.6/drivers/net/dsa/
H A Dbcm_sf2_cfp.c1086 u32 *rule_locs) in bcm_sf2_cfp_rule_get_all()
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()
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()
1084 bcm_sf2_cfp_rule_get_all(struct bcm_sf2_priv *priv, int port, struct ethtool_rxnfc *nfc, u32 *rule_locs) bcm_sf2_cfp_rule_get_all() argument
1102 bcm_sf2_get_rxnfc(struct dsa_switch *ds, int port, struct ethtool_rxnfc *nfc, u32 *rule_locs) bcm_sf2_get_rxnfc() argument
H A Dbcm_sf2.h225 struct ethtool_rxnfc *nfc, u32 *rule_locs);
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_debugfs.c1567 static int hclge_dbg_get_rules_location(struct hclge_dev *hdev, u16 *rule_locs) in hclge_dbg_get_rules_location() argument
1575 rule_locs[cnt] = rule->location; in hclge_dbg_get_rules_location()
1591 u16 *rule_locs; in hclge_dbg_dump_fd_tcam() local
1604 rule_locs = kcalloc(rule_num, sizeof(u16), GFP_KERNEL); in hclge_dbg_dump_fd_tcam()
1605 if (!rule_locs) in hclge_dbg_dump_fd_tcam()
1610 kfree(rule_locs); in hclge_dbg_dump_fd_tcam()
1614 rule_cnt = hclge_dbg_get_rules_location(hdev, rule_locs); in hclge_dbg_dump_fd_tcam()
1625 tcam_msg.loc = rule_locs[i]; in hclge_dbg_dump_fd_tcam()
1648 kfree(rule_locs); in hclge_dbg_dump_fd_tcam()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_ethtool.c321 u32 *rule_locs) in bcmasp_get_rxnfc()
338 err = bcmasp_netfilt_get_all_active(intf, rule_locs, &cmd->rule_cnt); in bcmasp_get_rxnfc()
320 bcmasp_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *cmd, u32 *rule_locs) bcmasp_get_rxnfc() argument
/kernel/linux/linux-6.6/include/linux/
H A Dethtool.h38 u32 rule_locs[]; member
841 struct ethtool_rxnfc *, u32 *rule_locs);

Completed in 23 milliseconds

12345