MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sfc_mae_switchdev_fini

Function sfc_mae_switchdev_fini

dpdk/drivers/net/sfc/sfc_mae.c:5813–5823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5811}
5812
5813void
5814sfc_mae_switchdev_fini(struct sfc_adapter *sa)
5815{
5816 struct sfc_mae *mae = &sa->mae;
5817
5818 if (!sa->switchdev)
5819 return;
5820
5821 sfc_mae_repr_flow_destroy(sa, mae->switchdev_rule_pf_to_ext);
5822 sfc_mae_repr_flow_destroy(sa, mae->switchdev_rule_ext_to_pf);
5823}
5824
5825int
5826sfc_mae_indir_action_create(struct sfc_adapter *sa,

Callers 2

sfc_attachFunction · 0.85
sfc_detachFunction · 0.85

Calls 1

Tested by

no test coverage detected