diff options
| author | Fuyun Liang <liangfuyun1@huawei.com> | 2018-07-06 13:27:59 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-07-07 05:13:06 +0300 |
| commit | ead5bd4d35c0a14d5ce1474177718c678dff5205 (patch) | |
| tree | ef50f70b2eb62fb6e0d989cf1ae5fc9d091a0791 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 5c8971979a10783150e1011ece685333bbec5759 (diff) | |
| download | linux-ead5bd4d35c0a14d5ce1474177718c678dff5205.tar.xz | |
net: hns3: Fix for mailbox message truncated problem
The payload of mailbox message is 16 byte and the value of
HCLGE_MBX_MAX_ARQ_MSG_SIZE is 8. A message truncated problem will
happen when mailbox message is converted to ARQ message. This patch
replaces HCLGE_MBX_MAX_ARQ_MSG_SIZE with the size of ARQ message in
hclgevf_mbx_handler to fix this problem.
Fixes: b11a0bb231f3 ("net: hns3: Add mailbox support to VF driver")
Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
