889 Commits

Author SHA1 Message Date
Bart Van Assche
dc5e6f64ad Bump release data from November 4th to November 25th
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7830 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-26 00:39:12 +00:00
Bart Van Assche
baa9d2513f Change version number to 3.3.0
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7786 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 20:06:20 +00:00
Bart Van Assche
0890a63d22 ib_srpt: Fix build against kernel v4.18
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7747 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 05:10:41 +00:00
Bart Van Assche
3e36d08f97 ib_srpt: Merge remaining configuration tests from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7746 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 04:56:18 +00:00
Bart Van Assche
49f16bcf4b Merge r7471 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7724 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 04:39:22 +00:00
Bart Van Assche
ec49c2fa77 Merge r7434 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7687 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 04:16:40 +00:00
Bart Van Assche
186366a990 Merge r7416 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7672 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 03:45:28 +00:00
Bart Van Assche
1d58d76525 Merge r7413 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7670 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 03:42:47 +00:00
Bart Van Assche
5bdf1f100d Merge r7412 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7669 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 03:42:28 +00:00
Bart Van Assche
dd5218563b Merge r7411 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7668 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 03:42:15 +00:00
Bart Van Assche
da689186f7 Merge r7410 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7667 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 03:42:03 +00:00
Bart Van Assche
4ac04ea2dc Merge r7407 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7664 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 03:41:24 +00:00
Bart Van Assche
198143172d Merge r7371 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7631 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 03:06:00 +00:00
Bart Van Assche
611c402782 Merge r7363 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7623 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 03:00:15 +00:00
Bart Van Assche
9806075ee2 Merge r7362 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7622 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 02:59:42 +00:00
Bart Van Assche
a9ab8659c2 Merge r7355 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7615 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 02:53:25 +00:00
Bart Van Assche
ac78b5fb12 ib_srpt: Fix build against MLNX-4.5 (merge r7597 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7598 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 05:29:23 +00:00
Bart Van Assche
b0fc7c1474 ib_srpt: Refine two log messages
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7572 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:30:41 +00:00
Bart Van Assche
b51f85268c ib_srpt: Make it easier to use SR-IOV virtual functions
Management datagrams (MADs) are not supported for SR-IOV VFs. That
is why srpt_refresh_port() fails for SR-IOV VFs. Make it easier to
use SR-IOV VFs by only logging an error message if MAD handler
registration fails.


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7571 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:30:15 +00:00
Bart Van Assche
ca290b2f59 ib_srpt: Revert the previous revision because it did not enable SR-IOV support
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7570 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:29:47 +00:00
Bart Van Assche
ea51ed6ef4 ib_srpt: Make it easier to use SR-IOV virtual functions
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7569 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:29:10 +00:00
Bart Van Assche
9f80a94922 ib_srpt: Restore struct srp_login_req_rdma
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7554 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:18:51 +00:00
Bart Van Assche
033080eba1 ib_srpt: Fix kernel-doc warnings
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7550 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:16:22 +00:00
Bart Van Assche
be640804f1 ib_srpt: Rename a goto label
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7544 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:08:57 +00:00
Bart Van Assche
c51c7e7d33 ib_srpt: Fix spelling in a function header
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7541 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:06:48 +00:00
Bart Van Assche
7847e7d2b9 ib_srpt: Fix a comment (merge r7284 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7540 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:06:22 +00:00
Bart Van Assche
3d79a16d66 ib_srpt: Remove an unused member variable (merge r7283 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7539 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:05:42 +00:00
Bart Van Assche
52d0fc94d5 ib_srpt: Document rationale of srpt_set_ch_state() (merge r7282 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7538 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:05:11 +00:00
Bart Van Assche
a421497074 ib_srpt: Declare second srpt_get_u64_x() argument const (merge r7281 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7537 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 03:57:57 +00:00
Bart Van Assche
e0419dd425 ib_srpt: Declare second srpt_get_u64_x() argument const (merge r7281 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7536 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 03:57:12 +00:00
Bart Van Assche
ad2e5fc505 Move WARN() backport from srpt/src/ib_srpt.c to scst/include/backport.h (merge r7280 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7535 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 03:56:26 +00:00
Bart Van Assche
215501d180 ib_srpt: Source code cleanup (merge r7279 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7534 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 03:55:36 +00:00
Bart Van Assche
bcc0beb4a6 ib_srpt: Tweak a function header (merge r7277 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7533 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 03:54:20 +00:00
Bart Van Assche
16f2371704 ib_srpt: Inline functions with a body of one line (merge r7276 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7532 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 03:52:40 +00:00
Bart Van Assche
28f75256c9 ib_srpt: Make the code for converting GIDs into ASCII more brief (merge r7275 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7531 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 03:52:07 +00:00
Bart Van Assche
c2d96d905d ib_srpt: Move rdma_cm_id definition (merge r7274 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7530 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 03:51:24 +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
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
bbaf688a0e ib_srpt: Build fix for kernels before v4.12
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7220 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-08-27 21:40:23 +00:00
Bart Van Assche
1e457529eb ib_srpt: Port to Linux kernel v4.12
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7218 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-08-27 15:40:59 +00:00
Bart Van Assche
b799130680 ib_srpt: Fix a logging statement
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7182 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-05-14 14:55:00 +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
Bart Van Assche
b58937bf62 srpt/Makefile: Add support for make -i
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7133 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-04-15 04:10:44 +00:00
Bart Van Assche
8730c9c5a6 ib_srpt: Fix two configuration tests
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7129 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-04-14 20:46:50 +00:00
Bart Van Assche
4f6fc459c0 ib_srpt: Optimize Makefile
Cache conftest results and enable parallel invocation of conftests.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7127 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-04-14 04:21:38 +00:00
Bart Van Assche
9529f5e5b3 ib_srpt: Ensure that the BUG_ON() argument has no side effects
Reported-by: David Butterfield <dab21774@gmail.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7106 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-04-11 18:48:36 +00:00
Bart Van Assche
1bf5d439d6 scst: Coding style update related to the use of the keyword 'unsigned'
Use 'unsigned int' instead of 'unsigned' and 'unsigned long long'
instead of 'long long unsigned'.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7103 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-03-02 00:10:24 +00:00
Bart Van Assche
b51c624855 ib_srpt: Only report that SRQ creation failed if it was attempted to create an SRQ
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7089 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-01-08 21:46:20 +00:00
Bart Van Assche
3abcc849df ib_srpt: Destroy SRQ before freeing the buffers posted on the SRQ
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7088 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-01-08 21:45:39 +00:00