From: Matan Barak <matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
To: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Jason Gunthorpe
<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>,
Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
Haggai Eran <haggaie-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
Somnath Kotur
<Somnath.Kotur-idTK6quXuVSLFuii7jzJGg@public.gmane.org>
Subject: Re: [PATCH for-next 0/9] Add RoCE v2 support
Date: Sun, 11 Oct 2015 17:40:10 +0300 [thread overview]
Message-ID: <561A74CA.4060707@mellanox.com> (raw)
In-Reply-To: <1439481794-27998-1-git-send-email-matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
On 8/13/2015 7:03 PM, Matan Barak wrote:
> Hi Doug,
>
> This series adds the support for RoCE v2. In order to support RoCE v2,
> we add gid_type attribute to every GID. When the RoCE GID management
> populates the GID table, it duplicates each GID with all supported types.
> This gives the user the ability to communicate over each supported
> type.
>
> Patch 0001, 0002 and 0003 add support for multiple GID types to the
> cache and related APIs. The third patch exposes the GID attributes
> information is sysfs.
>
> Patch 0004 adds the RoCE v2 GID type and the capabilities required
> from the vendor in order to implement RoCE v2. These capabilities
> are grouped together as RDMA_CORE_PORT_IBA_ROCE_UDP_ENCAP.
>
> RoCE v2 could work at IPv4 and IPv6 networks. When receiving ib_wc, this
> information should come from the vendor's driver. In case the vendor
> doesn't supply this information, we parse the packet headers and resolve
> its network type. Patch 0005 adds this information and required utilities.
>
> Patches 0006 and 0007 add configfs support (and the required
> infrastructure) for CMA. The administrator should be able to set the
> default RoCE type. This is done through a new per-port
> default_roce_mode configfs file.
>
> Patch 0008 formats a QP1 packet in order to support RoCE v2 CM
> packets. This is required for vendors which implement their
> QP1 as a Raw QP.
>
> Patch 0009 adds support for IPv4 multicast as an IPv4 network
> requires IGMP to be sent in order to join multicast groups.
>
> Vendors code aren't part of this patch-set. Soft-Roce will be
> sent soon and depends on these patches. Other vendors, like
> mlx4, ocrdma and mlx5 will follow.
>
> This patch is applied on "Add RoCE GID cache usage in verbs/cma"
> which was sent to the mailing list.
>
> Thanks,
> Matan
>
> Matan Barak (6):
> IB/core: Add gid_type to gid attribute
> IB/cm: Use the source GID index type
> IB/core: Add gid attributes to sysfs
> IB/core: Add ROCE_UDP_ENCAP (RoCE V2) type
> IB/rdma_cm: Add wrapper for cma reference count
> IB/cma: Add configfs for rdma_cm
>
> Moni Shoua (2):
> IB/core: Initialize UD header structure with IP and UDP headers
> IB/cma: Join and leave multicast groups with IGMP
>
> Somnath Kotur (1):
> IB/core: Add rdma_network_type to wc
>
> drivers/infiniband/Kconfig | 9 +
> drivers/infiniband/core/Makefile | 2 +
> drivers/infiniband/core/addr.c | 14 ++
> drivers/infiniband/core/cache.c | 152 +++++++++----
> drivers/infiniband/core/cm.c | 25 ++-
> drivers/infiniband/core/cma.c | 216 ++++++++++++++++--
> drivers/infiniband/core/cma_configfs.c | 353 ++++++++++++++++++++++++++++++
> drivers/infiniband/core/core_priv.h | 32 +++
> drivers/infiniband/core/device.c | 9 +-
> drivers/infiniband/core/multicast.c | 20 +-
> drivers/infiniband/core/roce_gid_mgmt.c | 61 +++++-
> drivers/infiniband/core/sa_query.c | 5 +-
> drivers/infiniband/core/sysfs.c | 184 +++++++++++++++-
> drivers/infiniband/core/ud_header.c | 155 ++++++++++++-
> drivers/infiniband/core/uverbs_marshall.c | 1 +
> drivers/infiniband/core/verbs.c | 124 ++++++++++-
> drivers/infiniband/hw/mlx4/qp.c | 7 +-
> drivers/infiniband/hw/mthca/mthca_qp.c | 2 +-
> include/rdma/ib_addr.h | 1 +
> include/rdma/ib_cache.h | 4 +
> include/rdma/ib_pack.h | 45 +++-
> include/rdma/ib_sa.h | 4 +
> include/rdma/ib_verbs.h | 78 ++++++-
> 23 files changed, 1399 insertions(+), 104 deletions(-)
> create mode 100644 drivers/infiniband/core/cma_configfs.c
>
Hi,
I've rebased the patches against your k.o/for-4.4 tree. I've also added
some fixes to bugs we found lately. I can re-spin the whole series if
necessary (with the fixes squashed).
My git tree is available in:
https://github.com/matanb10/linux.git branch: rocev2-for-4.4
Thanks,
Matan
--
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
next prev parent reply other threads:[~2015-10-11 14:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-13 16:03 [PATCH for-next 0/9] Add RoCE v2 support Matan Barak
[not found] ` <1439481794-27998-1-git-send-email-matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-08-13 16:03 ` [PATCH for-next 1/9] IB/core: Add gid_type to gid attribute Matan Barak
2015-08-13 16:03 ` [PATCH for-next 2/9] IB/cm: Use the source GID index type Matan Barak
2015-08-13 16:03 ` [PATCH for-next 3/9] IB/core: Add gid attributes to sysfs Matan Barak
2015-08-13 16:03 ` [PATCH for-next 4/9] IB/core: Add ROCE_UDP_ENCAP (RoCE V2) type Matan Barak
2015-08-13 16:03 ` [PATCH for-next 5/9] IB/core: Add rdma_network_type to wc Matan Barak
2015-08-13 16:03 ` [PATCH for-next 6/9] IB/rdma_cm: Add wrapper for cma reference count Matan Barak
2015-08-13 16:03 ` [PATCH for-next 7/9] IB/cma: Add configfs for rdma_cm Matan Barak
[not found] ` <1439481794-27998-8-git-send-email-matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-09-17 13:57 ` Matan Barak
2015-08-13 16:03 ` [PATCH for-next 8/9] IB/core: Initialize UD header structure with IP and UDP headers Matan Barak
2015-08-13 16:03 ` [PATCH for-next 9/9] IB/cma: Join and leave multicast groups with IGMP Matan Barak
2015-10-11 14:40 ` Matan Barak [this message]
[not found] ` <561A74CA.4060707-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2015-10-12 14:41 ` [PATCH for-next 0/9] Add RoCE v2 support Doug Ledford
[not found] ` <561BC6B2.9090403-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-10-13 8:03 ` Matan Barak
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=561A74CA.4060707@mellanox.com \
--to=matanb-vpraknaxozvwk0htik3j/w@public.gmane.org \
--cc=Somnath.Kotur-idTK6quXuVSLFuii7jzJGg@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=haggaie-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
/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).