]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: ODP support for XRC transport is not enabled by default in FW
authorMoni Shoua <monis@mellanox.com>
Mon, 25 Feb 2019 06:54:39 +0000 (08:54 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 6 Mar 2019 19:53:09 +0000 (15:53 -0400)
commit37dcd4e22274bb311a5a7a23d6ae09c98a26f0a4
treeb0f3b4256ad4c5ce6da896cf1951bb421bf0ea4a
parentcb2d03e8a14e54fc49a0fe87ac173def40fa9215
net/mlx5: ODP support for XRC transport is not enabled by default in FW

ODP support for XRC transport is not enabled by default in FW, so we need
separate ODP checks to enable/disable it.

While that, rewrite the set of ODP SRQ support capabilities in way that
tests each field separately for clearness, which is not needed for current
FW, but better to have it separated.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/main.c