public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] IBoE updates: GID change event and network flow counters
@ 2011-06-15 14:38 Or Gerlitz
       [not found] ` <alpine.LRH.2.00.1106151733410.15844-VYr5/9ddeaGSIdy2EShu12Xnswh1EIUO@public.gmane.org>
  0 siblings, 1 reply; 44+ messages in thread
From: Or Gerlitz @ 2011-06-15 14:38 UTC (permalink / raw)
  To: Roland Dreier; +Cc: linux-rdma, Eli Cohen

Roland,

The enclosed patch series enhances the IBoE kernel stack to
use GID change event and network flow counters.

This work is based on earlier patches done by Eli Cohen <eli-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>
posted during Nov/2010 see http://marc.info/?l=linux-rdma&m=128939180605962

The first change is used to avoid using the irrelevant LID change
event for updating the IB core GID cache, and is made of two patches:

[PATCH 1/9] ib/core: Add GID change event
[PATCH 2/9] ib/mlx4: use GID change event on IBoE code

The second change is used such that eventually we're able to
implement port level packets/bytes performance counters for
IBoE and is made of seven patches:

[PATCH 3/9] mlx4: extend cap flags to 64 bit
[PATCH 4/9] mlx4: align current extended capabilities to use the flags field
[PATCH 5/9] mlx4: Fix layout of QP context for correct location of counter index
[PATCH 6/9] mlx4: add network flow counters
[PATCH 7/9] ib/pma: add include file for IBA performance counters definitions
[PATCH 8/9] ib/mlx4: use flow counters on IBoE ports
[PATCH 9/9] ib/mlx4: support PMA counters for IBoE

patches #3 and #4 change the mlx4 driver such that it now uses
a 64 bit capability flags. This extended cap flags field is used
to account for currently implemented extended capabilities (e.g
udp_rss, uc/mc vep steering, etc) and for the flow counters capability.
These two patches are light in the sense that they don't add/remove
any functionality from the driver.

patch #5 is a bug fix for driver view of the mlx4 QP context
layout w.r.t to the counter index location.

patch #6 adds mlx4 support for network flow counters, where such counter
can be pointed by a set containing one or more QPs and track receive and
transmit packets and bytes of these QPs.

patch #7 moves the various definitions and mad structures related to IBA
PM agent from the ipath and qib drivers into a single include file, so we
can later use them for IBoE and avoid the current code duplication...

patches #8 and #9 bring the actual IBoE use of the counters,
done through allocating flow counter per Ethernet/IBoE port,
such that this counter is later pointed by all mlx4_ib QPs created
on that port. Later this counter can be queried so get a port level
packets/bytes performance counters ala IB

Or.


 drivers/infiniband/core/cache.c         |    3
 drivers/infiniband/hw/ipath/ipath_mad.c |  134 ------------------------
 drivers/infiniband/hw/mlx4/mad.c        |   68 ++++++++++++
 drivers/infiniband/hw/mlx4/main.c       |   22 +++-
 drivers/infiniband/hw/mlx4/mlx4_ib.h    |    1
 drivers/infiniband/hw/mlx4/qp.c         |   10 +
 drivers/infiniband/hw/qib/qib_mad.h     |  176 --------------------------------
 drivers/net/mlx4/en_ethtool.c           |    9 -
 drivers/net/mlx4/en_main.c              |    3
 drivers/net/mlx4/en_netdev.c            |    5
 drivers/net/mlx4/en_port.c              |    6 -
 drivers/net/mlx4/en_selftest.c          |    3
 drivers/net/mlx4/fw.c                   |   39 ++++---
 drivers/net/mlx4/fw.h                   |    8 -
 drivers/net/mlx4/main.c                 |   62 ++++++++++-
 drivers/net/mlx4/mcg.c                  |   17 +--
 drivers/net/mlx4/mlx4.h                 |    1
 drivers/net/mlx4/port.c                 |    8 -
 include/linux/mlx4/cmd.h                |    3
 include/linux/mlx4/device.h             |   60 ++++++----
 include/linux/mlx4/qp.h                 |    8 -
 include/rdma/ib_verbs.h                 |    3
 22 files changed, 262 insertions(+), 387 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2011-07-16 19:57 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-15 14:38 [PATCH 0/9] IBoE updates: GID change event and network flow counters Or Gerlitz
     [not found] ` <alpine.LRH.2.00.1106151733410.15844-VYr5/9ddeaGSIdy2EShu12Xnswh1EIUO@public.gmane.org>
