git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge citrix into master.
[sliver-openvswitch.git]
/
datapath
/
dp_dev.c
diff --git
a/datapath/dp_dev.c
b/datapath/dp_dev.c
index
b0ba301
..
008f3f6
100644
(file)
--- a/
datapath/dp_dev.c
+++ b/
datapath/dp_dev.c
@@
-118,7
+118,7
@@
static void dp_getinfo(struct net_device *netdev, struct ethtool_drvinfo *info)
{
struct dp_dev *dp_dev = dp_dev_priv(netdev);
strcpy(info->driver, "openvswitch");
{
struct dp_dev *dp_dev = dp_dev_priv(netdev);
strcpy(info->driver, "openvswitch");
- sprintf(info->bus_info, "%d
", dp_dev->dp->dp_idx
);
+ sprintf(info->bus_info, "%d
.%d", dp_dev->dp->dp_idx, dp_dev->port_no
);
}
static struct ethtool_ops dp_ethtool_ops = {
}
static struct ethtool_ops dp_ethtool_ops = {