]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8eca27adfd357e0a5618b0f1921dcced20967d0e
tree439f1d393d080473575f5ecfe6dcd4f3c10775e9
parentb7441502a49dde874c330788934df6ad9abe4d71
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