diff options
author | Matan Barak <matanb@mellanox.com> | 2015-12-23 15:56:50 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-12-23 18:35:11 +0300 |
commit | 7766a99fdcd30c78fc8299db9102e3624232007c (patch) | |
tree | cbc8c53f40d42d858c7b3cf6022e3b6c18303bf9 /drivers/infiniband/core/cache.c | |
parent | 470be516a226e851d62a8d3d31dc162500b84487 (diff) | |
download | linux-7766a99fdcd30c78fc8299db9102e3624232007c.tar.xz |
IB/core: Add ROCE_UDP_ENCAP (RoCE V2) type
Adding RoCE v2 GID type and port type. Vendors
which support this type will get their GID table
populated with RoCE v2 GIDs automatically.
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/cache.c')
-rw-r--r-- | drivers/infiniband/core/cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/cache.c b/drivers/infiniband/core/cache.c index 06e47e197fde..4a2968b1cf56 100644 --- a/drivers/infiniband/core/cache.c +++ b/drivers/infiniband/core/cache.c @@ -128,6 +128,7 @@ static void dispatch_gid_change_event(struct ib_device *ib_dev, u8 port) static const char * const gid_type_str[] = { [IB_GID_TYPE_IB] = "IB/RoCE v1", + [IB_GID_TYPE_ROCE_UDP_ENCAP] = "RoCE v2", }; const char *ib_cache_gid_type_str(enum ib_gid_type gid_type) |