dcb: Use ifindex instead of ifname
authorMark Rustad <mark.d.rustad@intel.com>
Thu, 6 Oct 2011 08:52:33 +0000 (08:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Oct 2011 19:49:51 +0000 (15:49 -0400)
commite290ed81307ca7d92675f0d9c683add693c2f377
treecf1f0b08f2eebdf47cc606db6506b164dc0dbd8a
parente878d78b9a7403fabc89ecc93c56928b74d14f01
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>
include/net/dcbnl.h
net/dcb/dcbnl.c