mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 14:45:11 +07:00
ead5bd4d35
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:
|
||
---|---|---|
.. | ||
hclgevf_cmd.c | ||
hclgevf_cmd.h | ||
hclgevf_main.c | ||
hclgevf_main.h | ||
hclgevf_mbx.c | ||
Makefile |