netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Chan <michael.chan@broadcom.com>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, selvin.xavier@broadcom.com,
	somnath.kotur@broadcom.com, dledford@redhat.com,
	linux-rdma@vger.kernel.org
Subject: [PATCH net-next v2 0/7] bnxt_en: Add interface to support RDMA driver.
Date: Wed,  7 Dec 2016 00:26:14 -0500	[thread overview]
Message-ID: <1481088381-30411-1-git-send-email-michael.chan@broadcom.com> (raw)

This series adds an interface to support a brand new RDMA driver bnxt_re.
The first step is to re-arrange some code so that pci_enable_msix() can
be called during pci probe.  The purpose is to allow the RDMA driver to
initialize and stay initialized whether the netdev is up or down.

Then we make some changes to VF resource allocation so that there is
enough resources to support RDMA.

Finally the last patch adds a simple interface to allow the RDMA driver to
probe and register itself with any bnxt_en devices that support RDMA.
Once registered, the RDMA driver can request MSIX, send fw messages, and
receive some notifications.

v2: Fixed kbuild test robot warnings.

David, please consider this series for net-next.  Thanks.

Michael Chan (7):
  bnxt_en: Add bnxt_set_max_func_irqs().
  bnxt_en: Enable MSIX early in bnxt_init_one().
  bnxt_en: Move function reset to bnxt_init_one().
  bnxt_en: Improve completion ring allocation for VFs.
  bnxt_en: Reserve RDMA resources by default.
  bnxt_en: Refactor the driver registration function with firmware.
  bnxt_en: Add interface to support RDMA driver.

 drivers/net/ethernet/broadcom/bnxt/Makefile     |   2 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt.c       | 360 +++++++++++++++++-------
 drivers/net/ethernet/broadcom/bnxt/bnxt.h       |  22 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c |  14 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c   | 346 +++++++++++++++++++++++
 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h   |  93 ++++++
 6 files changed, 722 insertions(+), 115 deletions(-)
 create mode 100644 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c
 create mode 100644 drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h

-- 
1.8.3.1

             reply	other threads:[~2016-12-07  5:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-07  5:26 Michael Chan [this message]
2016-12-07  5:26 ` [PATCH net-next v2 1/7] bnxt_en: Add bnxt_set_max_func_irqs() Michael Chan
2016-12-07  5:26 ` [PATCH net-next v2 2/7] bnxt_en: Enable MSIX early in bnxt_init_one() Michael Chan
2016-12-07  5:26 ` [PATCH net-next v2 3/7] bnxt_en: Move function reset to bnxt_init_one() Michael Chan
2016-12-07  5:26 ` [PATCH net-next v2 4/7] bnxt_en: Improve completion ring allocation for VFs Michael Chan
2016-12-07  5:26 ` [PATCH net-next v2 5/7] bnxt_en: Reserve RDMA resources by default Michael Chan
2016-12-07  5:26 ` [PATCH net-next v2 6/7] bnxt_en: Refactor the driver registration function with firmware Michael Chan
2016-12-07  5:26 ` [PATCH net-next v2 7/7] bnxt_en: Add interface to support RDMA driver Michael Chan
     [not found] ` <1481088381-30411-1-git-send-email-michael.chan-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2016-12-07  7:29   ` [PATCH net-next v2 0/7] " Christoph Hellwig
2016-12-07 15:59   ` 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=1481088381-30411-1-git-send-email-michael.chan@broadcom.com \
    --to=michael.chan@broadcom.com \
    --cc=davem@davemloft.net \
    --cc=dledford@redhat.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=selvin.xavier@broadcom.com \
    --cc=somnath.kotur@broadcom.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).