Hello community, here is the log from the commit of package open-iscsi for openSUSE:Factory checked in at 2018-12-10 12:22:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old) and /work/SRC/openSUSE:Factory/.open-iscsi.new.19453 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "open-iscsi" Mon Dec 10 12:22:43 2018 rev:78 rq:655895 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes 2018-11-27 10:39:40.568363398 +0100 +++ /work/SRC/openSUSE:Factory/.open-iscsi.new.19453/open-iscsi.changes 2018-12-10 12:22:44.834861739 +0100 @@ -1,0 +2,7 @@ +Thu Dec 6 18:38:33 UTC 2018 - [email protected] + +- Fixed iscsiuio issues (bsc#1116712) by merging the latest from + upstream, bringing the iscsiuio version to v0.7.8.5, updating: + * open-iscsi-SUSE-latest.diff.bz2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ open-iscsi-SUSE-latest.diff.bz2 ++++++ --- /var/tmp/diff_new_pack.VSdYmE/_old 2018-12-10 12:22:45.354861221 +0100 +++ /var/tmp/diff_new_pack.VSdYmE/_new 2018-12-10 12:22:45.358861217 +0100 @@ -12,8 +12,117 @@ SCRIPTS = utils/iscsi_discovery utils/iscsi_fw_login utils/iscsi_offload \ utils/iscsi-gen-initiatorname INSTALL = install +diff --git a/iscsiuio/README b/iscsiuio/README +index 9cbf7ce6717a..19150055a3fb 100644 +--- a/iscsiuio/README ++++ b/iscsiuio/README +@@ -1,6 +1,6 @@ + Iscsiuio Userspace Tool +-Version 0.7.8.4 +-Feb 22, 2018 ++Version 0.7.8.5 ++Nov 20, 2018 + ------------------------------------------------------ + + This tool is to be used in conjunction with the QLogic NetXtreme II Linux +diff --git a/iscsiuio/RELEASE.TXT b/iscsiuio/RELEASE.TXT +index ca51b26338a1..0ebf27f9539c 100644 +--- a/iscsiuio/RELEASE.TXT ++++ b/iscsiuio/RELEASE.TXT +@@ -1,7 +1,7 @@ + Release Notes + QLogic uIP Linux Driver +- Version 0.7.8.4 +- 2/22/2018 ++ Version 0.7.8.5 ++ 11/20/2018 + + QLogic Corporation + 26650 Aliso Viejo Pkwy, +@@ -11,7 +11,29 @@ + Copyright (c) 2014, QLogic Corporation + All rights reserved + ++uIP v0.7.8.5 (Nov 20, 2018) ++======================================================= ++ Fixes: ++ ------- ++ 1. Problem: CQ102578: observing ISCSI initiator IP ping drop ++ Change: 1. Do not flush tx queue on each uio interrupt ++ 2. Use UIO BD index instead on buffer index. ++ 3. Set buf_size in case of ICMP and ARP packet ++ Impact: QL41xxx adapters ++ ++ 2. Problem: CQ103034 - Unable to boot iSCSI BFS in IPv6 DHCP config ++ Change: Limit retries of performing dhcpv6 before declaring dhcp failure ++ Impact: All ++ ++ 3. Problem: CQ102438: I/O fails to resume on multipath LUN during port toggle. ++ Change: lib/cnic, lib/qedi, Release xmit_mutex in error code path and ++ during clear tx queue. ++ Impact: QL84xx adapters + ++ 4. Problem: Netlink buffer corruption when more than one host ++ try to xmit packet at the same time ++ Change: Add inter-host mutex while doing xmit ++ Impact: All + + uIP v0.7.8.4 (Feb 22, 2018) + ======================================================= +diff --git a/iscsiuio/configure.ac b/iscsiuio/configure.ac +index fa67ea74c47a..ae23078aa0a3 100644 +--- a/iscsiuio/configure.ac ++++ b/iscsiuio/configure.ac +@@ -12,9 +12,9 @@ dnl Benjamin Li ([email protected]) + dnl + + PACKAGE=iscsiuio +-VERSION=0.7.8.4 ++VERSION=0.7.8.5 + +-AC_INIT([iscsiuio], [0.7.8.4], [[email protected]]) ++AC_INIT([iscsiuio], [0.7.8.5], [[email protected]]) + + AM_INIT_AUTOMAKE + AC_CONFIG_HEADER(config.h) +diff --git a/iscsiuio/src/unix/libs/qedi.c b/iscsiuio/src/unix/libs/qedi.c +index 3aa2de7155e8..b7595d5223eb 100644 +--- a/iscsiuio/src/unix/libs/qedi.c ++++ b/iscsiuio/src/unix/libs/qedi.c +@@ -994,7 +994,7 @@ static int qedi_read(nic_t *nic, packet_t *pkt) + void *rx_pkt; + int rc = 0; + uint32_t sw_cons, bd_cons; +- uint32_t hw_prod; ++ uint32_t hw_prod, bd_prod; + uint32_t rx_pkt_idx; + int len; + struct qedi_rx_bd *rx_bd; +@@ -1013,14 +1013,20 @@ static int qedi_read(nic_t *nic, packet_t *pkt) + msync(bp->rx_comp_ring, nic->page_size, MS_SYNC); + uctrl = (struct qedi_uio_ctrl *)bp->uctrl_map; + hw_prod = uctrl->hw_rx_prod; ++ bd_prod = uctrl->hw_rx_bd_prod; + sw_cons = uctrl->host_rx_cons; + bd_cons = uctrl->host_rx_bd_cons; +- rx_bd = bp->rx_comp_ring + (bd_cons * sizeof(*rx_bd)); ++ rx_bd = bp->rx_comp_ring + (bd_prod * sizeof(*rx_bd)); + len = rx_bd->rx_pkt_len; + rx_pkt_idx = rx_bd->rx_pkt_index; + vlan_id = rx_bd->vlan_id; + +- if (sw_cons != hw_prod) { ++ LOG_DEBUG(PFX "%s:hw_prod %d bd_prod %d, rx_pkt_idx %d, rxlen %d", ++ nic->log_name, hw_prod, bd_prod, rx_bd->rx_pkt_index, len); ++ LOG_DEBUG(PFX "%s: sw_con %d bd_cons %d num BD %d", ++ nic->log_name, sw_cons, bd_cons, QEDI_NUM_RX_BD); ++ ++ if (bd_cons != bd_prod) { + LOG_DEBUG(PFX "%s: clearing rx interrupt: %d %d", + nic->log_name, sw_cons, hw_prod); + rc = 1; diff --git a/iscsiuio/src/unix/nic.c b/iscsiuio/src/unix/nic.c -index dfc2ad0a7a7b..29c4332a3162 100644 +index dfc2ad0a7a7b..bd415c2446bc 100644 --- a/iscsiuio/src/unix/nic.c +++ b/iscsiuio/src/unix/nic.c @@ -799,9 +799,12 @@ int nic_process_intr(nic_t *nic, int discard_check) @@ -32,6 +141,22 @@ ret = 1; } pthread_mutex_unlock(&nic->nic_mutex); +@@ -1119,6 +1122,7 @@ nic_iface_present: + * network, the global variable uip_len is + * set to a value > 0. */ + if (ustack->uip_len > 0) { ++ pkt->buf_size = ustack->uip_len; + prepare_ipv4_packet(nic, nic_iface, + ustack, pkt); + +@@ -1136,6 +1140,7 @@ nic_iface_present: + * network, the global variable uip_len + * is set to a value > 0. */ + if (pkt->buf_size > 0) { ++ pkt->buf_size = ustack->uip_len; + LOG_DEBUG(PFX "%s: write called after arp_arpin, bufsize=%d", + nic->log_name, pkt->buf_size); + (*nic->ops->write) (nic, nic_iface, pkt); diff --git a/libopeniscsiusr/Makefile b/libopeniscsiusr/Makefile index a7fd25fb6c25..5c511d345690 100644 --- a/libopeniscsiusr/Makefile
