linux-stable/drivers/net/ethernet
Moni Shoua 87a25a3858 net/mlx4_en: Change default QoS settings
[ Upstream commit a42b63c1ac ]

Change the default mapping between TC and TCG as follows:

Prio     |             TC/TCG
         |      from             to
         |    (set by FW)      (set by SW)
---------+-----------------------------------
0        |      0/0              0/7
1        |      1/0              0/6
2        |      2/0              0/5
3        |      3/0              0/4
4        |      4/0              0/3
5        |      5/0              0/2
6        |      6/0              0/1
7        |      7/0              0/0

These new settings cause that a pause frame for any prio stops
traffic for all prios.

Fixes: 564c274c3d ("net/mlx4_en: DCB QoS support")
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-12 12:32:13 +02:00
..
3com License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
8390 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
adaptec
adi net: ethernet: make ptp_clock_info const 2017-08-22 11:04:51 -07:00
aeroflex License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
agere
alacritech License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
allwinner
alteon License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
altera
amazon net: ena: unmask MSI-X only after device initialization is completed 2018-03-03 10:24:34 +01:00
amd amd-xgbe: Restore PCI interrupt enablement setting on resume 2018-03-08 22:41:16 -08:00
apm drivers: net: xgene: Remove return statement from void function 2017-09-05 14:58:25 -07:00
apple
aquantia net: aquantia: Fix hardware DMA stream overload on large MRRS 2018-03-03 10:24:23 +01:00
arc net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred 2018-03-31 18:10:41 +02:00
atheros License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
aurora License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
broadcom net: systemport: Rewrite __bcm_sysport_tx_reclaim() 2018-03-31 18:10:42 +02:00
brocade
cadence License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
calxeda
cavium net: thunderx: Set max queue count taking XDP_TX into account 2018-03-19 08:42:50 +01:00
chelsio PCI/cxgb4: Extend T3 PCI quirk to T4+ devices 2018-02-28 10:19:41 +01:00
cirrus
cisco License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
davicom License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dec License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dlink
emulex be2net: restore properly promisc mode after queues reconfiguration 2018-01-31 14:03:47 +01:00
ezchip
faraday Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-09-01 17:42:05 -07:00
freescale dpaa_eth: remove duplicate increment of the tx_errors counter 2018-03-31 18:10:43 +02:00
fujitsu
hisilicon net: hns3: fix for getting auto-negotiation state in hclge_get_autoneg 2018-04-12 12:32:12 +02:00
hp net: hp100: constify eisa_device_id 2017-08-19 17:13:41 -07:00
huawei hinic: don't build the module by default 2017-08-28 21:39:52 -07:00
i825xx License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ibm ibmvnic: Set state UP 2017-12-25 14:26:29 +01:00
intel ixgbe: fix crash in build_skb Rx code path 2018-03-08 22:40:59 -08:00
marvell net: mvpp2: allocate zeroed tx descriptors 2018-02-25 11:07:55 +01:00
mediatek net: mediatek: setup proper state for disabled GMAC on the default 2018-03-03 10:24:26 +01:00
mellanox net/mlx4_en: Change default QoS settings 2018-04-12 12:32:13 +02:00
micrel License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
microchip License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
moxa
myricom License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
natsemi License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
neterion
netronome nfp: always unmask aux interrupts at init 2018-03-03 10:24:37 +01:00
nuvoton w90p910_ether: include linux/interrupt.h 2017-09-12 20:59:19 -07:00
nvidia
nxp
oki-semi
packetengines
pasemi
qlogic qede: Fix qedr link update 2018-03-31 18:10:42 +02:00
qualcomm net: qualcomm: rmnet: Fix leak on transmit failure 2018-02-25 11:07:59 +01:00
rdc
realtek r8169: fix RTL8168EP take too long to complete driver initialization. 2018-02-13 10:19:47 +01:00
renesas sh_eth: fix SH7757 GEther initialization 2018-01-17 09:45:22 +01:00
rocker rocker: fix possible null pointer dereference in rocker_router_fib_event_work 2018-02-13 10:19:48 +01:00
samsung net: sxgbe: check memory allocation failure 2017-08-25 20:07:07 -07:00
seeq License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sfc sfc: pass valid pointers from efx_enqueue_unwind 2018-01-02 20:31:10 +01:00
sgi
silan
sis License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
smsc License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
stmicro net: stmmac: Fix bad RX timestamp extraction 2018-03-03 10:24:27 +01:00
sun License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
synopsys License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tehuti
ti net: ethernet: ti: cpsw: add check for in-band mode setting with RGMII PHY interface 2018-03-31 18:10:41 +02:00
tile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
toshiba License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tundra
via dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
wiznet
xilinx net: ethernet: xilinx: Mark XILINX_LL_TEMAC broken on 64-bit 2018-02-03 17:39:11 +01:00
xircom ethernet: xircom: small clean up in setup_xirc2ps_cs() 2017-08-22 10:30:00 -07:00
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c fealnx: Fix building error on MIPS 2017-11-24 08:37:03 +01:00
jme.c
jme.h
Kconfig net-next/hinic: Initialize hw interface 2017-08-22 10:48:52 -07:00
korina.c
lantiq_etop.c
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
netx-eth.c