On Tue, Nov 19, 2019 at 2:04 PM Jakub Kicinski <jakub.kicinski@xxxxxxxxxxxxx> wrote: > > On Mon, 18 Nov 2019 16:19:51 -0800, Luigi Rizzo wrote: > > Drivers use different fields to report the number of channels, so take > > the maximum of all data channels (rx, tx, combined) when determining the > > size of the xsk map. The current code used only 'combined' which was set > > to 0 in some drivers e.g. mlx4. > > > > Tested: compiled and run xdpsock -q 3 -r -S on mlx4 > > Signed-off-by: Luigi Rizzo <lrizzo@xxxxxxxxxx> > > Reviewed-by: Jakub Kicinski <jakub.kicinski@xxxxxxxxxxxxx> Applied. Thanks