netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Or Gerlitz <ogerlitz@mellanox.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org, Amir Vadai <amirv@mellanox.com>,
	Tal Alon <talal@mellanox.com>,
	Hadar Har-Zion <hadarh@mellanox.com>,
	Eran Ben Elisha <eranbe@mellanox.com>,
	Or Gerlitz <ogerlitz@mellanox.com>
Subject: [PATCH net-next V1 00/13] mlx4 driver update (+ new VF ndo)
Date: Mon, 15 Jun 2015 17:58:55 +0300	[thread overview]
Message-ID: <1434380348-19005-1-git-send-email-ogerlitz@mellanox.com> (raw)

Hi Dave,

This series from Eran and Hadar is further dealing with traffic 
counters in the mlx4 driver, this time mostly around SRIOV.

We added a new ndo to read the VF counters through the PF netdev 
netlink infrastructure plus mlx4 implementation for that ndo.

Or.

changes from V0:
  - applied feedback from John to use nested netlink encoding
    for the VF counters so we can extend it later
  - add handling of single ported VFs in the mlx4_en driver new ndo
  - avoid chopping the FW counters from 64 to 32 bits in mlx4_en PF flow

Eran Ben Elisha (13):
  net/mlx4_core: Check before cleaning counters bitmap
  net/mlx4_core: Reset counters data when freed
  net/mlx4_core: Add sink counter
  net/mlx4_core: Remove counters table allocation from VF flow
  net/mlx4_core: Adjust counter grant policy in the resource tracker
  net/mlx4_core: Add port attribute when tracking counters
  net/mlx4_core: Allocate default counter per port
  IB/mlx4: Add RoCE/IB dedicated counters
  IB/mlx4: Set VF to read from QP counters
  net/mlx4_core: Add helper to query counters
  net/mlx4_en: Show PF own statistics via ethtool
  net/core: Add reading VF statistics through the PF netdevice
  net/mlx4_en: Support ndo_get_vf_stats

 drivers/infiniband/hw/mlx4/mad.c                   |   38 ++---
 drivers/infiniband/hw/mlx4/main.c                  |   43 ++++--
 drivers/infiniband/hw/mlx4/mlx4_ib.h               |    7 +-
 drivers/infiniband/hw/mlx4/qp.c                    |    7 +-
 drivers/net/ethernet/mellanox/mlx4/cmd.c           |   87 ++++++++++
 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c    |   17 ++
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c     |   23 +++-
 drivers/net/ethernet/mellanox/mlx4/en_port.c       |   15 ++-
 drivers/net/ethernet/mellanox/mlx4/en_resources.c  |    2 +-
 drivers/net/ethernet/mellanox/mlx4/main.c          |  134 ++++++++++++++--
 drivers/net/ethernet/mellanox/mlx4/mlx4.h          |    5 +
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h       |    2 +
 drivers/net/ethernet/mellanox/mlx4/mlx4_stats.h    |   11 +-
 .../net/ethernet/mellanox/mlx4/resource_tracker.c  |  173 +++++++++++++++++++-
 include/linux/if_link.h                            |    9 +
 include/linux/mlx4/cmd.h                           |    6 +
 include/linux/mlx4/device.h                        |   10 +
 include/linux/netdevice.h                          |    4 +
 include/uapi/linux/if_link.h                       |   13 ++
 net/core/rtnetlink.c                               |   51 ++++++-
 20 files changed, 587 insertions(+), 70 deletions(-)

             reply	other threads:[~2015-06-15 14:59 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-15 14:58 Or Gerlitz [this message]
2015-06-15 14:58 ` [PATCH net-next V1 01/13] net/mlx4_core: Check before cleaning counters bitmap Or Gerlitz
2015-06-15 14:58 ` [PATCH net-next V1 02/13] net/mlx4_core: Reset counters data when freed Or Gerlitz
2015-06-15 14:58 ` [PATCH net-next V1 03/13] net/mlx4_core: Add sink counter Or Gerlitz
2015-06-15 14:58 ` [PATCH net-next V1 04/13] net/mlx4_core: Remove counters table allocation from VF flow Or Gerlitz
2015-06-15 14:59 ` [PATCH net-next V1 05/13] net/mlx4_core: Adjust counter grant policy in the resource tracker Or Gerlitz
2015-06-15 14:59 ` [PATCH net-next V1 06/13] net/mlx4_core: Add port attribute when tracking counters Or Gerlitz
2015-06-15 14:59 ` [PATCH net-next V1 07/13] net/mlx4_core: Allocate default counter per port Or Gerlitz
2015-06-15 14:59 ` [PATCH net-next V1 08/13] IB/mlx4: Add RoCE/IB dedicated counters Or Gerlitz
2015-06-15 14:59 ` [PATCH net-next V1 09/13] IB/mlx4: Set VF to read from QP counters Or Gerlitz
2015-06-15 14:59 ` [PATCH net-next V1 10/13] net/mlx4_core: Add helper to query counters Or Gerlitz
2015-06-15 14:59 ` [PATCH net-next V1 11/13] net/mlx4_en: Show PF own statistics via ethtool Or Gerlitz
2015-06-15 14:59 ` [PATCH net-next V1 12/13] net/core: Add reading VF statistics through the PF netdevice Or Gerlitz
2015-06-15 14:59 ` [PATCH net-next V1 13/13] net/mlx4_en: Support ndo_get_vf_stats Or Gerlitz
2015-06-16  0:23 ` [PATCH net-next V1 00/13] mlx4 driver update (+ new VF ndo) 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=1434380348-19005-1-git-send-email-ogerlitz@mellanox.com \
    --to=ogerlitz@mellanox.com \
    --cc=amirv@mellanox.com \
    --cc=davem@davemloft.net \
    --cc=eranbe@mellanox.com \
    --cc=hadarh@mellanox.com \
    --cc=netdev@vger.kernel.org \
    --cc=talal@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;
as well as URLs for NNTP newsgroup(s).