Re: [PATCH 1/2] app/testpmd: add test for remote PD and CTX

2022-03-08 Thread Thomas Monjalon
07/03/2022 17:07, Michael Baum: > On 3/3/2022 2:57 PM, Ferruh Yigit wrote: > > Hi Michael, > > > > This is too much mlx5 specific addition, and I don't think it is good to > > extend > > testpmd with PMD specific code. > > If we enable it, sure there will be other vendors willing to do the same,

RE: [PATCH 1/2] app/testpmd: add test for remote PD and CTX

2022-03-07 Thread Michael Baum
On 3/3/2022 2:57 PM, Ferruh Yigit wrote: > On 3/1/2022 8:26 PM, Michael Baum wrote: > > Add mlx5 internal option in testpmd run-time function "port attach" to > > add another parameter named "mlx5_socket" for attaching port and add 2 > > devargs before. > > > > The arguments are "cmd_fd" and "pd_

Re: [PATCH 1/2] app/testpmd: add test for remote PD and CTX

2022-03-03 Thread Ferruh Yigit
On 3/1/2022 8:26 PM, Michael Baum wrote: Add mlx5 internal option in testpmd run-time function "port attach" to add another parameter named "mlx5_socket" for attaching port and add 2 devargs before. The arguments are "cmd_fd" and "pd_handle" using to import device created out of PMD. Testpmd app