Commit Graph
497 Commits
Author SHA1 Message Date
Bart Van Assche eaa52ea28f Merge r7358 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7618 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 02:56:56 +00:00
Bart Van Assche dc42724739 Merge r7357 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7617 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 02:55:46 +00:00
Bart Van Assche acb805d070 qla2x00t: fix in-kernel tree build
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7591 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:43:16 +00:00
Bart Van Assche b801a5e110 qla2x00t: Declare local functions 'static'
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7590 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:42:49 +00:00
Bart Van Assche 2c9b3a7d67 qla2x00t/extract-qla2xxx-orig: Use scripts/kernel-functions instead of duplicating it
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7589 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:42:26 +00:00
Bart Van Assche 57533dcd0c qla2x00t: Fix build against kernel versions before v4.14
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7568 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:28:46 +00:00
Bart Van Assche d983ab3638 qla2x00t: Make qla2x00_store_class2_enabled() report failures
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7567 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:28:17 +00:00
Bart Van Assche 1ba478d9f0 qla2x00t: Remove set-but-not-used variables
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7566 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:27:55 +00:00
Bart Van Assche b2a18fc401 qla2x00t: Move a definition from a .h into a .c file
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7565 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:27:26 +00:00
Bart Van Assche f361ec1428 qla2x00t: Follow-up for r7293 and r7294
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7556 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:19:53 +00:00
Bart Van Assche c26def2a6e qla2x00t: Annotate fall-through
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7555 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:19:22 +00:00
Bart Van Assche 079d7a6312 qla2x00t web update
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7551 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:16:48 +00:00
Bart Van Assche 145db52f3f Convert setup_timer() into timer_setup() calls
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7548 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:14:25 +00:00
Bart Van Assche 4af98c3bcc qla2x00t: Convert init_timer() into setup_timer() calls
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7547 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:13:47 +00:00
Bart Van Assche 500a239b60 qla2x00t: Merge r7478 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7486 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-10-01 13:50:07 +00:00
Bart Van Assche c707d09349 qla2x00t: Merge r7475 and r7476 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7477 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-09-26 03:54:46 +00:00
Vladislav Bolkhovitin 129cac067c Merged revisions 7253-7266,7268-7271 via svnmerge from
svn+ssh://svn.code.sf.net/p/scst/svn/trunk

........
  r7253 | vlnb | 2017-10-11 20:22:02 -0700 (Wed, 11 Oct 2017) | 3 lines
  
  scst: add example of active non-optimized setup
........
  r7254 | bvassche | 2017-10-12 07:56:44 -0700 (Thu, 12 Oct 2017) | 1 line
  
  qla2x00t: Fix scst_debug.h include path for the in-tree build
........
  r7255 | bvassche | 2017-10-12 08:03:13 -0700 (Thu, 12 Oct 2017) | 1 line
  
  scripts/specialize-patch: Fix #elif handling
........
  r7256 | vlnb | 2017-10-13 19:18:56 -0700 (Fri, 13 Oct 2017) | 3 lines
  
  Unpdate for kernels 4.12+
........
  r7257 | bvassche | 2017-11-11 21:01:16 -0800 (Sat, 11 Nov 2017) | 1 line
  
  iscsi-scst/usr/Makefile: Pass -Wno-format-truncation if supported
........
  r7258 | bvassche | 2017-11-12 21:48:16 -0800 (Sun, 12 Nov 2017) | 4 lines
  
  ib_srpt: Kernel 4.14 build fix
  
  Signed-off-by: Peter Vyazovik <fuzzhead0@gmail.com>
........
  r7259 | bvassche | 2017-11-12 21:49:08 -0800 (Sun, 12 Nov 2017) | 1 line
  
  scst: Introduce the kernel v4.14 bio_set_dev() macro
........
  r7260 | bvassche | 2017-11-12 21:50:44 -0800 (Sun, 12 Nov 2017) | 5 lines
  
  scst, iscsi-scst: Introduce scst_read(), scst_write(), scst_readv() and scst_writev()
  
  This makes it easier to add support for new kernel versions, e.g. kernel
  version v4.14.
