linux_dsm_epyc7002/drivers/net/ethernet
Scott Feldman c4f20321d9 rocker: support prepare-commit transaction model
For rocker, support prepare-commit transaction model for setting attributes
(and for adding objects).  This requires rocker to preallocate memory
needed for the commit up front in the prepare phase.  Since rtnl_lock is
held between prepare-commit, store the allocated memory on a queue hanging
off of the rocker_port.  Also, in prepare phase, do everything right up to
calling into HW.  The same code paths are tranversed in the driver for both
prepare and commit phases.  In some cases, any state modified in the
prepare phase must be reverted before returning so the commit phase makes
the same decisions.

As a consequence of holding rtnl_lock in process context for all attr sets
(and obj adds), all memory is GFP_KERNEL allocated and we don't need to
busy spin waiting for the device to complete the command.  So the bulk of
this patch is simplifying the memory allocations to only use GFP_KERNEL and
to remove the nowait flag and busy spin loop.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-05-12 18:43:53 -04:00
..
3com
8390 net:treewide: Fix typo in drivers/net 2015-04-27 13:40:53 -04:00
adaptec
adi
aeroflex
agere
allwinner
alteon
altera altera_tse: Correct rx packet length 2015-04-29 15:19:34 -04:00
amd ethernet: amd: AMD_XGBE should depend on HAS_DMA 2015-04-23 14:09:58 -04:00
apm drivers: net: xgene: fix kbuild warnings 2015-04-30 22:30:07 -04:00
apple powerpc updates for 4.1 2015-04-16 13:53:32 -05:00
arc ethernet: arc: ARC_EMAC and EMAC_ROCKCHIP should depend on HAS_DMA 2015-04-23 14:09:58 -04:00
atheros trivial: net: atl1e: atl1e_hw.h: fix 0x0x prefix 2015-04-29 14:56:39 -04:00
broadcom bnx2x, tg3: Replace put_page(virt_to_head_page()) with skb_free_frag() 2015-05-12 10:39:27 -04:00
brocade
cadence net: macb: Add change_mtu callback with jumbo support 2015-05-09 17:41:54 -04:00
calxeda
chelsio cxgb4: Initialize RSS mode for all Ports 2015-05-09 16:33:10 -04:00
cirrus
cisco
davicom
dec
dlink
emulex be2net: update the driver version to 10.6.0.2 2015-05-09 16:27:04 -04:00
faraday
freescale net: fec: add support of ethtool get_regs 2015-05-11 14:09:36 -04:00
fujitsu
hisilicon hisilicon: Replace put_page(virt_to_head_page()) with skb_free_frag() 2015-05-12 10:39:27 -04:00
hp
i825xx
ibm ibmveth: Add support for Large Receive Offload 2015-04-30 16:33:46 -04:00
icplus
intel e1000: Replace e1000_free_frag with skb_free_frag 2015-05-12 10:39:27 -04:00
marvell mvneta: Replace put_page(virt_to_head_page(ptr)) w/ skb_free_frag 2015-05-12 10:39:27 -04:00
mellanox net/mlx4_en: Schedule napi when RX buffers allocation fails 2015-04-30 16:47:50 -04:00
micrel
microchip
moxa
myricom ethernet: myri10ge: use arch_phys_wc_add() 2015-04-23 14:28:14 -04:00
natsemi
neterion
nuvoton
nvidia
nxp
octeon
oki-semi
packetengines
pasemi
qlogic netxen_nic: use spin_[un]lock_bh around tx_clean_lock 2015-04-30 16:37:29 -04:00
qualcomm ethernet: qualcomm: use spi instead of spi_device 2015-05-10 17:52:54 -04:00
rdc
realtek
renesas
rocker rocker: support prepare-commit transaction model 2015-05-12 18:43:53 -04:00
samsung
seeq
sfc sfc: Bind the sfc driver to any available VF's 2015-05-09 16:16:48 -04:00
sgi
silan
sis
smsc
stmicro stmmac: Configure Flow Control to work correctly based on rxfifo size 2015-04-16 13:58:42 -04:00
sun
tehuti
ti netcp: Replace put_page(virt_to_head_page(ptr)) w/ skb_free_frag 2015-05-12 10:39:26 -04:00
tile This is the final removal (after several years!) of the obsolete cpus_* 2015-04-20 10:19:03 -07:00
toshiba
tundra
via via-rhine: close SMP transmit races. 2015-05-04 00:18:27 -04:00
wiznet
xilinx net: ll_temac: Use one return statement instead of two 2015-05-11 14:16:18 -04:00
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
netx-eth.c