]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jun 2011 23:06:11 +0000 (16:06 -0700)
commitd8d17d63475c456b1bb573ae5bb572c08f9eba52
tree62da7aa3eff5fc13792ce32d8405a24ec8ad1eaf
parentb25c04695ad67935d88c27f94006fb486b67fd3e
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