On 6/17/24 08:27, Chaoyong He wrote:
From: Xinying Yu <[email protected]>

The ctrl words of vDPA is located on the extended word, so it
should use the 'nfp_ext_reconfig()' rather than 'nfp_reconfig()'.

Also replace the misuse of 'NFP_NET_CFG_CTRL_SCATTER' macro
with 'NFP_NET_CFG_CTRL_VIRTIO'.

Fixes: b47a0373903f ("vdpa/nfp: add datapath update")
Cc: [email protected]
Cc: [email protected]

Signed-off-by: Xinying Yu <[email protected]>
Reviewed-by: Chaoyong He <[email protected]>
Reviewed-by: Long Wu <[email protected]>
Reviewed-by: Peng Zhang <[email protected]>
---
  drivers/common/nfp/nfp_common_ctrl.h |  1 +
  drivers/vdpa/nfp/nfp_vdpa_core.c     | 16 ++++++++++++----
  2 files changed, 13 insertions(+), 4 deletions(-)

Reviewed-by: Maxime Coquelin <[email protected]>

Thanks,
Maxime

Reply via email to