Home
last modified time | relevance | path

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

/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/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->data, in ethtool_rxnfc_copy_to_compat()
[all …]
H A Dcommon.c802 * indirection table/rxnfc settings in ethtool_check_max_channel()
/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c1432 netdev_err(dev, "rxnfc: Invalid location (%d)\n", in bcmgenet_validate_flow()
1447 netdev_err(dev, "rxnfc: Unsupported mask\n"); in bcmgenet_validate_flow()
1457 netdev_err(dev, "rxnfc: Unsupported mask\n"); in bcmgenet_validate_flow()
1462 netdev_err(dev, "rxnfc: Unsupported flow type (0x%x)\n", in bcmgenet_validate_flow()
1471 netdev_err(dev, "rxnfc: Unsupported mask\n"); in bcmgenet_validate_flow()
1475 netdev_err(dev, "rxnfc: user-def not supported\n"); in bcmgenet_validate_flow()
1483 netdev_err(dev, "rxnfc: Unsupported mask\n"); in bcmgenet_validate_flow()
1499 netdev_err(dev, "rxnfc: Not supported by this device\n"); in bcmgenet_insert_flow()
1506 netdev_err(dev, "rxnfc: Unsupported action (%llu)\n", in bcmgenet_insert_flow()
/linux/drivers/net/dsa/mv88e6xxx/
H A Dchip.c2437 struct ethtool_rxnfc *rxnfc, u32 *rule_locs) in mv88e6xxx_get_rxnfc() argument
2439 struct ethtool_rx_flow_spec *fs = &rxnfc->fs; in mv88e6xxx_get_rxnfc()
2447 switch (rxnfc->cmd) { in mv88e6xxx_get_rxnfc()
2449 rxnfc->data = 0; in mv88e6xxx_get_rxnfc()
2450 rxnfc->data |= RX_CLS_LOC_SPECIAL; in mv88e6xxx_get_rxnfc()
2451 rxnfc->rule_cnt = 0; in mv88e6xxx_get_rxnfc()
2454 rxnfc->rule_cnt++; in mv88e6xxx_get_rxnfc()
2466 rxnfc->data = 0; in mv88e6xxx_get_rxnfc()
2467 rxnfc->rule_cnt = 0; in mv88e6xxx_get_rxnfc()
2470 rule_locs[rxnfc->rule_cnt++] = id; in mv88e6xxx_get_rxnfc()
[all …]
/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/include/net/
H A Ddsa.h1087 * RXNFC
/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/i40e/
H A Di40e_ethtool.c3528 * @cmd: ethtool rxnfc command
4948 * @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()