net/hns3: remove redundant mailbox response
authorHuisong Li <lihuisong@huawei.com>
Sat, 17 Apr 2021 09:54:55 +0000 (17:54 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 20 Apr 2021 00:40:43 +0000 (02:40 +0200)
commit17ff95283fa10c6f296e9008558555ead6d8a3a2
treeabec0c9252f67ac39ef1aafa1126f1be2b42a2e2
parentcb12e988f35fc75e5a4bbeb86059ffb2772757c5
net/hns3: remove redundant mailbox response

Some mbx messages do not need to reply with data. In this case,
it is no need to set the response data address and the response
length.

This patch removes these redundant codes from mbx messages that do
not need be replied.

Fixes: a5475d61fa34 ("net/hns3: support VF")
Cc: stable@dpdk.org
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_ethdev_vf.c