linux/drivers/net/ethernet/amd/xgbe
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
..
Makefile amd-xgbe: Add I2C support for sideband communication 2016-11-13 00:56:26 -05:00
xgbe-common.h amd-xgbe: Add a hardware quirk for register definitions 2017-01-22 16:57:14 -05:00
xgbe-dcb.c amd-xgbe: Do traffic class setup when called through dcbnl 2016-02-17 15:22:20 -05:00
xgbe-debugfs.c amd-xgbe: Fix possible uninitialized variable 2016-11-16 13:57:44 -05:00
xgbe-desc.c amd-xgbe: Fix DMA API debug warning 2015-07-08 15:57:14 -07:00
xgbe-dev.c amd-xgbe: Be sure to set MDIO modes on device (re)start 2017-03-02 12:57:53 -08:00
xgbe-drv.c mqprio: Modify mqprio to pass user parameters via ndo_setup_tc. 2017-03-15 15:20:27 -07:00
xgbe-ethtool.c net: xgbe: use new api ethtool_{get|set}_link_ksettings 2016-11-09 13:25:13 -05:00
xgbe-i2c.c amd-xgbe: Add I2C support for sideband communication 2016-11-13 00:56:26 -05:00
xgbe-main.c Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-12-12 19:56:15 -08:00
xgbe-mdio.c amd-xgbe: Fix mask appliciation for Clause 37 register 2016-11-15 22:12:57 -05:00
xgbe-pci.c pci-v4.11-changes 2017-02-23 11:53:22 -08:00
xgbe-phy-v1.c amd-xgbe: Add support for a KR redriver 2016-11-13 00:56:26 -05:00
xgbe-phy-v2.c amd-xgbe: Don't overwrite SFP PHY mod_absent settings 2017-03-02 12:57:53 -08:00
xgbe-platform.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-12-03 12:29:53 -05:00
xgbe-ptp.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
xgbe.h pci-v4.11-changes 2017-02-23 11:53:22 -08:00