Home
last modified time | relevance | path

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

/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_cls.c1345 struct mvpp2_ethtool_fs *efs; in mvpp2_ethtool_cls_rule_get() local
1350 efs = port->rfs_rules[rxnfc->fs.location]; in mvpp2_ethtool_cls_rule_get()
1351 if (!efs) in mvpp2_ethtool_cls_rule_get()
1354 memcpy(rxnfc, &efs->rxnfc, sizeof(efs->rxnfc)); in mvpp2_ethtool_cls_rule_get()
1364 struct mvpp2_ethtool_fs *efs, *old_efs; in mvpp2_ethtool_cls_rule_ins() local
1370 efs = kzalloc(sizeof(*efs), GFP_KERNEL); in mvpp2_ethtool_cls_rule_ins()
1371 if (!efs) in mvpp2_ethtool_cls_rule_ins()
1388 efs->rule.flow = ethtool_rule->rule; in mvpp2_ethtool_cls_rule_ins()
1389 efs->rule.flow_type = mvpp2_cls_ethtool_flow_to_type(info->fs.flow_type); in mvpp2_ethtool_cls_rule_ins()
1390 if (efs->rule.flow_type < 0) { in mvpp2_ethtool_cls_rule_ins()
[all …]