diff options
author | 2019-07-09 11:31:09 +0800 | |
---|---|---|
committer | 2019-07-09 14:29:26 -0700 | |
commit | b9162d20ed493bc0d5ea3016647d636628e1f9d5 (patch) | |
tree | 58833787af6f890a82143c2e6d42b3895caa1220 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: hisilicon: Add group field to adapt HI13X1_GMAC (diff) | |
download | wireguard-linux-b9162d20ed493bc0d5ea3016647d636628e1f9d5.tar.xz wireguard-linux-b9162d20ed493bc0d5ea3016647d636628e1f9d5.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions