Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 2013 20:07:01 +0000 (UTC)
From:      David C Somayajulu <davidcs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r255003 - head/sys/dev/qlxgbe
Message-ID:  <201308282007.r7SK71FZ055994@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: davidcs
Date: Wed Aug 28 20:07:00 2013
New Revision: 255003
URL: http://svnweb.freebsd.org/changeset/base/255003

Log:
  ql_minidump() should be performed only by port 0.
  
  Submitted by: David C Somayajulu

Modified:
  head/sys/dev/qlxgbe/ql_os.c

Modified: head/sys/dev/qlxgbe/ql_os.c
==============================================================================
--- head/sys/dev/qlxgbe/ql_os.c	Wed Aug 28 20:00:25 2013	(r255002)
+++ head/sys/dev/qlxgbe/ql_os.c	Wed Aug 28 20:07:00 2013	(r255003)
@@ -1642,8 +1642,6 @@ qla_error_recovery(void *context, int pe
 
         QLA_UNLOCK(ha, __func__);
 
-	ql_minidump(ha);
-	
 	if ((ha->pci_func & 0x1) == 0) {
 
 		if (!ha->msg_from_peer) {
@@ -1656,6 +1654,8 @@ qla_error_recovery(void *context, int pe
 
 		ha->msg_from_peer = 0;
 
+		ql_minidump(ha);
+
 		(void) ql_init_hw(ha);
         	qla_free_xmt_bufs(ha);
 	        qla_free_rcv_bufs(ha);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308282007.r7SK71FZ055994>