net/hns3: fix secondary process request start/stop Rx/Tx
authorChengwen Feng <fengchengwen@huawei.com>
Mon, 10 May 2021 13:38:11 +0000 (21:38 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 11 May 2021 18:07:59 +0000 (20:07 +0200)
commitdb6a165adc460810555f56aa2a3ebf8284c4de62
tree3864c0570e740c778f1d11ecd6d7e0d65fe96678
parent34a9a44a3288506316d51b8f0b5a74b81a5db9ec
net/hns3: fix secondary process request start/stop Rx/Tx

This secondary process should not send request to start/stop Rx/Tx,
this patch fixes it.

Fixes: 23d4b61fee5d ("net/hns3: support multiple process")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_mp.c