dcbnl: make get_app handling symmetric for IEEE and CEE DCBx
authorJohn Fastabend <john.r.fastabend@intel.com>
Fri, 21 Jan 2011 16:35:18 +0000 (16:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jan 2011 23:19:55 +0000 (15:19 -0800)
commit3dce38a02d6370dca690cd923619d4b00024b723
tree84fc1c9c7af139fa805d9d28b29dfb1fd8f1a158
parent5955e7524790a2c8972487ab43347c28a1931521
dcbnl: make get_app handling symmetric for IEEE and CEE DCBx

The IEEE get/set app handlers use generic routines and do not
require the net_device to implement the dcbnl_ops routines. This
patch makes it symmetric so user space and drivers do not have
to handle the CEE version and IEEE DCBx versions differently.

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