Netdev List
 help / color / mirror / Atom feed
From: Saeed Mahameed <saeedm@mellanox.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org, Or Gerlitz <ogerlitz@mellanox.com>,
	Eran Ben Elisha <eranbe@mellanox.com>,
	Tal Alon <talal@mellanox.com>, Tariq Toukan <tariqt@mellanox.com>,
	Jesper Dangaard Brouer <brouer@redhat.com>,
	Saeed Mahameed <saeedm@mellanox.com>
Subject: [PATCH net-next V1 00/13] Mellanox 100G mlx5 driver receive path optimizations
Date: Wed, 16 Mar 2016 08:41:08 +0200	[thread overview]
Message-ID: <1458110481-18080-1-git-send-email-saeedm@mellanox.com> (raw)

Hello Dave,

Changes from V0:
	- Fixed a typo in commit message reported by Sergei
	- Align SKB fragments truesize to stride size
	- Use skb_add_rx_frag and remove the use of SKB_TRUESIZE
	- Fix: # MTTs alignment on Power PC
	- Fix: Free original (unaligned) pointer of MTT array
	- Use dev_alloc_pages and dev_alloc_page
	- Extend the stats.buff_alloc_err counter
	- Reform the copying of packet header into skb linear data
	- Add compiler hints for conditional statements
	- Prefetch skd->data prior to copying packet header into it
	- Rework: mlx5e_complete_rx_fragmented_mpwqe
	- Handle SKB fragments before linear data
	- Dropped ("net/mlx5e: Prefetch next RX CQE") for now 
	- Added a small patch that Adds ConnectX-5 devices to the list of supported devices
	- Rebased to 1cdba5505555 ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next")

This series includes Some RX modifications and optimizations for
the mlx5 Ethernet driver. 

>From Rana, we have one patch that adds the support for Connectx-4
queue counters.

>From Tariq, several patches that are centralized around improving
RX path message rate, CPU and Memory utilization, in each patch
commit message you will find the performance improvements numbers
related to that specific patch.

In the 3rd patch we used a queue counter to report "out of buffer" 
dropped packet count, "Dropped packets due to lack of software resources"

4th patch modifies the driver's to RSS default value to be spread along the
close NUMA node cores only for better out of the box experience.

In the 5th and 6th patches we utilized the use of RX multi-packet WQE
(Striding RQ) for better memory utilization especially in case of hardware
LRO is enabled and for better message rate for small packets.

In the 7th and 8th patches we added a fallback mechanism to use fragmented
memory when allocating large WQE strides fails, using UMR
(User Memory Registration) and ICO (Internal Control Operations) SQs.

In 9th patch To reduce the interrupt count we change the RX moderation
period to be based on the last generated CQE rather than the last generated
interrupt.

In the 10th to 13th patches we did some small modification which show some small
extra improvements.

Note: The patch from Matan "net/mlx5: Refactor mlx5_core_mr to mkey"
included in this series is already submitted and applied into Doug Ledford's 
rdma tree a606b0f6691d ("net/mlx5: Refactor mlx5_core_mr to mkey").

Thanks,
Saeed

Majd Dibbiny (1):
  net/mlx5_core: Add ConnectX-5 to list of supported devices

Matan Barak (1):
  net/mlx5: Refactor mlx5_core_mr to mkey

Rana Shahout (1):
  net/mlx5e: Allocate set of queue counters per netdev

