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

Maxime Coquelin maxime.coquelin at redhat.com
Thu Jun 13 14:00:08 CEST 2024



On 4/26/24 09:48, Chaoyong He wrote:
> From: Xinying Yu <xinying.yu at corigine.com>
> 
> After migrate to new host, the vring information was

migrating*

is recovered*

> 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