Re: [PATCH for-next 0/8] Add Mellanox mlx5 driver for Connect-IB devices

2013-07-07 Thread Jack Morgenstein
On Wednesday 03 July 2013 22:26, Roland Dreier wrote: Look at the actual timer code.  del_timer_sync() won't work if something unrelated re-adds the timer, but it will work if the timer itself is what re-adds itself. Documentation/DocBook/kernel-locking.tmpl says:       Another common

[PATCH V3 4/9] IB/core: Add reserved values to enums for low-level drivers use

2013-07-07 Thread Or Gerlitz
From: Jack Morgenstein ja...@dev.mellanox.co.il Continue the approach taken by commit d2b57063e4a IB/core: Reserve bits in enum ib_qp_create_flags for low-level driver use and reserved entries to the ib_qp_type and ib_wr_opcode enums. The low-level drivers will then define macros to use these

[PATCH V3 0/9] Add Mellanox mlx5 driver for Connect-IB devices

2013-07-07 Thread Or Gerlitz
Hi Roland, Here's V3 of the mlx5 driver, with Dave's, Joe's and yours comments addressed. Hoping that would be all for getting this into 3.11 Jack, Moshe and Or. changes from V2: - Addressed feedback from Joe Perches: * Added parentheses around sizeof * Removed unnecessary do-while for

[PATCH V3 7/9] IB/mlx5: Mellanox Connect-IB, IB driver part 3/5

2013-07-07 Thread Or Gerlitz
From: Eli Cohen e...@mellanox.com Signed-off-by: Eli Cohen e...@mellanox.com Signed-off-by: Jack Morgenstein ja...@dev.mellanox.co.il Signed-off-by: Or Gerlitz ogerl...@mellanox.com --- drivers/infiniband/hw/mlx5/mlx5_ib.h | 545 ++ drivers/infiniband/hw/mlx5/mr.c | 1014

[PATCH V3 5/9] IB/mlx5: Mellanox Connect-IB, IB driver part 1/5

2013-07-07 Thread Or Gerlitz
From: Eli Cohen e...@mellanox.com Signed-off-by: Eli Cohen e...@mellanox.com Signed-off-by: Jack Morgenstein ja...@dev.mellanox.co.il Signed-off-by: Or Gerlitz ogerl...@mellanox.com --- drivers/infiniband/hw/mlx5/ah.c | 92 drivers/infiniband/hw/mlx5/cq.c | 843

[PATCH V3 9/9] IB/mlx5: Mellanox Connect-IB, IB driver part 5/5

2013-07-07 Thread Or Gerlitz
From: Eli Cohen e...@mellanox.com Signed-off-by: Eli Cohen e...@mellanox.com Signed-off-by: Jack Morgenstein ja...@dev.melanox.co.il Signed-off-by: Or Gerlitz ogerl...@mellanox.com --- MAINTAINERS | 10 ++ drivers/infiniband/Kconfig |1 +

[PATCH V3 6/9] IB/mlx5: Mellanox Connect-IB, IB driver part 2/5

2013-07-07 Thread Or Gerlitz
From: Eli Cohen e...@mellanox.com Signed-off-by: Eli Cohen e...@mellanox.com Signed-off-by: Jack Morgenstein ja...@dev.mellanox.co.il Signed-off-by: Or Gerlitz ogerl...@mellanox.com --- drivers/infiniband/hw/mlx5/main.c | 1504 +

[PATCH] opensm: update internal PortInfo state for any ports

2013-07-07 Thread Sasha Khapyorsky
Should not be matter to keep internal SM's PortInfo data for ports in any states. Signed-off-by: Sasha Khapyorsky sash...@gmail.com diff --git a/opensm/osm_port.c b/opensm/osm_port.c index 6e73e66..d59d404 100644 --- a/opensm/osm_port.c +++ b/opensm/osm_port.c @@ -669,25 +669,16 @@ void