aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMark Rustad <mark.d.rustad@intel.com>2011-10-06 08:52:33 +0000
committerDavid S. Miller <davem@davemloft.net>2011-10-06 15:49:51 -0400
commite290ed81307ca7d92675f0d9c683add693c2f377 (patch)
treecf1f0b08f2eebdf47cc606db6506b164dc0dbd8a /include/net
parentvirtio-net: Verify page list size before fitting into skb (diff)
downloadlinux-dev-e290ed81307ca7d92675f0d9c683add693c2f377.tar.xz
linux-dev-e290ed81307ca7d92675f0d9c683add693c2f377.zip
dcb: Use ifindex instead of ifname
Use ifindex instead of ifname in the DCB app ring. This makes for a smaller data structure and faster comparisons. It also avoids possible issues when a net device is renamed. Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/dcbnl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/dcbnl.h b/include/net/dcbnl.h
index f5aa39997f0b..263aa3ae76f5 100644
--- a/include/net/dcbnl.h
+++ b/include/net/dcbnl.h
@@ -23,7 +23,7 @@
#include <linux/dcbnl.h>
struct dcb_app_type {
- char name[IFNAMSIZ];
+ int ifindex;
struct dcb_app app;
struct list_head list;
};