linux_dsm_epyc7002/drivers/net/ethernet
Jesse Brandeburg 8a49492008 i40e: check multi-bit state correctly
The hash is reported correctly in the rss field if and only if
the filter status is 3.  Other values of filter status mean
different things and we shouldn't depend on a bitwise result.

The issue was that
a & b --> returns true for b={1,2,3}
the fix is
a & b == b

Also refactor this function to use constant operations because we
are in fast path.

Change-Id: I4e29be87439c1cf8b60bc31bea29dff89596c013
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2013-12-06 16:10:30 -08:00
..
3com 3c59x/net: Use dev_is_pci() instead of hardcoding 2013-12-06 12:51:40 -05:00
8390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-11-13 17:40:34 +09:00
adaptec
adi bfin_mac: Implement the SIOCGHWTSTAMP ioctl 2013-11-21 17:17:15 +00:00
aeroflex
allwinner
alteon
amd ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
apple macmace: add missing platform_set_drvdata() in mace_probe() 2013-11-11 14:02:08 -05:00
arc arc_emac: remove custom "max-speed" parsing code 2013-12-06 14:57:21 -05:00
atheros alx: Reset phy speed after resume 2013-11-14 17:14:42 -05:00
broadcom tg3: Update version to 3.135 2013-12-06 15:10:54 -05:00
brocade Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
cadence
calxeda net: calxedaxgmac: Fix panic caused by MTU change of active interface 2013-11-07 19:25:53 -05:00
chelsio ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
cirrus
cisco
davicom
dec
dlink
emulex be2net: call napi_disable() for all event queues 2013-11-28 18:54:02 -05:00
faraday
freescale Merge branch 'siocghwtstamp' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next 2013-12-05 19:45:14 -05:00
fujitsu
hp
i825xx net:drivers/net: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO 2013-11-07 03:01:59 -05:00
ibm ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
icplus
intel i40e: check multi-bit state correctly 2013-12-06 16:10:30 -08:00
marvell ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
mellanox Merge branch 'siocghwtstamp' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next 2013-12-05 19:45:14 -05:00
micrel Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma 2013-11-20 13:20:24 -08:00
microchip
moxa
myricom
natsemi ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
neterion Merge branch 'siocghwtstamp' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next 2013-12-05 19:45:14 -05:00
nuvoton
nvidia ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
nxp
octeon Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
oki-semi ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
packetengines
pasemi ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
qlogic ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
rdc
realtek net: 8139cp: fix a BUG_ON triggered by wrong bytes_compl 2013-11-29 16:18:23 -05:00
renesas sh_eth: check platform data pointer 2013-11-04 15:49:28 -05:00
seeq
sfc Merge branch 'siocghwtstamp' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next 2013-12-05 19:45:14 -05:00
sgi
silan
sis
smsc ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
stmicro stmmac: Validate hwtstamp_config completely before applying it 2013-11-14 16:22:10 -05:00
sun ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
tehuti net: do not pretend FRAGLIST support 2013-12-02 17:16:29 -05:00
ti Merge branch 'siocghwtstamp' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next 2013-12-05 19:45:14 -05:00
tile Merge branch 'siocghwtstamp' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next 2013-12-05 19:45:14 -05:00
toshiba
tundra ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
via via-velocity: fix netif_receive_skb use in irq disabled section. 2013-11-28 18:43:35 -05:00
wiznet
xilinx net: do not pretend FRAGLIST support 2013-12-02 17:16:29 -05:00
xircom ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
xscale ixp4xx_eth: Implement the SIOCGHWTSTAMP ioctl 2013-11-21 17:17:48 +00:00
dnet.c
dnet.h
ethoc.c
fealnx.c
jme.c
jme.h jme: Remove unused #define PFX 2013-11-07 02:14:32 -05:00
Kconfig
korina.c
lantiq_etop.c ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
Makefile
netx-eth.c ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
s6gmac.c