Searched refs:rxnfc (Results 1 – 4 of 4) sorted by relevance
742 struct ethtool_rxfh_fields *rxnfc) in enetc_get_rxfh_fields() argument758 if (rxnfc->flow_type >= ARRAY_SIZE(rsshash)) in enetc_get_rxfh_fields()761 rxnfc->data = rsshash[rxnfc->flow_type]; in enetc_get_rxfh_fields()856 static int enetc_get_rxnfc(struct net_device *ndev, struct ethtool_rxnfc *rxnfc, in enetc_get_rxnfc() argument862 switch (rxnfc->cmd) { in enetc_get_rxnfc()865 rxnfc->data = priv->si->num_fs_entries; in enetc_get_rxnfc()867 rxnfc->rule_cnt = 0; in enetc_get_rxnfc()870 rxnfc->rule_cnt++; in enetc_get_rxnfc()873 if (rxnfc->fs.location >= priv->si->num_fs_entries) in enetc_get_rxnfc()877 rxnfc->fs = priv->cls_rules[rxnfc->fs.location].fs; in enetc_get_rxnfc()[all …]
1343 struct ethtool_rxnfc *rxnfc) in mvpp2_ethtool_cls_rule_get() argument1347 if (rxnfc->fs.location >= MVPP2_N_RFS_ENTRIES_PER_FLOW) in mvpp2_ethtool_cls_rule_get()1350 efs = port->rfs_rules[rxnfc->fs.location]; in mvpp2_ethtool_cls_rule_get()1354 memcpy(rxnfc, &efs->rxnfc, sizeof(efs->rxnfc)); in mvpp2_ethtool_cls_rule_get()1418 memcpy(&efs->rxnfc, info, sizeof(*info)); in mvpp2_ethtool_cls_rule_ins()1552 struct ethtool_rxnfc *rxnfc; in mvpp22_port_rss_ctx_delete() local1565 rxnfc = &port->rfs_rules[i]->rxnfc; in mvpp22_port_rss_ctx_delete()1566 if (!(rxnfc->fs.flow_type & FLOW_RSS) || in mvpp22_port_rss_ctx_delete()1567 rxnfc->rss_context != port_ctx) in mvpp22_port_rss_ctx_delete()1570 ret = mvpp2_ethtool_cls_rule_del(port, rxnfc); in mvpp22_port_rss_ctx_delete()[all …]
308 struct ethtool_rxnfc *rxnfc);
1185 struct ethtool_rxnfc rxnfc; member