[dpdk-stable] [PATCH] net/mlx5: fix loopback for DV queue

Thomas Monjalon thomas at monjalon.net
Wed May 12 17:30:41 CEST 2021


12/05/2021 16:51, Bing Zhao:
> From: Thomas Monjalon <thomas at monjalon.net>
> > 12/05/2021 16:36, Bing Zhao:
> > > When switching to the Devx interface, the kernel driver behavior
> > may
> > 
> > What do you mean by "switching"?
> 
> I mean when changing the Rxq from Verbs API to Devx API.

How do we switch?

> > > be different from using Verbs. The Tx loopback cannot work
> > properly
> > > even if the Tx and Rx queues are configured with loopback
> > attribute.
> > > To support self loopback for Tx, a Verbs dummy queue pair needs to
> > be
> > > created to trigger the kernel to enable the loopback.
> > >
> > > This is only required when TIR is created for Rx and loopback is
> > > needed. Only CQ and QP are needed for this case, no WQ(RQ) needs
> > to be
> > > created.





More information about the stable mailing list