mbox series

[rdma-next,0/2] Packet pacing DEVX API

Message ID 20200219190518.200912-1-leon@kernel.org
Headers show
Series Packet pacing DEVX API | expand

Message

Leon Romanovsky Feb. 19, 2020, 7:05 p.m. UTC
From: Leon Romanovsky <leonro@mellanox.com>

Hi,

This series from Yishai extends packet pacing to work over DEVX
interface. In first patch, he refactors the mlx5_core internal
logic. In second patch, the RDMA APIs are added.

Thanks

Yishai Hadas (2):
  net/mlx5: Expose raw packet pacing APIs
  IB/mlx5: Introduce UAPIs to manage packet pacing

 drivers/infiniband/hw/mlx5/Makefile          |   1 +
 drivers/infiniband/hw/mlx5/main.c            |   1 +
 drivers/infiniband/hw/mlx5/mlx5_ib.h         |   6 +
 drivers/infiniband/hw/mlx5/qos.c             | 136 +++++++++++++++++++
 drivers/net/ethernet/mellanox/mlx5/core/rl.c | 130 +++++++++++++-----
 include/linux/mlx5/driver.h                  |  11 +-
 include/linux/mlx5/mlx5_ifc.h                |  26 ++--
 include/uapi/rdma/mlx5_user_ioctl_cmds.h     |  17 +++
 include/uapi/rdma/mlx5_user_ioctl_verbs.h    |   4 +
 9 files changed, 287 insertions(+), 45 deletions(-)
 create mode 100644 drivers/infiniband/hw/mlx5/qos.c

--
2.24.1

Comments

Jason Gunthorpe March 4, 2020, 12:33 a.m. UTC | #1
On Wed, Feb 19, 2020 at 09:05:16PM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@mellanox.com>
> 
> Hi,
> 
> This series from Yishai extends packet pacing to work over DEVX
> interface. In first patch, he refactors the mlx5_core internal
> logic. In second patch, the RDMA APIs are added.
> 
> Thanks
> 
> Yishai Hadas (2):
>   net/mlx5: Expose raw packet pacing APIs
>   IB/mlx5: Introduce UAPIs to manage packet pacing

It looks Ok, can you apply this to the shared branch?

Thanks,
Jason
Leon Romanovsky March 5, 2020, 12:21 p.m. UTC | #2
On Tue, Mar 03, 2020 at 08:33:03PM -0400, Jason Gunthorpe wrote:
> On Wed, Feb 19, 2020 at 09:05:16PM +0200, Leon Romanovsky wrote:
> > From: Leon Romanovsky <leonro@mellanox.com>
> >
> > Hi,
> >
> > This series from Yishai extends packet pacing to work over DEVX
> > interface. In first patch, he refactors the mlx5_core internal
> > logic. In second patch, the RDMA APIs are added.
> >
> > Thanks
> >
> > Yishai Hadas (2):
> >   net/mlx5: Expose raw packet pacing APIs
> >   IB/mlx5: Introduce UAPIs to manage packet pacing
>
> It looks Ok, can you apply this to the shared branch?

Applied to mlx5-next
1326034b3ce7 net/mlx5: Expose raw packet pacing APIs

>
> Thanks,
> Jason
Jason Gunthorpe March 10, 2020, 3:44 p.m. UTC | #3
On Wed, Feb 19, 2020 at 09:05:16PM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@mellanox.com>
> 
> Hi,
> 
> This series from Yishai extends packet pacing to work over DEVX
> interface. In first patch, he refactors the mlx5_core internal
> logic. In second patch, the RDMA APIs are added.
> 
> Thanks
> 
> Yishai Hadas (2):
>   net/mlx5: Expose raw packet pacing APIs
>   IB/mlx5: Introduce UAPIs to manage packet pacing

Applied to for-next, thanks

Jason