All of lore.kernel.org
 help / color / mirror / Atom feed
From: yanjun.zhu@linux.dev
To: mustafa.ismail@intel.com, shiraz.saleem@intel.com, jgg@ziepe.ca,
	linux-rdma@vger.kernel.org, yanjun.zhu@linux.dev,
	leon@kernel.org
Subject: [PATCHv2 0/3] Use net_type to check network type
Date: Tue, 22 Feb 2022 21:42:49 -0500	[thread overview]
Message-ID: <20220223024252.3873736-1-yanjun.zhu@linux.dev> (raw)

From: Zhu Yanjun <yanjun.zhu@linux.dev>

The member variable net_type already exists. Now it is used
to check network type. As such, the variable saddr is redundant.
So it is removed.

The union irdma_sockaddr is used in several functions. So it is
moved into header file.

Zhu Yanjun (3):
  RDMA/irdma: Use net_type to check network type
  RDMA/irdma: Remove the unnecessary variable saddr
  RDMA/irdma: Move union irdma_sockaddr to header file

 drivers/infiniband/hw/irdma/verbs.c | 26 ++++++--------------------
 drivers/infiniband/hw/irdma/verbs.h | 12 +++++++-----
 2 files changed, 13 insertions(+), 25 deletions(-)

--
V1-->V2: Modify the commit log.
-- 
2.27.0


             reply	other threads:[~2022-02-22 10:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-23  2:42 yanjun.zhu [this message]
2022-02-22 15:00 ` [PATCHv2 0/3] Use net_type to check network type Saleem, Shiraz
2022-02-23  2:42 ` [PATCHv2 1/3] RDMA/irdma: " yanjun.zhu
2022-02-23  2:42 ` [PATCHv2 2/3] RDMA/irdma: Remove the unnecessary variable saddr yanjun.zhu
2022-02-23  2:42 ` [PATCHv2 3/3] RDMA/irdma: Move union irdma_sockaddr to header file yanjun.zhu
2022-02-24  0:40 ` [PATCHv2 0/3] Use net_type to check network type Jason Gunthorpe

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=20220223024252.3873736-1-yanjun.zhu@linux.dev \
    --to=yanjun.zhu@linux.dev \
    --cc=jgg@ziepe.ca \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=mustafa.ismail@intel.com \
    --cc=shiraz.saleem@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.