]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
net: fix DCB setstate to return success/failure
authorDon Skidmore <donald.c.skidmore@intel.com>
Mon, 22 Dec 2008 04:09:50 +0000 (20:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Dec 2008 04:09:50 +0000 (20:09 -0800)
commit1486a61ebcd2711532f8163d30babc40e11e7b40
tree49fb6ba4e4f6ade0f1db0f6c86d0feb207857e65
parentc2da953a46b18b7515ad476c1c1686640a12e93a
net: fix DCB setstate to return success/failure

Data Center Bridging (DCB) had no way to know if setstate had failed in the
driver.  This patch enables dcb netlink code to handle the status for the DCB
setstate interface.  Likewise it allows the driver to return a failed status
if MSI-X isn't enabled.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: Eric W Multanen <eric.w.multanen@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_dcb_nl.c
include/net/dcbnl.h
net/dcb/dcbnl.c