]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe94c9a8df619639897573a2f6e9306318a55bb1
treecf1f0b08f2eebdf47cc606db6506b164dc0dbd8a
parent8beded57a1f69de068d991aae2bfa01e588af56d
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