]> 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)
commitec1324298f44798a40beae54c9667a921dbb1ec2
treecf1f0b08f2eebdf47cc606db6506b164dc0dbd8a
parentae825ddaf1f5fc894d128bd478997db61410b6c6
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