linux-stable/drivers/net/ethernet/sfc/falcon
Amritha Nambiar 56f36acd21 mqprio: Modify mqprio to pass user parameters via ndo_setup_tc.
The configurable priority to traffic class mapping and the user specified
queue ranges are used to configure the traffic class, overriding the
hardware defaults when the 'hw' option is set to 0. However, when the 'hw'
option is non-zero, the hardware QOS defaults are used.

This patch makes it so that we can pass the data the user provided to
ndo_setup_tc. This allows us to pull in the queue configuration if the
user requested it as well as any additional hardware offload type
requested by using a value other than 1 for the hw value.

Finally it also provides a means for the device driver to return the level
supported for the offload type via the qopt->hw value. Previously we were
just always assuming the value to be 1, in the future values beyond just 1
may be supported.

Signed-off-by: Amritha Nambiar <amritha.nambiar@intel.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-15 15:20:27 -07:00
..
bitfield.h
efx.c sfc-falcon: get rid of custom busy polling code 2017-02-03 09:56:50 -05:00
efx.h
enum.h
ethtool.c
falcon.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
falcon_boards.c
farch.c
farch_regs.h
filter.h
io.h
Kconfig
Makefile
mdio_10g.c
mdio_10g.h
mtd.c
net_driver.h sfc-falcon: get rid of custom busy polling code 2017-02-03 09:56:50 -05:00
nic.c
nic.h
phy.h
qt202x_phy.c
rx.c sfc-falcon: get rid of custom busy polling code 2017-02-03 09:56:50 -05:00
selftest.c
selftest.h
tenxpress.c
tx.c mqprio: Modify mqprio to pass user parameters via ndo_setup_tc. 2017-03-15 15:20:27 -07:00
tx.h
txc43128_phy.c
workarounds.h