net: dcb: application priority is per net_device
authorJohn Fastabend <john.r.fastabend@intel.com>
Mon, 31 Jan 2011 12:00:59 +0000 (12:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Feb 2011 19:02:39 +0000 (11:02 -0800)
commit7ec79270d7de0c8ca602c47cb25a9652ec28f37f
tree77386b7e90fa4891589ec139790579fb8b791d01
parent8a870178c0ad1bae9994c99bd01eb10c9903e616
net: dcb: application priority is per net_device

The app_data priority may not be the same for all net devices.
In order for stacks with application notifiers to identify the
specific net device dcb_app_type should be passed in the ptr.

This allows handlers to use dev_get_by_name() to pin priority
to net devices.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dcb/dcbnl.c