mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 02:06:49 +07:00
286a837217
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> |
||
---|---|---|
.. | ||
3com | ||
8390 | ||
adaptec | ||
adi | ||
aeroflex | ||
alteon | ||
amd | ||
apple | ||
atheros | ||
broadcom | ||
brocade | ||
cadence | ||
chelsio | ||
cirrus | ||
cisco | ||
davicom | ||
dec | ||
dlink | ||
emulex | ||
faraday | ||
freescale | ||
fujitsu | ||
hp | ||
i825xx | ||
ibm | ||
icplus | ||
intel | ||
marvell | ||
mellanox | ||
micrel | ||
microchip | ||
myricom | ||
natsemi | ||
neterion | ||
nuvoton | ||
nvidia | ||
octeon | ||
oki-semi | ||
packetengines | ||
pasemi | ||
qlogic | ||
racal | ||
rdc | ||
realtek | ||
renesas | ||
seeq | ||
sfc | ||
sgi | ||
sis | ||
smsc | ||
stmicro | ||
sun | ||
tehuti | ||
ti | ||
tile | ||
toshiba | ||
tundra | ||
via | ||
xilinx | ||
xircom | ||
xscale | ||
dnet.c | ||
dnet.h | ||
ethoc.c | ||
fealnx.c | ||
jme.c | ||
jme.h | ||
Kconfig | ||
korina.c | ||
lantiq_etop.c | ||
Makefile | ||
mipsnet.c | ||
netx-eth.c | ||
s6gmac.c |