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)
commitfca22e7e595f1799cfbfdfa13e16d48ece0d136c
treeb0f3b4256ad4c5ce6da896cf1951bb421bf0ea4a
parentbc5add09764c123f58942a37c8335247e683d234
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