diff options
author | Mark Rustad <mark.d.rustad@intel.com> | 2011-10-06 12:52:33 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-06 23:49:51 +0400 |
commit | e290ed81307ca7d92675f0d9c683add693c2f377 (patch) | |
tree | cf1f0b08f2eebdf47cc606db6506b164dc0dbd8a /include/net/dcbnl.h | |
parent | e878d78b9a7403fabc89ecc93c56928b74d14f01 (diff) | |
download | linux-e290ed81307ca7d92675f0d9c683add693c2f377.tar.xz |
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/dcbnl.h')
-rw-r--r-- | include/net/dcbnl.h | 2 |
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; }; |