dcbnl: add appliction tlv handlers
authorJohn Fastabend <john.r.fastabend@intel.com>
Thu, 30 Dec 2010 09:26:31 +0000 (09:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Dec 2010 18:47:45 +0000 (10:47 -0800)
commit9ab933ab2cc80f04690d6aa385b1110075c5e507
tree439f1d393d080473575f5ecfe6dcd4f3c10775e9
parent3e29027af43728c2a91fe3f735ab2822edaf54a8
dcbnl: add appliction tlv handlers

This patch adds application tlv handlers. Networking stacks
may use the application priority to set the skb priority of
their stack using the negoatiated dcbx priority.

This patch provides the dcb_{get|set}app() routines for the
stack to query these parameters. Notice lower layer drivers
can use the dcbnl_ops routines if additional handling is
needed. Perhaps in the firmware case for example

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Shmulik Ravid <shmulikr@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/dcbnl.h
include/net/dcbnl.h
net/dcb/dcbnl.c