On Sun, Jan 13, 2019 at 03:57:04PM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <[email protected]>
> 
> Management Datagram Interface (MAD) is applicable
> only when physical port is Infiniband. It makes MAD
> command logic to be completely unrelated to eth/core
> parts of mlx5.
 
> Signed-off-by: Leon Romanovsky <[email protected]>
> ---
>  drivers/infiniband/hw/mlx5/cmd.c              | 37 +++++++++
>  drivers/infiniband/hw/mlx5/cmd.h              |  2 +
>  drivers/infiniband/hw/mlx5/mad.c              | 11 ++-
>  drivers/infiniband/hw/mlx5/mlx5_ib.h          |  3 -
>  .../net/ethernet/mellanox/mlx5/core/Makefile  |  2 +-
>  drivers/net/ethernet/mellanox/mlx5/core/mad.c | 75 -------------------
>  include/linux/mlx5/driver.h                   |  2 -
>  7 files changed, 47 insertions(+), 85 deletions(-)
>  delete mode 100644 drivers/net/ethernet/mellanox/mlx5/core/mad.c

Acked-by: Jason Gunthorpe <[email protected]>

Jason

Reply via email to