Re: [PATCH 1/1] be2iscsi: Enabling MSIX and mcc_rings V2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux