datapath: Drop datapath index and port number from Ethtool output.
authorBen Pfaff <blp@nicira.com>
Wed, 29 Dec 2010 22:20:16 +0000 (14:20 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 28 Jan 2011 05:08:36 +0000 (21:08 -0800)
commit9fe3b9a2eeace9689def807e78e35c79e4b1814b
tree855804c2aaa1c0477e98d7fbfedd61e5fa137575
parent51d4d59822785c1044cd96e6c73427347e0154c2
datapath: Drop datapath index and port number from Ethtool output.

I introduced this a long time ago as an efficient way for userspace to find
out whether and where an internal device was attached, but I've always
considered it an ugly kluge.  Now that ODP_VPORT_QUERY can fetch a vport's
info regardless of datapath, it is no longer necessary.  This commit
stops using Ethtool for this purpose and drops the feature.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/vport-internal_dev.c
lib/automake.mk
lib/dpif-linux.c
lib/dpif-linux.h [new file with mode: 0644]
lib/netdev-linux.c