net/sfc: fix TSO limits imposed to the number of Tx queues
authorIvan Malov <ivan.malov@oktetlabs.ru>
Mon, 23 Jan 2017 11:06:15 +0000 (11:06 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 30 Jan 2017 21:18:26 +0000 (22:18 +0100)
commit1f01425813d3a6ac85bd0b39ac8f8da30e8ec355
treef1a66c998f2cac5ff84cf9e315fb49c700506cfa
parent7a7cfb7a75d28ed6809d68ee79f91d768aa7df6b
net/sfc: fix TSO limits imposed to the number of Tx queues

The number of Tx queues requested by the user must not be overridden;
instead, the limits imposed by TSO must be applied to the advertised
maximum

Fixes: fec33d5bb3eb ("net/sfc: support firmware-assisted TSO")
Cc: stable@dpdk.org
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andrew Lee <alee@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@solarflare.com>
drivers/net/sfc/sfc.c
drivers/net/sfc/sfc_tx.c