[PATCH v3] kni: fix possible alloc_q starvation when mbufs are exhausted

2022-12-29 Thread Yangchao Zhou
In some scenarios, mbufs returned by rte_kni_rx_burst are not freed immediately. So kni_allocate_mbufs may be failed, but we don't know. Even worse, when alloc_q is completely exhausted, kni_net_tx in rte_kni.ko will drop all tx packets. kni_allocate_mbufs is never called again, even if the mbufs

Re: Get started contributing to the DPDK

2022-12-29 Thread Stephen Hemminger
On Thu, 29 Dec 2022 09:44:13 -0800 Tyler Retzlaff wrote: > hi Raul, > > On Wed, Dec 28, 2022 at 10:40:45PM +, Raul Ferrando wrote: > > Dear DPDK team, > > > > My name is Raul and I recently discovered the DPDK project and I am very > > interested in contributing and becoming more involved.

Re: Get started contributing to the DPDK

2022-12-29 Thread Tyler Retzlaff
hi Raul, On Wed, Dec 28, 2022 at 10:40:45PM +, Raul Ferrando wrote: > Dear DPDK team, > > My name is Raul and I recently discovered the DPDK project and I am very > interested in contributing and becoming more involved. Can you please provide > some guidance on how to get started with my fi

RE: [PATCH v2] net/mlx5: add stub functions to null drv ops

2022-12-29 Thread Matan Azrad
From: Asaf Penso > There are several functions implementation that queries the drv type to > understand which fops function to use. > In case the type is DV, the function gets the concrete DV function and calls > it. > In case it’s not, the function returns an error. > > The current implementa