net/hns3: fix some incomplete command structures
authorHuisong Li <lihuisong@huawei.com>
Tue, 25 Aug 2020 11:53:05 +0000 (19:53 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:07 +0000 (18:55 +0200)
commite2a8cae024a5de4d08bc79dead9528e9ce6836c5
treebdd156f6cb6aedf3930e2d08876dd09fb7065101
parent6c507191d12f2071625b70b220d3f4ffb4e34132
net/hns3: fix some incomplete command structures

The descriptor of the command between firmware and driver consists of
8-byte header and 24-byte data field. The contents sent to firmware are
packaged into a command structure as the data field of command
descriptor.

There are some command structures in hns3_dcb.h file that are less than
24 byte. So this patch fixes these incomplete command structures.

Fixes: 62e3ccc2b94c ("net/hns3: support flow control")
Cc: stable@dpdk.org
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
drivers/net/hns3/hns3_dcb.h