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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jun 2011 23:06:11 +0000 (16:06 -0700)
commitc7797baf9f3900996ca800ab6298f95957bb4606
tree62da7aa3eff5fc13792ce32d8405a24ec8ad1eaf
parentf4b5ad26bcb983c493e131ff34b2fa60100c82e5
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>
net/dcb/dcbnl.c