[PATCH AUTOSEL 4.18 007/136] net: hns3: Fix for mailbox message truncated problem

2018-09-16 Thread Sasha Levin
From: Fuyun Liang [ Upstream commit ead5bd4d35c0a14d5ce1474177718c678dff5205 ] 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

[PATCH AUTOSEL 4.18 007/136] net: hns3: Fix for mailbox message truncated problem

2018-09-16 Thread Sasha Levin
From: Fuyun Liang [ Upstream commit ead5bd4d35c0a14d5ce1474177718c678dff5205 ] 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