]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Factor out HCA capabilities functions
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 17 Feb 2019 11:11:02 +0000 (13:11 +0200)
committerLeon Romanovsky <leonro@mellanox.com>
Tue, 19 Feb 2019 12:40:44 +0000 (14:40 +0200)
commitafb927d8cd45bf7103da8e06b5f4ff7d0fd909d9
tree97b62496f51f9f9803f69b7f7d0900d2a9f19f19
parent89cf8d2ead94e57c2a8c9e6350817bdd155a702f
net/mlx5: Factor out HCA capabilities functions

Combine all HCA capabilities setters under one function
and compile out the ODP related function in case kernel
was compiled without ODP support.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/main.c