public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Michael Wang <yun.wang@profitbricks•com>
To: Roland Dreier <roland@kernel•org>,
	Sean Hefty <sean.hefty@intel•com>,
	Hal Rosenstock <hal.rosenstock@gmail•com>,
	linux-rdma@vger•kernel.org, linux-kernel@vger•kernel.org,
	linux-nfs@vger•kernel.org, netdev@vger•kernel.org,
	Ira Weiny <ira.weiny@intel•com>
Cc: "J. Bruce Fields" <bfields@fieldses•org>,
	Trond Myklebust <trond.myklebust@primarydata•com>,
	"David S. Miller" <davem@davemloft•net>,
	Moni Shoua <monis@mellanox•com>,
	PJ Waskiewicz <pj.waskiewicz@solidfire•com>,
	Steve Wise <swise@opengridcomputing•com>,
	Tatyana Nikolova <Tatyana.E.Nikolova@intel•com>,
	Yan Burman <yanb@mellanox•com>,
	Jack Morgenstein <jackm@dev•mellanox.co.il>,
	Yann Droneaud <ydroneaud@opteya•com>,
	Bart Van Assche <bvanassche@acm•org>,
	Colin Ian King <colin.king@canonical•com>,
	Mel Gorman <mgorman@suse•de>, Majd Dibbiny <majd@mellanox•com>,
	Jiri Kosina <jkosina@suse•cz>, Matan Barak <matanb@mellanox•com>,
	Dan Carpenter <dan.carpenter@oracle•com>,
	Eugenia Emantayev <eugenia@mellanox•co.il>,
	Doug Ledford <dledford@redhat•com>,
	Alex Estrin <alex.estrin@intel•com>,
	Erez Shitrit <erezsh@mellanox•com>,
	Eric Dumazet <edumazet@google•com>, Tom Gundersen <
Subject: Re: [PATCH 1/2] IB/Verbs: Use helpers to refine the checking on transport and link layer
Date: Wed, 25 Mar 2015 12:19:09 +0100	[thread overview]
Message-ID: <551299AD.7070702@profitbricks.com> (raw)
In-Reply-To: <55129832.2070707@profitbricks.com>

This should be [PATCH 0/2], and my sincerely apologize on the duplicated
mail, the connection is really terrible...

Regards,
Michael Wang

On 03/25/2015 12:12 PM, Michael Wang wrote:
>
> There are too many lengthy code to check the transport type of IB device,
> or the link layer type of it's port, this patch set try to use some 
> helper to
> refine and save us some code.
>
> TODO:
>     Currently we inferred from the transport type and link layer type 
> to identify
>     the way of management, it will be better if we can directly get 
> the indicator
>     from vendor.
>
>     Sean proposed one suggestion:
>  https://www.mail-archive.com/linux-rdma@vger.kernel.org/msg23339.html
>
>     It may need a big work to adapt current implementation to utilize
>     these flags elegantly.
>
>     Also the performance concern on query_port() need to be addressed, 
> may be
>     some new callback like query_mgmt() could works.
>
> Michael Wang (2):
>     [PATCH 1/2] IB/Verbs: Use helpers to check transport and link layer
>     [PATCH 2/2] IB/Verbs: Use helpers to check IBoE technology
>
> ---
>  drivers/infiniband/core/agent.c           |    2 -
>  drivers/infiniband/core/cm.c              |    2 -
>  drivers/infiniband/core/cma.c             |   33 
> ++++++++++++------------------
>  drivers/infiniband/core/mad.c             |    6 ++---
>  drivers/infiniband/core/multicast.c       |   11 +++-------
>  drivers/infiniband/core/sa_query.c        |   14 ++++++------
>  drivers/infiniband/core/ucm.c             |    3 --
>  drivers/infiniband/core/user_mad.c        |    2 -
>  drivers/infiniband/core/verbs.c           |    5 +---
>  drivers/infiniband/hw/mlx4/ah.c           |    2 -
>  drivers/infiniband/hw/mlx4/cq.c           |    4 ---
>  drivers/infiniband/hw/mlx4/mad.c          |   14 +++---------
>  drivers/infiniband/hw/mlx4/main.c         |    8 ++-----
>  drivers/infiniband/hw/mlx4/mlx4_ib.h      |    2 -
>  drivers/infiniband/hw/mlx4/qp.c           |   21 ++++++-------------
>  drivers/infiniband/hw/mlx4/sysfs.c        |    6 +----
>  drivers/infiniband/ulp/ipoib/ipoib_main.c |    6 ++---
>  include/rdma/ib_verbs.h                   |   30 
> +++++++++++++++++++++++++++
>  net/sunrpc/xprtrdma/svc_rdma_recvfrom.c   |    3 --
>  19 files changed, 87 insertions(+), 87 deletions(-)

      parent reply	other threads:[~2015-03-25 11:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-25 11:12 [PATCH 1/2] IB/Verbs: Use helpers to refine the checking on transport and link layer Michael Wang
2015-03-25 11:14 ` [PATCH 1/2] IB/Verbs: Use helpers to check " Michael Wang
     [not found] ` <55129832.2070707-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2015-03-25 11:16   ` [PATCH 2/2] IB/Verbs: Use helpers to check IBoE technology Michael Wang
2015-03-25 11:19 ` Michael Wang [this message]

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=551299AD.7070702@profitbricks.com \
    --to=yun.wang@profitbricks$(echo .)com \
    --cc=Tatyana.E.Nikolova@intel$(echo .)com \
    --cc=alex.estrin@intel$(echo .)com \
    --cc=bfields@fieldses$(echo .)org \
    --cc=bvanassche@acm$(echo .)org \
    --cc=colin.king@canonical$(echo .)com \
    --cc=dan.carpenter@oracle$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=dledford@redhat$(echo .)com \
    --cc=edumazet@google$(echo .)com \
    --cc=erezsh@mellanox$(echo .)com \
    --cc=eugenia@mellanox$(echo .)co.il \
    --cc=hal.rosenstock@gmail$(echo .)com \
    --cc=ira.weiny@intel$(echo .)com \
    --cc=jackm@dev$(echo .)mellanox.co.il \
    --cc=jkosina@suse$(echo .)cz \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-nfs@vger$(echo .)kernel.org \
    --cc=linux-rdma@vger$(echo .)kernel.org \
    --cc=majd@mellanox$(echo .)com \
    --cc=matanb@mellanox$(echo .)com \
    --cc=mgorman@suse$(echo .)de \
    --cc=monis@mellanox$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pj.waskiewicz@solidfire$(echo .)com \
    --cc=roland@kernel$(echo .)org \
    --cc=sean.hefty@intel$(echo .)com \
    --cc=swise@opengridcomputing$(echo .)com \
    --cc=trond.myklebust@primarydata$(echo .)com \
    --cc=yanb@mellanox$(echo .)com \
    --cc=ydroneaud@opteya$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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