event/cnxk: fix base pointer for SSO head wait
authorVolodymyr Fialko <vfialko@marvell.com>
Fri, 25 Mar 2022 10:59:39 +0000 (11:59 +0100)
committerJerin Jacob <jerinj@marvell.com>
Tue, 17 May 2022 14:42:27 +0000 (16:42 +0200)
commit80bb303d3b7990d1cc088a445a5d9427229187ac
tree32b2c5a310cf4ce655dd88c88c3750595cf81b18
parentb450a990b07e008077377a6dfa45a562b3f9a496
event/cnxk: fix base pointer for SSO head wait

Function roc_sso_hws_head_wait() expects a base as input pointer, and it
will itself get tag_op from the base. By passing tag_op instead of base
pointer to this function will add SSOW_LF_GWS_TAG register offset twice,
which will lead to accessing wrong register.

Fixes: 1f5b3d55c041 ("event/cnxk: store and reuse workslot status")
Cc: stable@dpdk.org
Signed-off-by: Volodymyr Fialko <vfialko@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/crypto/cnxk/cn10k_cryptodev_ops.c
drivers/crypto/cnxk/cn10k_cryptodev_ops.h
drivers/crypto/cnxk/cn9k_cryptodev_ops.c
drivers/crypto/cnxk/cn9k_cryptodev_ops.h
drivers/event/cnxk/cn10k_worker.c
drivers/event/cnxk/cn9k_worker.c