commit | 420bd9e2d93e4a4121d5bdf3a051b0ddefa9c1cc | [log] [tgz] |
---|---|---|
author | Kamal Heib <kamalheib1@gmail.com> | Sun Jul 05 13:43:13 2020 +0300 |
committer | Jason Gunthorpe <jgg@nvidia.com> | Thu Jul 16 13:57:21 2020 -0300 |
tree | a3fd720bb6ad464f5f5ed2824fe4b447345c1672 | |
parent | 293d8440a0bdd246d523802f62fb1d16c238a485 [diff] |
RDMA/rxe: Remove rxe_link_layer() Instead of returning IB_LINK_LAYER_ETHERNET from rxe_link_layer, return it directly from get_link_layer callback and remove rxe_link_layer(). Fixes: 8700e3e7c485 ("Soft RoCE driver") Link: https://lore.kernel.org/r/20200705104313.283034-5-kamalheib1@gmail.com Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>