net: hns3: Cleanup for struct that used to send cmd to firmware
authorYunsheng Lin <linyunsheng@huawei.com>
Mon, 9 Oct 2017 07:43:59 +0000 (15:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Oct 2017 16:46:54 +0000 (09:46 -0700)
commitd44f9b631fbc137b1b16a22318ceb136f934db48
tree0b16474c9e26970b85c3022ba5cb2028ec1c19e9
parent5392902d332b85a93e3be2755f7f6df183e5cafc
net: hns3: Cleanup for struct that used to send cmd to firmware

The hclge_tm module has already added _cmd to the end of struct
that used to send cmd to firmware. This will help us finding the
endian issues.
This patch adds the _cmd to the end of struct that used to send
cmd to firmware in hclge_main module.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c