summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c
diff options
context:
space:
mode:
authorIlan Tayari2017-05-14 15:04:30 +0200
committerSaeed Mahameed2017-06-27 15:36:47 +0200
commit095b0927f0ce74f7211b9046f8493dbba26ca930 (patch)
tree8721533c050280f99905f9505287b34ff188e1bd /drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c
parentnet/mlx5: Add support for multiple RoCE enable (diff)
downloadkernel-qcow2-linux-095b0927f0ce74f7211b9046f8493dbba26ca930.tar.gz
kernel-qcow2-linux-095b0927f0ce74f7211b9046f8493dbba26ca930.tar.xz
kernel-qcow2-linux-095b0927f0ce74f7211b9046f8493dbba26ca930.zip
IB/mlx5: Respect mlx5_core reserved GIDs
Reserved gids are taken by the mlx5_core, report smaller GID table size to IB core. Set mlx5_query_roce_port's return value back to int. In case of error, return an indication. This rolls back some of the change in commit 50f22fd8ecf9 ("IB/mlx5: Set mlx5_query_roce_port's return value to void") Change set_roce_addr to use gid_set function, instead of directly sending the command. Signed-off-by: Ilan Tayari <ilant@mellanox.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c')
0 files changed, 0 insertions, 0 deletions