[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <VI1PR0502MB300809A84CC9FF9094DB8329D14A0@VI1PR0502MB3008.eurprd05.prod.outlook.com>
Date: Wed, 11 Oct 2017 14:41:12 +0000
From: Parav Pandit <parav@...lanox.com>
To: Ursula Braun <ubraun@...ux.vnet.ibm.com>,
"davem@...emloft.net" <davem@...emloft.net>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
"linux-s390@...r.kernel.org" <linux-s390@...r.kernel.org>,
"jwi@...ux.vnet.ibm.com" <jwi@...ux.vnet.ibm.com>,
"schwidefsky@...ibm.com" <schwidefsky@...ibm.com>,
"heiko.carstens@...ibm.com" <heiko.carstens@...ibm.com>,
"raspl@...ux.vnet.ibm.com" <raspl@...ux.vnet.ibm.com>
Subject: RE: [PATCH v2 net 1/2] net/smc: replace function pointer get_netdev()
> -----Original Message-----
> From: Ursula Braun [mailto:ubraun@...ux.vnet.ibm.com]
> Sent: Wednesday, October 11, 2017 6:47 AM
> To: davem@...emloft.net
> Cc: netdev@...r.kernel.org; linux-rdma@...r.kernel.org; linux-
> s390@...r.kernel.org; jwi@...ux.vnet.ibm.com; schwidefsky@...ibm.com;
> heiko.carstens@...ibm.com; raspl@...ux.vnet.ibm.com;
> ubraun@...ux.vnet.ibm.com; Parav Pandit <parav@...lanox.com>
> Subject: [PATCH v2 net 1/2] net/smc: replace function pointer get_netdev()
>
> SMC should not open code the function pointer get_netdev of the IB device.
> Replacing ib_query_gid(..., NULL) with ib_query_gid(..., gid_attr) allows access
> to the netdev.
>
> Signed-off-by: Ursula Braun <ubraun@...ux.vnet.ibm.com>
> Suggested-by: Parav Pandit <parav@...lanox.com>
> Reviewed-by: Parav Pandit <parav@...lanox.com>
Looks fine.
Powered by blists - more mailing lists