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
firmware_loader
power
regmap
test
Kconfig -rw-r--r-- 6.8 KB
Makefile -rw-r--r-- 955 bytes
arch_topology.c -rw-r--r-- 5.7 KB
attribute_container.c -rw-r--r-- 11.9 KB
base.h -rw-r--r-- 6.4 KB
bus.c -rw-r--r-- 30.8 KB
cacheinfo.c -rw-r--r-- 16.9 KB
class.c -rw-r--r-- 14.8 KB
component.c -rw-r--r-- 20.5 KB
container.c -rw-r--r-- 814 bytes
core.c -rw-r--r-- 87.3 KB
cpu.c -rw-r--r-- 14.3 KB
dd.c -rw-r--r-- 31.5 KB
devcon.c -rw-r--r-- 4.8 KB
devcoredump.c -rw-r--r-- 9.3 KB
devres.c -rw-r--r-- 27.7 KB
devtmpfs.c -rw-r--r-- 9.1 KB
driver.c -rw-r--r-- 5.8 KB
firmware.c -rw-r--r-- 606 bytes
hypervisor.c -rw-r--r-- 536 bytes
init.c -rw-r--r-- 768 bytes
isa.c -rw-r--r-- 3.8 KB
map.c -rw-r--r-- 3.3 KB
memory.c -rw-r--r-- 19.7 KB
module.c -rw-r--r-- 2.0 KB
node.c -rw-r--r-- 26.8 KB
pinctrl.c -rw-r--r-- 2.7 KB
platform-msi.c -rw-r--r-- 10.6 KB
platform.c -rw-r--r-- 37.5 KB
property.c -rw-r--r-- 35.0 KB
soc.c -rw-r--r-- 6.2 KB
swnode.c -rw-r--r-- 16.1 KB
syscore.c -rw-r--r-- 3.2 KB
topology.c -rw-r--r-- 3.2 KB
transport_class.c -rw-r--r-- 9.3 KB

back to top