netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] cxgb4: fix initial addition of MAC address
@ 2010-05-18 20:07 Dimitris Michailidis
  2010-05-18 20:07 ` [PATCH 2/3] cxgb4: keep interrupts available when the ports are brought down Dimitris Michailidis
  2010-05-18 22:16 ` [PATCH 1/3] cxgb4: fix initial addition of MAC address David Miller
  0 siblings, 2 replies; 6+ messages in thread
From: Dimitris Michailidis @ 2010-05-18 20:07 UTC (permalink / raw)
  To: netdev; +Cc: Dimitris Michailidis

The call to add the MAC address during link initialization wasn't adding the
address to one of the HW tables.  Fix.

Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
---
 drivers/net/cxgb4/cxgb4_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/cxgb4/cxgb4_main.c b/drivers/net/cxgb4/cxgb4_main.c
index 90d375b..1f59971 100644
--- a/drivers/net/cxgb4/cxgb4_main.c
+++ b/drivers/net/cxgb4/cxgb4_main.c
@@ -315,7 +315,7 @@ static int link_start(struct net_device *dev)
 	if (ret == 0) {
 		ret = t4_change_mac(pi->adapter, 0, pi->viid,
 				    pi->xact_addr_filt, dev->dev_addr, true,
-				    false);
+				    true);
 		if (ret >= 0) {
 			pi->xact_addr_filt = ret;
 			ret = 0;
-- 
1.5.4


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

end of thread, other threads:[~2010-05-18 22:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-18 20:07 [PATCH 1/3] cxgb4: fix initial addition of MAC address Dimitris Michailidis
2010-05-18 20:07 ` [PATCH 2/3] cxgb4: keep interrupts available when the ports are brought down Dimitris Michailidis
2010-05-18 20:07   ` [PATCH 3/3] cxgb4: notify upper drivers if the device is already up when they load Dimitris Michailidis
2010-05-18 22:17     ` David Miller
2010-05-18 22:17   ` [PATCH 2/3] cxgb4: keep interrupts available when the ports are brought down David Miller
2010-05-18 22:16 ` [PATCH 1/3] cxgb4: fix initial addition of MAC address 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).