Home
last modified time | relevance | path

Searched full:srp (Results 1 – 25 of 131) sorted by relevance

123456

/Linux-v6.6/drivers/scsi/
Dsg.c181 static int sg_start_req(Sg_request *srp, unsigned char *cmd);
182 static int sg_finish_rem_req(Sg_request * srp);
185 Sg_request * srp);
189 static int sg_common_write(Sg_fd * sfp, Sg_request * srp,
191 static int sg_read_oxfer(Sg_request * srp, char __user *outp, int num_read_xfer);
194 static void sg_link_reserve(Sg_fd * sfp, Sg_request * srp, int size);
195 static void sg_unlink_reserve(Sg_fd * sfp, Sg_request * srp);
200 static int sg_remove_request(Sg_fd * sfp, Sg_request * srp);
445 Sg_request *srp; in sg_read() local
470 srp = sg_get_rq_mark(sfp, req_pack_id, &busy); in sg_read()
[all …]
Dscsi_transport_srp.c3 * SCSI RDMA (SRP) transport class
134 {SRP_RPORT_ROLE_INITIATOR, "SRP Initiator"},
135 {SRP_RPORT_ROLE_TARGET, "SRP Target"},
430 pr_info("fast_io_fail_tmo expired for SRP %s / %s.\n", in rport_fast_io_fail_timedout()
450 pr_info("dev_loss_tmo expired for SRP %s / %s.\n", in rport_dev_loss_timedout()
497 * @rport: SRP target port.
511 * srp_reconnect_rport() - reconnect to an SRP target port
512 * @rport: SRP target port.
593 * srp_timed_out() - SRP transport intercept of the SCSI timeout EH
670 * @rport: SRP target port.
[all …]
/Linux-v6.6/Documentation/ABI/stable/
Dsysfs-driver-ib_srp1 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/add_target
11 byte identifier extension in the 16-byte SRP target port
23 the SRP target. How to find out the value of the service ID
24 is specified in the documentation of the SRP target.
29 * io_class, a hexadecimal number specifying the SRP I/O class.
31 class defines the format of the SRP initiator and target
34 identifier extension portion of the SRP initiator port
50 target via a single SCSI command. Since not all SRP target
64 spread the SRP completion workload over multiple CPU's.
74 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/ibdev
[all …]
Dsysfs-transport-srp5 Description: Instructs an SRP initiator to disconnect from a target and to
30 Description: 16-byte local SRP port identifier in hexadecimal format. An
45 Description: Role of the remote port. Either "SRP Initiator" or "SRP Target".
/Linux-v6.6/drivers/infiniband/ulp/srpt/
Dib_srpt.h48 #include <scsi/srp.h>
54 * ServiceEntries attribute pair. See also the SRP specification.
56 #define SRP_SERVICE_NAME_PREFIX "SRP.T10:"
62 * SRP IOControllerProfile attributes for SRP target ports that have
63 * not been defined in <scsi/srp.h>. Source: section B.7, table B.7
64 * in the SRP specification.
75 * srp_login_cmd.req_flags bitmasks. See also table 9 in the SRP
85 * 18 and 20 in the SRP specification.
92 * 16 and 22 in the SRP specification.
96 /* See also table 24 in the SRP specification. */
[all …]
DKconfig7 Support for the SCSI RDMA Protocol (SRP) Target driver. The
8 SRP protocol is a protocol that allows an initiator to access
12 information about the SRP protocol can be found on the website
Dib_dm_mad.h68 * Structure of management datagram sent by the SRP target implementation.
71 * - The SRP target implementation does not use RMPP or ib_dm_hdr when sending
133 * Specification. See also section B.7, table B.8 in the T10 SRP r16a document.
/Linux-v6.6/include/scsi/
Dviosrp.h3 /* srp.h -- SCSI RDMA Protocol definitions */
11 /* platform architecture) implementation of the SRP (SCSI RDMA Protocol) */
12 /* standard. SRP is used on IBM iSeries and pSeries platforms to send SCSI */
15 /* SRP Information Units (IUs) are sent on a "Command/Response Queue" (CRQ) */
23 #include <scsi/srp.h>
87 /* MADs are Management requests above and beyond the IUs defined in the SRP
137 * All SRP (and MAD) requests normally flow from the
201 union srp_iu srp; member
Dscsi_transport_srp.h18 * enum srp_rport_state - SRP transport layer state
33 * struct srp_rport - SRP initiator or target port
35 * Fields that are relevant for SRP initiator and SRP target drivers:
40 * Fields that are only relevant for SRP initiator drivers:
79 * Fields that are only relevant for SRP initiator drivers:
125 * @rport: SRP target port pointer.
Dsrp.h39 * Structures and constants for the SCSI RDMA Protocol (SRP) as
41 * draft Revision 16a of the SRP standard.
104 * We need the packed attribute because the SRP spec puts the list of
170 * The SRP spec defines the size of the LOGIN_RSP structure to be 52
252 * The SRP spec defines the size of the RSP structure to be 36 bytes,
287 * The SRP spec defines the fixed portion of the AER_REQ structure to be
/Linux-v6.6/Documentation/devicetree/bindings/usb/
Dusb-drd.yaml18 features (HNP/SRP/ADP) is enabled. If ADP is required, otg-rev should be
35 basic function of real OTG except you want it to be a srp-capable only B
39 srp-disable:
41 Tells OTG controllers we want to disable OTG SRP. SRP is optional for OTG
/Linux-v6.6/sound/pci/emu10k1/
Dp17v.h96 #define P17V_MIXER_AC97_SRP_REC_VOL_L 0x65 /* SRP Record to Mixer_AC97 input volume control */
97 #define P17V_MIXER_AC97_SRP_REC_VOL_H 0x66 /* SRP Record to Mixer_AC97 input volume control */
103 #define P17V_MIXER_Spdif_SRP_REC_VOL_L 0x6D /* SRP Record to Mixer_Spdif input volume control */
104 #define P17V_MIXER_Spdif_SRP_REC_VOL_H 0x6E /* SRP Record to Mixer_Spdif input volume control */
110 #define P17V_MIXER_I2S_SRP_REC_VOL_L 0x75 /* SRP Record to Mixer_I2S input volume control */
111 #define P17V_MIXER_I2S_SRP_REC_VOL_H 0x76 /* SRP Record to Mixer_I2S input volume control */
117 #define P17V_MIXER_ATT 0x7D /* SRP Mixer Attenuation Select */
118 #define P17V_SRP_RECORD_SRR 0x7E /* SRP Record channel source Select */
119 #define P17V_SOFT_RESET_SRP_MIXER 0x7F /* SRP and mixer soft reset */
/Linux-v6.6/drivers/scsi/ibmvscsi/
Dibmvscsi.c35 * The VSCSI client builds a SCSI Remote Protocol (SRP) Information Unit
38 * payload of a CRQ message. The server DMAs the SRP IU and processes it,
40 * DMAs the SRP response back to the same address as the request came from,
579 * @format: SRP or MAD format
600 * set_srp_direction: Set the fields in the srp related to data
677 * Called by map_data_for_srp_cmd() when building srp cmd from scsi cmd.
745 * map_data_for_srp_cmd: - Calls functions to map data for srp cmds
751 * Called by scsi_cmd_to_srp_cmd() when converting scsi cmds to srp cmds
797 unmap_cmd_data(&evt->iu.srp.cmd, evt, in purge_requests()
802 evt->iu.srp.login_req.opcode != SRP_LOGIN_REQ) in purge_requests()
[all …]
/Linux-v6.6/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c511 * Initiator has not done a successful srp login in ibmvscsis_disconnect()
512 * or has done a successful srp logout ( adapter was not in ibmvscsis_disconnect()
1080 dev_dbg(&vscsi->dev, "trans_event: SRP Processing, but no outstanding work\n"); in ibmvscsis_trans_event()
1435 * Copy the srp information unit from the hosted
1797 * If the server is processing SRP requests, i.e. in srp_snd_msg_failed()
2093 * @cmd: Pointer to the command for the SRP Login request
2102 struct srp_login_rsp *rsp = &vio_iu(iue)->srp.login_rsp; in ibmvscsis_login_rsp()
2152 * @cmd: Pointer to the command for the SRP Login request
2153 * @reason: The reason the SRP Login is being rejected, per SRP protocol
2162 struct srp_login_rej *rej = &vio_iu(iue)->srp.login_rej; in ibmvscsis_srp_login_rej()
[all …]
Dibmvscsi_tgt.h39 * SRP buffer formats defined as of 16.a supported by this driver.
179 /* ASCII formatted WWPN for SRP Target port */
204 /* at least one port is processing SRP IU */
231 /* allowable number of outstanding SRP requests */
269 /* used in hcall to copy response back into srp buffer */
/Linux-v6.6/drivers/usb/chipidea/
Dotg_fsm.h51 /* SRP Fail Time */
57 /* SE0 Time Before SRP */
59 /* SSEND time before SRP */
/Linux-v6.6/drivers/infiniband/ulp/srp/
DKconfig8 allows you to access storage devices that speak SRP over
11 The SRP protocol is defined by the INCITS T10 technical
Dib_srp.c53 #include <scsi/srp.h>
78 "Default number of gather/scatter entries in the SRP command (default is 12, max 255)");
90 "Enable workarounds for Topspin/Cisco SRP target bugs if != 0");
118 "Maximum number of seconds that the SRP transport should"
128 "Whether or not to request permission to use immediate data during SRP login.");
137 …"Number of RDMA channels to use for communication with an SRP target. Using more than one channel …
154 .name = "srp",
507 * @ch: SRP RDMA channel.
789 pr_warn("%s: subnet timeout %d may cause SRP login to fail.\n", in srp_get_subnet_timeout()
876 * In the published SRP specification (draft rev. 16a), the in srp_send_req()
[all …]
Dib_srp.h196 * struct srp_target_port - RDMA port in the SRP target system
314 * @desc: Pointer to the element of the SRP buffer descriptor array
324 * @ndesc: Number of SRP buffer descriptors that have been filled in.
/Linux-v6.6/security/smack/
Dsmackfs.c200 * @srp: the rule to add or replace
212 static int smk_set_access(struct smack_parsed_rule *srp, in smk_set_access() argument
227 if (sp->smk_object == srp->smk_object && in smk_set_access()
228 sp->smk_subject == srp->smk_subject) { in smk_set_access()
230 sp->smk_access |= srp->smk_access1; in smk_set_access()
231 sp->smk_access &= ~srp->smk_access2; in smk_set_access()
243 sp->smk_subject = srp->smk_subject; in smk_set_access()
244 sp->smk_object = srp->smk_object; in smk_set_access()
245 sp->smk_access = srp->smk_access1 & ~srp->smk_access2; in smk_set_access()
565 static void smk_rule_show(struct seq_file *s, struct smack_rule *srp, int max) in smk_rule_show() argument
[all …]
Dsmack_access.c84 struct smack_rule *srp; in smk_access_entry() local
86 list_for_each_entry_rcu(srp, rule_list, list) { in smk_access_entry()
87 if (srp->smk_object->smk_known == object_label && in smk_access_entry()
88 srp->smk_subject->smk_known == subject_label) { in smk_access_entry()
89 int may = srp->smk_access; in smk_access_entry()
/Linux-v6.6/include/linux/usb/
Dotg-fsm.h61 * @a_srp_det: TRUE if the A-device detects SRP
71 * time before generating SRP
73 * the minimum time before generating SRP
116 * b_srp_done: TRUE when the B-device has completed initiating SRP
/Linux-v6.6/Documentation/usb/
Dchipidea.rst5 1. How to test OTG FSM(HNP and SRP)
8 To show how to demo OTG HNP and SRP functions via sys input files
93 8) B-device does data pulse for SRP.
/Linux-v6.6/drivers/usb/phy/
Dphy-fsl-usb.h261 /* SRP Initiate Time */
264 /* SRP Fail Time */
267 /* SRP result wait time */
284 /* SE0 Time Before SRP */
/Linux-v6.6/Documentation/scsi/scsi_transport_srp/
Dfigures.rst3 SCSI RDMA (SRP) transport class diagram

123456