Lines Matching refs:efv
45 struct efx_rep *efv; in efx_tc_flower_lookup_efv() local
58 efv = netdev_priv(dev); in efx_tc_flower_lookup_efv()
59 if (efv->parent != efx) in efx_tc_flower_lookup_efv()
61 return efv; in efx_tc_flower_lookup_efv()
65 static s64 efx_tc_flower_internal_mport(struct efx_nic *efx, struct efx_rep *efv) in efx_tc_flower_internal_mport() argument
69 if (IS_ERR(efv)) in efx_tc_flower_internal_mport()
70 return PTR_ERR(efv); in efx_tc_flower_internal_mport()
71 if (!efv) /* device is PF (us) */ in efx_tc_flower_internal_mport()
74 efx_mae_mport_mport(efx, efv->mport, &mport); in efx_tc_flower_internal_mport()
79 s64 efx_tc_flower_external_mport(struct efx_nic *efx, struct efx_rep *efv) in efx_tc_flower_external_mport() argument
83 if (IS_ERR(efv)) in efx_tc_flower_external_mport()
84 return PTR_ERR(efv); in efx_tc_flower_external_mport()
85 if (!efv) /* device is PF (us) */ in efx_tc_flower_external_mport()
88 efx_mae_mport_mport(efx, efv->mport, &mport); in efx_tc_flower_external_mport()
1678 struct efx_rep *efv, in efx_tc_flower_replace_lhs() argument
1752 struct efx_rep *efv) in efx_tc_flower_replace() argument
1780 if (efv != from_efv) { in efx_tc_flower_replace()
1783 netdev_name(net_dev), efv ? "non-" : "", in efx_tc_flower_replace()
1806 return efx_tc_flower_replace_lhs(efx, tc, fr, &match, efv, in efx_tc_flower_replace()
2314 struct flow_cls_offload *tc, struct efx_rep *efv) in efx_tc_flower() argument
2324 rc = efx_tc_flower_replace(efx, net_dev, tc, efv); in efx_tc_flower()
2398 int efx_tc_configure_default_rule_rep(struct efx_rep *efv) in efx_tc_configure_default_rule_rep() argument
2400 struct efx_tc_flow_rule *rule = &efv->dflt; in efx_tc_configure_default_rule_rep()
2401 struct efx_nic *efx = efv->parent; in efx_tc_configure_default_rule_rep()
2404 efx_mae_mport_mport(efx, efv->mport, &ing_port); in efx_tc_configure_default_rule_rep()