Re: [PATCH v4 03/27] IB/Verbs: Reform IB-core mad/agent/user_mad

2015-04-16 Thread Michael Wang
Hi,Hal Thanks for the comments :-) On 04/16/2015 02:43 PM, Hal Rosenstock wrote: [snip] >> @@ -3102,9 +3102,6 @@ static void ib_mad_remove_device(struct ib_device >> *device) >> { >> int i, num_ports, cur_port; >> >> -if (rdma_node_get_transport(device->node_type) !=

Re: [PATCH v4 03/27] IB/Verbs: Reform IB-core mad/agent/user_mad

2015-04-16 Thread Hal Rosenstock
On 4/16/2015 4:05 AM, Michael Wang wrote: > > Use raw management helpers to reform IB-core mad/agent/user_mad. > > Cc: Steve Wise > Cc: Tom Talpey > Cc: Jason Gunthorpe > Cc: Doug Ledford > Cc: Ira Weiny > Cc: Sean Hefty > Signed-off-by: Michael Wang > --- >

[PATCH v4 03/27] IB/Verbs: Reform IB-core mad/agent/user_mad

2015-04-16 Thread Michael Wang
Use raw management helpers to reform IB-core mad/agent/user_mad. Cc: Steve Wise Cc: Tom Talpey Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/agent.c| 2 +- drivers/infiniband/core/mad.c | 20

[PATCH v4 03/27] IB/Verbs: Reform IB-core mad/agent/user_mad

2015-04-16 Thread Michael Wang
Use raw management helpers to reform IB-core mad/agent/user_mad. Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford dledf...@redhat.com Cc: Ira Weiny ira.we...@intel.com Cc: Sean Hefty

Re: [PATCH v4 03/27] IB/Verbs: Reform IB-core mad/agent/user_mad

2015-04-16 Thread Hal Rosenstock
On 4/16/2015 4:05 AM, Michael Wang wrote: Use raw management helpers to reform IB-core mad/agent/user_mad. Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford dledf...@redhat.com Cc: Ira Weiny

Re: [PATCH v4 03/27] IB/Verbs: Reform IB-core mad/agent/user_mad

2015-04-16 Thread Michael Wang
Hi,Hal Thanks for the comments :-) On 04/16/2015 02:43 PM, Hal Rosenstock wrote: [snip] @@ -3102,9 +3102,6 @@ static void ib_mad_remove_device(struct ib_device *device) { int i, num_ports, cur_port; -if (rdma_node_get_transport(device-node_type) != RDMA_TRANSPORT_IB) -