diff options
author | Jiangfeng Xiao <xiaojiangfeng@huawei.com> | 2019-07-09 11:31:09 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-09 14:29:26 -0700 |
commit | b9162d20ed493bc0d5ea3016647d636628e1f9d5 (patch) | |
tree | 58833787af6f890a82143c2e6d42b3895caa1220 /tools/perf/scripts/python/syscall-counts.py | |
parent | 06ddc0d8d7fc43d872c3d1c9399050e40ddbec4d (diff) |
net: hisilicon: Offset buf address to adapt HI13X1_GMAC
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions