Home
last modified time | relevance | path

Searched full:rxnfc (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_ethtool.c742 struct ethtool_rxfh_fields *rxnfc) in enetc_get_rxfh_fields() argument
758 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() argument
862 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 …]
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_cls.c1343 struct ethtool_rxnfc *rxnfc) in mvpp2_ethtool_cls_rule_get() argument
1347 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() local
1565 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 …]
H A Dmvpp2_cls.h308 struct ethtool_rxnfc *rxnfc);
H A Dmvpp2.h1185 struct ethtool_rxnfc rxnfc; member
/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c1431 netdev_err(dev, "rxnfc: Invalid location (%d)\n", in bcmgenet_validate_flow()
1446 netdev_err(dev, "rxnfc: Unsupported mask\n"); in bcmgenet_validate_flow()
1456 netdev_err(dev, "rxnfc: Unsupported mask\n"); in bcmgenet_validate_flow()
1461 netdev_err(dev, "rxnfc: Unsupported flow type (0x%x)\n", in bcmgenet_validate_flow()
1470 netdev_err(dev, "rxnfc: Unsupported mask\n"); in bcmgenet_validate_flow()
1474 netdev_err(dev, "rxnfc: user-def not supported\n"); in bcmgenet_validate_flow()
1482 netdev_err(dev, "rxnfc: Unsupported mask\n"); in bcmgenet_validate_flow()
1498 netdev_err(dev, "rxnfc: Not supported by this device\n"); in bcmgenet_insert_flow()
1505 netdev_err(dev, "rxnfc: Unsupported action (%llu)\n", in bcmgenet_insert_flow()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c1614 * @cmd: ethtool rxnfc command
1653 * @cmd: ethtool rxnfc command
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1620 en_warn(priv, "rxnfc: RX ring (%llu) doesn't exist\n", in mlx4_en_flow_replace()
1626 en_warn(priv, "rxnfc: RX ring (%llu) is inactive\n", in mlx4_en_flow_replace()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ethtool.c30 * @cmd: ethtool rxnfc command
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c3088 * @cmd: ethtool rxnfc command
3125 * @cmd: ethtool rxnfc command
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c2735 dev_err(&adapter->pdev->dev, "ethtool rxnfc set vlan prio filter failed.\n"); in igb_rxnfc_write_vlan_prio_filter()