RE: [PATCH] Add support for configuring Infiniband GUIDs

2016-07-08 Thread Eli Cohen
:05 PM To: Eli Cohen <e...@mellanox.com> Cc: netdev@vger.kernel.org Subject: Re: [PATCH] Add support for configuring Infiniband GUIDs On Tue, 5 Jul 2016 10:53:38 -0500 Eli Cohen <e...@mellanox.com> wrote: > > +static int extract_guid(__u64 *guid, char *arg) { > + __u64

RE: [PATCH] Add support for configuring Infiniband GUIDs

2016-07-07 Thread David Laight
From: Stephen Hemminger > Sent: 07 July 2016 05:05 > On Tue, 5 Jul 2016 10:53:38 -0500 > Eli Cohen wrote: > > > > > +static int extract_guid(__u64 *guid, char *arg) > > +{ > > + __u64 ret; > > + int g[8]; > > + int err; > > + > > + err = sscanf(arg,

Re: [PATCH] Add support for configuring Infiniband GUIDs

2016-07-06 Thread Stephen Hemminger
On Tue, 5 Jul 2016 10:53:38 -0500 Eli Cohen wrote: > > +static int extract_guid(__u64 *guid, char *arg) > +{ > + __u64 ret; > + int g[8]; > + int err; > + > + err = sscanf(arg, "%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x", > + g, g + 1, g + 2,

[PATCH] Add support for configuring Infiniband GUIDs

2016-07-05 Thread Eli Cohen
Add two NLA's that allow configuration of Infiniband node or port GUIDs by referencing the IPoIB net device set over then physical function. The format to be used is as follows: ip link set dev ib0 vf 0 node_guid 00:02:c9:03:00:21:6e:70 ip link set dev ib0 vf 0 port_guid 00:02:c9:03:00:21:6e:78

RE: [PATCH] Add support for configuring Infiniband GUIDs

2016-07-01 Thread Eli Cohen
: Sergei Shtylyov [mailto:sergei.shtyl...@cogentembedded.com] Sent: Friday, May 06, 2016 12:05 PM To: Eli Cohen <e...@mellanox.com>; shemmin...@osdl.org Cc: netdev@vger.kernel.org Subject: Re: [PATCH] Add support for configuring Infiniband GUIDs Hello. On 05/06/2016 06:43 PM, Eli Cohen wrote:

Re: [PATCH] Add support for configuring Infiniband GUIDs

2016-06-06 Thread Eli Cohen
Hi Stephen, can you please comment on this or can we move forward with submitting this patch? Thanks, Eli On Fri, May 13, 2016 at 10:52:25PM +0300, Eli Cohen wrote: > Hi Stephen, > > can you please comment on this or are you going to apply this? > > On Mon, May 09, 2016 at 03:52:02PM +,

Re: [PATCH] Add support for configuring Infiniband GUIDs

2016-05-13 Thread Eli Cohen
Hi Stephen, can you please comment on this or are you going to apply this? On Mon, May 09, 2016 at 03:52:02PM +, Eli Cohen wrote: > Hi Stephen, > > ibstat is usually used with MLNX_OFED distributions and I don't think it is a > part of libibverbs. > Moreover, in a previous patch I sent >

RE: [PATCH] Add support for configuring Infiniband GUIDs

2016-05-09 Thread Eli Cohen
netdev@vger.kernel.org Subject: Re: [PATCH] Add support for configuring Infiniband GUIDs On Fri, 6 May 2016 10:43:25 -0500 Eli Cohen <e...@mellanox.com> wrote: > Add two NLA's that allow configuration of Infiniband node or port > GUIDs by referencing the IPoIB net device set over then ph

Re: [PATCH] Add support for configuring Infiniband GUIDs

2016-05-07 Thread Leon Romanovsky
On Fri, May 06, 2016 at 10:43:25AM -0500, Eli Cohen wrote: > Add two NLA's that allow configuration of Infiniband node or port GUIDs > by referencing the IPoIB net device set over then physical function. The > format to be used is as follows: > > ip link set dev ib0 vf 0 node_guid

Re: [PATCH] Add support for configuring Infiniband GUIDs

2016-05-06 Thread Stephen Hemminger
On Fri, 6 May 2016 10:43:25 -0500 Eli Cohen wrote: > Add two NLA's that allow configuration of Infiniband node or port GUIDs > by referencing the IPoIB net device set over then physical function. The > format to be used is as follows: > > ip link set dev ib0 vf 0 node_guid

Re: [PATCH] Add support for configuring Infiniband GUIDs

2016-05-06 Thread Sergei Shtylyov
Hello. On 05/06/2016 06:43 PM, Eli Cohen wrote: Add two NLA's that allow configuration of Infiniband node or port GUIDs by referencing the IPoIB net device set over then physical function. The format to be used is as follows: ip link set dev ib0 vf 0 node_guid 00:02:c9:03:00:21:6e:70 ip link

[PATCH] Add support for configuring Infiniband GUIDs

2016-05-06 Thread Eli Cohen
Add two NLA's that allow configuration of Infiniband node or port GUIDs by referencing the IPoIB net device set over then physical function. The format to be used is as follows: ip link set dev ib0 vf 0 node_guid 00:02:c9:03:00:21:6e:70 ip link set dev ib0 vf 0 port_guid 00:02:c9:03:00:21:6e:78