........
  r7261 | bvassche | 2017-11-13 08:00:09 -0800 (Mon, 13 Nov 2017) | 1 line
  
  scst/src/scst_lib.c: Fix recently introduced checkpatch complaints
........
  r7262 | bvassche | 2017-11-13 08:18:00 -0800 (Mon, 13 Nov 2017) | 4 lines
  
  scst: Fix build for kernels 3.15 and older
  
  blk_rq_set_block_pc() was introduced in kernel 3.16.
........
  r7263 | bvassche | 2017-11-13 08:24:16 -0800 (Mon, 13 Nov 2017) | 1 line
  
  nightly build: Update kernel versions
........
  r7264 | bvassche | 2017-11-13 08:47:10 -0800 (Mon, 13 Nov 2017) | 1 line
  
  scst: Address two checkpatch warnings
........
  r7265 | bvassche | 2017-11-13 08:47:43 -0800 (Mon, 13 Nov 2017) | 1 line
  
  scst/src/scst_targ: Use READ_ONCE() instead of ACCESS_ONCE()
........
  r7266 | bvassche | 2017-11-13 08:49:39 -0800 (Mon, 13 Nov 2017) | 1 line
  
  fcst/fcst.h: Add identifier names
........
  r7268 | bvassche | 2017-11-14 08:37:24 -0800 (Tue, 14 Nov 2017) | 1 line
  
  scst: Fix kernel <= 2.6.30 build
........
  r7269 | bvassche | 2017-11-14 18:45:57 -0800 (Tue, 14 Nov 2017) | 1 line
  
  nightly/bin/nightly: Clone the source code tree quietly
........
  r7270 | bvassche | 2017-11-14 18:47:06 -0800 (Tue, 14 Nov 2017) | 1 line
  
  nightly build: Update kernel versions
........
  r7271 | bvassche | 2017-11-14 18:48:03 -0800 (Tue, 14 Nov 2017) | 1 line
  
  nightly/conf/nightly.sendmail: Use mail if mutt is not available
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7288 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-23 04:30:51 +00:00
Vladislav Bolkhovitin 491ca9cd95 Merged revisions 7247-7251 via svnmerge from
svn+ssh://svn.code.sf.net/p/scst/svn/trunk

........
  r7247 | bvassche | 2017-10-06 08:08:00 -0700 (Fri, 06 Oct 2017) | 4 lines
  
  fcst: Fix in-tree build
  
  See also r7243.
........
  r7248 | bvassche | 2017-10-09 11:10:48 -0700 (Mon, 09 Oct 2017) | 4 lines
  
  scst_vdisk: Fix a bug in the Linux kernel v4.13 port
  
  See also trunk r7240.
........
  r7249 | bvassche | 2017-10-09 11:15:00 -0700 (Mon, 09 Oct 2017) | 4 lines
  
  scst: Fix SCSI pass-through for kernel version v4.11 and later
  
  See also trunk r7153.
........
  r7250 | bvassche | 2017-10-09 12:58:15 -0700 (Mon, 09 Oct 2017) | 1 line
  
  scst/include/backport.h: Follow-up for r7248
........
  r7251 | vlnb | 2017-10-09 19:06:13 -0700 (Mon, 09 Oct 2017) | 5 lines
  
  qla2x00t: update FW version information as suggested by Jens-U. Mozdzen <jmozdzen@nde.ag>
  
  See https://sourceforge.net/p/scst/mailman/message/36068827/
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7252 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-10-10 02:18:39 +00:00
Vladislav Bolkhovitin e5d322d4ab Merged revisions 7233-7244 via svnmerge from
svn+ssh://svn.code.sf.net/p/scst/svn/trunk

