Commit Graph

5445 Commits

Author SHA1 Message Date
Bart Van Assche
7cd8b03055 scstadmin: Revert r7310 because it was reported not to fix the issue it should have fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7573 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:31:10 +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
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
9d01de3261 scstadmin: Fix -close_dev
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7564 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:27:01 +00:00
Bart Van Assche
a007aede73 scst_debug.h: Avoid that smatch complains about passing a pointer to format specifier %lx
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7563 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:26:35 +00:00
Bart Van Assche
86d8cf4813 scst: Fix source code indentation
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7562 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:25:25 +00:00
Bart Van Assche
0157b92e46 iscsi-scst/kernel/conn.c: Fix source code indentation
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7561 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:24:27 +00:00
Bart Van Assche
a7870940fa iscsi-scst: Fix a format specifier
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7560 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:23:46 +00:00
Bart Van Assche
1646f6f630 scst: Backport timer_setup() to kernel versions before v4.10
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7559 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:23:21 +00:00
Bart Van Assche
4a52c21706 fcst: Suppress a set-but-not-used variable warning
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7558 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:22:54 +00:00
Bart Van Assche
8b3dd95815 fcst: Suppress kernel-doc warnings
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7557 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:20:17 +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
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
f6f174e6d1 scst: Kernel v4.15 build fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7553 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:18:26 +00:00
Bart Van Assche
dbdf7becb2 Fix kernel-doc warnings
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7552 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:17:39 +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
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
ac65d90b33 scst_vdisk: Change page_cache_alloc_cold() calls into page_cache_alloc() calls
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7549 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:15:14 +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
33c1621245 iscsi-scst: Convert init_timer() into setup_timer() calls
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7546 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:13:05 +00:00
Bart Van Assche
bc2f01f3d2 scst: Convert init_timer() into setup_timer() calls
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7545 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:10:48 +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
a752568da6 scst: fix pass-through on kernels 4.11 and 4.12
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7543 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:08:31 +00:00
Bart Van Assche
5a70bca1fb scst: nolockdep patch for 4.13 kernels
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7542 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 04:07:54 +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
Bart Van Assche
65a8479a95 scripts/specialize-patch: Add support for SOCK_RECVMSG_HAS_FOUR_ARGS (merge r7273 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7529 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 03:50:45 +00:00
Bart Van Assche
3e03ad2c66 web: Fix broken link (merge r7267 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7528 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 03:48:47 +00:00
Bart Van Assche
7a98a4d096 fcst: Merge r7247 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7527 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 03:44:26 +00:00
Bart Van Assche
3cdb7f4516 fcst: Merge r7243 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7526 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 02:01:16 +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