linux_dsm_epyc7002/drivers/net/ethernet
Giuseppe CAVALLARO 286a837217 stmmac: add CHAINED descriptor mode support (V4)
This patch enhances the STMMAC driver to support CHAINED mode of
descriptor.

STMMAC supports DMA descriptor to operate both in dual buffer(RING)
and linked-list(CHAINED) mode. In RING mode (default) each descriptor
points to two data buffer pointers whereas in CHAINED mode they point
to only one data buffer pointer.

In CHAINED mode each descriptor will have pointer to next descriptor in
the list, hence creating the explicit chaining in the descriptor itself,
whereas such explicit chaining is not possible in RING mode.

First version of this work has been done by Rayagond.
Then the patch has been reworked avoiding ifdef inside the C code.
A new header file has been added to define all the functions needed for
managing enhanced and normal descriptors.
In fact, these have to be specialized according to the ring/chain usage.
Two new C files have been also added to implement the helper routines
needed to manage: jumbo frames, chain and ring setup (i.e. desc3).

Signed-off-by: Rayagond Kokatanur <rayagond@vayavyalabs.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-10-19 19:24:18 -04:00
..
3com net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
8390
adaptec net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
adi
aeroflex net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
alteon net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
amd
apple cs89x0: Move the driver into the Cirrus dir 2011-10-18 23:41:43 -04:00
atheros net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
broadcom net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
brocade net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
cadence
chelsio net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
cirrus cs89x0: Move the driver into the Cirrus dir 2011-10-18 23:41:43 -04:00
cisco net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
davicom
dec
dlink
emulex net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
faraday ftmac100: fix skb truesize underestimation 2011-10-13 22:28:29 -04:00
freescale
fujitsu
hp
i825xx
ibm net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
icplus
intel net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
marvell net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
mellanox mlx4_en: Updating driver version 2011-10-19 03:42:27 -04:00
micrel net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
microchip
myricom net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
natsemi net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
neterion net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
nuvoton
nvidia net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
octeon
oki-semi net: Remove unnecessary driver assignments of ethtool_ringparam fields to zero 2011-10-07 19:13:28 -04:00
packetengines
pasemi net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
qlogic net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
racal
rdc r6040: bump version to 0.28 and date to 07Oct2011. 2011-10-09 23:50:59 -04:00
realtek net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
renesas
seeq
sfc net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
sgi
sis
smsc
stmicro stmmac: add CHAINED descriptor mode support (V4) 2011-10-19 19:24:18 -04:00
sun net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
tehuti net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
ti
tile net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
toshiba
tundra net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
via net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
xilinx net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
xircom
xscale
dnet.c
dnet.h
ethoc.c
fealnx.c
jme.c net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
mipsnet.c
netx-eth.c
s6gmac.c