linux/drivers/net/ethernet/broadcom/bnx2x
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
..
bnx2x_cmn.c mqprio: Modify mqprio to pass user parameters via ndo_setup_tc. 2017-03-15 15:20:27 -07:00
bnx2x_cmn.h net: Update API for VF vlan protocol 802.1ad support 2016-09-24 08:01:26 -04:00
bnx2x_dcb.c bnx2x: extend DCBx support 2016-02-16 20:12:16 -05:00
bnx2x_dcb.h
bnx2x_dump.h
bnx2x_ethtool.c net: broadcom: bnx2x: use new api ethtool_{get|set}_link_ksettings 2017-01-24 13:49:19 -05:00
bnx2x_fw_defs.h
bnx2x_fw_file_hdr.h
bnx2x_hsi.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-03-08 12:34:12 -05:00
bnx2x_init_ops.h
bnx2x_init.h
bnx2x_link.c scripts/spelling.txt: add "initialiazation" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
bnx2x_link.h
bnx2x_main.c bnx2x: fix detection of VLAN filtering feature for VF 2017-03-07 13:47:15 -08:00
bnx2x_mfw_req.h
bnx2x_reg.h bnx2x: Fix 84833 phy command handler 2016-02-21 22:50:55 -05:00
bnx2x_sp.c bnx2x: free the mac filter group list before freeing the cmd 2016-09-27 09:55:18 -04:00
bnx2x_sp.h bnx2x: Don't flush multicast MACs 2016-08-24 09:45:20 -07:00
bnx2x_sriov.c bnx2x: fix incorrect filter count in an error message 2017-03-07 13:47:15 -08:00
bnx2x_sriov.h bnx2x: do not rollback VF MAC/VLAN filters we did not configure 2017-03-07 13:47:15 -08:00
bnx2x_stats.c
bnx2x_stats.h
bnx2x_vfpf.c bnx2x: add missing configuration of VF VLAN filters 2017-03-07 13:47:15 -08:00
bnx2x_vfpf.h
bnx2x.h ethernet/broadcom: use core min/max MTU checking 2016-10-18 11:34:18 -04:00
Makefile