From: Shahed Shaikh <shahed.shaikh@qlogic.com>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, Dept_NX_Linux_NIC_Driver@qlogic.com,
Manish chopra <manish.chopra@qlogic.com>
Subject: [PATCH net-next 1/5] qlcnic: Fix configure mailbox interrupt command for 83xx adapter
Date: Fri, 22 Mar 2013 11:57:53 -0400 [thread overview]
Message-ID: <1363967877-16812-2-git-send-email-shahed.shaikh@qlogic.com> (raw)
In-Reply-To: <1363967877-16812-1-git-send-email-shahed.shaikh@qlogic.com>
From: Manish chopra <manish.chopra@qlogic.com>
o Due to improper data type of variable "type", interrupt resources were
not getting deleted in hardware which was causing resource exhaustion
in hardware. Hence mailbox command fails after some iterations of context change.
Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
---
.../net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
index 56c3676..8de8ca5 100644
--- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
+++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
@@ -2111,9 +2111,8 @@ int qlcnic_83xx_get_pci_info(struct qlcnic_adapter *adapter,
int qlcnic_83xx_config_intrpt(struct qlcnic_adapter *adapter, bool op_type)
{
int i, index, err;
- bool type;
u8 max_ints;
- u32 val, temp;
+ u32 val, temp, type;
struct qlcnic_cmd_args cmd;
max_ints = adapter->ahw->num_msix - 1;
--
1.5.6
next prev parent reply other threads:[~2013-03-22 16:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-22 15:57 [PATCH net-next 0/5] qlcnic: bug fixes and log enhancement Shahed Shaikh
2013-03-22 15:57 ` Shahed Shaikh [this message]
2013-03-22 15:57 ` [PATCH net-next 2/5] qlcnic: Log warning message for 83xx adapter in MSI mode Shahed Shaikh
2013-03-22 15:57 ` [PATCH net-next 3/5] qlcnic: change mdelay to msleep Shahed Shaikh
2013-03-22 15:57 ` [PATCH net-next 4/5] qlcnic: Clear link status when interface is down Shahed Shaikh
2013-03-22 15:57 ` [PATCH net-next 5/5] qlcnic: Bump up the version to 5.1.38 Shahed Shaikh
2013-03-22 16:47 ` [PATCH net-next 0/5] qlcnic: bug fixes and log enhancement David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1363967877-16812-2-git-send-email-shahed.shaikh@qlogic.com \
--to=shahed.shaikh@qlogic.com \
--cc=Dept_NX_Linux_NIC_Driver@qlogic.com \
--cc=davem@davemloft.net \
--cc=manish.chopra@qlogic.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).