Home
last modified time | relevance | path

Searched refs:num_fs_entries (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c410 rxnfc->data = priv->si->num_fs_entries; in enetc_get_rxnfc()
413 for (i = 0; i < priv->si->num_fs_entries; i++) in enetc_get_rxnfc()
418 if (rxnfc->fs.location >= priv->si->num_fs_entries) in enetc_get_rxnfc()
426 rxnfc->data = priv->si->num_fs_entries; in enetc_get_rxnfc()
429 for (i = 0; i < priv->si->num_fs_entries; i++) { in enetc_get_rxnfc()
453 if (rxnfc->fs.location >= priv->si->num_fs_entries) in enetc_set_rxnfc()
467 if (rxnfc->fs.location >= priv->si->num_fs_entries) in enetc_set_rxnfc()
Denetc.h170 int num_fs_entries; member
Denetc.c807 si->num_fs_entries = ENETC_SIRFSCAPR_GET_NUM_RFS(val); in enetc_get_si_caps()
808 si->num_fs_entries = min(si->num_fs_entries, ENETC_MAX_RFS_SIZE); in enetc_get_si_caps()
1155 priv->cls_rules = kcalloc(si->num_fs_entries, sizeof(*priv->cls_rules), in enetc_alloc_si_resources()