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
Kconfig -rw-r--r-- 232 bytes
Makefile -rw-r--r-- 243 bytes
atioctl.h -rw-r--r-- 31.0 KB
atvda.h -rw-r--r-- 34.5 KB
esas2r.h -rw-r--r-- 43.3 KB
esas2r_disc.c -rw-r--r-- 28.6 KB
esas2r_flash.c -rw-r--r-- 38.1 KB
esas2r_init.c -rw-r--r-- 45.3 KB
esas2r_int.c -rw-r--r-- 24.1 KB
esas2r_io.c -rw-r--r-- 23.1 KB
esas2r_ioctl.c -rw-r--r-- 50.7 KB
esas2r_log.c -rw-r--r-- 7.5 KB
esas2r_log.h -rw-r--r-- 4.3 KB
esas2r_main.c -rw-r--r-- 46.2 KB
esas2r_targdb.c -rw-r--r-- 7.4 KB
esas2r_vda.c -rw-r--r-- 13.5 KB

back to top