Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A 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.3-rc2/drivers/net/ethernet/aquantia/atlantic/
A Daq_filters.h29 u32 *rule_locs);
A Daq_ethtool.c509 u32 *rule_locs) in aq_ethtool_get_rxnfc() argument
528 err = aq_get_rxnfc_all_rules(aq_nic, cmd, rule_locs); in aq_ethtool_get_rxnfc()
A 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.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
A 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.3-rc2/drivers/net/ethernet/cisco/enic/
A Denic_ethtool.c389 u32 *rule_locs) in enic_grxclsrlall() argument
403 rule_locs[cnt] = n->fltr_id; in enic_grxclsrlall()
493 u32 *rule_locs) in enic_get_rxnfc() argument
510 ret = enic_grxclsrlall(enic, cmd, rule_locs); in enic_get_rxnfc()
/linux-6.3-rc2/drivers/net/ethernet/engleder/
A Dtsnep_rxnfc.c126 u32 *rule_locs) in tsnep_rxnfc_get_all() argument
142 rule_locs[count] = rule->location; in tsnep_rxnfc_get_all()
A 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()
A Dtsnep.h208 u32 *rule_locs);
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/
A Dethtool_common.h39 struct ethtool_rxnfc *info, u32 *rule_locs);
A Dethtool_common.c811 struct ethtool_rxnfc *info, u32 *rule_locs) in efx_siena_ethtool_get_rxnfc() argument
896 rule_locs, info->rule_cnt); in efx_siena_ethtool_get_rxnfc()
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Dethtool_common.h42 struct ethtool_rxnfc *info, u32 *rule_locs);
/linux-6.3-rc2/drivers/net/dsa/
A 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()
A Dbcm_sf2.h225 struct ethtool_rxnfc *nfc, u32 *rule_locs);
/linux-6.3-rc2/net/ethtool/
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()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Den_fs_ethtool.c825 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_all_flows() argument
835 rule_locs[idx++] = location; in mlx5e_ethtool_get_all_flows()
988 struct ethtool_rxnfc *info, u32 *rule_locs) in mlx5e_ethtool_get_rxnfc() argument
1001 err = mlx5e_ethtool_get_all_flows(priv, info, rule_locs); in mlx5e_ethtool_get_rxnfc()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_debugfs.c1548 static int hclge_dbg_get_rules_location(struct hclge_dev *hdev, u16 *rule_locs) in hclge_dbg_get_rules_location() argument
1556 rule_locs[cnt] = rule->location; in hclge_dbg_get_rules_location()
1572 u16 *rule_locs; in hclge_dbg_dump_fd_tcam() local
1585 rule_locs = kcalloc(rule_num, sizeof(u16), GFP_KERNEL); in hclge_dbg_dump_fd_tcam()
1586 if (!rule_locs) in hclge_dbg_dump_fd_tcam()
1591 kfree(rule_locs); in hclge_dbg_dump_fd_tcam()
1595 rule_cnt = hclge_dbg_get_rules_location(hdev, rule_locs); in hclge_dbg_dump_fd_tcam()
1606 tcam_msg.loc = rule_locs[i]; in hclge_dbg_dump_fd_tcam()
1629 kfree(rule_locs); in hclge_dbg_dump_fd_tcam()
/linux-6.3-rc2/include/linux/
A Dethtool.h38 u32 rule_locs[]; member
834 struct ethtool_rxnfc *, u32 *rule_locs);
/linux-6.3-rc2/drivers/net/ethernet/freescale/
A Dgianfar_ethtool.c1368 struct ethtool_rxnfc *cmd, u32 *rule_locs) in gfar_get_cls_all() argument
1376 rule_locs[i] = comp->fs.location; in gfar_get_cls_all()
1422 u32 *rule_locs) in gfar_get_nfc() argument
1438 ret = gfar_get_cls_all(priv, cmd, rule_locs); in gfar_get_nfc()
/linux-6.3-rc2/drivers/net/ethernet/intel/iavf/
A Diavf_ethtool.c1204 u32 *rule_locs) in iavf_get_fdir_fltr_ids() argument
1222 rule_locs[cnt] = fltr->loc; in iavf_get_fdir_fltr_ids()
1765 u32 *rule_locs) in iavf_get_rxnfc() argument
1786 ret = iavf_get_fdir_fltr_ids(adapter, cmd, (u32 *)rule_locs); in iavf_get_rxnfc()
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa2/
A 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.3-rc2/drivers/net/ethernet/samsung/sxgbe/
A Dsxgbe_ethtool.c350 u32 *rule_locs) in sxgbe_get_rxnfc() argument
/linux-6.3-rc2/drivers/net/ethernet/intel/igc/
A Digc_ethtool.c1008 u32 *rule_locs) in igc_ethtool_get_nfc_rules() argument
1022 rule_locs[cnt] = rule->location; in igc_ethtool_get_nfc_rules()
1076 struct ethtool_rxnfc *cmd, u32 *rule_locs) in igc_ethtool_get_rxnfc() argument
1090 return igc_ethtool_get_nfc_rules(adapter, cmd, rule_locs); in igc_ethtool_get_rxnfc()
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qede/
A Dqede.h512 u32 *rule_locs);
/linux-6.3-rc2/drivers/net/ethernet/freescale/enetc/
A Denetc_ethtool.c575 u32 *rule_locs) in enetc_get_rxnfc() argument
613 rule_locs[j++] = i; in enetc_get_rxnfc()

Completed in 55 milliseconds

123