2011-06-15 14:39   ` [PATCH 1/9] ib/core: Add GID change event Or Gerlitz
2011-06-15 14:40   ` [PATCH 2/9] ib/mlx4: use GID change event on IBoE code Or Gerlitz
2011-06-15 14:41   ` [PATCH 3/9] mlx4: extend cap flags to 64 bit Or Gerlitz
2011-06-15 14:42   ` [PATCH 4/9] mlx4: align current extended capabilities to use the flags field Or Gerlitz
     [not found]     ` <alpine.LRH.2.00.1106151742330.15844-VYr5/9ddeaGSIdy2EShu12Xnswh1EIUO@public.gmane.org>
2011-07-07 19:19       ` [PATCH V1 " Or Gerlitz
2011-06-15 14:43   ` [PATCH 5/NNN] mlx4: Fix layout of QP context for correct location of counter index Or Gerlitz
2011-06-15 14:47   ` [PATCH 6/9] mlx4: add network flow counters Or Gerlitz
     [not found]     ` <alpine.LRH.2.00.1106151745060.15844-VYr5/9ddeaGSIdy2EShu12Xnswh1EIUO@public.gmane.org>
2011-06-15 15:22       ` Hefty, Sean
2011-06-15 14:48   ` [PATCH 7/9] ib/pma: add include file for IBA performance counters definitions Or Gerlitz
     [not found]     ` <alpine.LRH.2.00.1106151747390.15844-VYr5/9ddeaGSIdy2EShu12Xnswh1EIUO@public.gmane.org>
2011-06-15 16:08       ` Hal Rosenstock
     [not found]         ` <4DF8D90A.1000208-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-06-16  8:01           ` Or Gerlitz
2011-06-15 23:10       ` Hefty, Sean
     [not found]         ` <1828884A29C6694DAF28B7E6B8A8237302148F-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2011-06-15 23:46           ` Ira Weiny
     [not found]             ` <20110615164619.994a49a4.weiny2-i2BcT+NCU+M@public.gmane.org>
2011-06-15 23:51               ` Hefty, Sean
2011-06-16  7:39           ` Or Gerlitz
     [not found]             ` <4DF9B319.6070100-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2011-06-16 16:19               ` Hefty, Sean
     [not found]                 ` <1828884A29C6694DAF28B7E6B8A8237302184A-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2011-06-16 17:57                   ` Or Gerlitz
2011-06-20 16:46                   ` IBoE updates - GID change event / network flow counters (was: [PATCH 7/9] ib/pma: add include file for IBA perf counters) Or Gerlitz
     [not found]                     ` <4DFF797E.5090904-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2011-06-20 18:18                       ` Roland Dreier
     [not found]                         ` <BANLkTi=VR6v=xSwzLRHDL1x2=05wF-H5KQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-06-20 20:38                           ` Or Gerlitz
2011-07-16 19:57                           ` Or Gerlitz
2011-06-16  8:20       ` [PATCH V1 7/9] ib/pma: add include file for IBA performance counters definitions Or Gerlitz
     [not found]         ` <alpine.LRH.2.00.1106161119120.12552-VYr5/9ddeaGSIdy2EShu12Xnswh1EIUO@public.gmane.org>
2011-06-16 14:18           ` Or Gerlitz
     [not found]             ` <4DFA10CC.5080002-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2011-06-16 15:49               ` Mike Marciniszyn
     [not found]                 ` <35AAF1E4A771E142979F27B51793A4888838E71F03-HolNjIBXvBOXx9kJd3VG2h2eb7JE58TQ@public.gmane.org>
2011-06-16 18:14                   ` Or Gerlitz
     [not found]                     ` <BANLkTikpMWYaXB8Ne+FaLGHi2L5TUCNDkQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-07-05 15:49                       ` Mike Marciniszyn
     [not found]                         ` <35AAF1E4A771E142979F27B51793A4888838FEE740-HolNjIBXvBOXx9kJd3VG2h2eb7JE58TQ@public.gmane.org>
2011-07-05 16:01                           ` Or Gerlitz
     [not found]                             ` <4E133575.8040105-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2011-07-05 19:34                               ` Roland Dreier
     [not found]                                 ` <CAL1RGDX7U=PMjWadeS3Gp+xST56xJiK=qydwu1PMcvkfb7DcnA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-07-06  3:11                                   ` Or Gerlitz
     [not found]                                     ` <CAJZOPZK3tT9gXP46ek-tO3xyvj7=eKyGJXBoim9uOMbJc4BtfQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-07-06 12:39                                       ` Mike Marciniszyn
     [not found]                                         ` <35AAF1E4A771E142979F27B51793A4888838FEE894-HolNjIBXvBOXx9kJd3VG2h2eb7JE58TQ@public.gmane.org>
2011-07-06 15:51                                           ` Roland Dreier
     [not found]                                             ` <CAL1RGDWHYMQHbZWwkysqZ7TLrB_ZDJWSTC4YCqk1wpme_3+BrQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-07-06 16:57                                               ` Hal Rosenstock
     [not found]                                                 ` <4E14940A.9080700-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-07-06 17:50                                                   ` Roland Dreier
     [not found]                                                     ` <CAL1RGDVpuwsgfVRxNw098W_wRECGn0uinQR+8txE96n5KtDXgw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-07-06 18:15                                                       ` Jason Gunthorpe
     [not found]                                                         ` <20110706181507.GC1162-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2011-07-06 18:24                                                           ` Hal Rosenstock
     [not found]                                                             ` <4E14A87B.2070405-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-07-06 18:45                                                               ` Jason Gunthorpe
     [not found]                                                                 ` <20110706184511.GD1162-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2011-07-06 18:53                                                                   ` Hal Rosenstock
2011-07-06 18:27                                                       ` Hal Rosenstock
2011-07-07  6:55                                                       ` Or Gerlitz
2011-07-06 16:47                                           ` Ira Weiny
2011-07-05 15:46           ` [PATCH V2 " Or Gerlitz
2011-06-15 14:49   ` [PATCH 8/9] ib/mlx4: use flow counters on IBoE ports Or Gerlitz
2011-06-15 14:51   ` [PATCH 9/9] ib/mlx4: support PMA counters for IBoE Or Gerlitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox