DPDK patches and discussions
 help / color / mirror / Atom feed
From: Raslan Darawsheh <rasland@nvidia.com>
To: Alexander Kozyrev <akozyrev@nvidia.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: Slava Ovsiienko <viacheslavo@nvidia.com>, Matan Azrad <matan@nvidia.com>
Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: support Flow Tag and Packet Header miniCQEs
Date: Sun, 1 Nov 2020 23:56:45 +0000
Message-ID: <DM6PR12MB274823FDE503D209FC357754CF130@DM6PR12MB2748.namprd12.prod.outlook.com> (raw)
In-Reply-To: <20201101161435.10713-1-akozyrev@nvidia.com>

Hi,

> -----Original Message-----
> From: Alexander Kozyrev <akozyrev@nvidia.com>
> Sent: Sunday, November 1, 2020 6:15 PM
> To: dev@dpdk.org
> Cc: Raslan Darawsheh <rasland@nvidia.com>; Slava Ovsiienko
> <viacheslavo@nvidia.com>; Matan Azrad <matan@nvidia.com>
> Subject: [PATCH v2] net/mlx5: support Flow Tag and Packet Header miniCQEs
> 
> CQE compression allows us to save the PCI bandwidth and improve
> the performance by compressing several CQEs together to a miniCQE.
> But the miniCQE size is only 8 bytes and this limits the ability
> to successfully keep the compression session in case of various
> traffic patterns.
> 
> The current miniCQE format only keeps the compression session alive
> in case of uniform traffic with the Hash RSS as the only difference.
> There are requests to keep the compression session in case of tagged
> traffic by RTE Flow Mark Id and mixed UDP/TCP and IPv4/IPv6 traffic.
> Add 2 new miniCQE formats in order to achieve the best performance
> for these traffic patterns: Flow Tag and Packet Header miniCQEs.
> 
> The existing rxq_cqe_comp_en devarg is modified to specify the
> desired miniCQE format. Specifying 2 selects Flow Tag format
> for better compression rate in case of RTE Flow Mark traffic.
> Specifying 3 selects Checksum format (existing format for MPRQ).
> Specifying 4 selects L3/L4 Header format for better compression
> rate in case of mixed TCP/UDP and IPv4/IPv6 traffic.
> 
> Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
> ---
> v1:
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatc
> hwork.dpdk.org%2Fpatch%2F82500%2F&amp;data=04%7C01%7Crasland%40
> nvidia.com%7C396c0aafa96b4d3bd57808d87e813f93%7C43083d15727340c1b7
> db39efd9ccc17a%7C0%7C0%7C637398440875666226%7CUnknown%7CTWFpb
> GZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI
> 6Mn0%3D%7C1000&amp;sdata=DuD7YpUNTqLAqTrcRVaGSm%2F4F6gtWK1I
> q8Zh6lcvwtA%3D&amp;reserved=0
>     added ARM and PowerPC support, reworked x86 code
> ---
>  doc/guides/nics/mlx5.rst                 |   8 +
>  doc/guides/rel_notes/release_20_11.rst   |   2 +
>  drivers/common/mlx5/mlx5_devx_cmds.c     |   7 +-
>  drivers/common/mlx5/mlx5_devx_cmds.h     |   1 +
>  drivers/common/mlx5/mlx5_prm.h           |  27 ++-
>  drivers/net/mlx5/mlx5.c                  |   7 +
>  drivers/net/mlx5/mlx5.h                  |   1 +
>  drivers/net/mlx5/mlx5_devx.c             |  44 +++--
>  drivers/net/mlx5/mlx5_rxtx.c             | 151 +++++++++------
>  drivers/net/mlx5/mlx5_rxtx.h             |   2 +
>  drivers/net/mlx5/mlx5_rxtx_vec_altivec.h | 223
> ++++++++++++++++++++++-
>  drivers/net/mlx5/mlx5_rxtx_vec_neon.h    | 141 +++++++++++++-
>  drivers/net/mlx5/mlx5_rxtx_vec_sse.h     | 167 ++++++++++++++---
>  13 files changed, 675 insertions(+), 106 deletions(-)
> 

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

  reply	other threads:[~2020-11-01 23:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-01 16:14 Alexander Kozyrev
2020-11-01 23:56 ` Raslan Darawsheh [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-10-28  2:37 [dpdk-dev] [PATCH] " Alexander Kozyrev
2020-11-01 16:27 ` [dpdk-dev] [PATCH v2] " Alexander Kozyrev
2020-11-01 16:38   ` Slava Ovsiienko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM6PR12MB274823FDE503D209FC357754CF130@DM6PR12MB2748.namprd12.prod.outlook.com \
    --to=rasland@nvidia.com \
    --cc=akozyrev@nvidia.com \
    --cc=dev@dpdk.org \
    --cc=matan@nvidia.com \
    --cc=viacheslavo@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git