linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3/hns3vf
Fuyun Liang ead5bd4d35 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: b11a0bb231 ("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>
2018-07-07 11:13:06 +09:00
..
hclgevf_cmd.c net: hns3: use dma_zalloc_coherent instead of kzalloc/dma_map_single 2018-07-02 22:49:14 +09:00
hclgevf_cmd.h net: hns3: increase the max time for IMP handle command 2018-03-22 13:12:02 -04:00
hclgevf_main.c net: hns3: modify hnae_ to hnae3_ 2018-07-02 22:49:14 +09:00
hclgevf_main.h net: hns3: Optimize the VF's process of updating multicast MAC 2018-06-01 14:23:58 -04:00
hclgevf_mbx.c net: hns3: Fix for mailbox message truncated problem 2018-07-07 11:13:06 +09:00
Makefile net: hns3: Add HNS3 VF driver to kernel build framework 2017-12-15 10:55:34 -05:00