Tariq Toukan (10):
  net/mlx5: Introduce device queue counters
  net/mlx5e: Use only close NUMA node for default RSS
  net/mlx5e: Use function pointers for RX data path handling
  net/mlx5e: Support RX multi-packet WQE (Striding RQ)
  net/mlx5e: Added ICO SQs
  net/mlx5e: Add fragmented memory support for RX multi packet WQE
  net/mlx5e: Change RX moderation period to be based on CQE
  net/mlx5e: Use napi_alloc_skb for RX SKB allocations
  net/mlx5e: Remove redundant barrier
  net/mlx5e: Add ethtool counter for RX buffer allocation failures

 drivers/infiniband/hw/mlx5/cq.c                    |   16 +-
 drivers/infiniband/hw/mlx5/mlx5_ib.h               |    6 +-
 drivers/infiniband/hw/mlx5/mr.c                    |   50 +-
 drivers/infiniband/hw/mlx5/odp.c                   |   10 +-
 drivers/net/ethernet/mellanox/mlx5/core/en.h       |  197 +++++++-
 .../net/ethernet/mellanox/mlx5/core/en_ethtool.c   |   28 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c  |  386 +++++++++++++---
 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c    |  496 ++++++++++++++++++--
 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c    |    6 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c  |   59 +++-
 drivers/net/ethernet/mellanox/mlx5/core/main.c     |    8 +-
 drivers/net/ethernet/mellanox/mlx5/core/mr.c       |   54 ++-
 drivers/net/ethernet/mellanox/mlx5/core/qp.c       |   68 +++
 include/linux/mlx5/device.h                        |   39 ++-
 include/linux/mlx5/driver.h                        |   24 +-
 include/linux/mlx5/mlx5_ifc.h                      |   32 +-
 include/linux/mlx5/qp.h                            |   10 +-
 17 files changed, 1265 insertions(+), 224 deletions(-)

             reply	other threads:[~2016-03-16  6:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-16  6:41 Saeed Mahameed [this message]
2016-03-16  6:41 ` [PATCH net-next V1 01/13] net/mlx5: Refactor mlx5_core_mr to mkey Saeed Mahameed
2016-03-16  6:41 ` [PATCH net-next V1 02/13] net/mlx5: Introduce device queue counters Saeed Mahameed
2016-03-16  6:41 ` [PATCH net-next V1 03/13] net/mlx5e: Allocate set of queue counters per netdev Saeed Mahameed
2016-03-16  6:41 ` [PATCH net-next V1 04/13] net/mlx5e: Use only close NUMA node for default RSS Saeed Mahameed
2016-03-16  6:41 ` [PATCH net-next V1 05/13] net/mlx5e: Use function pointers for RX data path handling Saeed Mahameed
2016-03-16  6:41 ` [PATCH net-next V1 06/13] net/mlx5e: Support RX multi-packet WQE (Striding RQ) Saeed Mahameed
2016-03-16  6:41 ` [PATCH net-next V1 07/13] net/mlx5e: Added ICO SQs Saeed Mahameed
2016-03-16  6:41 ` [PATCH net-next V1 08/13] net/mlx5e: Add fragmented memory support for RX multi packet WQE Saeed Mahameed
2016-03-16  6:41 ` [PATCH net-next V1 09/13] net/mlx5e: Change RX moderation period to be based on CQE Saeed Mahameed
2016-03-16  6:41 ` [PATCH net-next V1 10/13] net/mlx5e: Use napi_alloc_skb for RX SKB allocations Saeed Mahameed
2016-03-16  6:41 ` [PATCH net-next V1 11/13] net/mlx5e: Remove redundant barrier Saeed Mahameed
2016-03-16  6:41 ` [PATCH net-next V1 12/13] net/mlx5e: Add ethtool counter for RX buffer allocation failures Saeed Mahameed
2016-03-16  6:41 ` [PATCH net-next V1 13/13] net/mlx5_core: Add ConnectX-5 to list of supported devices Saeed Mahameed
2016-03-16 17:04 ` [PATCH net-next V1 00/13] Mellanox 100G mlx5 driver receive path optimizations Saeed Mahameed
2016-03-16 22:05 ` David Miller

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=1458110481-18080-1-git-send-email-saeedm@mellanox.com \
    --to=saeedm@mellanox.com \
    --cc=brouer@redhat.com \
    --cc=davem@davemloft.net \
    --cc=eranbe@mellanox.com \
    --cc=netdev@vger.kernel.org \
    --cc=ogerlitz@mellanox.com \
    --cc=talal@mellanox.com \
    --cc=tariqt@mellanox.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
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