........
  r7233 | bvassche | 2017-09-20 08:09:38 -0700 (Wed, 20 Sep 2017) | 4 lines
  
  ib_srpt: Support systems with more than 255 CPU cores
  
  Signed-off-by: Kirill Malkin <kirillmalkin.km@gmail.com>
........
  r7234 | bvassche | 2017-09-24 18:52:53 -0700 (Sun, 24 Sep 2017) | 2 lines
  
  iscsi-scst/Makefile: Change MOFED path into /usr/src/ofa_kernel/default
........
  r7235 | bvassche | 2017-09-25 16:35:49 -0700 (Mon, 25 Sep 2017) | 1 line
  
  iscsi-scst/Makefile, Ubuntu: Simplify code for version querying
........
  r7236 | bvassche | 2017-10-02 16:56:47 -0700 (Mon, 02 Oct 2017) | 1 line
  
  scripts/specialize-patch: Process ENABLE_NPIV and FC_VPORT_CREATE_DEFINED correctly
........
  r7237 | bvassche | 2017-10-02 17:04:53 -0700 (Mon, 02 Oct 2017) | 2 lines
  
  scripts/generate-kernel-patch: Fix a regression introduced in r7164
........
  r7238 | bvassche | 2017-10-02 17:05:42 -0700 (Mon, 02 Oct 2017) | 1 line
  
  scripts/specialize-patch: Process CONFIG_SCST_STRICT_SERIALIZING correctly
........
  r7239 | bvassche | 2017-10-03 15:49:35 -0700 (Tue, 03 Oct 2017) | 1 line
  
  isert-scst: Make an error message more informative
........
  r7240 | bvassche | 2017-10-03 16:08:29 -0700 (Tue, 03 Oct 2017) | 1 line
  
  scst: Port to kernel v4.13
........
  r7241 | bvassche | 2017-10-03 16:10:03 -0700 (Tue, 03 Oct 2017) | 1 line
  
  nightly build: Update kernel versions
........
  r7242 | bvassche | 2017-10-05 09:57:27 -0700 (Thu, 05 Oct 2017) | 1 line
  
  scst: Port to openSUSE Leap 42.x
........
  r7243 | bvassche | 2017-10-05 16:48:25 -0700 (Thu, 05 Oct 2017) | 1 line
  
  fcst: Port to openSUSE Leap
........
  r7244 | bvassche | 2017-10-05 16:48:51 -0700 (Thu, 05 Oct 2017) | 1 line
  
  qla2x00t: Port to openSUSE Leap
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7246 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-10-06 04:51:04 +00:00
Vladislav Bolkhovitin 3bd81edc6e Version changed to 3.3.0-rc
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7227 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-09-01 03:57:09 +00:00
Bart Van Assche 9e35afe1e0 Annotate fall-through in switch statements in a form recognized by gcc 7
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7216 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-08-27 15:28:57 +00:00
Vladislav Bolkhovitin 0ae66a082e Fix dereference beyond last sg element
Reported-By: David Butterfield <dab21774@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7204 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-06-03 04:02:22 +00:00
Vladislav Bolkhovitin 93bea9e0e8 Update to 4.11 kernels
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7203 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-06-03 02:38:51 +00:00
Vladislav Bolkhovitin 27db06eb7c qla2x00t: fix broken 4.9 kernels build
Reported-By: Marc Smith <marc.smith@parodyne.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7193 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-05-23 02:23:38 +00:00
Vladislav Bolkhovitin 8d3a9f440a qla2x00t: Disable Out-of-order processing by default
From: Quinn Tran <quinn.tran@cavium.com>

Out of order(OOO) processing requires initiator, switch
and target to support OOO. In today¹s environment, none
of the switches support OOO. OOO requires extra buffer
space which affect performance. By turning ON this feature
in QLogic's FW, it delays error recovery because droped
frame is treated as out of order frame. We¹re turning OFF
this option of speed up error recovery.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>

Merge of mainline commit 300af14bdb28157090f0c6f89d244fda940082da

