[Patch v9 15/18] net/mana: send packets

Ferruh Yigit ferruh.yigit at amd.com
Tue Oct 4 19:49:31 CEST 2022


On 9/24/2022 3:45 AM, longli at linuxonhyperv.com wrote:

> 
> From: Long Li <longli at microsoft.com>
> 
> With all the TX queues created, MANA can send packets over those queues.
> 
> Signed-off-by: Long Li <longli at microsoft.com>
> ---
> Change log:
> v2: rename all camel cases.
> v7: return the correct number of packets sent
> v8:
> fix coding style to function definitions.
> change enum names to use capital letters.
> 
>   doc/guides/nics/features/mana.ini |   1 +
>   drivers/net/mana/mana.c           |   1 +
>   drivers/net/mana/mana.h           |  66 ++++++++
>   drivers/net/mana/mp.c             |   1 +
>   drivers/net/mana/tx.c             | 248 ++++++++++++++++++++++++++++++
>   5 files changed, 317 insertions(+)
> 
> diff --git a/doc/guides/nics/features/mana.ini b/doc/guides/nics/features/mana.ini
> index fdbf22d335..7922816d66 100644
> --- a/doc/guides/nics/features/mana.ini
> +++ b/doc/guides/nics/features/mana.ini
> @@ -4,6 +4,7 @@
>   ; Refer to default.ini for the full list of available PMD features.
>   ;
>   [Features]
> +Free Tx mbuf on demand = Y

Isn't this requires driver to implement 'tx_done_cleanup()' dev_ops, as 
far as I can see driver doesn't support this.



More information about the dev mailing list