kernel-fxtec-pro1x/drivers/net
Jian Shen d653bd939c net: hns3: Fix for rx vlan id handle to support Rev 0x21 hardware
[ Upstream commit 701a6d6ac78c76083ddb7c6581fdbedd95093e11 ]

In revision 0x20, we use vlan id != 0 to check whether a vlan tag
has been offloaded, so vlan id 0 is not supported.

In revision 0x21, rx buffer descriptor adds two bits to indicate
whether one or more vlan tags have been offloaded, so vlan id 0
is valid now.

This patch seperates the handle for vlan id 0, add vlan id 0 support
for revision 0x21.

Fixes: 5b5455a9ed ("net: hns3: Add STRP_TAGP field support for hardware revision 0x21")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-24 08:20:28 +01:00
..
appletalk
arcnet
bonding bonding: fix unexpected IFF_BONDING bit unset 2019-11-12 19:21:02 +01:00
caif
can slcan: Fix memory leak in error path 2019-11-20 18:47:53 +01:00
dsa net: dsa: b53: Do not clear existing mirrored port mask 2019-11-10 11:27:52 +01:00
ethernet net: hns3: Fix for rx vlan id handle to support Rev 0x21 hardware 2019-11-24 08:20:28 +01:00
fddi
fjes fjes: Handle workqueue allocation failure 2019-11-12 19:21:12 +01:00
hamradio
hippi
hyperv hv_netvsc: Fix error handling in netvsc_attach() 2019-11-12 19:21:15 +01:00
ieee802154 ieee802154: ca8210: prevent memory leak 2019-10-29 09:19:31 +01:00
ipvlan
netdevsim
phy net: phy: mdio-bcm-unimac: mark PM functions as __maybe_unused 2019-11-20 18:47:53 +01:00
plip
ppp
slip slip: Fix memory leak in slip_open error path 2019-11-20 18:45:12 +01:00
team
usb net: cdc_ncm: Signedness bug in cdc_ncm_set_dgram_size() 2019-11-24 08:19:10 +01:00
vmxnet3
wan
wimax
wireless qtnfmac: drop error reports for out-of-bounds key indexes 2019-11-24 08:20:21 +01:00
xen-netback net: xen-netback: fix return type of ndo_start_xmit function 2019-11-24 08:19:18 +01:00
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c macsec: fix refcnt leak in module exit routine 2019-11-12 19:21:02 +01:00
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c failover: Fix error return code in net_failover_create 2019-11-20 18:46:12 +01:00
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c
veth.c
virtio_net.c
vrf.c
vsockmon.c
vxlan.c vxlan: check tun_info options_len properly 2019-11-10 11:27:46 +01:00
xen-netfront.c xen-netfront: do not use ~0U as error return value for xennet_fill_frags() 2019-10-07 18:57:25 +02:00