Revision b9162d20ed493bc0d5ea3016647d636628e1f9d5 authored by Jiangfeng Xiao on 09 July 2019, 03:31:09 UTC, committed by David S. Miller on 09 July 2019, 21:29:26 UTC
The buf unit size of HI13X1_GMAC is cache_line_size,
which is 64, so the address we write to the buf register
needs to be shifted right by 6 bits.

The 31st bit of the PPE_CFG_CPU_ADD_ADDR register
of HI13X1_GMAC indicates whether to release the buffer
of the message, and the low indicates that it is valid.

Signed-off-by: Jiangfeng Xiao <xiaojiangfeng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 06ddc0d
History
File Mode Size
.gitignore -rw-r--r-- 88 bytes
Kconfig -rw-r--r-- 14.1 KB
Makefile -rw-r--r-- 1016 bytes
adummy.c -rw-r--r-- 4.1 KB
ambassador.c -rw-r--r-- 65.1 KB
ambassador.h -rw-r--r-- 15.0 KB
atmtcp.c -rw-r--r-- 11.4 KB
eni.c -rw-r--r-- 61.4 KB
eni.h -rw-r--r-- 4.6 KB
firestream.c -rw-r--r-- 53.4 KB
firestream.h -rw-r--r-- 13.9 KB
fore200e.c -rw-r--r-- 83.6 KB
fore200e.h -rw-r--r-- 38.1 KB
he.c -rw-r--r-- 76.1 KB
he.h -rw-r--r-- 19.8 KB
horizon.c -rw-r--r-- 82.1 KB
horizon.h -rw-r--r-- 16.0 KB
idt77105.c -rw-r--r-- 11.3 KB
idt77105.h -rw-r--r-- 3.8 KB
idt77252.c -rw-r--r-- 89.5 KB
idt77252.h -rw-r--r-- 33.6 KB
idt77252_tables.h -rw-r--r-- 45.0 KB
iphase.c -rw-r--r-- 107.9 KB
iphase.h -rw-r--r-- 53.4 KB
lanai.c -rw-r--r-- 80.4 KB
midway.h -rw-r--r-- 7.6 KB
nicstar.c -rw-r--r-- 72.3 KB
nicstar.h -rw-r--r-- 22.9 KB
nicstarmac.c -rw-r--r-- 6.0 KB
nicstarmac.copyright -rw-r--r-- 2.7 KB
solos-attrlist.c -rw-r--r-- 2.3 KB
solos-pci.c -rw-r--r-- 38.9 KB
suni.c -rw-r--r-- 9.8 KB
suni.h -rw-r--r-- 9.8 KB
tonga.h -rw-r--r-- 733 bytes
uPD98401.h -rw-r--r-- 11.7 KB
uPD98402.c -rw-r--r-- 6.5 KB
uPD98402.h -rw-r--r-- 4.5 KB
zatm.c -rw-r--r-- 43.6 KB
zatm.h -rw-r--r-- 3.6 KB
zeprom.h -rw-r--r-- 983 bytes

back to top