Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c715 struct ethtool_rxnfc *rxnfc, u32 *rule_locs) in dpaa2_eth_get_rxnfc() argument
721 switch (rxnfc->cmd) { in dpaa2_eth_get_rxnfc()
723 rxnfc->data = dpaa2_eth_queue_count(priv); in dpaa2_eth_get_rxnfc()
726 rxnfc->rule_cnt = 0; in dpaa2_eth_get_rxnfc()
727 rxnfc->rule_cnt = dpaa2_eth_num_cls_rules(priv); in dpaa2_eth_get_rxnfc()
728 rxnfc->data = max_rules; in dpaa2_eth_get_rxnfc()
731 if (rxnfc->fs.location >= max_rules) in dpaa2_eth_get_rxnfc()
733 rxnfc->fs.location = array_index_nospec(rxnfc->fs.location, in dpaa2_eth_get_rxnfc()
735 if (!priv->cls_rules[rxnfc->fs.location].in_use) in dpaa2_eth_get_rxnfc()
737 rxnfc->fs = priv->cls_rules[rxnfc->fs.location].fs; in dpaa2_eth_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()
1553 struct ethtool_rxnfc *rxnfc; in mvpp22_port_rss_ctx_delete() local
1566 rxnfc = &port->rfs_rules[i]->rxnfc; in mvpp22_port_rss_ctx_delete()
1567 if (!(rxnfc->fs.flow_type & FLOW_RSS) || in mvpp22_port_rss_ctx_delete()
1568 rxnfc->rss_context != port_ctx) in mvpp22_port_rss_ctx_delete()
1571 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/net/ethtool/
H A Dioctl.c836 ethtool_rxnfc_copy_from_compat(struct ethtool_rxnfc *rxnfc, in ethtool_rxnfc_copy_from_compat() argument
852 sizeof(rxnfc->fs.m_ext)); in ethtool_rxnfc_copy_from_compat()
861 *rxnfc = (struct ethtool_rxnfc) { in ethtool_rxnfc_copy_from_compat()
880 static int ethtool_rxnfc_copy_from_user(struct ethtool_rxnfc *rxnfc, in ethtool_rxnfc_copy_from_user() argument
885 return ethtool_rxnfc_copy_from_compat(rxnfc, useraddr, size); in ethtool_rxnfc_copy_from_user()
887 if (copy_from_user(rxnfc, useraddr, size)) in ethtool_rxnfc_copy_from_user()
894 const struct ethtool_rxnfc *rxnfc, in ethtool_rxnfc_copy_to_compat() argument
901 .cmd = rxnfc->cmd, in ethtool_rxnfc_copy_to_compat()
902 .flow_type = rxnfc->flow_type, in ethtool_rxnfc_copy_to_compat()
903 .data = rxnfc in ethtool_rxnfc_copy_to_compat()
955 ethtool_rxnfc_copy_to_user(void __user * useraddr,const struct ethtool_rxnfc * rxnfc,size_t size,const u32 * rule_buf) ethtool_rxnfc_copy_to_user() argument
[all...]
H A Dcommon.c755 * indirection table/rxnfc settings in ethtool_check_max_channel()
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dethtool.c275 * of rxnfc. We keep this logic out of mlx5e_ethtool_get_rxnfc, in mlx5i_get_rxnfc()
/linux/drivers/net/ethernet/microchip/
H A Dlan743x_ethtool.c935 struct ethtool_rxnfc *rxnfc, in lan743x_ethtool_get_rxnfc() argument
938 switch (rxnfc->cmd) { in lan743x_ethtool_get_rxnfc()
940 rxnfc->data = LAN743X_USED_RX_CHANNELS; in lan743x_ethtool_get_rxnfc()
/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c1440 netdev_err(dev, "rxnfc: Invalid location (%d)\n", in bcmgenet_validate_flow()
1455 netdev_err(dev, "rxnfc: Unsupported mask\n"); in bcmgenet_validate_flow()
1465 netdev_err(dev, "rxnfc: Unsupported mask\n"); in bcmgenet_validate_flow()
1470 netdev_err(dev, "rxnfc: Unsupported flow type (0x%x)\n", in bcmgenet_validate_flow()
1479 netdev_err(dev, "rxnfc: Unsupported mask\n"); in bcmgenet_validate_flow()
1483 netdev_err(dev, "rxnfc: user-def not supported\n"); in bcmgenet_validate_flow()
1491 netdev_err(dev, "rxnfc: Unsupported mask\n"); in bcmgenet_validate_flow()
1507 netdev_err(dev, "rxnfc: Not supported by this device\n"); in bcmgenet_insert_flow()
1514 netdev_err(dev, "rxnfc: Unsupported action (%llu)\n", in bcmgenet_insert_flow()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c1529 * @cmd: ethtool rxnfc command
1555 * @cmd: ethtool rxnfc command
/linux/include/net/
H A Ddsa.h1086 * RXNFC
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c3527 * @cmd: ethtool rxnfc command
4951 * @cmd: ethtool rxnfc command
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c2732 dev_err(&adapter->pdev->dev, "ethtool rxnfc set vlan prio filter failed.\n"); in igb_rxnfc_write_vlan_prio_filter()