DPDK patches and discussions
 help / color / mirror / Atom feed
From: Alexander Kozyrev <akozyrev@nvidia.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] [RFC] net/mlx5: Flow mark ID and L3/L4 header CQE compression
Date: Fri, 4 Sep 2020 22:09:57 +0000	[thread overview]
Message-ID: <BN7PR12MB270736E884E19ACE23C9DEA5AF2D0@BN7PR12MB2707.namprd12.prod.outlook.com> (raw)

CQE compression reduces PCI bandwidth usage by coalescing and compressing
multiple CQEs into a single zipped CQE. This improves Rx message rate,
especially for small packet traffic.

CQEs must be almost identical to be successfully merged and compressed
together. All the shared data is contained in the Title Compression block,
while the packet size, for example, may differ and stored in the each
compressed CQE independently.

CQE compression doesn't tolerate any other differences except the packet
size and the Checksum/Hash and falls back to the regular CQE scheme in all
other cases.

There is a proposal to include more fields into the CQE compression format
to achieve a better performance in the following scenarios:
1. Different RTE Flow marks associated with Rx traffic.
Having the mark ID as part of the mini-CQE structure allows us to keep
the CQE compression uninterrupted for multiple different RTE flows with
different mark IDs.
2. Mixed TCP/UDP and IPv4/IPv6 traffic.
Adding L3/L4 header type to the mini-CQE format helps with the performance
of the mixed traffic of various TCP/UDP headers and coexistence of IPv4
and IPv6 protocols in one compression session.

                 reply	other threads:[~2020-09-04 22:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

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

  git send-email \
    --in-reply-to=BN7PR12MB270736E884E19ACE23C9DEA5AF2D0@BN7PR12MB2707.namprd12.prod.outlook.com \
    --to=akozyrev@nvidia.com \
    --cc=dev@dpdk.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).