[PATCH v3] net/mlx5: add test for live migration

Rongwei Liu rongweil at nvidia.com
Mon Oct 16 10:25:30 CEST 2023


HI

BR
Rongwei

> -----Original Message-----
> From: Thomas Monjalon <thomas at monjalon.net>
> Sent: Monday, October 16, 2023 16:20
> To: Rongwei Liu <rongweil at nvidia.com>
> Cc: dev at dpdk.org; Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Ori Kam <orika at nvidia.com>; Suanming Mou
> <suanmingm at nvidia.com>; Raslan Darawsheh <rasland at nvidia.com>
> Subject: Re: [PATCH v3] net/mlx5: add test for live migration
> 
> External email: Use caution opening links or attachments
> 
> 
> 19/09/2023 10:12, Rongwei Liu:
> > This patch adds testpmd app a runtime function to test the live
> > migration API.
> >
> >     testpmd> mlx5 set flow_engine <active|standby> [<flag>] Flag is
> > optional.
> >
> > Signed-off-by: Rongwei Liu <rongweil at nvidia.com>
> > Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> > Acked-by: Ori Kam <orika at nvidia.com>
> [...]
> > +Set Flow Engine Mode
> > +~~~~~~~~~~~~~~~~~~~~
> > +
> > +Set the flow engine to active(0) or standby(1) mode with specific flags::
> 
> Need space before brackets.
> 
Sure.
> > +
> > +.. code-block:: console
> > +
> > +   testpmd> mlx5 set flow_engine <active|standby> [<flags>]
> 
> What are the flags?
> 
The flag is optional and defined a as bitmap.
For now, only one value is accepted: BIT(0). 
I don't have any idea to propagate the value definition list here. Any suggestions?
> > +
> > +This command is used for testing live migration and works for
> > +software steering only.
> > +Default FDB jump should be disabled if switchdev is enabled.
> > +The mode will propagate to all the probed ports.
> 
> Looks OK.
> 



More information about the dev mailing list