]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dcb: Add DCBX capabilities bitmask to the get_ieee response
authorJohn Fastabend <john.r.fastabend@intel.com>
Tue, 21 Jun 2011 07:34:31 +0000 (07:34 +0000)
committerJoe Jin <joe.jin@oracle.com>
Wed, 16 May 2012 07:28:12 +0000 (15:28 +0800)
commit42caefe97422b7431af295127ed2668bfcb503a2
tree44516e20d6cabbf8cd4858398ba5a84bab862e11
parentd715f3104e2f880539583f5b3563bea03febc9ca
dcb: Add DCBX capabilities bitmask to the get_ieee response

Adding the capabilities bitmask to the get_ieee response allows
user space to determine the current DCBX mode. Either CEE or IEEE
this is useful with devices that support switching between modes
where knowing the current state is relevant.

Derived from work by Mark Rustad

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit c7797baf9f3900996ca800ab6298f95957bb4606)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
net/dcb/dcbnl.c