netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/10] ixgbe: Enable another bit for flow control operation
@ 2009-04-10  8:26 Jeff Kirsher
  2009-04-10  8:26 ` [PATCH 02/10] ixgbe: fix IXGBE_MTQC values Jeff Kirsher
                   ` (9 more replies)
  0 siblings, 10 replies; 20+ messages in thread
From: Jeff Kirsher @ 2009-04-10  8:26 UTC (permalink / raw)
  To: davem; +Cc: netdev, gospo, Peter P Waskiewicz Jr, Jeff Kirsher

From: PJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>

The discard pause frames bit was not enabled, so flow control frames could
be passed up to the host.  Enabled DPF to keep the frames off the stack.

Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---

 drivers/net/ixgbe/ixgbe_82598.c  |    1 +
 drivers/net/ixgbe/ixgbe_common.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/ixgbe/ixgbe_82598.c b/drivers/net/ixgbe/ixgbe_82598.c
index 4791238..982783c 100644
--- a/drivers/net/ixgbe/ixgbe_82598.c
+++ b/drivers/net/ixgbe/ixgbe_82598.c
@@ -322,6 +322,7 @@ static s32 ixgbe_fc_enable_82598(struct ixgbe_hw *hw, s32 packetbuf_num)
 	}
 
 	/* Enable 802.3x based flow control settings. */
+	fctrl_reg |= IXGBE_FCTRL_DPF;
 	IXGBE_WRITE_REG(hw, IXGBE_FCTRL, fctrl_reg);
 	IXGBE_WRITE_REG(hw, IXGBE_RMCS, rmcs_reg);
 
diff --git a/drivers/net/ixgbe/ixgbe_common.c b/drivers/net/ixgbe/ixgbe_common.c
index 5567519..c1b9045 100644
--- a/drivers/net/ixgbe/ixgbe_common.c
+++ b/drivers/net/ixgbe/ixgbe_common.c
@@ -1700,6 +1700,7 @@ s32 ixgbe_fc_enable(struct ixgbe_hw *hw, s32 packetbuf_num)
 	}
 
 	/* Enable 802.3x based flow control settings. */
+	mflcn_reg |= IXGBE_MFLCN_DPF;
 	IXGBE_WRITE_REG(hw, IXGBE_MFLCN, mflcn_reg);
 	IXGBE_WRITE_REG(hw, IXGBE_FCCFG, fccfg_reg);
 


^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2009-04-11  9:51 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-10  8:26 [PATCH 01/10] ixgbe: Enable another bit for flow control operation Jeff Kirsher
2009-04-10  8:26 ` [PATCH 02/10] ixgbe: fix IXGBE_MTQC values Jeff Kirsher
2009-04-11  9:50   ` David Miller
2009-04-10  8:27 ` [PATCH 03/10] ixgbe: add support for addition VT_CTL defines Jeff Kirsher
2009-04-11  9:50   ` David Miller
2009-04-10  8:27 ` [PATCH 04/10] ixgbe: add define to support 82599 64 IVAR registers Jeff Kirsher
2009-04-11  9:50   ` David Miller
2009-04-10  8:27 ` [PATCH 05/10] ixgbe: Don't return error in flow control configuration if FC is off Jeff Kirsher
2009-04-11  9:50   ` David Miller
2009-04-10  8:27 ` [PATCH 06/10] ixgbe: Move PHY ops initialization to centralize bus accesses Jeff Kirsher
2009-04-11  9:50   ` David Miller
2009-04-10  8:28 ` [PATCH 07/10] ixgbe: Remove unnecessary PHY reset, properly identify multispeed fiber modules Jeff Kirsher
2009-04-11  9:51   ` David Miller
2009-04-10  8:28 ` [PATCH 08/10] ixgbe: Update the usage of orig_autoc to be more consistent Jeff Kirsher
2009-04-11  9:51   ` David Miller
2009-04-10  8:28 ` [PATCH 09/10] ixgbe: Update get_physical_layer() calls, plus a version bump Jeff Kirsher
2009-04-11  9:51   ` David Miller
2009-04-10  8:29 ` [PATCH 10/10] Be explict with what we are !'ing in ixgbe_sfp_config_module_task() Jeff Kirsher
2009-04-11  9:51   ` David Miller
2009-04-11  9:49 ` [PATCH 01/10] ixgbe: Enable another bit for flow control operation David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).