net: hns3: fix wrong size of mailbox responding data
authorZhongzhu Liu <liuzhongzhu@huawei.com>
Fri, 7 Jun 2019 02:03:03 +0000 (10:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Jun 2019 20:20:58 +0000 (13:20 -0700)
commitf5d20e396abf7f8b665b05bf906079084426681a
tree8a1685f9ea2a67a1491b1e963471ed5b13d92b62
parent238882c8e034f40fbaa14c7ace36f3ed8e8bfad4
net: hns3: fix wrong size of mailbox responding data

According to user manual, the maximum size of mailbox responding
data is 8 bytes, the macro HCLGE_MBX_MAX_RESP_DATA_SIZE
should be defined as 8 instead of 16.

Fixes: 9194d18b0577 ("net: hns3: fix the problem that the supported port is empty")
Signed-off-by: Zhongzhu Liu <liuzhongzhu@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h