ethdev: make queue release callback optional
authorXueming Li <xuemingl@nvidia.com>
Wed, 6 Oct 2021 11:18:21 +0000 (19:18 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 6 Oct 2021 17:16:03 +0000 (19:16 +0200)
commit49ed322469e4b0816551cf794b8c2394729a0cb2
treea8f6de0f77b322784728d56ae2d4f42eb24ebc2f
parentd74d3744da6cf65e9d8daae2386c5bae39853022
ethdev: make queue release callback optional

Some drivers don't need Rx and Tx queue release callback, make them
optional. Clean up empty queue release callbacks for some drivers.

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
12 files changed:
app/test/virtual_pmd.c
drivers/net/af_packet/rte_eth_af_packet.c
drivers/net/af_xdp/rte_eth_af_xdp.c
drivers/net/dpaa/dpaa_ethdev.c
drivers/net/dpaa2/dpaa2_ethdev.c
drivers/net/ipn3ke/ipn3ke_representor.c
drivers/net/kni/rte_eth_kni.c
drivers/net/pcap/pcap_ethdev.c
drivers/net/pfe/pfe_ethdev.c
drivers/net/ring/rte_eth_ring.c
drivers/net/virtio/virtio_ethdev.c
lib/ethdev/rte_ethdev.c