EXPERIMENTAL!



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7188 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-05-19 02:58:23 +00:00
Vladislav Bolkhovitin 3f5c04bec9 qla2x00t: update to kernel 4.10
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7170 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-05-11 03:51:32 +00:00
Bart Van Assche 7d9994593f qla2x00t: Convert the non-standard %Lx into %llx
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7160 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-05-02 05:28:29 +00:00
Vladislav Bolkhovitin 33af3ccb46 ql2x00t: howto update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7151 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-04-22 04:15:21 +00:00
Vladislav Bolkhovitin 68fa7e1a0d Copyright updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7146 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-04-22 03:19:52 +00:00
Vladislav Bolkhovitin 7083e395e9 generate-kernel-patch: optimize generation of Makefile for qla2x00t
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7023 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-17 04:44:48 +00:00
Vladislav Bolkhovitin 69863eb497 Increase version to 3.3
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6927 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-08-03 02:32:17 +00:00
Vladislav Bolkhovitin 528f5e0004 Makefiles/Kconfigs for kernels 4.5 and 4.6
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6904 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-06-25 00:56:09 +00:00
Vladislav Bolkhovitin 21559f7798 qla2x00t: clarify that NPIV is not supported in this version
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6889 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-05-07 00:47:57 +00:00
Vladislav Bolkhovitin c12cdbf860 qla2x00t: decrease severity of 2 log messages
Those messages don't necessare mean any error. Some harmless race
conditions between the target driver and FW can lead to them as well.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6825 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-03-10 05:00:01 +00:00
Vladislav Bolkhovitin fa2f54ac9e Copyrights updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6787 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-22 04:04:43 +00:00
Bart Van Assche 120e5fb78b nightly build: Add kernel 4.4 support files
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6779 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-19 18:08:04 +00:00
Bart Van Assche d6b116c46d qla2x00t: Fix a few typos
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6710 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-22 19:49:18 +00:00
Bart Van Assche 8b7820129a qla2x00t: Use strlcpy() instead of strcpy()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6685 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 18:30:42 +00:00
Bart Van Assche 2bdb7bfc8d qla2x00t: Do not compare an array pointer with NULL
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6684 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 18:30:15 +00:00
Bart Van Assche 22a203d843 qla2x00t: Suppress a Coverity complaint about a potential buffer overflow
Coverity reported the following:

Copy into fixed size buffer (STRING_OVERFLOW)
fixed_size_dest: You might overrun the 17 byte fixed-size string
ha->model_number by copying def without checking the length.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6683 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 18:26:26 +00:00
Bart Van Assche 0234aa8f99 qla2x00t: Remove a delayed_work function pointer cast
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6657 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 19:17:51 +00:00
Bart Van Assche 1a23466c69 qla2x00t: Follow-up for r6635
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6652 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 06:06:08 +00:00
Bart Van Assche 99d47d5ce2 scst, qla2x00t: Return ENOTSUPP instead of ENOSYS
ENOSYS must only be used inside system calls.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6648 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 02:01:57 +00:00
Bart Van Assche 3d57bb3d16 qla2x00t: Use __packed instead of __attribute__((packed))
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6639 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 21:03:54 +00:00
Bart Van Assche 5554a2a8b1 qla2x00t: Use kmalloc_array() instead of kmalloc() with multiply
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6635 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 20:08:43 +00:00
Bart Van Assche 5296640e97 qla2x00t: Use kcalloc() instead of kzalloc() with multiply
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6626 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 17:40:07 +00:00
Bart Van Assche 4862b1d3f5 qla2x00t: Insert a blank line after declarations
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6617 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-07 00:01:05 +00:00
Bart Van Assche b1cb5ebe79 qla2x00t: Place constants at the right-hand-side in comparisons
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6611 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 18:55:30 +00:00
Vladislav Bolkhovitin 5f7ac7f4bf Version updated to 3.2.0
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6593 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 06:17:17 +00:00
Bart Van Assche 77baa86e0e qla2x00t: Source code comment spelling fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6570 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-03 05:25:32 +00:00