[PATCH v3 08/11] vdpa/nfp: recover the ring index on new host

Maxime Coquelin maxime.coquelin at redhat.com
Tue Jun 18 10:20:09 CEST 2024



On 6/17/24 08:27, Chaoyong He wrote:
> From: Xinying Yu <xinying.yu at corigine.com>
> 
> After migrating to new host, the vring information is
> recovered by the value in offset 'NFP_NET_CFG_TX_USED_INDEX'
> and 'NFP_NET_CFG_RX_USED_INDEX'.
> 
> Signed-off-by: Xinying Yu <xinying.yu at corigine.com>
> Reviewed-by: Chaoyong He <chaoyong.he at corigine.com>
> Reviewed-by: Long Wu <long.wu at corigine.com>
> Reviewed-by: Peng Zhang <peng.zhang at corigine.com>
> ---
>   drivers/common/nfp/nfp_common_ctrl.h |  7 +++++--
>   drivers/vdpa/nfp/nfp_vdpa_core.c     | 13 +++++++++++++
>   2 files changed, 18 insertions(+), 2 deletions(-)
> 
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list