[dpdk-dev] [PATCH v2 0/4] net/mlx5: remove Tx descriptor reserved field usage
Raslan Darawsheh
rasland at mellanox.com
Thu Jan 9 15:22:10 CET 2020
Hi,
Series applied on next-net-mlx,
Kindest regards,
Raslan Darawsheh
> -----Original Message-----
> From: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
> Sent: Thursday, January 9, 2020 12:56 PM
> To: dev at dpdk.org
> Cc: Matan Azrad <matan at mellanox.com>; Raslan Darawsheh
> <rasland at mellanox.com>; Ori Kam <orika at mellanox.com>
> Subject: [PATCH v2 0/4] net/mlx5: remove Tx descriptor reserved field usage
>
> The current Tx datapath implementation in mlx5 PMD uses the 16-bit
> reserved field within transmit descriptor to store the indices of the elts array
> keeping the mbuf pointers to be freed on transmit completion. On
> completion PMD fetches the descriptor index, then fetches the elts array
> index from reserved field and frees the mbufs.
>
> The new ConnectX-6DX NIC might use this reserved descriptor field and
> existing implementation might not work in intended way.
> To resolve this issue the dedicated buffer is introduced to store indices to
> instead of descriptor field.
>
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
>
> Viacheslav Ovsiienko (4):
> net/mlx5: move Tx complete request routine
> net/mlx5: update Tx error handling routine
> net/mlx5: add free on completion queue
> net/mlx5: engage free on completion queue
>
> drivers/net/mlx5/mlx5_rxtx.c | 153 ++++++++++++++++++++-----------------
> ------
> drivers/net/mlx5/mlx5_rxtx.h | 13 ++-- drivers/net/mlx5/mlx5_txq.c | 19
> +++++-
> 3 files changed, 94 insertions(+), 91 deletions(-)
>
> --
> v1:
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch
> es.dpdk.org%2Fcover%2F64293%2F&data=02%7C01%7Crasland%40mell
> anox.com%7C56986b5d3d3c46f2725b08d794f297e6%7Ca652971c7d2e4d9ba6
> a4d149256f461b%7C0%7C0%7C637141641963098885&sdata=RP4VgjCQlp
> oJc5J38aajK9Rr8twtJ4d%2FSVP2JxM5C98%3D&reserved=0
> v2: resolve minor compilation per patch issues
>
> 1.8.3.1
More information about the dev
mailing list