On Mon, Jun 29, 2020 at 12:09 PM David Marchand <david.march...@redhat.com> wrote: > On Wed, May 27, 2020 at 4:58 PM Bruce Richardson > <bruce.richard...@intel.com> wrote: > > > > If the bonding pmd is disabled, all autotest associated with it should be > > disabled. However, some of those tests also depended upon the ring PMD so > > were placed in a block depending on that driver - and unfortunately that > > driver alone. This caused build failures if the ring PMD was enabled but > > the bonding PMD disabled, due to missing header files and driver libs. > > > > This error can be reproduced by configuring DPDK using e.g. > > > > meson configure -Ddisable_drivers=net/[!r]* build > > > > (which will disable all drivers not starting with "r"), and then building > > using ninja. > > > > Fix this by moving all link bonding autotests to the one block and putting > > a second conditional check within that block for those also requiring the > > ring PMD. > > > > Fixes: 7f6ef1664027 ("test/bonding: allow disabling driver") > > Fixes: 207b1c813f39 ("test: fix build without ring PMD") > > > > Signed-off-by: Bruce Richardson <bruce.richard...@intel.com> > Reviewed-by: David Marchand <david.march...@redhat.com>
Applied, thanks. -- David Marchand