Re: [ofa-general] Re: [PATCH v4 14/14] QLogic VNIC: sysfs Documentation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Patrick McHardy
Date: Thursday, June 12, 2008 - 9:03 am

Ramachandra K wrote:


We introduced the rtnl_link API to avoid having each driver
come up with its own method of creating virtual network devices.

Besides the fact that it is the interface intended to be used
for this kind of thing and the advantages mentioned in my
response to Roland, looking at your interface, there are a
few more advantages from integrating this cleanly in iproute:

 > +echo -n 00066a01de000037 		 > 
/sys/class/infiniband_qlgc_vnic/interfaces/veth1/primary_path/ioc_guid
 > +echo -n fe8000000000000100066a11de000037 > 
/sys/class/infiniband_qlgc_vnic/interfaces/veth1/primary_path/dgid
 > +echo -n ffff 				 > 
/sys/class/infiniband_qlgc_vnic/interfaces/veth1/primary_path/pkey

I guess life would be easier for users if those parameters can
be generated in userspace or at least looked up in something
like the maps in /etc/iproute2/.

 > +echo -n 100 				 > 
/sys/class/infiniband_qlgc_vnic/interfaces/veth1/primary_path/heartbeat

I assume thats some kind of timing parameter. iproute
would allow to specify the (undocumented) unit and convert
it appropriately.

In any case, things like tx_csum and rx_csum definitely do
not belong in this interface.


Sorry, that wasn't meant seriously :)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v4 00/14] QLogic VNIC Driver , Ramachandra K, (Tue Jun 10, 2:02 pm)
[PATCH v4 06/14] QLogic VNIC: IB core stack interaction, Ramachandra K, (Tue Jun 10, 2:05 pm)
[PATCH v4 14/14] QLogic VNIC: sysfs Documentation, Ramachandra K, (Tue Jun 10, 2:09 pm)
Re: [PATCH v4 04/14] QLogic VNIC: Implementation of Contro ..., Stephen Hemminger, (Tue Jun 10, 3:21 pm)
Re: [PATCH v4 14/14] QLogic VNIC: sysfs Documentation, Patrick McHardy, (Tue Jun 10, 11:47 pm)
Re: [ofa-general] [PATCH v4 00/14] QLogic VNIC Driver, Ramachandra K, (Thu Jun 12, 8:21 am)
Re: [ofa-general] [PATCH v4 00/14] QLogic VNIC Driver, Patrick McHardy, (Thu Jun 12, 8:35 am)
Re: [ofa-general] Re: [PATCH v4 14/14] QLogic VNIC: sysfs ..., Patrick McHardy, (Thu Jun 12, 9:03 am)
Re: [ofa-general] Re: [PATCH v4 14/14] QLogic VNIC: sysfs ..., Jason Gunthorpe, (Sat Jun 14, 12:03 pm)
Re: [ofa-general] Re: [PATCH v4 14/14] QLogic VNIC: sysfs ..., Jason Gunthorpe, (Wed Jun 18, 11:21 am)