Hi Akhil, > > Add in the "info_get" function to the driver, to allow us to query the > > device. > > No capability are available yet. > > Linking bbdev-test to support the PMD with null capability. > > > > Signed-off-by: Nicolas Chautru <nicolas.chau...@intel.com> > > --- > > app/test-bbdev/Makefile | 3 ++ > > app/test-bbdev/meson.build | 3 ++ > > drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 62 > > ++++++++++++++++++++++ > > 3 files changed, 68 insertions(+) > > > > diff --git a/app/test-bbdev/Makefile b/app/test-bbdev/Makefile index > > c53982f..e951302 100644 > > --- a/app/test-bbdev/Makefile > > +++ b/app/test-bbdev/Makefile > > @@ -24,5 +24,8 @@ LDLIBS += -lm > > ifeq ($(CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_LTE_FEC),y) > > LDLIBS += -lrte_pmd_bbdev_fpga_lte_fec endif > > +ifeq ($(CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_5GNR_FEC),y) > > +LDLIBS += -lrte_pmd_bbdev_fpga_5gnr_fec endif > > > > include $(RTE_SDK)/mk/rte.app.mk > > diff --git a/app/test-bbdev/meson.build b/app/test-bbdev/meson.build > > index 4f53a2e..e57e019 100644 > > --- a/app/test-bbdev/meson.build > > +++ b/app/test-bbdev/meson.build > > @@ -10,3 +10,6 @@ deps += ['bbdev', 'bus_vdev'] if > > dpdk_conf.has('RTE_LIBRTE_PMD_BBDEV_FPGA_LTE_FEC') > > deps += ['pmd_bbdev_fpga_lte_fec'] > > endif > > +if dpdk_conf.has('RTE_LIBRTE_PMD_BBDEV_FPGA_5GNR_FEC') > > + deps += ['pmd_bbdev_fpga_5gnr_fec'] > > +endif > > \ No newline at end of file > > Changes in test-bbdev should not be in this patch.
This was done so that to be able to run unit-test from that point on since we can run info_get and pick up supported hw. Similar logic was used with raw driver which I used for inspiration (http://patches.dpdk.org/patch/55878/). I can split into 2 commits still. Thanks