On Wed, Jun 21, 2017 at 09:29:36AM +0300, Leon Romanovsky wrote: > From: Moshe Shemesh <moshe@xxxxxxxxxxxx> > > Adding visibility of resource usage of QPs, CQs and counters used by > virtual functions. This feature will be used to give the PF administrator > more data while debugging VF status. Usage info was added to ALLOC_RES > command, to notify the PF if the resource which is being reserved or > allocated for the VF will be used by kernel driver or by user verbs. > > Updated reservation and allocation functions of QP, CQ and counter with > additional usage parameter. > > Signed-off-by: Moshe Shemesh <moshe@xxxxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leon@xxxxxxxxxx> > --- > drivers/infiniband/hw/mlx4/cq.c | 2 ++ > drivers/infiniband/hw/mlx4/main.c | 6 ++++-- > drivers/infiniband/hw/mlx4/qp.c | 13 +++++++++---- > drivers/net/ethernet/mellanox/mlx4/cq.c | 7 ++++--- > drivers/net/ethernet/mellanox/mlx4/en_cq.c | 1 + > drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 3 ++- > drivers/net/ethernet/mellanox/mlx4/en_rx.c | 6 ++++-- > drivers/net/ethernet/mellanox/mlx4/en_tx.c | 3 ++- > drivers/net/ethernet/mellanox/mlx4/main.c | 7 ++++--- > drivers/net/ethernet/mellanox/mlx4/qp.c | 5 +++-- > include/linux/mlx4/device.h | 12 ++++++++++-- > 11 files changed, 45 insertions(+), 20 deletions(-) Hi Doug, This patch is based on commit 4931c6ef04b4 ("net/mlx4_en: Optimized single ring steering") from Dave's net-next Thanks
Attachment:
signature.asc
Description: PGP signature