Files
tegra-linux-noble/include/linux
Vlad Yasevich 4085ebe8c3 net: Find the nesting level of a given device by type.
Multiple devices in the kernel can be stacked/nested and they
need to know their nesting level for the purposes of lockdep.
This patch provides a generic function that determines a nesting
level of a particular device by its type (ex: vlan, macvlan, etc).
We only care about nesting of the same type of devices.

For example:
  eth0 <- vlan0.10 <- macvlan0 <- vlan1.20

The nesting level of vlan1.20 would be 1, since there is another vlan
in the stack under it.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-16 22:14:49 -04:00
..
2014-03-28 20:42:01 +01:00
2014-04-18 16:40:08 -07:00
2014-03-11 11:52:47 +01:00
2014-04-03 16:20:58 -07:00
2014-04-01 17:08:43 +02:00
2014-04-01 23:19:14 -04:00
2014-03-10 11:44:42 -04:00
2014-03-10 17:26:19 -07:00
2014-04-07 16:36:07 -07:00
2014-04-17 12:30:40 -07:00
2014-03-13 12:11:00 +10:30
2014-04-03 16:20:50 -07:00
2014-04-01 23:19:08 -04:00
2014-04-01 23:19:10 -04:00
2014-03-17 15:14:16 -04:00
2014-03-17 15:15:21 -04:00
2014-04-07 10:59:19 -07:00
2014-04-03 16:21:04 -07:00
2014-03-19 15:11:19 -06:00
2014-03-19 22:24:08 -04:00
2014-03-09 19:53:45 +01:00
2014-04-01 17:08:43 +02:00
2014-04-07 16:35:53 -07:00