linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Christie <michaelc@cs.wisc.edu>
To: Jayamohan Kalickal <jayamohank@serverengines.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH 1/1] be2iscsi: Enabling MSIX and mcc_rings V2
Date: Wed, 21 Oct 2009 12:19:06 -0500	[thread overview]
Message-ID: <4ADF428A.6020505@cs.wisc.edu> (raw)
In-Reply-To: <20091017011435.GA25197@serverengines.com>

Jayamohan Kallickal wrote:
>  This patch
> 
>  1) Turns on msix
>  2) Adds mcc_ring support for sending FW commands
>  3) Adds Support for Ring Mode of WRB Posting
>  4) Adds sysfs for FW commands


I think msix should be a separate patch from the fw command one, and the 
ring mode changes could probably be in a separate patch too.



> +
> +static void beiscsi_async_link_state_process(struct beiscsi_hba *phba,
> +		struct be_async_event_link_state *evt)
> +{
> +	switch (evt->port_link_status) {
> +	case ASYNC_EVENT_LINK_DOWN:
> +		SE_DEBUG(DBG_LVL_1, "Link Down on Physical Port %d \n",
> +						evt->physical_port);
> +		break;


When you get a link down, does it cause the fw do start iscsi recovery 
or does it send the driver a notification that a command is failed due 
to the link down. For example if we were doing erl0, and the link is 
gone, would the fw return some error for each command?


For link down maybe you want to fire a iscsi conn error for each 
session/connection on the port, so that way the iscsi layer can block 
the sessions and start recovery.

  parent reply	other threads:[~2009-10-21 17:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-17  1:15 [PATCH 1/1] be2iscsi: Enabling MSIX and mcc_rings V2 Jayamohan Kallickal
2009-10-19 16:26 ` James Smart
2009-10-21 17:19 ` Mike Christie [this message]
2009-10-21 17:39 ` Mike Christie
  -- strict thread matches above, loose matches on Subject: below --
2009-10-21 18:10 Jayamohan Kalickal
2009-10-21 18:20 ` Mike Christie

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=4ADF428A.6020505@cs.wisc.edu \
    --to=michaelc@cs.wisc.edu \
    --cc=jayamohank@serverengines.com \
    --cc=linux-scsi@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).