aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/srp/ib_srp.c
AgeCommit message (Expand)AuthorFilesLines
2023-09-11RDMA/srp: Do not call scsi_done() from srp_abort()Bart Van Assche1-11/+5
2023-07-25scsi: RDMA/srp: Fix residual handlingBart Van Assche1-4/+0
2023-04-27Merge tag 'modules-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-5/+0
2023-03-24scsi: RDMA/srp: Declare the SCSI host template constBart Van Assche1-1/+1
2023-03-19dyndbg: cleanup dynamic usage in ib_srp.cJason Baron1-5/+0
2023-01-10RDMA/cma: Refactor the inbound/outbound path records process flowMark Zhang1-1/+1
2022-12-04RDMA/srp: Fix error return code in srp_parse_options()Wang Yufen1-14/+82
2022-10-06Merge tag 'v6.0' into rdma.git for-nextJason Gunthorpe1-1/+2
2022-09-22RDMA/srp: Support more than 255 rdma portsMikhael Goikhman1-6/+6
2022-09-22RDMA/cma: Multiple path records support with netlink channelMark Zhang1-1/+1
2022-09-20RDMA/srp: Fix srp_abort()Bart Van Assche1-3/+1
2022-09-01RDMA/srp: Set scmnd->result only when scmnd is not NULLyangx.jy@fujitsu.com1-1/+2
2022-08-28RDMA/srp: Use the attribute group mechanism for sysfs attributesBart Van Assche1-6/+12
2022-08-28RDMA/srp: Handle dev_set_name() failureBart Van Assche1-4/+5
2022-08-28RDMA/srp: Remove the srp_host.released completionBart Van Assche1-9/+5
2022-08-28RDMA/srp: Rework the srp_add_port() error pathBart Van Assche1-8/+7
2022-07-06blk-mq: Drop 'reserved' arg of busy_tag_iter_fnJohn Garry1-2/+1
2022-04-06RDMA: Split kernel-only global device caps from uverbs device capsJason Gunthorpe1-4/+4
2022-02-23RDMA/ib_srp: Fix a deadlockBart Van Assche1-2/+4
2021-10-16scsi: RDMA/srp: Switch to attribute groupsBart Van Assche1-21/+30
2021-10-16scsi: ib_srp: Call scsi_done() directlyBart Van Assche1-4/+4
2021-08-11scsi: RDMA/srp: Use scsi_cmd_to_rq() instead of scsi_cmnd.requestBart Van Assche1-4/+5
2021-07-02Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-1/+1
2021-05-31scsi: core: Drop obsolete Linux-specific SCSI status codesHannes Reinecke1-1/+1
2021-05-28RDMA/srp: Use DEVICE_ATTR_*() macrosYueHaibing1-42/+57
2021-05-28RDMA/srp: Make struct scsi_cmnd and struct srp_request adjacentBart Van Assche1-90/+63
2021-05-28RDMA/srp: Fix a recently introduced memory leakBart Van Assche1-7/+6
2021-05-28RDMA/srp: Add more structure size checksBart Van Assche1-1/+4
2021-02-16RDMA/srp: Fix support for unpopulated and unbalanced NUMA nodesNicolas Morey-Chaisemartin1-65/+45
2020-10-30RDMA: Convert various random sprintf sysfs _show uses to sysfs_emitJoe Perches1-2/+2
2020-10-30RDMA: Manual changes for sysfs_emit and neateningJoe Perches1-0/+4
2020-10-26RDMA: Convert sysfs device * show functions to use sysfs_emit()Joe Perches1-20/+20
2020-06-02RDMA/srp: Remove support for FMR memory registrationMax Gurtovoy1-206/+16
2020-05-29RDMA/srp: Make the channel count configurable per targetBart Van Assche1-5/+17
2020-05-06RDMA: Allow ib_client's to fail when add() is calledJason Gunthorpe1-11/+10
2020-01-15IB/srp: Never use immediate data if it is disabled by a userSergey Gorenko1-1/+2
2019-10-21ib/srp: Add missing new line after displaying fast_io_fail_tmo paramDonald Dutile1-2/+2
2019-10-08RDMA/srp: Calculate max_it_iu_size if remote max_it_iu length availableHonggang Li1-4/+14
2019-10-08RDMA/srp: Add parse function for maximum initiator to target IU sizeHonggang Li1-0/+10
2019-10-04RDMA/srp: Make route resolving error messages more informativeBart Van Assche1-2/+2
2019-10-04RDMA/srp: Honor the max_send_sge device attributeBart Van Assche1-2/+5
2019-10-04RDMA/srp: Remove two castsBart Van Assche1-2/+2
2019-07-20Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/...Linus Torvalds1-15/+3
2019-07-16scsi: IB/srp: set virt_boundary_mask in the scsi hostChristoph Hellwig1-15/+3
2019-07-15Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaLinus Torvalds1-6/+15
2019-07-11Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-19/+2
2019-06-28Merge tag 'v5.2-rc6' into rdma.git for-nextJason Gunthorpe1-1/+17
2019-06-20scsi: RDMA/srp: Fix a sleep-in-invalid-context bugBart Van Assche1-19/+2
2019-06-07RDMA/srp: Accept again source addresses that do not have a port numberBart Van Assche1-6/+15
2019-05-21RDMA/srp: Rename SRP sysfs name after IB device rename triggerLeon Romanovsky1-1/+17
2019-03-09Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaLinus Torvalds1-14/+12
2019-02-19RDMA: Add and use rdma_for_each_portJason Gunthorpe1-2/+3
2019-02-04RDMA/srp: Rework SCSI device reset handlingBart Van Assche1-10/+0
2019-02-04IB/core: Remove ib_sg_dma_address() and ib_sg_dma_len()Bart Van Assche1-10/+7
2019-01-30RDMA/srp: Increase max_segment_sizeBart Van Assche1-0/+1
2019-01-08IB/srp: Use struct_size() in kzalloc()Gustavo A. R. Silva1-2/+1
2018-12-28Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaLinus Torvalds1-30/+129
2018-12-19RDMA/srp: Add support for immediate dataBart Van Assche1-14/+77
2018-12-19RDMA/srp: Rework handling of the maximum information unit lengthBart Van Assche1-13/+27
2018-12-19RDMA/srp: Propagate ib_post_send() failures to the SCSI mid-layerBart Van Assche1-0/+1
2018-12-19RDMA/srp: Handle large SCSI CDBs correctlyBart Van Assche1-6/+17
2018-12-19RDMA/srp: Document srp_parse_in() argumentsBart Van Assche1-0/+3
2018-12-19include/scsi/srp.h: Add support for immediate dataBart Van Assche1-0/+5
2018-12-18scsi: flip the default on use_clusteringChristoph Hellwig1-1/+0
2018-12-12RDMA: Start use ib_device_opsKamal Heib1-2/+4
2018-10-17ib_srp: Remove WARN_ON in srp_terminate_io()Hannes Reinecke1-9/+0
2018-10-16Merge branch 'for-rc' into rdma.git for-nextJason Gunthorpe1-3/+3
2018-09-26RDMA/ulp: Use dev_name instead of ibdev->nameJason Gunthorpe1-4/+6
2018-09-19IB/srp: Avoid that sg_reset -d ${srp_device} triggers an infinite loopBart Van Assche1-3/+3
2018-07-30RDMA/cma: Constify path record, ib_cm_event, listen_id pointersParav Pandit1-3/+5
2018-07-24IB/srp: Simplify ib_post_(send|recv|srq_recv)() callsBart Van Assche1-8/+6
2018-07-03IB/srp: Remove driver version and release data informationBart Van Assche1-3/+0
2018-06-18IB: Replace ib_query_gid/ib_get_cached_gid with rdma_query_gidParav Pandit1-1/+1
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-4/+5
2018-03-19IB/srp: Disallow duplicate RDMA/CM connectionsBart Van Assche1-3/+0
2018-03-14IB/srp: Fix IPv6 address parsingBart Van Assche1-4/+23
2018-03-06IB/srp: Use the IB_DEVICE_SG_GAPS_REG HCA feature if supportedSergey Gorenko1-20/+36
2018-02-28IB/srp: Use %pIS instead of inet_ntop()Bart Van Assche1-42/+10
2018-02-28Revert "IB/srp: Avoid that a cable pull can trigger a kernel crash"Bart Van Assche1-19/+6
2018-02-28IB/srp: Fix srp_abort()Bart Van Assche1-3/+5
2018-02-15IB/srp: Fix completion vector assignment algorithmBart Van Assche1-6/+4
2018-01-23IB/srp: Add target_can_queue login parameterBart Van Assche1-0/+22
2018-01-23IB/srp: Add RDMA/CM supportBart Van Assche1-147/+554
2018-01-18IB/srp: Refactor srp_send_req()Bart Van Assche1-31/+34
2018-01-18IB/srp: Improve path record query error messageBart Van Assche1-1/+4
2018-01-18IB/srp: Use kstrtoull() instead of simple_strtoull()Bart Van Assche1-4/+29
2017-12-11IB/srp: replace custom implementation of hex2bin()Andy Shevchenko1-10/+3
2017-10-18IB/srp: Make CM timeout dependent on subnet timeoutBart Van Assche1-2/+22
2017-10-18IB/srp: Cache global rkeyBart Van Assche1-13/+14
2017-10-18IB/srp: Remove second argument of srp_destroy_qp()Bart Van Assche1-6/+6
2017-10-18IB/srp: Avoid that a cable pull can trigger a kernel crashBart Van Assche1-6/+19
2017-10-10IB/core: Simplify sa_path_set_[sd]lid() callsBart Van Assche1-1/+1
2017-07-24RDMA: Remove useless MODULE_VERSIONLeon Romanovsky1-1/+0
2017-06-01RDMA/SA: Fix kernel panic in CMA request handler flowMajd Dibbiny1-1/+1
2017-06-01RDMA/srp: Fix NULL deref at srp_destroy_qp()Israel Rukshin1-1/+1
2017-05-01IB/SA: Add support to query OPA path recordsDasaratharaman Chandramouli1-1/+5
2017-05-01IB/SA: Add OPA path record typeDasaratharaman Chandramouli1-1/+1
2017-05-01IB/SA: Split struct sa_path_rec based on IB and ROCE specific fieldsDasaratharaman Chandramouli1-3/+4
2017-05-01IB/SA: Rename ib_sa_path_rec to sa_path_recDasaratharaman Chandramouli1-1/+1
2017-02-25Merge tag 'for-next-dma_ops' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+2
2017-02-23Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledfo...Linus Torvalds1-34/+59
2017-02-21Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-0/+1
2017-02-19IB/srp: Drain the send queue before destroying a QPBart Van Assche1-5/+14
2017-02-19IB/srp: Improve an error pathBart Van Assche1-1/+2
2017-02-19IB/srp: Make a diagnostic message more informativeBart Van Assche1-2/+3
2017-02-19IB/srp: Document locking conventionsBart Van Assche1-0/+5
2017-02-19IB/srp: Fix race conditions related to task managementBart Van Assche1-16/+29
2017-02-19IB/srp: Avoid that duplicate responses trigger a kernel bugBart Van Assche1-1/+3
2017-02-19IB/SRP: Avoid using IB_MR_TYPE_SG_GAPSBart Van Assche1-9/+3
2017-02-06scsi: remove eh_timed_out methods in the transport templateChristoph Hellwig1-0/+1
2017-01-24IB/srp: Switch from dma_device to dev.parentBart Van Assche1-2/+2
2017-01-24IB/srp: fix invalid indirect_sg_entries parameter valueIsrael Rukshin1-0/+6
2017-01-24IB/srp: fix mr allocation when the device supports sg gapsIsrael Rukshin1-2/+7
2016-12-14IB/srp: Make writing the add_target sysfs attr interruptibleBart Van Assche1-1/+4
2016-12-14IB/srp: Make mapping failures easier to debugBart Van Assche1-2/+10
2016-12-14IB/srp: Make login failures easier to debugBart Van Assche1-0/+3
2016-12-14IB/srp: Introduce a local variable in srp_add_one()Bart Van Assche1-8/+9
2016-12-14IB/srp: Fix CONFIG_DYNAMIC_DEBUG=n buildBart Van Assche1-5/+6
2016-10-07IB/srp: Fix infinite loop when FMR sg[0].offset != 0Bart Van Assche1-3/+5
2016-10-07IB/srp: Remove an unused argumentBart Van Assche1-2/+2
2016-09-23IB/srp: use IB_PD_UNSAFE_GLOBAL_RKEYChristoph Hellwig1-25/+19
2016-09-23IB/core: add support to create a unsafe global rkey to ib_create_pdChristoph Hellwig1-1/+1
2016-06-06IB/srp: Fix srp_map_sg_dma()Bart Van Assche1-2/+1
2016-06-06IB/srp: Always initialize use_fast_reg and use_fmrBart Van Assche1-3/+1
2016-05-20Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledfo...Linus Torvalds1-53/+176
2016-05-13Merge branches 'cxgb4-2', 'i40iw-2', 'ipoib', 'misc-4.7' and 'mlx5-fcs' into ...Doug Ledford1-1/+1
2016-05-13IB/srp: Fix a debug kernel crashBart Van Assche1-1/+1
2016-05-13IB/srp: Do not register memory if never_register has been setBart Van Assche1-3/+9
2016-05-13IB/srp: Prevent mapping failuresBart Van Assche1-19/+118
2016-05-13IB/srp: Swap two code blocks in srp_add_one()Bart Van Assche1-11/+12
2016-05-13IB/core: Enhance ib_map_mr_sg()Bart Van Assche1-1/+1
2016-05-13IB/srp: Fix srp_create_target() error handlingBart Van Assche1-7/+7
2016-05-13IB/srp: Fix a memory descriptor leak in an error pathBart Van Assche1-1/+6
2016-05-13IB/srp: Print "ib_srp: " prefix onceBart Van Assche1-1/+1
2016-05-13IB/core: Add passing an offset into the SG to ib_map_mr_sgChristoph Hellwig1-1/+1
2016-05-12IB/srp: Move common code into the callerBart Van Assche1-1/+0
2016-05-12IB/srp: Move code out of a loopBart Van Assche1-3/+3
2016-05-12IB/srp: Avoid that mapping failure triggers an infinite loopBart Van Assche1-0/+2
2016-05-12IB/srp: Introduce target->mr_pool_sizeBart Van Assche1-3/+3
2016-05-12IB/srp: Fix srp_map_data() error pathsBart Van Assche1-11/+13
2016-05-12IB/srp: Document srp_map_data() return valueBart Van Assche1-0/+9
2016-05-12IB/srp: Fix a commentBart Van Assche1-1/+1
2016-05-12IB/srp: Fix a spelling error in a source code commentBart Van Assche1-1/+1
2016-04-15scsi: rename SCSI_MAX_{SG, SG_CHAIN}_SEGMENTSMing Lin1-2/+2
2016-04-11scsi: disable automatic target scanHannes Reinecke1-1/+1
2016-02-29IB/srp: Use ib_drain_rq()Steve Wise1-36/+4
2015-12-22Merge branches '4.5/Or-cleanup' and '4.5/rdma-cq' into k.o/for-4.5Doug Ledford1-88/+85
2015-12-22IB/ulps: Avoid calling ib_query_deviceOr Gerlitz1-23/+9
2015-12-15Merge branch 'rdma-cq.2' of git://git.infradead.org/users/hch/rdma into 4.5/r...Doug Ledford1-88/+85
2015-12-11IB/srp: use the new CQ APIChristoph Hellwig1-89/+84
2015-12-11IB: add a proper completion queue abstractionChristoph Hellwig1-2/+4
2015-12-07IB/srp: Fix srp_map_sg_fr()Bart Van Assche1-11/+8
2015-12-07IB/srp: Fix indirect data buffer rkey endiannessBart Van Assche1-1/+1
2015-12-07IB/srp: Initialize dma_length in srp_map_idbChristoph Hellwig1-0/+3
2015-12-07IB/srp: Fix possible send queue overflowSagi Grimberg1-1/+1
2015-12-07IB/srp: Fix a memory leakBart Van Assche1-9/+13
2015-11-13Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-5/+0
2015-11-09scsi: use host wide tags by defaultChristoph Hellwig1-5/+0
2015-10-28IB/srp: Dont allocate a page vector when using fast_regSagi Grimberg1-9/+11
2015-10-28IB/srp: Remove srp_finish_mappingSagi Grimberg1-10/+0
2015-10-28IB/srp: Convert to new registration APISagi Grimberg1-62/+63
2015-10-28IB/srp: Split srp_map_sgSagi Grimberg1-51/+106
2015-10-28Merge branch 'wr-cleanup' into k.o/for-4.4Doug Ledford1-13/+13
2015-10-21IB/core: Add netdev and gid attributes paramteres to cacheMatan Barak1-1/+1
2015-10-08IB: split struct ib_send_wrChristoph Hellwig1-13/+13
2015-09-03IB/srp: Fix possible protection faultSagi Grimberg1-6/+10
2015-08-30IB/srp: Create an insecure all physical rkey only if neededBart Van Assche1-17/+23
2015-08-30IB/srp: Register the indirect data buffer descriptorBart Van Assche1-3/+54
2015-08-30IB/srp: Introduce srp_device.use_fmrBart Van Assche1-11/+11
2015-08-30IB/srp: Remove use_mr argument from srp_map_sg_entry()Bart Van Assche1-21/+15
2015-08-30IB/srp: Remove the memory registration backtracking codeBart Van Assche1-49/+13
2015-08-30IB/srp: Add memory descriptor array pointer range checkingBart Van Assche1-4/+12
2015-08-30IB/srp: Use multiple registrations for large memory regionsBart Van Assche1-10/+0
2015-08-30IB/srp: Re-enable FMR for non-page aligned buffersBart Van Assche1-9/+5
2015-08-30IB/srp: Use pd->local_dma_lkeyJason Gunthorpe1-1/+1
2015-08-30IB/srp: Stop the scsi_eh_<n> and scsi_tmf_<n> threads if login failsBart Van Assche1-0/+9
2015-08-30IB/srp: Bump driver version and release dateBart Van Assche1-2/+2
2015-08-30IB/srp: Handle partial connection success correctlyBart Van Assche1-1/+2
2015-08-30IB/srp: Constify a function argumentBart Van Assche1-1/+1
2015-08-30IB/srp: Convert to ib_alloc_mrSagi Grimberg1-1/+2
2015-08-30IB/core: lock client data with lists_rwsemHaggai Eran1-3/+3
2015-07-14IB/srp: Avoid using uninitialized variableSagi Grimberg1-7/+4
2015-07-14IB: Add rdma_cap_ib_switch helper and use where appropriateHal Rosenstock1-10/+2
2015-07-01Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-2/+2
2015-06-12IB/core: Change ib_create_cq to use struct ib_cq_init_attrMatan Barak1-2/+7
2015-05-28kernel/params: constify struct kernel_param_ops usesLuis R. Rodriguez1-2/+2
2015-05-20Merge branches 'bart-srp', 'generic-errors', 'ira-cleanups' and 'mwang-v8' in...Doug Ledford1-7/+9
2015-05-18IB/srp: Align to generic logging helpersSagi Grimberg1-7/+9
2015-05-18IB/srp: Add 64-bit LUN supportBart Van Assche1-6/+6
2015-05-18IB/srp: Remove !ch->target tests from the reconnect codeBart Van Assche1-7/+1
2015-05-18IB/srp: Remove a superfluous check from srp_free_req_data()Bart Van Assche1-1/+1
2015-05-18IB/srp: Rearrange module descriptionBart Van Assche1-2/+3
2015-05-18IB/srp: Remove superfluous castsBart Van Assche1-8/+5
2015-05-18IB/srp: Fix reconnection failure handlingBart Van Assche1-4/+1
2015-05-18IB/srp: Fix connection state trackingBart Van Assche1-31/+29
2015-05-18IB/srp: Fix a connection setup raceBart Van Assche1-2/+3
2015-05-18IB/srp: Remove an extraneous scsi_host_put() from an error pathBart Van Assche1-8/+5
2015-04-15IB/srp: Use P_Key cache for P_Key lookupsBart Van Assche1-4/+5
2014-12-20Merge tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/j...Linus Torvalds1-1/+0
2014-12-15IB/srp: Allow newline separator for connection stringSagi Grimberg1-1/+1