Searched refs:cls_rules (Results 1 – 6 of 6) sorted by relevance
414 if (priv->cls_rules[i].used) in enetc_get_rxnfc()422 rxnfc->fs = priv->cls_rules[rxnfc->fs.location].fs; in enetc_get_rxnfc()430 if (!priv->cls_rules[i].used) in enetc_get_rxnfc()463 priv->cls_rules[rxnfc->fs.location].fs = rxnfc->fs; in enetc_set_rxnfc()464 priv->cls_rules[rxnfc->fs.location].used = 1; in enetc_set_rxnfc()473 priv->cls_rules[rxnfc->fs.location].used = 0; in enetc_set_rxnfc()
264 struct enetc_cls_rule *cls_rules; member
1163 priv->cls_rules = kcalloc(si->num_fs_entries, sizeof(*priv->cls_rules), in enetc_alloc_si_resources()1165 if (!priv->cls_rules) { in enetc_alloc_si_resources()1186 kfree(priv->cls_rules); in enetc_free_si_resources()
638 if (priv->cls_rules[i].in_use) in dpaa2_eth_num_cls_rules()658 rule = &priv->cls_rules[location]; in dpaa2_eth_update_cls_rule()715 if (!priv->cls_rules[rxnfc->fs.location].in_use) in dpaa2_eth_get_rxnfc()717 rxnfc->fs = priv->cls_rules[rxnfc->fs.location].fs; in dpaa2_eth_get_rxnfc()721 if (!priv->cls_rules[i].in_use) in dpaa2_eth_get_rxnfc()
542 struct dpaa2_eth_cls_rule *cls_rules; member
3283 priv->cls_rules = devm_kcalloc(dev, dpaa2_eth_fs_count(priv), in dpaa2_eth_setup_dpni()3286 if (!priv->cls_rules) { in dpaa2_eth_setup_dpni()