Re: [dpdk-dev] [PATCH v1] baseband/fpga_5gnr_fec: add companion PF config App

2020-07-16 Thread Chautru, Nicolas
> From: David Marchand > On Sat, Jul 11, 2020 at 12:28 AM Nicolas Chautru > wrote: > > [snip] > > > +#define SYS_DIR "/sys/bus/pci/devices" > > +#define CUR_DIR "." > > +#define PREV_DIR ".." > > + > > +#define DRIVER_LINK "driver" > > +#define DEVICE_FILE "device" > > +#define VENDOR_FILE "

Re: [dpdk-dev] [PATCH v1] baseband/fpga_5gnr_fec: add companion PF config App

2020-07-16 Thread Chautru, Nicolas
> From: Akhil Goyal > Hi Nicholas, > > > Subject: [PATCH v1] baseband/fpga_5gnr_fec: add companion PF config App > > > > Adding companion application to configure HW Device from the PF. > > Then the device can be accessed through BBDEV from VF (or PF). > > > > Signed-off-by: Nicolas Chautru > >

Re: [dpdk-dev] [PATCH v1] baseband/fpga_5gnr_fec: add companion PF config App

2020-07-16 Thread David Marchand
On Sat, Jul 11, 2020 at 12:28 AM Nicolas Chautru wrote: [snip] > +#define SYS_DIR "/sys/bus/pci/devices" > +#define CUR_DIR "." > +#define PREV_DIR ".." > + > +#define DRIVER_LINK "driver" > +#define DEVICE_FILE "device" > +#define VENDOR_FILE "vendor" > +#define BAR0_FILE"resource0" > +#

Re: [dpdk-dev] [PATCH v1] baseband/fpga_5gnr_fec: add companion PF config App

2020-07-16 Thread Akhil Goyal
Hi Nicholas, > Subject: [PATCH v1] baseband/fpga_5gnr_fec: add companion PF config App > > Adding companion application to configure HW Device from the PF. > Then the device can be accessed through BBDEV from VF (or PF). > > Signed-off-by: Nicolas Chautru > --- I believe this patch is for next

[dpdk-dev] [PATCH v1] baseband/fpga_5gnr_fec: add companion PF config App

2020-07-10 Thread Nicolas Chautru
Adding companion application to configure HW Device from the PF. Then the device can be accessed through BBDEV from VF (or PF). Signed-off-by: Nicolas Chautru --- doc/guides/bbdevs/fpga_5gnr_fec.rst| 81 +++-- .../baseband/fpga_5gnr_fec/pf_config_app/Makefile | 36 ++ .../fpga