diff options
author | John Fastabend <john.r.fastabend@intel.com> | 2010-01-27 16:37:44 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-28 05:55:53 -0800 |
commit | ebe1b30cd441b576fb9d0b42857af3e423dd5826 (patch) | |
tree | 37743934a110b17c85c65f8c34de845955ee6faf /drivers/net | |
parent | ac26d7d6aca9621f75f6954c159d2727c9c9cbd0 (diff) | |
download | op-kernel-dev-ebe1b30cd441b576fb9d0b42857af3e423dd5826.zip op-kernel-dev-ebe1b30cd441b576fb9d0b42857af3e423dd5826.tar.gz |
ixgbe: set the correct DCB bit for pg tx settings
Set the correct bit BIT_PG_TX when tx PG settings are set.
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: PJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_dcb_nl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_dcb_nl.c b/drivers/net/ixgbe/ixgbe_dcb_nl.c index 56f37f6..383e799 100644 --- a/drivers/net/ixgbe/ixgbe_dcb_nl.c +++ b/drivers/net/ixgbe/ixgbe_dcb_nl.c @@ -223,7 +223,7 @@ static void ixgbe_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int bwg_id, if (adapter->temp_dcb_cfg.bw_percentage[0][bwg_id] != adapter->dcb_cfg.bw_percentage[0][bwg_id]) { - adapter->dcb_set_bitmap |= BIT_PG_RX; + adapter->dcb_set_bitmap |= BIT_PG_TX; adapter->dcb_set_bitmap |= BIT_RESETLINK; } } |