Re: [dpdk-dev] [PATCH 26/29] net/ena: reuse 0 length Rx descriptor

2020-03-31 Thread Michał Krawczyk
pt., 27 mar 2020 o 12:30 Andrew Rybchenko napisał(a): > > On 3/27/20 1:18 PM, Michal Krawczyk wrote: > > Some ENA devices can pass to the driver descriptor with length 0. To > > avoid extra allocation, the descriptor can be reused by simply putting > > it back to the device. > > > > Signed-off-by:

Re: [dpdk-dev] [PATCH 26/29] net/ena: reuse 0 length Rx descriptor

2020-03-27 Thread Andrew Rybchenko
On 3/27/20 1:18 PM, Michal Krawczyk wrote: > Some ENA devices can pass to the driver descriptor with length 0. To > avoid extra allocation, the descriptor can be reused by simply putting > it back to the device. > > Signed-off-by: Michal Krawczyk > Reviewed-by: Igor Chauskin > Reviewed-by: Guy T

[dpdk-dev] [PATCH 26/29] net/ena: reuse 0 length Rx descriptor

2020-03-27 Thread Michal Krawczyk
Some ENA devices can pass to the driver descriptor with length 0. To avoid extra allocation, the descriptor can be reused by simply putting it back to the device. Signed-off-by: Michal Krawczyk Reviewed-by: Igor Chauskin Reviewed-by: Guy Tzalik --- drivers/net/ena/ena_ethdev.c | 74 +++