ixgbe: dcb, set DPF bit when PFC is enabled
authorJohn Fastabend <john.r.fastabend@intel.com>
Mon, 19 Jul 2010 13:59:03 +0000 (13:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jul 2010 03:23:36 +0000 (20:23 -0700)
commitfca562ad63d12a32a74b40c86dfe61de9a21fd73
tree0b64fabd55aa9f930326e5c226ce2b5f27651d50
parentb59544649d6bb5134ab56764836efc29241ae5e0
ixgbe: dcb, set DPF bit when PFC is enabled

Set the DPF bit when PFC is enabled.  This will discard
PFC frames so they do not get passed up the stack.

The DPF bit is set for flow control, but not priority
flow control this brings pfc inline with fc.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@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_82599.c