Skip to content

Commit

Permalink
net/nfp: free switch domain ID on close
Browse files Browse the repository at this point in the history
[ upstream commit 20eaa8e ]

Free domain id in close interface.

Fixes: e1124c4 ("net/nfp: add flower representor framework")

Signed-off-by: Chaoyong He <[email protected]>
  • Loading branch information
hechaoyong authored and bluca committed Mar 7, 2024
1 parent 51b7521 commit 782b5a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/nfp/flower/nfp_flower.c
Original file line number Diff line number Diff line change
Expand Up @@ -1176,6 +1176,7 @@ nfp_uninit_app_fw_flower(struct nfp_pf_dev *pf_dev)
nfp_cpp_area_free(pf_dev->ctrl_area);
rte_free(app_fw_flower->pf_hw);
nfp_flow_priv_uninit(pf_dev);
rte_eth_switch_domain_free(app_fw_flower->switch_domain_id);
rte_free(app_fw_flower);
}

Expand Down

0 comments on commit 782b5a2

Please sign in to comment.