linux_dsm_epyc7002/drivers/net/ethernet
Jiong Wang c217abccaa nfp: bpf: support arithmetic indirect right shift (BPF_ARSH | BPF_X)
Code logic is similar with arithmetic right shift by constant, and NFP
get indirect shift amount through source A operand of PREV_ALU.

It is possible to fall back to logic right shift if the MSB is known to be
zero from range info, however there is no benefit to do this given logic
indirect right shift use the same number and cycle of instruction sequence.

Suppose the MSB of regX is the bit we want to replicate to fill in all the
vacant positions, and regY contains the shift amount, then we could use
single instruction to set up both.

  [alu, --, regY, OR, regX]

  --
  NOTE: the PREV_ALU result doesn't need to write to any destination
        register.

Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-05-18 21:35:55 +02:00
..
3com net: 3com: 3c59x: irq save variant of ISR 2018-05-07 23:25:25 -04:00
8390 net-next: New ax88796 platform driver for Amiga X-Surf 100 Zorro board (m68k) 2018-04-19 16:11:11 -04:00
adaptec
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon net: ena: Eliminate duplicate barriers on weakly-ordered archs 2018-03-26 12:47:56 -04:00
amd net: amd8111e: remove redundant duplicated if statement 2018-04-25 14:11:27 -04:00
apm
apple
aquantia net: aquantia: Limit number of vectors to actually allocated irqs 2018-05-08 00:06:44 -04:00
arc
atheros
aurora
broadcom Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-05-11 20:53:22 -04:00
brocade
cadence drivers: net: Remove device_node checks with of_mdiobus_register() 2018-05-16 14:20:36 -04:00
calxeda
cavium liquidio: bump up driver version to 1.7.2 to match newer NIC firmware 2018-05-10 17:32:18 -04:00
chelsio cxgb4: update LE-TCAM collection for T6 2018-05-16 15:01:30 -04:00
cirrus
cisco
cortina
davicom
dec
dlink
emulex
ezchip
faraday
freescale drivers: net: Remove device_node checks with of_mdiobus_register() 2018-05-16 14:20:36 -04:00
fujitsu
hisilicon net: hns3: Fixes the missing PCI iounmap for various legs 2018-05-16 11:33:08 -04:00
hp
huawei net-next/hinic: add pci device ids for 25ge and 100ge card 2018-05-08 00:07:42 -04:00
i825xx
ibm ibmvnic: Clean actual number of RX or TX pools 2018-04-22 21:13:30 -04:00
intel i40evf: Fix a hardware reset support in VF driver 2018-05-14 07:05:16 -07:00
marvell drivers: net: Remove device_node checks with of_mdiobus_register() 2018-05-16 14:20:36 -04:00
mediatek net: mediatek: use of_device_get_match_data() 2018-04-16 13:43:07 -04:00
mellanox net/mlx5e: Remove MLX5E_TEST_BIT macro 2018-05-14 15:10:21 -07:00
micrel
microchip
moxa
mscc net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
myricom
natsemi
neterion
netronome nfp: bpf: support arithmetic indirect right shift (BPF_ARSH | BPF_X) 2018-05-18 21:35:55 +02:00
ni net: nixge: Address compiler warnings about signedness 2018-05-07 23:30:03 -04:00
nuvoton
nvidia
nxp
oki-semi
packetengines
pasemi
qlogic qed: Fix LL2 race during connection terminate 2018-05-16 14:49:01 -04:00
qualcomm net: qcom/emac: Encapsulate sgmii ops under one structure 2018-05-16 14:33:27 -04:00
rdc
realtek Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-05-11 20:53:22 -04:00
renesas drivers: net: Remove device_node checks with of_mdiobus_register() 2018-05-16 14:20:36 -04:00
rocker rocker: Postpone filtering of !added_by_user FDB 2018-05-10 17:54:57 -04:00
samsung
seeq
sfc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-05-04 09:58:56 -04:00
sgi
silan
sis
smsc arch: remove obsolete architecture ports 2018-04-02 20:20:12 -07:00
socionext net: ethernet: ave: add support for phy-mode setting of system controller 2018-04-20 10:49:41 -04:00
stmicro net: stmmac: Remove useless test before clk_disable_unprepare 2018-05-16 14:43:54 -04:00
sun net: ethernet: sun: niu set correct packet size in skb 2018-05-04 13:20:46 -04:00
synopsys
tehuti
ti drivers: net: Remove device_node checks with of_mdiobus_register() 2018-05-16 14:20:36 -04:00
toshiba
tundra
via
wiznet
xilinx
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c net: ethoc: Remove useless test before clk_disable_unprepare 2018-05-16 14:44:29 -04:00
fealnx.c
jme.c
jme.h
Kconfig net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
korina.c
lantiq_etop.c
Makefile net: mscc: Add initial Ocelot switch support 2018-05-15 16:41:15 -04:00
netx-eth.c