linux-stable/drivers/net
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
..
appletalk License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
arcnet License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bonding bonding: fix slave stuck in BOND_LINK_FAIL state 2017-11-08 16:07:10 +09:00
caif License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
can can: cc770: Fix use after free in cc770_tx_interrupt() 2018-03-28 18:24:45 +02:00
cris License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dsa net: dsa: mv88e6xxx: Unregister MDIO bus on error path 2018-02-25 11:08:00 +01:00
ethernet net/mlx4_en: Change default QoS settings 2018-04-12 12:32:13 +02:00
fddi License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fjes
hamradio License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hippi hippi: Fix a Fix a possible sleep-in-atomic bug in rr_close 2018-02-25 11:08:04 +01:00
hyperv hv_netvsc: Fix the TX/RX buffer default sizes 2018-03-24 11:01:22 +01:00
ieee802154 net: ieee802154: adf7242: Fix bug if defined DEBUG 2018-03-19 08:42:49 +01:00
ipvlan ipvlan: add L2 check for packets arriving via virtual devices 2018-03-19 08:42:56 +01:00
phy net: phy: Tell caller result of phy_change() 2018-03-31 18:10:39 +02:00
plip
ppp ppp: avoid loop in xmit recursion detection code 2018-03-31 18:10:40 +02:00
slip License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
team team: Fix double free in error path 2018-03-31 18:10:42 +02:00
usb qmi_wwan: set FLAG_SEND_ZLP to avoid network initiated disconnect 2018-03-24 11:01:23 +01:00
vmxnet3 vmxnet3: repair memory leak 2018-01-31 14:03:49 +01:00
wan hdlc_ppp: carrier detect ok, don't turn off negotiation 2018-03-08 22:41:08 -08:00
wimax License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wireless rtlwifi: rtl8723be: Fix loss of signal 2018-03-28 18:24:42 +02:00
xen-netback xen-netfront, xen-netback: Use correct minimum MTU values 2017-10-16 16:00:44 -04:00
dummy.c
eql.c
geneve.c geneve: fix fill_info when link down 2017-12-14 09:53:11 +01:00
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c macsec: fix memory leaks when skb_to_sgvec fails 2017-10-11 14:07:20 -07:00
macvlan.c macvlan: filter out unsupported feature flags 2018-03-31 18:10:39 +02:00
macvtap.c tap: reference to KVA of an unloaded module causes kernel panic 2017-10-28 19:17:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c net: accept UFO datagrams from tuntap and packet 2017-12-17 15:07:58 +01:00
tun.c tuntap: disable preemption during XDP processing 2018-03-08 22:41:18 -08:00
veth.c veth: set peer GSO values 2018-03-19 08:42:54 +01:00
virtio_net.c virtio_net: Disable interrupts if napi_complete_done rescheduled napi 2018-03-19 08:42:54 +01:00
vrf.c net: vrf: Add support for sends to local broadcast address 2018-01-31 14:03:45 +01:00
vsockmon.c
vxlan.c vxlan: update skb dst pmtu on tx path 2018-03-03 10:24:26 +01:00
xen-netfront.c xen-netfront: enable device after manual module load 2018-03-03 10:24:36 +01:00