From: Ruiqiang Hao <ruiqiang....@windriver.com> commit 8a25f2e93f16 ("octeontx2-pf: remove redundant invoking of otx2_sync_mbox_msg()") removed the correct function call by mistake, restore it.
Signed-off-by: Ruiqiang Hao <ruiqiang....@windriver.com> --- drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c index 514587665d84..8fddd37bd33f 100644 --- a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c +++ b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c @@ -806,6 +806,10 @@ int otx2_txsch_alloc(struct otx2_nic *pfvf) req->schq[NIX_TXSCH_LVL_TL4] = chan_cnt; } + rc = otx2_sync_mbox_msg(&pfvf->mbox); + if (rc) + return rc; + rsp = (struct nix_txsch_alloc_rsp *) otx2_mbox_get_rsp(&pfvf->mbox.mbox, 0, &req->hdr); if (IS_ERR(rsp)) -- 2.39.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13165): https://lists.yoctoproject.org/g/linux-yocto/message/13165 Mute This Topic: https://lists.yoctoproject.org/mt/101869740/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-