Re: [PATCH mlx5-next] RDMA/mad: Reduce MAD scope to mlx5_ib only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 13, 2019 at 03:57:04PM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> 
> 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 <leonro@xxxxxxxxxxxx>
> ---
>  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 <jgg@xxxxxxxxxxxx>

Jason




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux