]> 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)
commitdbf6f3c6174d76a93b68a2c61ef47e0d4da07ece
treeb0f3b4256ad4c5ce6da896cf1951bb421bf0ea4a
parentc4348351be7ea75e06612cf8f39562acba95ff77
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