sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget)/translations/zh_CN/driver-api/infinibandmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget)/translations/zh_TW/driver-api/infinibandmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget)/translations/it_IT/driver-api/infinibandmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget)/translations/ja_JP/driver-api/infinibandmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget)/translations/ko_KR/driver-api/infinibandmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget)/translations/pt_BR/driver-api/infinibandmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget)/translations/sp_SP/driver-api/infinibandmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(h+InfiniBand and Remote DMA (RDMA) Interfacesh]h+InfiniBand and Remote DMA (RDMA) Interfaces}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhC/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband.rsthKubh)}(hhh](h)}(hIntroduction and Overviewh]hIntroduction and Overview}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh paragraph)}(hTBDh]hTBD}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubeh}(h]introduction-and-overviewah ]h"]introduction and overviewah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hInfiniBand core interfacesh]hInfiniBand core interfaces}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](single#iwpm_get_nlmsg_request (C function)c.iwpm_get_nlmsg_requesthNtauh1jhhhhhNhNubhdesc)}(hhh](hdesc_signature)}(h]struct iwpm_nlmsg_request * iwpm_get_nlmsg_request (__u32 nlmsg_seq, u8 nl_client, gfp_t gfp)h]hdesc_signature_line)}(h[struct iwpm_nlmsg_request *iwpm_get_nlmsg_request(__u32 nlmsg_seq, u8 nl_client, gfp_t gfp)h](hdesc_sig_keyword)}(hstructh]hstruct}(hj)hhhNhNubah}(h]h ]kah"]h$]h&]uh1j'hj#hhhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKaubhdesc_sig_space)}(h h]h }(hj;hhhNhNubah}(h]h ]wah"]h$]h&]uh1j9hj#hhhj8hKaubh)}(hhh]h desc_sig_name)}(hiwpm_nlmsg_requesth]hiwpm_nlmsg_request}(hjOhhhNhNubah}(h]h ]nah"]h$]h&]uh1jMhjJubah}(h]h ]h"]h$]h&] refdomaincreftype identifier reftargetjQmodnameN classnameN c:parent_keysphinx.domains.c LookupKey)}data]jl ASTIdentifier)}jgiwpm_get_nlmsg_requestsbc.iwpm_get_nlmsg_requestasbuh1hhj#hhhj8hKaubj:)}(h h]h }(hjzhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj#hhhj8hKaubhdesc_sig_punctuation)}(h*h]h*}(hjhhhNhNubah}(h]h ]pah"]h$]h&]uh1jhj#hhhj8hKaubh desc_name)}(hiwpm_get_nlmsg_requesth]jN)}(hjwh]hiwpm_get_nlmsg_request}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](sig-namedescnameeh"]h$]h&] xml:spacepreserveuh1jhj#hhhj8hKaubhdesc_parameterlist)}(h*(__u32 nlmsg_seq, u8 nl_client, gfp_t gfp)h](hdesc_parameter)}(h__u32 nlmsg_seqh](h)}(hhh]jN)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]juc.iwpm_get_nlmsg_requestasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h nlmsg_seqh]h nlmsg_seq}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h u8 nl_clienth](h)}(hhh]jN)}(hu8h]hu8}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]juc.iwpm_get_nlmsg_requestasbuh1hhjubj:)}(h h]h }(hj+hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h nl_clienth]h nl_client}(hj9hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h gfp_t gfph](h)}(hhh]jN)}(hgfp_th]hgfp_t}(hjUhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjRubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjWmodnameN classnameNjkjn)}jq]juc.iwpm_get_nlmsg_requestasbuh1hhjNubj:)}(h h]h }(hjshhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjNubjN)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjNubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhj#hhhj8hKaubeh}(h]h ]h"]h$]h&]jj add_permalinkuh1j!sphinx_line_type declaratorhjhhhj8hKaubah}(h]jah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1jhj8hKahjhhubh desc_content)}(hhh]h)}(h/Allocate and initialize netlink message requesth]h/Allocate and initialize netlink message request}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKahjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj8hKaubeh}(h]h ](jefunctioneh"]h$]h&]domainjeobjtypejdesctypejnoindex noindexentrynocontentsentryuh1jhhhhhNhNubh container)}(hX9**Parameters** ``__u32 nlmsg_seq`` Sequence number of the netlink message ``u8 nl_client`` The index of the netlink client ``gfp_t gfp`` Indicates how the memory for the request should be allocated **Description** Returns the newly allocated netlink request object if successful, otherwise returns NULLh](h)}(h**Parameters**h]hstrong)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKehjubhdefinition_list)}(hhh](hdefinition_list_item)}(h;``__u32 nlmsg_seq`` Sequence number of the netlink message h](hterm)}(h``__u32 nlmsg_seq``h]hliteral)}(hjh]h__u32 nlmsg_seq}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKbhjubh definition)}(hhh]h)}(h&Sequence number of the netlink messageh]h&Sequence number of the netlink message}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKbhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKbhjubj)}(h1``u8 nl_client`` The index of the netlink client h](j)}(h``u8 nl_client``h]j )}(hjCh]h u8 nl_client}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKchj=ubj)}(hhh]h)}(hThe index of the netlink clienth]hThe index of the netlink client}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhKchjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhKchjubj)}(hK``gfp_t gfp`` Indicates how the memory for the request should be allocated h](j)}(h ``gfp_t gfp``h]j )}(hj|h]h gfp_t gfp}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKdhjvubj)}(hhh]h)}(hhhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhj;hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jefunctioneh"]h$]h&]jjejjVjjVjjjuh1jhhhhhNhNubj)}(hy**Parameters** ``u8 nl_client`` The index of the netlink client **Description** Returns the client registration typeh](h)}(h**Parameters**h]j)}(hj`h]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjZubj)}(hhh]j)}(h1``u8 nl_client`` The index of the netlink client h](j)}(h``u8 nl_client``h]j )}(hjh]h u8 nl_client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjyubj)}(hhh]h)}(hThe index of the netlink clienth]hThe index of the netlink client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhKhjvubah}(h]h ]h"]h$]h&]uh1jhjZubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjZubh)}(h$Returns the client registration typeh]h$Returns the client registration type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jiwpm_send_mapinfo (C function)c.iwpm_send_mapinfohNtauh1jhhhhhNhNubj)}(hhh](j)}(h2int iwpm_send_mapinfo (u8 nl_client, int iwpm_pid)h]j")}(h1int iwpm_send_mapinfo(u8 nl_client, int iwpm_pid)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhj hKubj)}(hiwpm_send_mapinfoh]jN)}(hiwpm_send_mapinfoh]hiwpm_send_mapinfo}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhj hKubj)}(h(u8 nl_client, int iwpm_pid)h](j)}(h u8 nl_clienth](h)}(hhh]jN)}(hu8h]hu8}(hj?hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj<ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjAmodnameN classnameNjkjn)}jq]jt)}jgj"sbc.iwpm_send_mapinfoasbuh1hhj8ubj:)}(h h]h }(hj_hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8ubjN)}(h nl_clienth]h nl_client}(hjmhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj4ubj)}(h int iwpm_pidh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hiwpm_pidh]hiwpm_pid}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj4ubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhj hKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhj hKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhj hKhjhhubj)}(hhh]h)}(hVSend local and mapped IPv4/IPv6 address info of a client to the user space port mapperh]hVSend local and mapped IPv4/IPv6 address info of a client to the user space port mapper}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj hKubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(h**Parameters** ``u8 nl_client`` The index of the netlink client ``int iwpm_pid`` The pid of the user space port mapper **Description** If successful, returns the number of sent mapping info recordsh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjubj)}(hhh](j)}(h1``u8 nl_client`` The index of the netlink client h](j)}(h``u8 nl_client``h]j )}(hj h]h u8 nl_client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjubj)}(hhh]h)}(hThe index of the netlink clienth]hThe index of the netlink client}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hKhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hKhjubj)}(h7``int iwpm_pid`` The pid of the user space port mapper h](j)}(h``int iwpm_pid``h]j )}(hjFh]h int iwpm_pid}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhj@ubj)}(hhh]h)}(h%The pid of the user space port mapperh]h%The pid of the user space port mapper}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hKhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hKhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjubh)}(h>If successful, returns the number of sent mapping info recordsh]h>If successful, returns the number of sent mapping info records}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j#iwpm_mapinfo_available (C function)c.iwpm_mapinfo_availablehNtauh1jhhhhhNhNubj)}(hhh](j)}(h!int iwpm_mapinfo_available (void)h]j")}(h int iwpm_mapinfo_available(void)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhKubj)}(hiwpm_mapinfo_availableh]jN)}(hiwpm_mapinfo_availableh]hiwpm_mapinfo_available}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhKubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]noemphjjuh1jhjubah}(h]h ]h"]h$]h&]jjuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhKhjhhubj)}(hhh]h)}(h@Check if any mapping info records is available in the hash tableh]h@Check if any mapping info records is available in the hash table}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhj*hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jefunctioneh"]h$]h&]jjejjEjjEjjjuh1jhhhhhNhNubj)}(h|**Parameters** ``void`` no arguments **Description** Returns 1 if mapping information is available, otherwise returns 0h](h)}(h**Parameters**h]j)}(hjOh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjIubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j )}(hjnh]hvoid}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjhubj)}(hhh]h)}(h no argumentsh]h no arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhKhjeubah}(h]h ]h"]h$]h&]uh1jhjIubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjIubh)}(hBReturns 1 if mapping information is available, otherwise returns 0h]hBReturns 1 if mapping information is available, otherwise returns 0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"iwpm_compare_sockaddr (C function)c.iwpm_compare_sockaddrhNtauh1jhhhhhNhNubj)}(hhh](j)}(hdint iwpm_compare_sockaddr (struct sockaddr_storage *a_sockaddr, struct sockaddr_storage *b_sockaddr)h]j")}(hcint iwpm_compare_sockaddr(struct sockaddr_storage *a_sockaddr, struct sockaddr_storage *b_sockaddr)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhKubj)}(hiwpm_compare_sockaddrh]jN)}(hiwpm_compare_sockaddrh]hiwpm_compare_sockaddr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhKubj)}(hJ(struct sockaddr_storage *a_sockaddr, struct sockaddr_storage *b_sockaddr)h](j)}(h#struct sockaddr_storage *a_sockaddrh](j()}(hj+h]hstruct}(hj+hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj'ubj:)}(h h]h }(hj8hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj'ubh)}(hhh]jN)}(hsockaddr_storageh]hsockaddr_storage}(hjIhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjFubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjKmodnameN classnameNjkjn)}jq]jt)}jgjsbc.iwpm_compare_sockaddrasbuh1hhj'ubj:)}(h h]h }(hjihhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj'ubj)}(hjh]h*}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubjN)}(h a_sockaddrh]h a_sockaddr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj'ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj#ubj)}(h#struct sockaddr_storage *b_sockaddrh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hsockaddr_storageh]hsockaddr_storage}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jec.iwpm_compare_sockaddrasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(h b_sockaddrh]h b_sockaddr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj#ubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhKhjhhubj)}(hhh]h)}(h$Compare two sockaddr storage structsh]h$Compare two sockaddr storage structs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jefunctioneh"]h$]h&]jjejj6jj6jjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct sockaddr_storage *a_sockaddr`` first sockaddr to compare ``struct sockaddr_storage *b_sockaddr`` second sockaddr to compare **Return** 0 if they are holding the same ip/tcp address info, otherwise returns 1h](h)}(h**Parameters**h]j)}(hj@h]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhj:ubj)}(hhh](j)}(hB``struct sockaddr_storage *a_sockaddr`` first sockaddr to compare h](j)}(h'``struct sockaddr_storage *a_sockaddr``h]j )}(hj_h]h#struct sockaddr_storage *a_sockaddr}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjYubj)}(hhh]h)}(hfirst sockaddr to compareh]hfirst sockaddr to compare}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthKhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthKhjVubj)}(hC``struct sockaddr_storage *b_sockaddr`` second sockaddr to compare h](j)}(h'``struct sockaddr_storage *b_sockaddr``h]j )}(hjh]h#struct sockaddr_storage *b_sockaddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjubj)}(hhh]h)}(hsecond sockaddr to compareh]hsecond sockaddr to compare}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjVubeh}(h]h ]h"]h$]h&]uh1jhj:ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhj:ubh)}(hG0 if they are holding the same ip/tcp address info, otherwise returns 1h]hG0 if they are holding the same ip/tcp address info, otherwise returns 1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j%iwpm_validate_nlmsg_attr (C function)c.iwpm_validate_nlmsg_attrhNtauh1jhhhhhNhNubj)}(hhh](j)}(hCint iwpm_validate_nlmsg_attr (struct nlattr *nltb[], int nla_count)h]j")}(hBint iwpm_validate_nlmsg_attr(struct nlattr *nltb[], int nla_count)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKubj:)}(h h]h }(hj'hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhj&hKubj)}(hiwpm_validate_nlmsg_attrh]jN)}(hiwpm_validate_nlmsg_attrh]hiwpm_validate_nlmsg_attr}(hj9hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj5ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhj&hKubj)}(h&(struct nlattr *nltb[], int nla_count)h](j)}(hstruct nlattr *nltb[]h](j()}(hj+h]hstruct}(hjUhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjQubj:)}(h h]h }(hjbhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjQubh)}(hhh]jN)}(hnlattrh]hnlattr}(hjshhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjpubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjumodnameN classnameNjkjn)}jq]jt)}jgj;sbc.iwpm_validate_nlmsg_attrasbuh1hhjQubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjQubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubjN)}(hnltbh]hnltb}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjQubj)}(h[h]h[}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj)}(h]h]h]}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjMubj)}(h int nla_counth](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h nla_counth]h nla_count}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjMubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhj&hKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhj&hKubah}(h]j ah ](jjeh"]h$]h&]jj)jhuh1jhj&hKhj hhubj)}(hhh]h)}(h!Check for NULL netlink attributesh]h!Check for NULL netlink attributes}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhj&hhubah}(h]h ]h"]h$]h&]uh1jhj hhhj&hKubeh}(h]h ](jefunctioneh"]h$]h&]jjejjAjjAjjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct nlattr *nltb[]`` Holds address of each netlink message attributes ``int nla_count`` Number of netlink message attributes **Description** Returns error if any of the nla_count attributes is NULLh](h)}(h**Parameters**h]j)}(hjKh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjEubj)}(hhh](j)}(hK``struct nlattr *nltb[]`` Holds address of each netlink message attributes h](j)}(h``struct nlattr *nltb[]``h]j )}(hjjh]hstruct nlattr *nltb[]}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjdubj)}(hhh]h)}(h0Holds address of each netlink message attributesh]h0Holds address of each netlink message attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhKhjaubj)}(h7``int nla_count`` Number of netlink message attributes h](j)}(h``int nla_count``h]j )}(hjh]h int nla_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjubj)}(hhh]h)}(h$Number of netlink message attributesh]h$Number of netlink message attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjaubeh}(h]h ]h"]h$]h&]uh1jhjEubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjEubh)}(h8Returns error if any of the nla_count attributes is NULLh]h8Returns error if any of the nla_count attributes is NULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jiwpm_create_nlmsg (C function)c.iwpm_create_nlmsghNtauh1jhhhhhNhNubj)}(hhh](j)}(hTstruct sk_buff * iwpm_create_nlmsg (u32 nl_op, struct nlmsghdr **nlh, int nl_client)h]j")}(hRstruct sk_buff *iwpm_create_nlmsg(u32 nl_op, struct nlmsghdr **nlh, int nl_client)h](j()}(hj+h]hstruct}(hj#hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKubj:)}(h h]h }(hj1hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhj0hKubh)}(hhh]jN)}(hsk_buffh]hsk_buff}(hjBhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj?ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjDmodnameN classnameNjkjn)}jq]jt)}jgiwpm_create_nlmsgsbc.iwpm_create_nlmsgasbuh1hhjhhhj0hKubj:)}(h h]h }(hjchhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhj0hKubj)}(hjh]h*}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj0hKubj)}(hiwpm_create_nlmsgh]jN)}(hj`h]hiwpm_create_nlmsg}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj~ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhj0hKubj)}(h1(u32 nl_op, struct nlmsghdr **nlh, int nl_client)h](j)}(h u32 nl_oph](h)}(hhh]jN)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j^c.iwpm_create_nlmsgasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hnl_oph]hnl_op}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct nlmsghdr **nlhh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hnlmsghdrh]hnlmsghdr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j^c.iwpm_create_nlmsgasbuh1hhjubj:)}(h h]h }(hj!hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hnlhh]hnlh}(hjIhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h int nl_clienth](j)}(hinth]hint}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj^ubj:)}(h h]h }(hjphhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj^ubjN)}(h nl_clienth]h nl_client}(hj~hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj^ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhj0hKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhj0hKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhj0hKhjhhubj)}(hhh]h)}(h'Allocate skb and form a netlink messageh]h'Allocate skb and form a netlink message}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj0hKubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hXH**Parameters** ``u32 nl_op`` Netlink message opcode ``struct nlmsghdr **nlh`` Holds address of the netlink message header in skb ``int nl_client`` The index of the netlink client **Description** Returns the newly allcated skb, or NULL if the tailroom of the skb is insufficient to store the message header and payloadh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjubj)}(hhh](j)}(h%``u32 nl_op`` Netlink message opcode h](j)}(h ``u32 nl_op``h]j )}(hjh]h u32 nl_op}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjubj)}(hhh]h)}(hNetlink message opcodeh]hNetlink message opcode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hM``struct nlmsghdr **nlh`` Holds address of the netlink message header in skb h](j)}(h``struct nlmsghdr **nlh``h]j )}(hj"h]hstruct nlmsghdr **nlh}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjubj)}(hhh]h)}(h2Holds address of the netlink message header in skbh]h2Holds address of the netlink message header in skb}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hKhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hKhjubj)}(h2``int nl_client`` The index of the netlink client h](j)}(h``int nl_client``h]j )}(hj[h]h int nl_client}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjUubj)}(hhh]h)}(hThe index of the netlink clienth]hThe index of the netlink client}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphKhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphKhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjubh)}(hzReturns the newly allcated skb, or NULL if the tailroom of the skb is insufficient to store the message header and payloadh]hzReturns the newly allcated skb, or NULL if the tailroom of the skb is insufficient to store the message header and payload}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jiwpm_parse_nlmsg (C function)c.iwpm_parse_nlmsghNtauh1jhhhhhNhNubj)}(hhh](j)}(hint iwpm_parse_nlmsg (struct netlink_callback *cb, int policy_max, const struct nla_policy *nlmsg_policy, struct nlattr *nltb[], const char *msg_type)h]j")}(hint iwpm_parse_nlmsg(struct netlink_callback *cb, int policy_max, const struct nla_policy *nlmsg_policy, struct nlattr *nltb[], const char *msg_type)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhKubj)}(hiwpm_parse_nlmsgh]jN)}(hiwpm_parse_nlmsgh]hiwpm_parse_nlmsg}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhKubj)}(h(struct netlink_callback *cb, int policy_max, const struct nla_policy *nlmsg_policy, struct nlattr *nltb[], const char *msg_type)h](j)}(hstruct netlink_callback *cbh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj%hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hnetlink_callbackh]hnetlink_callback}(hj6hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj3ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj8modnameN classnameNjkjn)}jq]jt)}jgjsbc.iwpm_parse_nlmsgasbuh1hhjubj:)}(h h]h }(hjVhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hcbh]hcb}(hjqhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hint policy_maxh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h policy_maxh]h policy_max}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h%const struct nla_policy *nlmsg_policyh](j()}(hconsth]hconst}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h nla_policyh]h nla_policy}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jRc.iwpm_parse_nlmsgasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(h nlmsg_policyh]h nlmsg_policy}(hj2hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct nlattr *nltb[]h](j()}(hj+h]hstruct}(hjKhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjGubj:)}(h h]h }(hjXhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjGubh)}(hhh]jN)}(hnlattrh]hnlattr}(hjihhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjfubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjkmodnameN classnameNjkjn)}jq]jRc.iwpm_parse_nlmsgasbuh1hhjGubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjGubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubjN)}(hnltbh]hnltb}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjGubj)}(hjh]h[}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj)}(hjh]h]}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hconst char *msg_typeh](j()}(hjh]hconst}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hmsg_typeh]hmsg_type}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhKhjhhubj)}(hhh]h)}(h/Validate and parse the received netlink messageh]h/Validate and parse the received netlink message}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhj@hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jefunctioneh"]h$]h&]jjejj[jj[jjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct netlink_callback *cb`` Netlink callback structure ``int policy_max`` Maximum attribute type to be expected ``const struct nla_policy *nlmsg_policy`` Validation policy ``struct nlattr *nltb[]`` Array to store policy_max parsed elements ``const char *msg_type`` Type of netlink message **Description** Returns 0 on success or a negative error codeh](h)}(h**Parameters**h]j)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhj_ubj)}(hhh](j)}(h;``struct netlink_callback *cb`` Netlink callback structure h](j)}(h``struct netlink_callback *cb``h]j )}(hjh]hstruct netlink_callback *cb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhj~ubj)}(hhh]h)}(hNetlink callback structureh]hNetlink callback structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhKhj{ubj)}(h9``int policy_max`` Maximum attribute type to be expected h](j)}(h``int policy_max``h]j )}(hjh]hint policy_max}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjubj)}(hhh]h)}(h%Maximum attribute type to be expectedh]h%Maximum attribute type to be expected}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj{ubj)}(h<``const struct nla_policy *nlmsg_policy`` Validation policy h](j)}(h)``const struct nla_policy *nlmsg_policy``h]j )}(hjh]h%const struct nla_policy *nlmsg_policy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjubj)}(hhh]h)}(hValidation policyh]hValidation policy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhj{ubj)}(hD``struct nlattr *nltb[]`` Array to store policy_max parsed elements h](j)}(h``struct nlattr *nltb[]``h]j )}(hj/h]hstruct nlattr *nltb[]}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhj)ubj)}(hhh]h)}(h)Array to store policy_max parsed elementsh]h)Array to store policy_max parsed elements}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhKhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhKhj{ubj)}(h1``const char *msg_type`` Type of netlink message h](j)}(h``const char *msg_type``h]j )}(hjhh]hconst char *msg_type}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjbubj)}(hhh]h)}(hType of netlink messageh]hType of netlink message}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hKhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hKhj{ubeh}(h]h ]h"]h$]h&]uh1jhj_ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhj_ubh)}(h-Returns 0 on success or a negative error codeh]h-Returns 0 on success or a negative error code}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j iwpm_print_sockaddr (C function)c.iwpm_print_sockaddrhNtauh1jhhhhhNhNubj)}(hhh](j)}(hGvoid iwpm_print_sockaddr (struct sockaddr_storage *sockaddr, char *msg)h]j")}(hFvoid iwpm_print_sockaddr(struct sockaddr_storage *sockaddr, char *msg)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhKubj)}(hiwpm_print_sockaddrh]jN)}(hiwpm_print_sockaddrh]hiwpm_print_sockaddr}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhKubj)}(h.(struct sockaddr_storage *sockaddr, char *msg)h](j)}(h!struct sockaddr_storage *sockaddrh](j()}(hj+h]hstruct}(hj%hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj!ubj:)}(h h]h }(hj2hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj!ubh)}(hhh]jN)}(hsockaddr_storageh]hsockaddr_storage}(hjChhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj@ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjEmodnameN classnameNjkjn)}jq]jt)}jgj sbc.iwpm_print_sockaddrasbuh1hhj!ubj:)}(h h]h }(hjchhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj!ubj)}(hjh]h*}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubjN)}(hsockaddrh]hsockaddr}(hj~hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj!ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h char *msgh](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hmsgh]hmsg}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhKhjhhubj)}(hhh]h)}(h$Print IPv4/IPv6 address and TCP porth]h$Print IPv4/IPv6 address and TCP port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hq**Parameters** ``struct sockaddr_storage *sockaddr`` Socket address to print ``char *msg`` Message to printh](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjubj)}(hhh](j)}(h>``struct sockaddr_storage *sockaddr`` Socket address to print h](j)}(h%``struct sockaddr_storage *sockaddr``h]j )}(hj+h]h!struct sockaddr_storage *sockaddr}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhj%ubj)}(hhh]h)}(hSocket address to printh]hSocket address to print}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hKhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hKhj"ubj)}(h``char *msg`` Message to printh](j)}(h ``char *msg``h]j )}(hjdh]h char *msg}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhj^ubj)}(hhh]h)}(hMessage to printh]hMessage to print}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhKhj"ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jiwpm_send_hello (C function)c.iwpm_send_hellohNtauh1jhhhhhNhNubj)}(hhh](j)}(hAint iwpm_send_hello (u8 nl_client, int iwpm_pid, u16 abi_version)h]j")}(h@int iwpm_send_hello(u8 nl_client, int iwpm_pid, u16 abi_version)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhKubj)}(hiwpm_send_helloh]jN)}(hiwpm_send_helloh]hiwpm_send_hello}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhKubj)}(h-(u8 nl_client, int iwpm_pid, u16 abi_version)h](j)}(h u8 nl_clienth](h)}(hhh]jN)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj modnameN classnameNjkjn)}jq]jt)}jgjsbc.iwpm_send_helloasbuh1hhjubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h nl_clienth]h nl_client}(hj, hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h int iwpm_pidh](j)}(hinth]hint}(hjE hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjA ubj:)}(h h]h }(hjS hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjA ubjN)}(hiwpm_pidh]hiwpm_pid}(hja hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjA ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hu16 abi_versionh](h)}(hhh]jN)}(hu16h]hu16}(hj} hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjz ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj modnameN classnameNjkjn)}jq]j c.iwpm_send_helloasbuh1hhjv ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjv ubjN)}(h abi_versionh]h abi_version}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjv ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhKhjhhubj)}(hhh]h)}(hSend hello response to iwpmdh]hSend hello response to iwpmd}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhKhj hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jefunctioneh"]h$]h&]jjejj jj jjjuh1jhhhhhNhNubj)}(h**Parameters** ``u8 nl_client`` The index of the netlink client ``int iwpm_pid`` The pid of the user space port mapper ``u16 abi_version`` The kernel's abi_version **Description** Returns 0 on success or a negative error codeh](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhMhj ubj)}(hhh](j)}(h1``u8 nl_client`` The index of the netlink client h](j)}(h``u8 nl_client``h]j )}(hj!h]h u8 nl_client}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhMhj!ubj)}(hhh]h)}(hThe index of the netlink clienth]hThe index of the netlink client}(hj-!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)!hMhj*!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj)!hMhj !ubj)}(h7``int iwpm_pid`` The pid of the user space port mapper h](j)}(h``int iwpm_pid``h]j )}(hjM!h]h int iwpm_pid}(hjO!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK!ubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhMhjG!ubj)}(hhh]h)}(h%The pid of the user space port mapperh]h%The pid of the user space port mapper}(hjf!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjb!hMhjc!ubah}(h]h ]h"]h$]h&]uh1jhjG!ubeh}(h]h ]h"]h$]h&]uh1jhjb!hMhj !ubj)}(h-``u16 abi_version`` The kernel's abi_version h](j)}(h``u16 abi_version``h]j )}(hj!h]hu16 abi_version}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhMhj!ubj)}(hhh]h)}(hThe kernel's abi_versionh]hThe kernel’s abi_version}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!hMhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMhj !ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hj!h]h Description}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhMhj ubh)}(h-Returns 0 on success or a negative error codeh]h-Returns 0 on success or a negative error code}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:13: ./drivers/infiniband/core/iwpm_util.hhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!ib_process_cq_direct (C function)c.ib_process_cq_directhNtauh1jhhhhhNhNubj)}(hhh](j)}(h7int ib_process_cq_direct (struct ib_cq *cq, int budget)h]j")}(h6int ib_process_cq_direct(struct ib_cq *cq, int budget)h](j)}(hinth]hint}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj"hhhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chK}ubj:)}(h h]h }(hj"hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj"hhhj"hK}ubj)}(hib_process_cq_directh]jN)}(hib_process_cq_directh]hib_process_cq_direct}(hj'"hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj#"ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj"hhhj"hK}ubj)}(h(struct ib_cq *cq, int budget)h](j)}(hstruct ib_cq *cqh](j()}(hj+h]hstruct}(hjC"hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj?"ubj:)}(h h]h }(hjP"hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj?"ubh)}(hhh]jN)}(hib_cqh]hib_cq}(hja"hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj^"ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjc"modnameN classnameNjkjn)}jq]jt)}jgj)"sbc.ib_process_cq_directasbuh1hhj?"ubj:)}(h h]h }(hj"hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj?"ubj)}(hjh]h*}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?"ubjN)}(hcqh]hcq}(hj"hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj?"ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj;"ubj)}(h int budgeth](j)}(hinth]hint}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj"ubj:)}(h h]h }(hj"hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj"ubjN)}(hbudgeth]hbudget}(hj"hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj"ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj;"ubeh}(h]h ]h"]h$]h&]jjuh1jhj"hhhj"hK}ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj!hhhj"hK}ubah}(h]j!ah ](jjeh"]h$]h&]jj)jhuh1jhj"hK}hj!hhubj)}(hhh]h)}(hprocess a CQ in caller contexth]hprocess a CQ in caller context}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chK}hj"hhubah}(h]h ]h"]h$]h&]uh1jhj!hhhj"hK}ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj#jj#jjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_cq *cq`` CQ to process ``int budget`` number of CQEs to poll for **Description** This function is used to process all outstanding CQ entries. It does not offload CQ processing to a different context and does not ask for completion interrupts from the HCA. Using direct processing on CQ with non IB_POLL_DIRECT type may trigger concurrent processing. **Note** do not pass -1 as ``budget`` unless it is guaranteed that the number of completions that will be processed is small.h](h)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chKhj#ubj)}(hhh](j)}(h#``struct ib_cq *cq`` CQ to process h](j)}(h``struct ib_cq *cq``h]j )}(hj<#h]hstruct ib_cq *cq}(hj>#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:#ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chK~hj6#ubj)}(hhh]h)}(h CQ to processh]h CQ to process}(hjU#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQ#hK~hjR#ubah}(h]h ]h"]h$]h&]uh1jhj6#ubeh}(h]h ]h"]h$]h&]uh1jhjQ#hK~hj3#ubj)}(h*``int budget`` number of CQEs to poll for h](j)}(h``int budget``h]j )}(hju#h]h int budget}(hjw#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs#ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chKhjo#ubj)}(hhh]h)}(hnumber of CQEs to poll forh]hnumber of CQEs to poll for}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hKhj#ubah}(h]h ]h"]h$]h&]uh1jhjo#ubeh}(h]h ]h"]h$]h&]uh1jhj#hKhj3#ubeh}(h]h ]h"]h$]h&]uh1jhj#ubh)}(h**Description**h]j)}(hj#h]h Description}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chKhj#ubh)}(hX This function is used to process all outstanding CQ entries. It does not offload CQ processing to a different context and does not ask for completion interrupts from the HCA. Using direct processing on CQ with non IB_POLL_DIRECT type may trigger concurrent processing.h]hX This function is used to process all outstanding CQ entries. It does not offload CQ processing to a different context and does not ask for completion interrupts from the HCA. Using direct processing on CQ with non IB_POLL_DIRECT type may trigger concurrent processing.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chKhj#ubh)}(h**Note**h]j)}(hj#h]hNote}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chKhj#ubh)}(htdo not pass -1 as ``budget`` unless it is guaranteed that the number of completions that will be processed is small.h](hdo not pass -1 as }(hj#hhhNhNubj )}(h ``budget``h]hbudget}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubhX unless it is guaranteed that the number of completions that will be processed is small.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chKhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j__ib_alloc_cq (C function)c.__ib_alloc_cqhNtauh1jhhhhhNhNubj)}(hhh](j)}(hstruct ib_cq * __ib_alloc_cq (struct ib_device *dev, void *private, int nr_cqe, int comp_vector, enum ib_poll_context poll_ctx, const char *caller)h]j")}(hstruct ib_cq *__ib_alloc_cq(struct ib_device *dev, void *private, int nr_cqe, int comp_vector, enum ib_poll_context poll_ctx, const char *caller)h](j()}(hj+h]hstruct}(hj.$hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj*$hhhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chKubj:)}(h h]h }(hj<$hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj*$hhhj;$hKubh)}(hhh]jN)}(hib_cqh]hib_cq}(hjM$hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjJ$ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjO$modnameN classnameNjkjn)}jq]jt)}jg __ib_alloc_cqsbc.__ib_alloc_cqasbuh1hhj*$hhhj;$hKubj:)}(h h]h }(hjn$hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj*$hhhj;$hKubj)}(hjh]h*}(hj|$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*$hhhj;$hKubj)}(h __ib_alloc_cqh]jN)}(hjk$h]h __ib_alloc_cq}(hj$hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj$ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj*$hhhj;$hKubj)}(hv(struct ib_device *dev, void *private, int nr_cqe, int comp_vector, enum ib_poll_context poll_ctx, const char *caller)h](j)}(hstruct ib_device *devh](j()}(hj+h]hstruct}(hj$hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj$ubj:)}(h h]h }(hj$hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj$ubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hj$hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj$ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj$modnameN classnameNjkjn)}jq]ji$c.__ib_alloc_cqasbuh1hhj$ubj:)}(h h]h }(hj$hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj$ubj)}(hjh]h*}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubjN)}(hdevh]hdev}(hj$hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj$ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj$ubj)}(h void *privateh](j)}(hvoidh]hvoid}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj%ubj:)}(h h]h }(hj&%hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj%ubj)}(hjh]h*}(hj4%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubjN)}(hprivateh]hprivate}(hjA%hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj%ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj$ubj)}(h int nr_cqeh](j)}(hinth]hint}(hjZ%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjV%ubj:)}(h h]h }(hjh%hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjV%ubjN)}(hnr_cqeh]hnr_cqe}(hjv%hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjV%ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj$ubj)}(hint comp_vectorh](j)}(hinth]hint}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj%ubj:)}(h h]h }(hj%hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj%ubjN)}(h comp_vectorh]h comp_vector}(hj%hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj%ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj$ubj)}(henum ib_poll_context poll_ctxh](j()}(henumh]henum}(hj%hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj%ubj:)}(h h]h }(hj%hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj%ubh)}(hhh]jN)}(hib_poll_contexth]hib_poll_context}(hj%hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj%ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj%modnameN classnameNjkjn)}jq]ji$c.__ib_alloc_cqasbuh1hhj%ubj:)}(h h]h }(hj&hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj%ubjN)}(hpoll_ctxh]hpoll_ctx}(hj&hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj%ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj$ubj)}(hconst char *callerh](j()}(hjh]hconst}(hj(&hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj$&ubj:)}(h h]h }(hj5&hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj$&ubj)}(hcharh]hchar}(hjC&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj$&ubj:)}(h h]h }(hjQ&hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj$&ubj)}(hjh]h*}(hj_&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$&ubjN)}(hcallerh]hcaller}(hjl&hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj$&ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj$ubeh}(h]h ]h"]h$]h&]jjuh1jhj*$hhhj;$hKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj&$hhhj;$hKubah}(h]j!$ah ](jjeh"]h$]h&]jj)jhuh1jhj;$hKhj#$hhubj)}(hhh]h)}(hallocate a completion queueh]hallocate a completion queue}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chKhj&hhubah}(h]h ]h"]h$]h&]uh1jhj#$hhhj;$hKubeh}(h]h ](jefunctioneh"]h$]h&]jjejj&jj&jjjuh1jhhhhhNhNubj)}(hXf**Parameters** ``struct ib_device *dev`` device to allocate the CQ for ``void *private`` driver private data, accessible from cq->cq_context ``int nr_cqe`` number of CQEs to allocate ``int comp_vector`` HCA completion vectors for this CQ ``enum ib_poll_context poll_ctx`` context to poll the CQ from. ``const char *caller`` module owner name. **Description** This is the proper interface to allocate a CQ for in-kernel users. A CQ allocated with this interface will automatically be polled from the specified context. The ULP must use wr->wr_cqe instead of wr->wr_id to use this CQ abstraction.h](h)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chKhj&ubj)}(hhh](j)}(h8``struct ib_device *dev`` device to allocate the CQ for h](j)}(h``struct ib_device *dev``h]j )}(hj&h]hstruct ib_device *dev}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chKhj&ubj)}(hhh]h)}(hdevice to allocate the CQ forh]hdevice to allocate the CQ for}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hKhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hKhj&ubj)}(hF``void *private`` driver private data, accessible from cq->cq_context h](j)}(h``void *private``h]j )}(hj'h]h void *private}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chKhj 'ubj)}(hhh]h)}(h3driver private data, accessible from cq->cq_contexth]h3driver private data, accessible from cq->cq_context}(hj)'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%'hKhj&'ubah}(h]h ]h"]h$]h&]uh1jhj 'ubeh}(h]h ]h"]h$]h&]uh1jhj%'hKhj&ubj)}(h*``int nr_cqe`` number of CQEs to allocate h](j)}(h``int nr_cqe``h]j )}(hjI'h]h int nr_cqe}(hjK'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG'ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chKhjC'ubj)}(hhh]h)}(hnumber of CQEs to allocateh]hnumber of CQEs to allocate}(hjb'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^'hKhj_'ubah}(h]h ]h"]h$]h&]uh1jhjC'ubeh}(h]h ]h"]h$]h&]uh1jhj^'hKhj&ubj)}(h7``int comp_vector`` HCA completion vectors for this CQ h](j)}(h``int comp_vector``h]j )}(hj'h]hint comp_vector}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chKhj|'ubj)}(hhh]h)}(h"HCA completion vectors for this CQh]h"HCA completion vectors for this CQ}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hKhj'ubah}(h]h ]h"]h$]h&]uh1jhj|'ubeh}(h]h ]h"]h$]h&]uh1jhj'hKhj&ubj)}(h?``enum ib_poll_context poll_ctx`` context to poll the CQ from. h](j)}(h!``enum ib_poll_context poll_ctx``h]j )}(hj'h]henum ib_poll_context poll_ctx}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chKhj'ubj)}(hhh]h)}(hcontext to poll the CQ from.h]hcontext to poll the CQ from.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hKhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hKhj&ubj)}(h*``const char *caller`` module owner name. h](j)}(h``const char *caller``h]j )}(hj'h]hconst char *caller}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chKhj'ubj)}(hhh]h)}(hmodule owner name.h]hmodule owner name.}(hj (hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj (hKhj (ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj (hKhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&ubh)}(h**Description**h]j)}(hj/(h]h Description}(hj1(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-(ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chKhj&ubh)}(hThis is the proper interface to allocate a CQ for in-kernel users. A CQ allocated with this interface will automatically be polled from the specified context. The ULP must use wr->wr_cqe instead of wr->wr_id to use this CQ abstraction.h]hThis is the proper interface to allocate a CQ for in-kernel users. A CQ allocated with this interface will automatically be polled from the specified context. The ULP must use wr->wr_cqe instead of wr->wr_id to use this CQ abstraction.}(hjE(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chKhj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j__ib_alloc_cq_any (C function)c.__ib_alloc_cq_anyhNtauh1jhhhhhNhNubj)}(hhh](j)}(hstruct ib_cq * __ib_alloc_cq_any (struct ib_device *dev, void *private, int nr_cqe, enum ib_poll_context poll_ctx, const char *caller)h]j")}(hstruct ib_cq *__ib_alloc_cq_any(struct ib_device *dev, void *private, int nr_cqe, enum ib_poll_context poll_ctx, const char *caller)h](j()}(hj+h]hstruct}(hjt(hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjp(hhhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chM"ubj:)}(h h]h }(hj(hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjp(hhhj(hM"ubh)}(hhh]jN)}(hib_cqh]hib_cq}(hj(hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj(ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj(modnameN classnameNjkjn)}jq]jt)}jg__ib_alloc_cq_anysbc.__ib_alloc_cq_anyasbuh1hhjp(hhhj(hM"ubj:)}(h h]h }(hj(hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjp(hhhj(hM"ubj)}(hjh]h*}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjp(hhhj(hM"ubj)}(h__ib_alloc_cq_anyh]jN)}(hj(h]h__ib_alloc_cq_any}(hj(hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj(ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjp(hhhj(hM"ubj)}(he(struct ib_device *dev, void *private, int nr_cqe, enum ib_poll_context poll_ctx, const char *caller)h](j)}(hstruct ib_device *devh](j()}(hj+h]hstruct}(hj(hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj(ubj:)}(h h]h }(hj(hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj(ubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hj )hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj )ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj)modnameN classnameNjkjn)}jq]j(c.__ib_alloc_cq_anyasbuh1hhj(ubj:)}(h h]h }(hj*)hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj(ubj)}(hjh]h*}(hj8)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubjN)}(hdevh]hdev}(hjE)hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj(ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj(ubj)}(h void *privateh](j)}(hvoidh]hvoid}(hj^)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjZ)ubj:)}(h h]h }(hjl)hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjZ)ubj)}(hjh]h*}(hjz)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZ)ubjN)}(hprivateh]hprivate}(hj)hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjZ)ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj(ubj)}(h int nr_cqeh](j)}(hinth]hint}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj)ubj:)}(h h]h }(hj)hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj)ubjN)}(hnr_cqeh]hnr_cqe}(hj)hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj)ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj(ubj)}(henum ib_poll_context poll_ctxh](j()}(hj%h]henum}(hj)hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj)ubj:)}(h h]h }(hj)hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj)ubh)}(hhh]jN)}(hib_poll_contexth]hib_poll_context}(hj)hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj)ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj)modnameN classnameNjkjn)}jq]j(c.__ib_alloc_cq_anyasbuh1hhj)ubj:)}(h h]h }(hj*hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj)ubjN)}(hpoll_ctxh]hpoll_ctx}(hj*hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj)ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj(ubj)}(hconst char *callerh](j()}(hjh]hconst}(hj8*hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj4*ubj:)}(h h]h }(hjE*hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj4*ubj)}(hcharh]hchar}(hjS*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4*ubj:)}(h h]h }(hja*hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj4*ubj)}(hjh]h*}(hjo*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4*ubjN)}(hcallerh]hcaller}(hj|*hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj4*ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj(ubeh}(h]h ]h"]h$]h&]jjuh1jhjp(hhhj(hM"ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjl(hhhj(hM"ubah}(h]jg(ah ](jjeh"]h$]h&]jj)jhuh1jhj(hM"hji(hhubj)}(hhh]h)}(hallocate a completion queueh]hallocate a completion queue}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chM"hj*hhubah}(h]h ]h"]h$]h&]uh1jhji(hhhj(hM"ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj*jj*jjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_device *dev`` device to allocate the CQ for ``void *private`` driver private data, accessible from cq->cq_context ``int nr_cqe`` number of CQEs to allocate ``enum ib_poll_context poll_ctx`` context to poll the CQ from ``const char *caller`` module owner name **Description** Attempt to spread ULP Completion Queues over each device's interrupt vectors. A simple best-effort mechanism is used.h](h)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chM&hj*ubj)}(hhh](j)}(h8``struct ib_device *dev`` device to allocate the CQ for h](j)}(h``struct ib_device *dev``h]j )}(hj*h]hstruct ib_device *dev}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chM#hj*ubj)}(hhh]h)}(hdevice to allocate the CQ forh]hdevice to allocate the CQ for}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hM#hj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hM#hj*ubj)}(hF``void *private`` driver private data, accessible from cq->cq_context h](j)}(h``void *private``h]j )}(hj +h]h void *private}(hj"+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chM$hj+ubj)}(hhh]h)}(h3driver private data, accessible from cq->cq_contexth]h3driver private data, accessible from cq->cq_context}(hj9+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5+hM$hj6+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj5+hM$hj*ubj)}(h*``int nr_cqe`` number of CQEs to allocate h](j)}(h``int nr_cqe``h]j )}(hjY+h]h int nr_cqe}(hj[+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW+ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chM%hjS+ubj)}(hhh]h)}(hnumber of CQEs to allocateh]hnumber of CQEs to allocate}(hjr+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjn+hM%hjo+ubah}(h]h ]h"]h$]h&]uh1jhjS+ubeh}(h]h ]h"]h$]h&]uh1jhjn+hM%hj*ubj)}(h>``enum ib_poll_context poll_ctx`` context to poll the CQ from h](j)}(h!``enum ib_poll_context poll_ctx``h]j )}(hj+h]henum ib_poll_context poll_ctx}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chM&hj+ubj)}(hhh]h)}(hcontext to poll the CQ fromh]hcontext to poll the CQ from}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hM&hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM&hj*ubj)}(h)``const char *caller`` module owner name h](j)}(h``const char *caller``h]j )}(hj+h]hconst char *caller}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chM'hj+ubj)}(hhh]h)}(hmodule owner nameh]hmodule owner name}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hM'hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM'hj*ubeh}(h]h ]h"]h$]h&]uh1jhj*ubh)}(h**Description**h]j)}(hj,h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chM)hj*ubh)}(huAttempt to spread ULP Completion Queues over each device's interrupt vectors. A simple best-effort mechanism is used.h]hwAttempt to spread ULP Completion Queues over each device’s interrupt vectors. A simple best-effort mechanism is used.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chM(hj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_free_cq (C function) c.ib_free_cqhNtauh1jhhhhhNhNubj)}(hhh](j)}(h"void ib_free_cq (struct ib_cq *cq)h]j")}(h!void ib_free_cq(struct ib_cq *cq)h](j)}(hvoidh]hvoid}(hjK,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjG,hhhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chM>ubj:)}(h h]h }(hjZ,hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjG,hhhjY,hM>ubj)}(h ib_free_cqh]jN)}(h ib_free_cqh]h ib_free_cq}(hjl,hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjh,ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjG,hhhjY,hM>ubj)}(h(struct ib_cq *cq)h]j)}(hstruct ib_cq *cqh](j()}(hj+h]hstruct}(hj,hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj,ubj:)}(h h]h }(hj,hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj,ubh)}(hhh]jN)}(hib_cqh]hib_cq}(hj,hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj,ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj,modnameN classnameNjkjn)}jq]jt)}jgjn,sb c.ib_free_cqasbuh1hhj,ubj:)}(h h]h }(hj,hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj,ubj)}(hjh]h*}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubjN)}(hcqh]hcq}(hj,hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj,ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj,ubah}(h]h ]h"]h$]h&]jjuh1jhjG,hhhjY,hM>ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjC,hhhjY,hM>ubah}(h]j>,ah ](jjeh"]h$]h&]jj)jhuh1jhjY,hM>hj@,hhubj)}(hhh]h)}(hfree a completion queueh]hfree a completion queue}(hj -hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chM>hj-hhubah}(h]h ]h"]h$]h&]uh1jhj@,hhhjY,hM>ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj#-jj#-jjjuh1jhhhhhNhNubj)}(h@**Parameters** ``struct ib_cq *cq`` completion queue to free.h](h)}(h**Parameters**h]j)}(hj--h]h Parameters}(hj/-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+-ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMBhj'-ubj)}(hhh]j)}(h.``struct ib_cq *cq`` completion queue to free.h](j)}(h``struct ib_cq *cq``h]j )}(hjL-h]hstruct ib_cq *cq}(hjN-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ-ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMDhjF-ubj)}(hhh]h)}(hcompletion queue to free.h]hcompletion queue to free.}(hje-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chM?hjb-ubah}(h]h ]h"]h$]h&]uh1jhjF-ubeh}(h]h ]h"]h$]h&]uh1jhja-hMDhjC-ubah}(h]h ]h"]h$]h&]uh1jhj'-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_cq_pool_get (C function)c.ib_cq_pool_gethNtauh1jhhhhhNhNubj)}(hhh](j)}(hstruct ib_cq * ib_cq_pool_get (struct ib_device *dev, unsigned int nr_cqe, int comp_vector_hint, enum ib_poll_context poll_ctx)h]j")}(h}struct ib_cq *ib_cq_pool_get(struct ib_device *dev, unsigned int nr_cqe, int comp_vector_hint, enum ib_poll_context poll_ctx)h](j()}(hj+h]hstruct}(hj-hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj-hhhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMubj:)}(h h]h }(hj-hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj-hhhj-hMubh)}(hhh]jN)}(hib_cqh]hib_cq}(hj-hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj-ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj-modnameN classnameNjkjn)}jq]jt)}jgib_cq_pool_getsbc.ib_cq_pool_getasbuh1hhj-hhhj-hMubj:)}(h h]h }(hj-hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj-hhhj-hMubj)}(hjh]h*}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhj-hMubj)}(hib_cq_pool_geth]jN)}(hj-h]hib_cq_pool_get}(hj.hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj.ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj-hhhj-hMubj)}(ha(struct ib_device *dev, unsigned int nr_cqe, int comp_vector_hint, enum ib_poll_context poll_ctx)h](j)}(hstruct ib_device *devh](j()}(hj+h]hstruct}(hj .hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj.ubj:)}(h h]h }(hj-.hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj.ubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hj>.hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj;.ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj@.modnameN classnameNjkjn)}jq]j-c.ib_cq_pool_getasbuh1hhj.ubj:)}(h h]h }(hj\.hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj.ubj)}(hjh]h*}(hjj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubjN)}(hdevh]hdev}(hjw.hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj.ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj.ubj)}(hunsigned int nr_cqeh](j)}(hunsignedh]hunsigned}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj.ubj:)}(h h]h }(hj.hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj.ubj)}(hinth]hint}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj.ubj:)}(h h]h }(hj.hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj.ubjN)}(hnr_cqeh]hnr_cqe}(hj.hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj.ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj.ubj)}(hint comp_vector_hinth](j)}(hinth]hint}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj.ubj:)}(h h]h }(hj.hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj.ubjN)}(hcomp_vector_hinth]hcomp_vector_hint}(hj.hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj.ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj.ubj)}(henum ib_poll_context poll_ctxh](j()}(hj%h]henum}(hj/hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj/ubj:)}(h h]h }(hj#/hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj/ubh)}(hhh]jN)}(hib_poll_contexth]hib_poll_context}(hj4/hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj1/ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj6/modnameN classnameNjkjn)}jq]j-c.ib_cq_pool_getasbuh1hhj/ubj:)}(h h]h }(hjR/hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj/ubjN)}(hpoll_ctxh]hpoll_ctx}(hj`/hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj/ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj.ubeh}(h]h ]h"]h$]h&]jjuh1jhj-hhhj-hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj-hhhj-hMubah}(h]j-ah ](jjeh"]h$]h&]jj)jhuh1jhj-hMhj-hhubj)}(hhh]h)}(hzFind the least used completion queue that matches a given cpu hint (or least used for wild card affinity) and fits nr_cqe.h]hzFind the least used completion queue that matches a given cpu hint (or least used for wild card affinity) and fits nr_cqe.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMhj/hhubah}(h]h ]h"]h$]h&]uh1jhj-hhhj-hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj/jj/jjjuh1jhhhhhNhNubj)}(hXc**Parameters** ``struct ib_device *dev`` rdma device ``unsigned int nr_cqe`` number of needed cqe entries ``int comp_vector_hint`` completion vector hint (-1) for the driver to assign a comp vector based on internal counter ``enum ib_poll_context poll_ctx`` cq polling context **Description** Finds a cq that satisfies **comp_vector_hint** and **nr_cqe** requirements and claim entries in it for us. In case there is no available cq, allocate a new cq with the requirements and add it to the device pool. IB_POLL_DIRECT cannot be used for shared cqs so it is not a valid value for **poll_ctx**.h](h)}(h**Parameters**h]j)}(hj/h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMhj/ubj)}(hhh](j)}(h&``struct ib_device *dev`` rdma device h](j)}(h``struct ib_device *dev``h]j )}(hj/h]hstruct ib_device *dev}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMhj/ubj)}(hhh]h)}(h rdma deviceh]h rdma device}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMhj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hMhj/ubj)}(h5``unsigned int nr_cqe`` number of needed cqe entries h](j)}(h``unsigned int nr_cqe``h]j )}(hj0h]hunsigned int nr_cqe}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMhj/ubj)}(hhh]h)}(hnumber of needed cqe entriesh]hnumber of needed cqe entries}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj/ubj)}(hv``int comp_vector_hint`` completion vector hint (-1) for the driver to assign a comp vector based on internal counter h](j)}(h``int comp_vector_hint``h]j )}(hj=0h]hint comp_vector_hint}(hj?0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;0ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMhj70ubj)}(hhh]h)}(h\completion vector hint (-1) for the driver to assign a comp vector based on internal counterh]h\completion vector hint (-1) for the driver to assign a comp vector based on internal counter}(hjV0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMhjS0ubah}(h]h ]h"]h$]h&]uh1jhj70ubeh}(h]h ]h"]h$]h&]uh1jhjR0hMhj/ubj)}(h5``enum ib_poll_context poll_ctx`` cq polling context h](j)}(h!``enum ib_poll_context poll_ctx``h]j )}(hjw0h]henum ib_poll_context poll_ctx}(hjy0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju0ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMhjq0ubj)}(hhh]h)}(hcq polling contexth]hcq polling context}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjq0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/ubh)}(h**Description**h]j)}(hj0h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMhj/ubh)}(hX.Finds a cq that satisfies **comp_vector_hint** and **nr_cqe** requirements and claim entries in it for us. In case there is no available cq, allocate a new cq with the requirements and add it to the device pool. IB_POLL_DIRECT cannot be used for shared cqs so it is not a valid value for **poll_ctx**.h](hFinds a cq that satisfies }(hj0hhhNhNubj)}(h**comp_vector_hint**h]hcomp_vector_hint}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh and }(hj0hhhNhNubj)}(h **nr_cqe**h]hnr_cqe}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh requirements and claim entries in it for us. In case there is no available cq, allocate a new cq with the requirements and add it to the device pool. IB_POLL_DIRECT cannot be used for shared cqs so it is not a valid value for }(hj0hhhNhNubj)}(h **poll_ctx**h]hpoll_ctx}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh.}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_cq_pool_put (C function)c.ib_cq_pool_puthNtauh1jhhhhhNhNubj)}(hhh](j)}(h;void ib_cq_pool_put (struct ib_cq *cq, unsigned int nr_cqe)h]j")}(h:void ib_cq_pool_put(struct ib_cq *cq, unsigned int nr_cqe)h](j)}(hvoidh]hvoid}(hj-1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj)1hhhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMubj:)}(h h]h }(hj<1hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj)1hhhj;1hMubj)}(hib_cq_pool_puth]jN)}(hib_cq_pool_puth]hib_cq_pool_put}(hjN1hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjJ1ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj)1hhhj;1hMubj)}(h'(struct ib_cq *cq, unsigned int nr_cqe)h](j)}(hstruct ib_cq *cqh](j()}(hj+h]hstruct}(hjj1hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjf1ubj:)}(h h]h }(hjw1hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjf1ubh)}(hhh]jN)}(hib_cqh]hib_cq}(hj1hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj1ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj1modnameN classnameNjkjn)}jq]jt)}jgjP1sbc.ib_cq_pool_putasbuh1hhjf1ubj:)}(h h]h }(hj1hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjf1ubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf1ubjN)}(hcqh]hcq}(hj1hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjf1ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjb1ubj)}(hunsigned int nr_cqeh](j)}(hunsignedh]hunsigned}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj1ubj:)}(h h]h }(hj1hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj1ubj)}(hinth]hint}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj1ubj:)}(h h]h }(hj2hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj1ubjN)}(hnr_cqeh]hnr_cqe}(hj2hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj1ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjb1ubeh}(h]h ]h"]h$]h&]jjuh1jhj)1hhhj;1hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj%1hhhj;1hMubah}(h]j 1ah ](jjeh"]h$]h&]jj)jhuh1jhj;1hMhj"1hhubj)}(hhh]h)}(h%Return a CQ taken from a shared pool.h]h%Return a CQ taken from a shared pool.}(hj>2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMhj;2hhubah}(h]h ]h"]h$]h&]uh1jhj"1hhhj;1hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjV2jjV2jjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct ib_cq *cq`` The CQ to return. ``unsigned int nr_cqe`` The max number of cqes that the user had requested.h](h)}(h**Parameters**h]j)}(hj`2h]h Parameters}(hjb2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^2ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMhjZ2ubj)}(hhh](j)}(h'``struct ib_cq *cq`` The CQ to return. h](j)}(h``struct ib_cq *cq``h]j )}(hj2h]hstruct ib_cq *cq}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}2ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMhjy2ubj)}(hhh]h)}(hThe CQ to return.h]hThe CQ to return.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjy2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjv2ubj)}(hK``unsigned int nr_cqe`` The max number of cqes that the user had requested.h](j)}(h``unsigned int nr_cqe``h]j )}(hj2h]hunsigned int nr_cqe}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMhj2ubj)}(hhh]h)}(h3The max number of cqes that the user had requested.h]h3The max number of cqes that the user had requested.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:16: ./drivers/infiniband/core/cq.chMhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjv2ubeh}(h]h ]h"]h$]h&]uh1jhjZ2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_cm_listen (C function)c.ib_cm_listenhNtauh1jhhhhhNhNubj)}(hhh](j)}(h4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:4ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:19: ./drivers/infiniband/core/cm.chMhj64ubj)}(hhh](j)}(hU``struct ib_cm_id *cm_id`` Connection identifier associated with the listen request. h](j)}(h``struct ib_cm_id *cm_id``h]j )}(hj[4h]hstruct ib_cm_id *cm_id}(hj]4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY4ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:19: ./drivers/infiniband/core/cm.chMhjU4ubj)}(hhh]h)}(h9Connection identifier associated with the listen request.h]h9Connection identifier associated with the listen request.}(hjt4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjp4hMhjq4ubah}(h]h ]h"]h$]h&]uh1jhjU4ubeh}(h]h ]h"]h$]h&]uh1jhjp4hMhjR4ubj)}(h``__be64 service_id`` Service identifier matched against incoming connection and service ID resolution requests. The service ID should be specified network-byte order. If set to IB_CM_ASSIGN_SERVICE_ID, the CM will assign a service ID to the caller.h](j)}(h``__be64 service_id``h]j )}(hj4h]h__be64 service_id}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:19: ./drivers/infiniband/core/cm.chMhj4ubj)}(hhh]h)}(hService identifier matched against incoming connection and service ID resolution requests. The service ID should be specified network-byte order. If set to IB_CM_ASSIGN_SERVICE_ID, the CM will assign a service ID to the caller.h]hService identifier matched against incoming connection and service ID resolution requests. The service ID should be specified network-byte order. If set to IB_CM_ASSIGN_SERVICE_ID, the CM will assign a service ID to the caller.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:19: ./drivers/infiniband/core/cm.chMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjR4ubeh}(h]h ]h"]h$]h&]uh1jhj64ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j ib_cm_insert_listen (C function)c.ib_cm_insert_listenhNtauh1jhhhhhNhNubj)}(hhh](j)}(hmstruct ib_cm_id * ib_cm_insert_listen (struct ib_device *device, ib_cm_handler cm_handler, __be64 service_id)h]j")}(hkstruct ib_cm_id *ib_cm_insert_listen(struct ib_device *device, ib_cm_handler cm_handler, __be64 service_id)h](j()}(hj+h]hstruct}(hj4hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj4hhhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:19: ./drivers/infiniband/core/cm.chMubj:)}(h h]h }(hj4hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj4hhhj4hMubh)}(hhh]jN)}(hib_cm_idh]hib_cm_id}(hj 5hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj 5ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj5modnameN classnameNjkjn)}jq]jt)}jgib_cm_insert_listensbc.ib_cm_insert_listenasbuh1hhj4hhhj4hMubj:)}(h h]h }(hj.5hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj4hhhj4hMubj)}(hjh]h*}(hj<5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhhj4hMubj)}(hib_cm_insert_listenh]jN)}(hj+5h]hib_cm_insert_listen}(hjM5hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjI5ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj4hhhj4hMubj)}(hG(struct ib_device *device, ib_cm_handler cm_handler, __be64 service_id)h](j)}(hstruct ib_device *deviceh](j()}(hj+h]hstruct}(hjh5hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjd5ubj:)}(h h]h }(hju5hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjd5ubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hj5hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj5ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj5modnameN classnameNjkjn)}jq]j)5c.ib_cm_insert_listenasbuh1hhjd5ubj:)}(h h]h }(hj5hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjd5ubj)}(hjh]h*}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjd5ubjN)}(hdeviceh]hdevice}(hj5hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjd5ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj`5ubj)}(hib_cm_handler cm_handlerh](h)}(hhh]jN)}(h ib_cm_handlerh]h ib_cm_handler}(hj5hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj5ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj5modnameN classnameNjkjn)}jq]j)5c.ib_cm_insert_listenasbuh1hhj5ubj:)}(h h]h }(hj5hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj5ubjN)}(h cm_handlerh]h cm_handler}(hj6hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj5ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj`5ubj)}(h__be64 service_idh](h)}(hhh]jN)}(h__be64h]h__be64}(hj#6hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj 6ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj%6modnameN classnameNjkjn)}jq]j)5c.ib_cm_insert_listenasbuh1hhj6ubj:)}(h h]h }(hjA6hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj6ubjN)}(h service_idh]h service_id}(hjO6hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj6ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj`5ubeh}(h]h ]h"]h$]h&]jjuh1jhj4hhhj4hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj4hhhj4hMubah}(h]j4ah ](jjeh"]h$]h&]jj)jhuh1jhj4hMhj4hhubj)}(hhh]h)}(hCCreate a new listening ib_cm_id and listen on the given service ID.h]hCCreate a new listening ib_cm_id and listen on the given service ID.}(hjy6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:19: ./drivers/infiniband/core/cm.chMhjv6hhubah}(h]h ]h"]h$]h&]uh1jhj4hhhj4hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj6jj6jjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_device *device`` Device associated with the cm_id. All related communication will be associated with the specified device. ``ib_cm_handler cm_handler`` Callback invoked to notify the user of CM events. ``__be64 service_id`` Service identifier matched against incoming connection and service ID resolution requests. The service ID should be specified network-byte order. If set to IB_CM_ASSIGN_SERVICE_ID, the CM will assign a service ID to the caller. **Description** If there's an existing ID listening on that same device and service ID, return it. Callers should call ib_destroy_cm_id when done with the listener ID.h](h)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:19: ./drivers/infiniband/core/cm.chMhj6ubj)}(hhh](j)}(h``struct ib_device *device`` Device associated with the cm_id. All related communication will be associated with the specified device. h](j)}(h``struct ib_device *device``h]j )}(hj6h]hstruct ib_device *device}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:19: ./drivers/infiniband/core/cm.chMhj6ubj)}(hhh]h)}(hjDevice associated with the cm_id. All related communication will be associated with the specified device.h]hjDevice associated with the cm_id. All related communication will be associated with the specified device.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:19: ./drivers/infiniband/core/cm.chMhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj6ubj)}(hO``ib_cm_handler cm_handler`` Callback invoked to notify the user of CM events. h](j)}(h``ib_cm_handler cm_handler``h]j )}(hj6h]hib_cm_handler cm_handler}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:19: ./drivers/infiniband/core/cm.chMhj6ubj)}(hhh]h)}(h1Callback invoked to notify the user of CM events.h]h1Callback invoked to notify the user of CM events.}(hj 7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj 7hMhj 7ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj 7hMhj6ubj)}(h``__be64 service_id`` Service identifier matched against incoming connection and service ID resolution requests. The service ID should be specified network-byte order. If set to IB_CM_ASSIGN_SERVICE_ID, the CM will assign a service ID to the caller. h](j)}(h``__be64 service_id``h]j )}(hj-7h]h__be64 service_id}(hj/7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+7ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:19: ./drivers/infiniband/core/cm.chMhj'7ubj)}(hhh]h)}(hService identifier matched against incoming connection and service ID resolution requests. The service ID should be specified network-byte order. If set to IB_CM_ASSIGN_SERVICE_ID, the CM will assign a service ID to the caller.h]hService identifier matched against incoming connection and service ID resolution requests. The service ID should be specified network-byte order. If set to IB_CM_ASSIGN_SERVICE_ID, the CM will assign a service ID to the caller.}(hjF7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:19: ./drivers/infiniband/core/cm.chMhjC7ubah}(h]h ]h"]h$]h&]uh1jhj'7ubeh}(h]h ]h"]h$]h&]uh1jhjB7hMhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6ubh)}(h**Description**h]j)}(hji7h]h Description}(hjk7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg7ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:19: ./drivers/infiniband/core/cm.chMhj6ubh)}(hRIf there's an existing ID listening on that same device and service ID, return it.h]hTIf there’s an existing ID listening on that same device and service ID, return it.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:19: ./drivers/infiniband/core/cm.chMhj6ubh)}(hDCallers should call ib_destroy_cm_id when done with the listener ID.h]hDCallers should call ib_destroy_cm_id when done with the listener ID.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:19: ./drivers/infiniband/core/cm.chMhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrdma_rw_ctx_init (C function)c.rdma_rw_ctx_inithNtauh1jhhhhhNhNubj)}(hhh](j)}(hint rdma_rw_ctx_init (struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, u32 sg_offset, u64 remote_addr, u32 rkey, enum dma_data_direction dir)h]j")}(hint rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, u32 sg_offset, u64 remote_addr, u32 rkey, enum dma_data_direction dir)h](j)}(hinth]hint}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj7hhhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM0ubj:)}(h h]h }(hj7hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj7hhhj7hM0ubj)}(hrdma_rw_ctx_inith]jN)}(hrdma_rw_ctx_inith]hrdma_rw_ctx_init}(hj7hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj7ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj7hhhj7hM0ubj)}(h(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, u32 sg_offset, u64 remote_addr, u32 rkey, enum dma_data_direction dir)h](j)}(hstruct rdma_rw_ctx *ctxh](j()}(hj+h]hstruct}(hj7hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj7ubj:)}(h h]h }(hj8hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj7ubh)}(hhh]jN)}(h rdma_rw_ctxh]h rdma_rw_ctx}(hj8hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj8modnameN classnameNjkjn)}jq]jt)}jgj7sbc.rdma_rw_ctx_initasbuh1hhj7ubj:)}(h h]h }(hj88hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj7ubj)}(hjh]h*}(hjF8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubjN)}(hctxh]hctx}(hjS8hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj7ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj7ubj)}(hstruct ib_qp *qph](j()}(hj+h]hstruct}(hjl8hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjh8ubj:)}(h h]h }(hjy8hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjh8ubh)}(hhh]jN)}(hib_qph]hib_qp}(hj8hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj8modnameN classnameNjkjn)}jq]j48c.rdma_rw_ctx_initasbuh1hhjh8ubj:)}(h h]h }(hj8hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjh8ubj)}(hjh]h*}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh8ubjN)}(hqph]hqp}(hj8hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjh8ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj7ubj)}(h u32 port_numh](h)}(hhh]jN)}(hu32h]hu32}(hj8hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj8modnameN classnameNjkjn)}jq]j48c.rdma_rw_ctx_initasbuh1hhj8ubj:)}(h h]h }(hj8hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8ubjN)}(hport_numh]hport_num}(hj 9hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj7ubj)}(hstruct scatterlist *sgh](j()}(hj+h]hstruct}(hj$9hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj 9ubj:)}(h h]h }(hj19hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj 9ubh)}(hhh]jN)}(h scatterlisth]h scatterlist}(hjB9hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj?9ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjD9modnameN classnameNjkjn)}jq]j48c.rdma_rw_ctx_initasbuh1hhj 9ubj:)}(h h]h }(hj`9hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj 9ubj)}(hjh]h*}(hjn9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 9ubjN)}(hsgh]hsg}(hj{9hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj 9ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj7ubj)}(h u32 sg_cnth](h)}(hhh]jN)}(hu32h]hu32}(hj9hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj9ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj9modnameN classnameNjkjn)}jq]j48c.rdma_rw_ctx_initasbuh1hhj9ubj:)}(h h]h }(hj9hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj9ubjN)}(hsg_cnth]hsg_cnt}(hj9hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj9ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj7ubj)}(h u32 sg_offseth](h)}(hhh]jN)}(hu32h]hu32}(hj9hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj9ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj9modnameN classnameNjkjn)}jq]j48c.rdma_rw_ctx_initasbuh1hhj9ubj:)}(h h]h }(hj9hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj9ubjN)}(h sg_offseth]h sg_offset}(hj :hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj9ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj7ubj)}(hu64 remote_addrh](h)}(hhh]jN)}(hu64h]hu64}(hj':hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj$:ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj):modnameN classnameNjkjn)}jq]j48c.rdma_rw_ctx_initasbuh1hhj :ubj:)}(h h]h }(hjE:hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj :ubjN)}(h remote_addrh]h remote_addr}(hjS:hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj :ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj7ubj)}(hu32 rkeyh](h)}(hhh]jN)}(hu32h]hu32}(hjo:hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjl:ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjq:modnameN classnameNjkjn)}jq]j48c.rdma_rw_ctx_initasbuh1hhjh:ubj:)}(h h]h }(hj:hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjh:ubjN)}(hrkeyh]hrkey}(hj:hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjh:ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj7ubj)}(henum dma_data_direction dirh](j()}(hj%h]henum}(hj:hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj:ubj:)}(h h]h }(hj:hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj:ubh)}(hhh]jN)}(hdma_data_directionh]hdma_data_direction}(hj:hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj:ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj:modnameN classnameNjkjn)}jq]j48c.rdma_rw_ctx_initasbuh1hhj:ubj:)}(h h]h }(hj:hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj:ubjN)}(hdirh]hdir}(hj:hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj:ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj7ubeh}(h]h ]h"]h$]h&]jjuh1jhj7hhhj7hM0ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj7hhhj7hM0ubah}(h]j7ah ](jjeh"]h$]h&]jj)jhuh1jhj7hM0hj7hhubj)}(hhh]h)}(h$initialize a RDMA READ/WRITE contexth]h$initialize a RDMA READ/WRITE context}(hj(;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM0hj%;hhubah}(h]h ]h"]h$]h&]uh1jhj7hhhj7hM0ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj@;jj@;jjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct rdma_rw_ctx *ctx`` context to initialize ``struct ib_qp *qp`` queue pair to operate on ``u32 port_num`` port num to which the connection is bound ``struct scatterlist *sg`` scatterlist to READ/WRITE from/to ``u32 sg_cnt`` number of entries in **sg** ``u32 sg_offset`` current byte offset into **sg** ``u64 remote_addr`` remote address to read/write (relative to **rkey**) ``u32 rkey`` remote key to operate on ``enum dma_data_direction dir`` ``DMA_TO_DEVICE`` for RDMA WRITE, ``DMA_FROM_DEVICE`` for RDMA READ **Description** Returns the number of WQEs that will be needed on the workqueue if successful, or a negative error code.h](h)}(h**Parameters**h]j)}(hjJ;h]h Parameters}(hjL;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH;ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM4hjD;ubj)}(hhh](j)}(h2``struct rdma_rw_ctx *ctx`` context to initialize h](j)}(h``struct rdma_rw_ctx *ctx``h]j )}(hji;h]hstruct rdma_rw_ctx *ctx}(hjk;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg;ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM1hjc;ubj)}(hhh]h)}(hcontext to initializeh]hcontext to initialize}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~;hM1hj;ubah}(h]h ]h"]h$]h&]uh1jhjc;ubeh}(h]h ]h"]h$]h&]uh1jhj~;hM1hj`;ubj)}(h.``struct ib_qp *qp`` queue pair to operate on h](j)}(h``struct ib_qp *qp``h]j )}(hj;h]hstruct ib_qp *qp}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM2hj;ubj)}(hhh]h)}(hqueue pair to operate onh]hqueue pair to operate on}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hM2hj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hM2hj`;ubj)}(h;``u32 port_num`` port num to which the connection is bound h](j)}(h``u32 port_num``h]j )}(hj;h]h u32 port_num}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM3hj;ubj)}(hhh]h)}(h)port num to which the connection is boundh]h)port num to which the connection is bound}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hM3hj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hM3hj`;ubj)}(h=``struct scatterlist *sg`` scatterlist to READ/WRITE from/to h](j)}(h``struct scatterlist *sg``h]j )}(hj<h]hstruct scatterlist *sg}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM4hj<ubj)}(hhh]h)}(h!scatterlist to READ/WRITE from/toh]h!scatterlist to READ/WRITE from/to}(hj-<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)<hM4hj*<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj)<hM4hj`;ubj)}(h+``u32 sg_cnt`` number of entries in **sg** h](j)}(h``u32 sg_cnt``h]j )}(hjM<h]h u32 sg_cnt}(hjO<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK<ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM5hjG<ubj)}(hhh]h)}(hnumber of entries in **sg**h](hnumber of entries in }(hjf<hhhNhNubj)}(h**sg**h]hsg}(hjn<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf<ubeh}(h]h ]h"]h$]h&]uh1hhjb<hM5hjc<ubah}(h]h ]h"]h$]h&]uh1jhjG<ubeh}(h]h ]h"]h$]h&]uh1jhjb<hM5hj`;ubj)}(h2``u32 sg_offset`` current byte offset into **sg** h](j)}(h``u32 sg_offset``h]j )}(hj<h]h u32 sg_offset}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM6hj<ubj)}(hhh]h)}(hcurrent byte offset into **sg**h](hcurrent byte offset into }(hj<hhhNhNubj)}(h**sg**h]hsg}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1hhj<hM6hj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hM6hj`;ubj)}(hH``u64 remote_addr`` remote address to read/write (relative to **rkey**) h](j)}(h``u64 remote_addr``h]j )}(hj<h]hu64 remote_addr}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM7hj<ubj)}(hhh]h)}(h3remote address to read/write (relative to **rkey**)h](h*remote address to read/write (relative to }(hj<hhhNhNubj)}(h**rkey**h]hrkey}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh)}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj<hM7hj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hM7hj`;ubj)}(h&``u32 rkey`` remote key to operate on h](j)}(h ``u32 rkey``h]j )}(hj&=h]hu32 rkey}(hj(=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$=ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM8hj =ubj)}(hhh]h)}(hremote key to operate onh]hremote key to operate on}(hj?=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;=hM8hj<=ubah}(h]h ]h"]h$]h&]uh1jhj =ubeh}(h]h ]h"]h$]h&]uh1jhj;=hM8hj`;ubj)}(hd``enum dma_data_direction dir`` ``DMA_TO_DEVICE`` for RDMA WRITE, ``DMA_FROM_DEVICE`` for RDMA READ h](j)}(h``enum dma_data_direction dir``h]j )}(hj_=h]henum dma_data_direction dir}(hja=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]=ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM9hjY=ubj)}(hhh]h)}(hC``DMA_TO_DEVICE`` for RDMA WRITE, ``DMA_FROM_DEVICE`` for RDMA READh](j )}(h``DMA_TO_DEVICE``h]h DMA_TO_DEVICE}(hj|=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx=ubh for RDMA WRITE, }(hjx=hhhNhNubj )}(h``DMA_FROM_DEVICE``h]hDMA_FROM_DEVICE}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx=ubh for RDMA READ}(hjx=hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjt=hM9hju=ubah}(h]h ]h"]h$]h&]uh1jhjY=ubeh}(h]h ]h"]h$]h&]uh1jhjt=hM9hj`;ubeh}(h]h ]h"]h$]h&]uh1jhjD;ubh)}(h**Description**h]j)}(hj=h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM;hjD;ubh)}(hhReturns the number of WQEs that will be needed on the workqueue if successful, or a negative error code.h]hhReturns the number of WQEs that will be needed on the workqueue if successful, or a negative error code.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM:hjD;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"rdma_rw_ctx_init_bvec (C function)c.rdma_rw_ctx_init_bvechNtauh1jhhhhhNhNubj)}(hhh](j)}(hint rdma_rw_ctx_init_bvec (struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, const struct bio_vec *bvecs, u32 nr_bvec, struct bvec_iter iter, u64 remote_addr, u32 rkey, enum dma_data_direction dir)h]j")}(hint rdma_rw_ctx_init_bvec(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, const struct bio_vec *bvecs, u32 nr_bvec, struct bvec_iter iter, u64 remote_addr, u32 rkey, enum dma_data_direction dir)h](j)}(hinth]hint}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj=hhhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMubj:)}(h h]h }(hj>hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj=hhhj >hMubj)}(hrdma_rw_ctx_init_bvech]jN)}(hrdma_rw_ctx_init_bvech]hrdma_rw_ctx_init_bvec}(hj >hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj>ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj=hhhj >hMubj)}(h(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, const struct bio_vec *bvecs, u32 nr_bvec, struct bvec_iter iter, u64 remote_addr, u32 rkey, enum dma_data_direction dir)h](j)}(hstruct rdma_rw_ctx *ctxh](j()}(hj+h]hstruct}(hj<>hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj8>ubj:)}(h h]h }(hjI>hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8>ubh)}(hhh]jN)}(h rdma_rw_ctxh]h rdma_rw_ctx}(hjZ>hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjW>ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj\>modnameN classnameNjkjn)}jq]jt)}jgj">sbc.rdma_rw_ctx_init_bvecasbuh1hhj8>ubj:)}(h h]h }(hjz>hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8>ubj)}(hjh]h*}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8>ubjN)}(hctxh]hctx}(hj>hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8>ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj4>ubj)}(hstruct ib_qp *qph](j()}(hj+h]hstruct}(hj>hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj>ubj:)}(h h]h }(hj>hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj>ubh)}(hhh]jN)}(hib_qph]hib_qp}(hj>hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj>ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj>modnameN classnameNjkjn)}jq]jv>c.rdma_rw_ctx_init_bvecasbuh1hhj>ubj:)}(h h]h }(hj>hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj>ubj)}(hjh]h*}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubjN)}(hqph]hqp}(hj?hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj>ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj4>ubj)}(h u32 port_numh](h)}(hhh]jN)}(hu32h]hu32}(hj!?hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj?ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj#?modnameN classnameNjkjn)}jq]jv>c.rdma_rw_ctx_init_bvecasbuh1hhj?ubj:)}(h h]h }(hj??hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj?ubjN)}(hport_numh]hport_num}(hjM?hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj?ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj4>ubj)}(hconst struct bio_vec *bvecsh](j()}(hjh]hconst}(hjf?hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjb?ubj:)}(h h]h }(hjs?hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjb?ubj()}(hj+h]hstruct}(hj?hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjb?ubj:)}(h h]h }(hj?hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjb?ubh)}(hhh]jN)}(hbio_vech]hbio_vec}(hj?hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj?ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj?modnameN classnameNjkjn)}jq]jv>c.rdma_rw_ctx_init_bvecasbuh1hhjb?ubj:)}(h h]h }(hj?hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjb?ubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb?ubjN)}(hbvecsh]hbvecs}(hj?hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjb?ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj4>ubj)}(h u32 nr_bvech](h)}(hhh]jN)}(hu32h]hu32}(hj?hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj?ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj?modnameN classnameNjkjn)}jq]jv>c.rdma_rw_ctx_init_bvecasbuh1hhj?ubj:)}(h h]h }(hj@hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj?ubjN)}(hnr_bvech]hnr_bvec}(hj @hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj?ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj4>ubj)}(hstruct bvec_iter iterh](j()}(hj+h]hstruct}(hj9@hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj5@ubj:)}(h h]h }(hjF@hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj5@ubh)}(hhh]jN)}(h bvec_iterh]h bvec_iter}(hjW@hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjT@ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjY@modnameN classnameNjkjn)}jq]jv>c.rdma_rw_ctx_init_bvecasbuh1hhj5@ubj:)}(h h]h }(hju@hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj5@ubjN)}(hiterh]hiter}(hj@hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj5@ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj4>ubj)}(hu64 remote_addrh](h)}(hhh]jN)}(hu64h]hu64}(hj@hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj@ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj@modnameN classnameNjkjn)}jq]jv>c.rdma_rw_ctx_init_bvecasbuh1hhj@ubj:)}(h h]h }(hj@hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj@ubjN)}(h remote_addrh]h remote_addr}(hj@hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj@ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj4>ubj)}(hu32 rkeyh](h)}(hhh]jN)}(hu32h]hu32}(hj@hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj@ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj@modnameN classnameNjkjn)}jq]jv>c.rdma_rw_ctx_init_bvecasbuh1hhj@ubj:)}(h h]h }(hjAhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj@ubjN)}(hrkeyh]hrkey}(hjAhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj@ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj4>ubj)}(henum dma_data_direction dirh](j()}(hj%h]henum}(hj,AhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj(Aubj:)}(h h]h }(hj9AhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj(Aubh)}(hhh]jN)}(hdma_data_directionh]hdma_data_direction}(hjJAhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjGAubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjLAmodnameN classnameNjkjn)}jq]jv>c.rdma_rw_ctx_init_bvecasbuh1hhj(Aubj:)}(h h]h }(hjhAhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj(AubjN)}(hdirh]hdir}(hjvAhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj(Aubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj4>ubeh}(h]h ]h"]h$]h&]jjuh1jhj=hhhj >hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj=hhhj >hMubah}(h]j=ah ](jjeh"]h$]h&]jj)jhuh1jhj >hMhj=hhubj)}(hhh]h)}(h1initialize a RDMA READ/WRITE context from bio_vech]h1initialize a RDMA READ/WRITE context from bio_vec}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjAhhubah}(h]h ]h"]h$]h&]uh1jhj=hhhj >hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjAjjAjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct rdma_rw_ctx *ctx`` context to initialize ``struct ib_qp *qp`` queue pair to operate on ``u32 port_num`` port num to which the connection is bound ``const struct bio_vec *bvecs`` bio_vec array to READ/WRITE from/to ``u32 nr_bvec`` number of entries in **bvecs** ``struct bvec_iter iter`` bvec iterator describing offset and length ``u64 remote_addr`` remote address to read/write (relative to **rkey**) ``u32 rkey`` remote key to operate on ``enum dma_data_direction dir`` ``DMA_TO_DEVICE`` for RDMA WRITE, ``DMA_FROM_DEVICE`` for RDMA READ **Description** Maps the bio_vec array directly, avoiding intermediate scatterlist conversion. Supports MR registration for iWARP devices and force_mr mode. Returns the number of WQEs that will be needed on the workqueue if successful, or a negative error code: * -EINVAL - **nr_bvec** is zero or **iter.bi_size** is zero * -ENOMEM - DMA mapping or memory allocation failedh](h)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjAubj)}(hhh](j)}(h2``struct rdma_rw_ctx *ctx`` context to initialize h](j)}(h``struct rdma_rw_ctx *ctx``h]j )}(hjAh]hstruct rdma_rw_ctx *ctx}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjAubj)}(hhh]h)}(hcontext to initializeh]hcontext to initialize}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhMhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjAubj)}(h.``struct ib_qp *qp`` queue pair to operate on h](j)}(h``struct ib_qp *qp``h]j )}(hjBh]hstruct ib_qp *qp}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjBubj)}(hhh]h)}(hqueue pair to operate onh]hqueue pair to operate on}(hj3BhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/BhMhj0Bubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj/BhMhjAubj)}(h;``u32 port_num`` port num to which the connection is bound h](j)}(h``u32 port_num``h]j )}(hjSBh]h u32 port_num}(hjUBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQBubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjMBubj)}(hhh]h)}(h)port num to which the connection is boundh]h)port num to which the connection is bound}(hjlBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhBhMhjiBubah}(h]h ]h"]h$]h&]uh1jhjMBubeh}(h]h ]h"]h$]h&]uh1jhjhBhMhjAubj)}(hD``const struct bio_vec *bvecs`` bio_vec array to READ/WRITE from/to h](j)}(h``const struct bio_vec *bvecs``h]j )}(hjBh]hconst struct bio_vec *bvecs}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjBubj)}(hhh]h)}(h#bio_vec array to READ/WRITE from/toh]h#bio_vec array to READ/WRITE from/to}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjAubj)}(h/``u32 nr_bvec`` number of entries in **bvecs** h](j)}(h``u32 nr_bvec``h]j )}(hjBh]h u32 nr_bvec}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjBubj)}(hhh]h)}(hnumber of entries in **bvecs**h](hnumber of entries in }(hjBhhhNhNubj)}(h **bvecs**h]hbvecs}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1hhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjAubj)}(hE``struct bvec_iter iter`` bvec iterator describing offset and length h](j)}(h``struct bvec_iter iter``h]j )}(hj Ch]hstruct bvec_iter iter}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Cubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjCubj)}(hhh]h)}(h*bvec iterator describing offset and lengthh]h*bvec iterator describing offset and length}(hj%ChhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!ChMhj"Cubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj!ChMhjAubj)}(hH``u64 remote_addr`` remote address to read/write (relative to **rkey**) h](j)}(h``u64 remote_addr``h]j )}(hjECh]hu64 remote_addr}(hjGChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCCubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhj?Cubj)}(hhh]h)}(h3remote address to read/write (relative to **rkey**)h](h*remote address to read/write (relative to }(hj^ChhhNhNubj)}(h**rkey**h]hrkey}(hjfChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Cubh)}(hj^ChhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjZChMhj[Cubah}(h]h ]h"]h$]h&]uh1jhj?Cubeh}(h]h ]h"]h$]h&]uh1jhjZChMhjAubj)}(h&``u32 rkey`` remote key to operate on h](j)}(h ``u32 rkey``h]j )}(hjCh]hu32 rkey}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjCubj)}(hhh]h)}(hremote key to operate onh]hremote key to operate on}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChMhjAubj)}(hd``enum dma_data_direction dir`` ``DMA_TO_DEVICE`` for RDMA WRITE, ``DMA_FROM_DEVICE`` for RDMA READ h](j)}(h``enum dma_data_direction dir``h]j )}(hjCh]henum dma_data_direction dir}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjCubj)}(hhh]h)}(hC``DMA_TO_DEVICE`` for RDMA WRITE, ``DMA_FROM_DEVICE`` for RDMA READh](j )}(h``DMA_TO_DEVICE``h]h DMA_TO_DEVICE}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh for RDMA WRITE, }(hjChhhNhNubj )}(h``DMA_FROM_DEVICE``h]hDMA_FROM_DEVICE}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh for RDMA READ}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjChMhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChMhjAubeh}(h]h ]h"]h$]h&]uh1jhjAubh)}(h**Description**h]j)}(hj$Dh]h Description}(hj&DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Dubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjAubh)}(hMaps the bio_vec array directly, avoiding intermediate scatterlist conversion. Supports MR registration for iWARP devices and force_mr mode.h]hMaps the bio_vec array directly, avoiding intermediate scatterlist conversion. Supports MR registration for iWARP devices and force_mr mode.}(hj:DhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjAubh)}(hhReturns the number of WQEs that will be needed on the workqueue if successful, or a negative error code:h]hhReturns the number of WQEs that will be needed on the workqueue if successful, or a negative error code:}(hjIDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjAubh block_quote)}(hp* -EINVAL - **nr_bvec** is zero or **iter.bi_size** is zero * -ENOMEM - DMA mapping or memory allocation failedh]h bullet_list)}(hhh](h list_item)}(h:-EINVAL - **nr_bvec** is zero or **iter.bi_size** is zeroh]h option_list)}(hhh]hoption_list_item)}(hhh](h option_group)}(hhh]hoption)}(h-EINVALh](h option_string)}(h-Eh]h-E}hjDsbah}(h]h ]h"]h$]h&]uh1j~DhjzDubhoption_argument)}(hINVALh]hINVAL}(hjDhhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1jDhjzDubeh}(h]h ]h"]h$]h&]uh1jxDhjuDubah}(h]h ]h"]h$]h&]uh1jsDhjpDubh description)}(h1- **nr_bvec** is zero or **iter.bi_size** is zeroh]j_D)}(hhh]jdD)}(h/**nr_bvec** is zero or **iter.bi_size** is zeroh]h)}(hjDh](j)}(h **nr_bvec**h]hnr_bvec}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh is zero or }(hjDhhhNhNubj)}(h**iter.bi_size**h]h iter.bi_size}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh is zero}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjDubah}(h]h ]h"]h$]h&]uh1jcDhjDubah}(h]h ]h"]h$]h&]bullet-uh1j^DhjDhMhjDubah}(h]h ]h"]h$]h&]uh1jDhjpDubeh}(h]h ]h"]h$]h&]uh1jnDhjkDubah}(h]h ]h"]h$]h&]uh1jiDhjDhMhjeDubah}(h]h ]h"]h$]h&]uh1jcDhj`DubjdD)}(h1-ENOMEM - DMA mapping or memory allocation failedh]h)}(hjEh]h1-ENOMEM - DMA mapping or memory allocation failed}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhj Eubah}(h]h ]h"]h$]h&]uh1jcDhj`Dubeh}(h]h ]h"]h$]h&]jDjuh1j^DhjDhMhjZDubah}(h]h ]h"]h$]h&]uh1jXDhjDhMhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j'rdma_rw_ctx_signature_init (C function)c.rdma_rw_ctx_signature_inithNtauh1jhhhhhNhNubj)}(hhh](j)}(hXint rdma_rw_ctx_signature_init (struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, struct scatterlist *prot_sg, u32 prot_sg_cnt, struct ib_sig_attrs *sig_attrs, u64 remote_addr, u32 rkey, enum dma_data_direction dir)h]j")}(hXint rdma_rw_ctx_signature_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, struct scatterlist *prot_sg, u32 prot_sg_cnt, struct ib_sig_attrs *sig_attrs, u64 remote_addr, u32 rkey, enum dma_data_direction dir)h](j)}(hinth]hint}(hjPEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjLEhhhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMubj:)}(h h]h }(hj_EhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjLEhhhj^EhMubj)}(hrdma_rw_ctx_signature_inith]jN)}(hrdma_rw_ctx_signature_inith]hrdma_rw_ctx_signature_init}(hjqEhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjmEubah}(h]h ](jjeh"]h$]h&]jjuh1jhjLEhhhj^EhMubj)}(h(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, struct scatterlist *prot_sg, u32 prot_sg_cnt, struct ib_sig_attrs *sig_attrs, u64 remote_addr, u32 rkey, enum dma_data_direction dir)h](j)}(hstruct rdma_rw_ctx *ctxh](j()}(hj+h]hstruct}(hjEhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjEubj:)}(h h]h }(hjEhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjEubh)}(hhh]jN)}(h rdma_rw_ctxh]h rdma_rw_ctx}(hjEhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjEubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjEmodnameN classnameNjkjn)}jq]jt)}jgjsEsbc.rdma_rw_ctx_signature_initasbuh1hhjEubj:)}(h h]h }(hjEhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjEubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubjN)}(hctxh]hctx}(hjEhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjEubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjEubj)}(hstruct ib_qp *qph](j()}(hj+h]hstruct}(hjEhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjEubj:)}(h h]h }(hj FhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjEubh)}(hhh]jN)}(hib_qph]hib_qp}(hjFhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjFubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjFmodnameN classnameNjkjn)}jq]jEc.rdma_rw_ctx_signature_initasbuh1hhjEubj:)}(h h]h }(hj;FhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjEubj)}(hjh]h*}(hjIFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubjN)}(hqph]hqp}(hjVFhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjEubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjEubj)}(h u32 port_numh](h)}(hhh]jN)}(hu32h]hu32}(hjrFhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjoFubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjtFmodnameN classnameNjkjn)}jq]jEc.rdma_rw_ctx_signature_initasbuh1hhjkFubj:)}(h h]h }(hjFhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjkFubjN)}(hport_numh]hport_num}(hjFhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjkFubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjEubj)}(hstruct scatterlist *sgh](j()}(hj+h]hstruct}(hjFhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjFubj:)}(h h]h }(hjFhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjFubh)}(hhh]jN)}(h scatterlisth]h scatterlist}(hjFhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjFubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjFmodnameN classnameNjkjn)}jq]jEc.rdma_rw_ctx_signature_initasbuh1hhjFubj:)}(h h]h }(hjFhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjFubj)}(hjh]h*}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubjN)}(hsgh]hsg}(hjGhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjFubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjEubj)}(h u32 sg_cnth](h)}(hhh]jN)}(hu32h]hu32}(hj*GhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj'Gubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj,GmodnameN classnameNjkjn)}jq]jEc.rdma_rw_ctx_signature_initasbuh1hhj#Gubj:)}(h h]h }(hjHGhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj#GubjN)}(hsg_cnth]hsg_cnt}(hjVGhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj#Gubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjEubj)}(hstruct scatterlist *prot_sgh](j()}(hj+h]hstruct}(hjoGhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjkGubj:)}(h h]h }(hj|GhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjkGubh)}(hhh]jN)}(h scatterlisth]h scatterlist}(hjGhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjGubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjGmodnameN classnameNjkjn)}jq]jEc.rdma_rw_ctx_signature_initasbuh1hhjkGubj:)}(h h]h }(hjGhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjkGubj)}(hjh]h*}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkGubjN)}(hprot_sgh]hprot_sg}(hjGhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjkGubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjEubj)}(hu32 prot_sg_cnth](h)}(hhh]jN)}(hu32h]hu32}(hjGhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjGubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjGmodnameN classnameNjkjn)}jq]jEc.rdma_rw_ctx_signature_initasbuh1hhjGubj:)}(h h]h }(hjHhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjGubjN)}(h prot_sg_cnth]h prot_sg_cnt}(hjHhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjGubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjEubj)}(hstruct ib_sig_attrs *sig_attrsh](j()}(hj+h]hstruct}(hj'HhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj#Hubj:)}(h h]h }(hj4HhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj#Hubh)}(hhh]jN)}(h ib_sig_attrsh]h ib_sig_attrs}(hjEHhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjBHubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjGHmodnameN classnameNjkjn)}jq]jEc.rdma_rw_ctx_signature_initasbuh1hhj#Hubj:)}(h h]h }(hjcHhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj#Hubj)}(hjh]h*}(hjqHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#HubjN)}(h sig_attrsh]h sig_attrs}(hj~HhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj#Hubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjEubj)}(hu64 remote_addrh](h)}(hhh]jN)}(hu64h]hu64}(hjHhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjHubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjHmodnameN classnameNjkjn)}jq]jEc.rdma_rw_ctx_signature_initasbuh1hhjHubj:)}(h h]h }(hjHhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjHubjN)}(h remote_addrh]h remote_addr}(hjHhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjHubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjEubj)}(hu32 rkeyh](h)}(hhh]jN)}(hu32h]hu32}(hjHhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjHubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjHmodnameN classnameNjkjn)}jq]jEc.rdma_rw_ctx_signature_initasbuh1hhjHubj:)}(h h]h }(hjIhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjHubjN)}(hrkeyh]hrkey}(hjIhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjHubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjEubj)}(henum dma_data_direction dirh](j()}(hj%h]henum}(hj'IhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj#Iubj:)}(h h]h }(hj4IhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj#Iubh)}(hhh]jN)}(hdma_data_directionh]hdma_data_direction}(hjEIhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjBIubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjGImodnameN classnameNjkjn)}jq]jEc.rdma_rw_ctx_signature_initasbuh1hhj#Iubj:)}(h h]h }(hjcIhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj#IubjN)}(hdirh]hdir}(hjqIhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj#Iubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjEubeh}(h]h ]h"]h$]h&]jjuh1jhjLEhhhj^EhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjHEhhhj^EhMubah}(h]jCEah ](jjeh"]h$]h&]jj)jhuh1jhj^EhMhjEEhhubj)}(hhh]h)}(h.initialize a RW context with signature offloadh]h.initialize a RW context with signature offload}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjIhhubah}(h]h ]h"]h$]h&]uh1jhjEEhhhj^EhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjIjjIjjjuh1jhhhhhNhNubj)}(hXP**Parameters** ``struct rdma_rw_ctx *ctx`` context to initialize ``struct ib_qp *qp`` queue pair to operate on ``u32 port_num`` port num to which the connection is bound ``struct scatterlist *sg`` scatterlist to READ/WRITE from/to ``u32 sg_cnt`` number of entries in **sg** ``struct scatterlist *prot_sg`` scatterlist to READ/WRITE protection information from/to ``u32 prot_sg_cnt`` number of entries in **prot_sg** ``struct ib_sig_attrs *sig_attrs`` signature offloading algorithms ``u64 remote_addr`` remote address to read/write (relative to **rkey**) ``u32 rkey`` remote key to operate on ``enum dma_data_direction dir`` ``DMA_TO_DEVICE`` for RDMA WRITE, ``DMA_FROM_DEVICE`` for RDMA READ **Description** Returns the number of WQEs that will be needed on the workqueue if successful, or a negative error code.h](h)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjIubj)}(hhh](j)}(h2``struct rdma_rw_ctx *ctx`` context to initialize h](j)}(h``struct rdma_rw_ctx *ctx``h]j )}(hjIh]hstruct rdma_rw_ctx *ctx}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjIubj)}(hhh]h)}(hcontext to initializeh]hcontext to initialize}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhMhjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjIubj)}(h.``struct ib_qp *qp`` queue pair to operate on h](j)}(h``struct ib_qp *qp``h]j )}(hjJh]hstruct ib_qp *qp}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjJubj)}(hhh]h)}(hqueue pair to operate onh]hqueue pair to operate on}(hj.JhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*JhMhj+Jubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhj*JhMhjIubj)}(h;``u32 port_num`` port num to which the connection is bound h](j)}(h``u32 port_num``h]j )}(hjNJh]h u32 port_num}(hjPJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLJubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjHJubj)}(hhh]h)}(h)port num to which the connection is boundh]h)port num to which the connection is bound}(hjgJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjcJhMhjdJubah}(h]h ]h"]h$]h&]uh1jhjHJubeh}(h]h ]h"]h$]h&]uh1jhjcJhMhjIubj)}(h=``struct scatterlist *sg`` scatterlist to READ/WRITE from/to h](j)}(h``struct scatterlist *sg``h]j )}(hjJh]hstruct scatterlist *sg}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjJubj)}(hhh]h)}(h!scatterlist to READ/WRITE from/toh]h!scatterlist to READ/WRITE from/to}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjIubj)}(h+``u32 sg_cnt`` number of entries in **sg** h](j)}(h``u32 sg_cnt``h]j )}(hjJh]h u32 sg_cnt}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjJubj)}(hhh]h)}(hnumber of entries in **sg**h](hnumber of entries in }(hjJhhhNhNubj)}(h**sg**h]hsg}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1hhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjIubj)}(hY``struct scatterlist *prot_sg`` scatterlist to READ/WRITE protection information from/to h](j)}(h``struct scatterlist *prot_sg``h]j )}(hjKh]hstruct scatterlist *prot_sg}(hj KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjKubj)}(hhh]h)}(h8scatterlist to READ/WRITE protection information from/toh]h8scatterlist to READ/WRITE protection information from/to}(hj KhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjIubj)}(h5``u32 prot_sg_cnt`` number of entries in **prot_sg** h](j)}(h``u32 prot_sg_cnt``h]j )}(hj@Kh]hu32 prot_sg_cnt}(hjBKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>Kubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhj:Kubj)}(hhh]h)}(h number of entries in **prot_sg**h](hnumber of entries in }(hjYKhhhNhNubj)}(h **prot_sg**h]hprot_sg}(hjaKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYKubeh}(h]h ]h"]h$]h&]uh1hhjUKhMhjVKubah}(h]h ]h"]h$]h&]uh1jhj:Kubeh}(h]h ]h"]h$]h&]uh1jhjUKhMhjIubj)}(hC``struct ib_sig_attrs *sig_attrs`` signature offloading algorithms h](j)}(h"``struct ib_sig_attrs *sig_attrs``h]j )}(hjKh]hstruct ib_sig_attrs *sig_attrs}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjKubj)}(hhh]h)}(hsignature offloading algorithmsh]hsignature offloading algorithms}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjIubj)}(hH``u64 remote_addr`` remote address to read/write (relative to **rkey**) h](j)}(h``u64 remote_addr``h]j )}(hjKh]hu64 remote_addr}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjKubj)}(hhh]h)}(h3remote address to read/write (relative to **rkey**)h](h*remote address to read/write (relative to }(hjKhhhNhNubj)}(h**rkey**h]hrkey}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh)}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjIubj)}(h&``u32 rkey`` remote key to operate on h](j)}(h ``u32 rkey``h]j )}(hj Lh]hu32 rkey}(hj LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Lubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjLubj)}(hhh]h)}(hremote key to operate onh]hremote key to operate on}(hj$LhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj LhMhj!Lubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhj LhMhjIubj)}(hd``enum dma_data_direction dir`` ``DMA_TO_DEVICE`` for RDMA WRITE, ``DMA_FROM_DEVICE`` for RDMA READ h](j)}(h``enum dma_data_direction dir``h]j )}(hjDLh]henum dma_data_direction dir}(hjFLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBLubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhj>Lubj)}(hhh]h)}(hC``DMA_TO_DEVICE`` for RDMA WRITE, ``DMA_FROM_DEVICE`` for RDMA READh](j )}(h``DMA_TO_DEVICE``h]h DMA_TO_DEVICE}(hjaLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]Lubh for RDMA WRITE, }(hj]LhhhNhNubj )}(h``DMA_FROM_DEVICE``h]hDMA_FROM_DEVICE}(hjsLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]Lubh for RDMA READ}(hj]LhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjYLhMhjZLubah}(h]h ]h"]h$]h&]uh1jhj>Lubeh}(h]h ]h"]h$]h&]uh1jhjYLhMhjIubeh}(h]h ]h"]h$]h&]uh1jhjIubh)}(h**Description**h]j)}(hjLh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjIubh)}(hhReturns the number of WQEs that will be needed on the workqueue if successful, or a negative error code.h]hhReturns the number of WQEs that will be needed on the workqueue if successful, or a negative error code.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrdma_rw_ctx_wrs (C function)c.rdma_rw_ctx_wrshNtauh1jhhhhhNhNubj)}(hhh](j)}(hstruct ib_send_wr * rdma_rw_ctx_wrs (struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct ib_cqe *cqe, struct ib_send_wr *chain_wr)h]j")}(hstruct ib_send_wr *rdma_rw_ctx_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct ib_cqe *cqe, struct ib_send_wr *chain_wr)h](j()}(hj+h]hstruct}(hjLhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjLhhhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMXubj:)}(h h]h }(hjLhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjLhhhjLhMXubh)}(hhh]jN)}(h ib_send_wrh]h ib_send_wr}(hjMhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjMubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjMmodnameN classnameNjkjn)}jq]jt)}jgrdma_rw_ctx_wrssbc.rdma_rw_ctx_wrsasbuh1hhjLhhhjLhMXubj:)}(h h]h }(hj$MhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjLhhhjLhMXubj)}(hjh]h*}(hj2MhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhhjLhMXubj)}(hrdma_rw_ctx_wrsh]jN)}(hj!Mh]hrdma_rw_ctx_wrs}(hjCMhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj?Mubah}(h]h ](jjeh"]h$]h&]jjuh1jhjLhhhjLhMXubj)}(hj(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct ib_cqe *cqe, struct ib_send_wr *chain_wr)h](j)}(hstruct rdma_rw_ctx *ctxh](j()}(hj+h]hstruct}(hj^MhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjZMubj:)}(h h]h }(hjkMhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjZMubh)}(hhh]jN)}(h rdma_rw_ctxh]h rdma_rw_ctx}(hj|MhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjyMubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj~MmodnameN classnameNjkjn)}jq]jMc.rdma_rw_ctx_wrsasbuh1hhjZMubj:)}(h h]h }(hjMhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjZMubj)}(hjh]h*}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZMubjN)}(hctxh]hctx}(hjMhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjZMubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjVMubj)}(hstruct ib_qp *qph](j()}(hj+h]hstruct}(hjMhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjMubj:)}(h h]h }(hjMhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjMubh)}(hhh]jN)}(hib_qph]hib_qp}(hjMhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjMubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjMmodnameN classnameNjkjn)}jq]jMc.rdma_rw_ctx_wrsasbuh1hhjMubj:)}(h h]h }(hj NhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjMubj)}(hjh]h*}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubjN)}(hqph]hqp}(hj%NhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjMubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjVMubj)}(h u32 port_numh](h)}(hhh]jN)}(hu32h]hu32}(hjANhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj>Nubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjCNmodnameN classnameNjkjn)}jq]jMc.rdma_rw_ctx_wrsasbuh1hhj:Nubj:)}(h h]h }(hj_NhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj:NubjN)}(hport_numh]hport_num}(hjmNhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj:Nubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjVMubj)}(hstruct ib_cqe *cqeh](j()}(hj+h]hstruct}(hjNhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjNubj:)}(h h]h }(hjNhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjNubh)}(hhh]jN)}(hib_cqeh]hib_cqe}(hjNhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjNubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjNmodnameN classnameNjkjn)}jq]jMc.rdma_rw_ctx_wrsasbuh1hhjNubj:)}(h h]h }(hjNhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjNubj)}(hjh]h*}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubjN)}(hcqeh]hcqe}(hjNhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjNubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjVMubj)}(hstruct ib_send_wr *chain_wrh](j()}(hj+h]hstruct}(hjNhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjNubj:)}(h h]h }(hjOhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjNubh)}(hhh]jN)}(h ib_send_wrh]h ib_send_wr}(hjOhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjOubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjOmodnameN classnameNjkjn)}jq]jMc.rdma_rw_ctx_wrsasbuh1hhjNubj:)}(h h]h }(hj2OhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjNubj)}(hjh]h*}(hj@OhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubjN)}(hchain_wrh]hchain_wr}(hjMOhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjNubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjVMubeh}(h]h ]h"]h$]h&]jjuh1jhjLhhhjLhMXubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjLhhhjLhMXubah}(h]jLah ](jjeh"]h$]h&]jj)jhuh1jhjLhMXhjLhhubj)}(hhh]h)}(h6return chain of WRs for a RDMA READ or WRITE operationh]h6return chain of WRs for a RDMA READ or WRITE operation}(hjwOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMXhjtOhhubah}(h]h ]h"]h$]h&]uh1jhjLhhhjLhMXubeh}(h]h ](jefunctioneh"]h$]h&]jjejjOjjOjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct rdma_rw_ctx *ctx`` context to operate on ``struct ib_qp *qp`` queue pair to operate on ``u32 port_num`` port num to which the connection is bound ``struct ib_cqe *cqe`` completion queue entry for the last WR ``struct ib_send_wr *chain_wr`` WR to append to the posted chain **Description** Return the WR chain for the set of RDMA READ/WRITE operations described by **ctx**, as well as any memory registration operations needed. If **chain_wr** is non-NULL the WR it points to will be appended to the chain of WRs posted. If **chain_wr** is not set **cqe** must be set so that the caller gets a completion notification.h](h)}(h**Parameters**h]j)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM\hjOubj)}(hhh](j)}(h2``struct rdma_rw_ctx *ctx`` context to operate on h](j)}(h``struct rdma_rw_ctx *ctx``h]j )}(hjOh]hstruct rdma_rw_ctx *ctx}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMYhjOubj)}(hhh]h)}(hcontext to operate onh]hcontext to operate on}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMYhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMYhjOubj)}(h.``struct ib_qp *qp`` queue pair to operate on h](j)}(h``struct ib_qp *qp``h]j )}(hjOh]hstruct ib_qp *qp}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMZhjOubj)}(hhh]h)}(hqueue pair to operate onh]hqueue pair to operate on}(hj PhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMZhjPubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjPhMZhjOubj)}(h;``u32 port_num`` port num to which the connection is bound h](j)}(h``u32 port_num``h]j )}(hj*Ph]h u32 port_num}(hj,PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(Pubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM[hj$Pubj)}(hhh]h)}(h)port num to which the connection is boundh]h)port num to which the connection is bound}(hjCPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?PhM[hj@Pubah}(h]h ]h"]h$]h&]uh1jhj$Pubeh}(h]h ]h"]h$]h&]uh1jhj?PhM[hjOubj)}(h>``struct ib_cqe *cqe`` completion queue entry for the last WR h](j)}(h``struct ib_cqe *cqe``h]j )}(hjcPh]hstruct ib_cqe *cqe}(hjePhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaPubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM\hj]Pubj)}(hhh]h)}(h&completion queue entry for the last WRh]h&completion queue entry for the last WR}(hj|PhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxPhM\hjyPubah}(h]h ]h"]h$]h&]uh1jhj]Pubeh}(h]h ]h"]h$]h&]uh1jhjxPhM\hjOubj)}(hA``struct ib_send_wr *chain_wr`` WR to append to the posted chain h](j)}(h``struct ib_send_wr *chain_wr``h]j )}(hjPh]hstruct ib_send_wr *chain_wr}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM]hjPubj)}(hhh]h)}(h WR to append to the posted chainh]h WR to append to the posted chain}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhM]hjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhM]hjOubeh}(h]h ]h"]h$]h&]uh1jhjOubh)}(h**Description**h]j)}(hjPh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM_hjOubh)}(hXIReturn the WR chain for the set of RDMA READ/WRITE operations described by **ctx**, as well as any memory registration operations needed. If **chain_wr** is non-NULL the WR it points to will be appended to the chain of WRs posted. If **chain_wr** is not set **cqe** must be set so that the caller gets a completion notification.h](hKReturn the WR chain for the set of RDMA READ/WRITE operations described by }(hjPhhhNhNubj)}(h**ctx**h]hctx}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh<, as well as any memory registration operations needed. If }(hjPhhhNhNubj)}(h **chain_wr**h]hchain_wr}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubhQ is non-NULL the WR it points to will be appended to the chain of WRs posted. If }(hjPhhhNhNubj)}(h **chain_wr**h]hchain_wr}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh is not set }(hjPhhhNhNubj)}(h**cqe**h]hcqe}(hj+QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh? must be set so that the caller gets a completion notification.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM^hjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrdma_rw_ctx_post (C function)c.rdma_rw_ctx_posthNtauh1jhhhhhNhNubj)}(hhh](j)}(hint rdma_rw_ctx_post (struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct ib_cqe *cqe, struct ib_send_wr *chain_wr)h]j")}(h~int rdma_rw_ctx_post(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct ib_cqe *cqe, struct ib_send_wr *chain_wr)h](j)}(hinth]hint}(hjdQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj`Qhhhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMubj:)}(h h]h }(hjsQhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj`QhhhjrQhMubj)}(hrdma_rw_ctx_posth]jN)}(hrdma_rw_ctx_posth]hrdma_rw_ctx_post}(hjQhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjQubah}(h]h ](jjeh"]h$]h&]jjuh1jhj`QhhhjrQhMubj)}(hj(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct ib_cqe *cqe, struct ib_send_wr *chain_wr)h](j)}(hstruct rdma_rw_ctx *ctxh](j()}(hj+h]hstruct}(hjQhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjQubj:)}(h h]h }(hjQhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjQubh)}(hhh]jN)}(h rdma_rw_ctxh]h rdma_rw_ctx}(hjQhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjQubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjQmodnameN classnameNjkjn)}jq]jt)}jgjQsbc.rdma_rw_ctx_postasbuh1hhjQubj:)}(h h]h }(hjQhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjQubj)}(hjh]h*}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubjN)}(hctxh]hctx}(hjQhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjQubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubj)}(hstruct ib_qp *qph](j()}(hj+h]hstruct}(hjRhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjRubj:)}(h h]h }(hj RhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjRubh)}(hhh]jN)}(hib_qph]hib_qp}(hj1RhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj.Rubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj3RmodnameN classnameNjkjn)}jq]jQc.rdma_rw_ctx_postasbuh1hhjRubj:)}(h h]h }(hjORhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjRubj)}(hjh]h*}(hj]RhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubjN)}(hqph]hqp}(hjjRhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjRubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubj)}(h u32 port_numh](h)}(hhh]jN)}(hu32h]hu32}(hjRhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjRubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjRmodnameN classnameNjkjn)}jq]jQc.rdma_rw_ctx_postasbuh1hhjRubj:)}(h h]h }(hjRhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjRubjN)}(hport_numh]hport_num}(hjRhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjRubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubj)}(hstruct ib_cqe *cqeh](j()}(hj+h]hstruct}(hjRhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjRubj:)}(h h]h }(hjRhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjRubh)}(hhh]jN)}(hib_cqeh]hib_cqe}(hjRhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjRubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjRmodnameN classnameNjkjn)}jq]jQc.rdma_rw_ctx_postasbuh1hhjRubj:)}(h h]h }(hjShhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjRubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubjN)}(hcqeh]hcqe}(hj"ShhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjRubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubj)}(hstruct ib_send_wr *chain_wrh](j()}(hj+h]hstruct}(hj;ShhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj7Subj:)}(h h]h }(hjHShhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj7Subh)}(hhh]jN)}(h ib_send_wrh]h ib_send_wr}(hjYShhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjVSubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj[SmodnameN classnameNjkjn)}jq]jQc.rdma_rw_ctx_postasbuh1hhj7Subj:)}(h h]h }(hjwShhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj7Subj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7SubjN)}(hchain_wrh]hchain_wr}(hjShhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj7Subeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubeh}(h]h ]h"]h$]h&]jjuh1jhj`QhhhjrQhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj\QhhhjrQhMubah}(h]jWQah ](jjeh"]h$]h&]jj)jhuh1jhjrQhMhjYQhhubj)}(hhh]h)}(h(post a RDMA READ or RDMA WRITE operationh]h(post a RDMA READ or RDMA WRITE operation}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjShhubah}(h]h ]h"]h$]h&]uh1jhjYQhhhjrQhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjSjjSjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct rdma_rw_ctx *ctx`` context to operate on ``struct ib_qp *qp`` queue pair to operate on ``u32 port_num`` port num to which the connection is bound ``struct ib_cqe *cqe`` completion queue entry for the last WR ``struct ib_send_wr *chain_wr`` WR to append to the posted chain **Description** Post the set of RDMA READ/WRITE operations described by **ctx**, as well as any memory registration operations needed. If **chain_wr** is non-NULL the WR it points to will be appended to the chain of WRs posted. If **chain_wr** is not set **cqe** must be set so that the caller gets a completion notification.h](h)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjSubj)}(hhh](j)}(h2``struct rdma_rw_ctx *ctx`` context to operate on h](j)}(h``struct rdma_rw_ctx *ctx``h]j )}(hjSh]hstruct rdma_rw_ctx *ctx}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjSubj)}(hhh]h)}(hcontext to operate onh]hcontext to operate on}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMhjTubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjThMhjSubj)}(h.``struct ib_qp *qp`` queue pair to operate on h](j)}(h``struct ib_qp *qp``h]j )}(hj6Th]hstruct ib_qp *qp}(hj8ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Tubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhj0Tubj)}(hhh]h)}(hqueue pair to operate onh]hqueue pair to operate on}(hjOThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKThMhjLTubah}(h]h ]h"]h$]h&]uh1jhj0Tubeh}(h]h ]h"]h$]h&]uh1jhjKThMhjSubj)}(h;``u32 port_num`` port num to which the connection is bound h](j)}(h``u32 port_num``h]j )}(hjoTh]h u32 port_num}(hjqThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmTubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjiTubj)}(hhh]h)}(h)port num to which the connection is boundh]h)port num to which the connection is bound}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMhjTubah}(h]h ]h"]h$]h&]uh1jhjiTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjSubj)}(h>``struct ib_cqe *cqe`` completion queue entry for the last WR h](j)}(h``struct ib_cqe *cqe``h]j )}(hjTh]hstruct ib_cqe *cqe}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjTubj)}(hhh]h)}(h&completion queue entry for the last WRh]h&completion queue entry for the last WR}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMhjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjSubj)}(hA``struct ib_send_wr *chain_wr`` WR to append to the posted chain h](j)}(h``struct ib_send_wr *chain_wr``h]j )}(hjTh]hstruct ib_send_wr *chain_wr}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjTubj)}(hhh]h)}(h WR to append to the posted chainh]h WR to append to the posted chain}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMhjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjSubeh}(h]h ]h"]h$]h&]uh1jhjSubh)}(h**Description**h]j)}(hjUh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjSubh)}(hX7Post the set of RDMA READ/WRITE operations described by **ctx**, as well as any memory registration operations needed. If **chain_wr** is non-NULL the WR it points to will be appended to the chain of WRs posted. If **chain_wr** is not set **cqe** must be set so that the caller gets a completion notification.h](h8Post the set of RDMA READ/WRITE operations described by }(hj2UhhhNhNubj)}(h**ctx**h]hctx}(hj:UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2Uubh<, as well as any memory registration operations needed. If }(hj2UhhhNhNubj)}(h **chain_wr**h]hchain_wr}(hjLUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2UubhR is non-NULL the WR it points to will be appended to the chain of WRs posted. If }(hj2UhhhNhNubj)}(h **chain_wr**h]hchain_wr}(hj^UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2Uubh is not set }(hj2UhhhNhNubj)}(h**cqe**h]hcqe}(hjpUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2Uubh? must be set so that the caller gets a completion notification.}(hj2UhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j rdma_rw_ctx_destroy (C function)c.rdma_rw_ctx_destroyhNtauh1jhhhhhNhNubj)}(hhh](j)}(hvoid rdma_rw_ctx_destroy (struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, enum dma_data_direction dir)h]j")}(hvoid rdma_rw_ctx_destroy(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, enum dma_data_direction dir)h](j)}(hvoidh]hvoid}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjUhhhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMubj:)}(h h]h }(hjUhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjUhhhjUhMubj)}(hrdma_rw_ctx_destroyh]jN)}(hrdma_rw_ctx_destroyh]hrdma_rw_ctx_destroy}(hjUhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjUubah}(h]h ](jjeh"]h$]h&]jjuh1jhjUhhhjUhMubj)}(hz(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, enum dma_data_direction dir)h](j)}(hstruct rdma_rw_ctx *ctxh](j()}(hj+h]hstruct}(hjUhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjUubj:)}(h h]h }(hjUhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjUubh)}(hhh]jN)}(h rdma_rw_ctxh]h rdma_rw_ctx}(hjVhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjVubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjVmodnameN classnameNjkjn)}jq]jt)}jgjUsbc.rdma_rw_ctx_destroyasbuh1hhjUubj:)}(h h]h }(hj$VhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjUubj)}(hjh]h*}(hj2VhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubjN)}(hctxh]hctx}(hj?VhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjUubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjUubj)}(hstruct ib_qp *qph](j()}(hj+h]hstruct}(hjXVhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjTVubj:)}(h h]h }(hjeVhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjTVubh)}(hhh]jN)}(hib_qph]hib_qp}(hjvVhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjsVubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjxVmodnameN classnameNjkjn)}jq]j Vc.rdma_rw_ctx_destroyasbuh1hhjTVubj:)}(h h]h }(hjVhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjTVubj)}(hjh]h*}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTVubjN)}(hqph]hqp}(hjVhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjTVubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjUubj)}(h u32 port_numh](h)}(hhh]jN)}(hu32h]hu32}(hjVhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjVubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjVmodnameN classnameNjkjn)}jq]j Vc.rdma_rw_ctx_destroyasbuh1hhjVubj:)}(h h]h }(hjVhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjVubjN)}(hport_numh]hport_num}(hjVhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjVubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjUubj)}(hstruct scatterlist *sgh](j()}(hj+h]hstruct}(hjWhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj Wubj:)}(h h]h }(hjWhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj Wubh)}(hhh]jN)}(h scatterlisth]h scatterlist}(hj.WhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj+Wubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj0WmodnameN classnameNjkjn)}jq]j Vc.rdma_rw_ctx_destroyasbuh1hhj Wubj:)}(h h]h }(hjLWhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj Wubj)}(hjh]h*}(hjZWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj WubjN)}(hsgh]hsg}(hjgWhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj Wubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjUubj)}(h u32 sg_cnth](h)}(hhh]jN)}(hu32h]hu32}(hjWhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjWubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjWmodnameN classnameNjkjn)}jq]j Vc.rdma_rw_ctx_destroyasbuh1hhj|Wubj:)}(h h]h }(hjWhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj|WubjN)}(hsg_cnth]hsg_cnt}(hjWhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj|Wubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjUubj)}(henum dma_data_direction dirh](j()}(hj%h]henum}(hjWhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjWubj:)}(h h]h }(hjWhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjWubh)}(hhh]jN)}(hdma_data_directionh]hdma_data_direction}(hjWhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjWubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjWmodnameN classnameNjkjn)}jq]j Vc.rdma_rw_ctx_destroyasbuh1hhjWubj:)}(h h]h }(hjXhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjWubjN)}(hdirh]hdir}(hjXhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjWubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjUubeh}(h]h ]h"]h$]h&]jjuh1jhjUhhhjUhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjUhhhjUhMubah}(h]jUah ](jjeh"]h$]h&]jj)jhuh1jhjUhMhjUhhubj)}(hhh]h)}(h3release all resources allocated by rdma_rw_ctx_inith]h3release all resources allocated by rdma_rw_ctx_init}(hjYubah}(h]h ]h"]h$]h&]uh1jhj"Yubeh}(h]h ]h"]h$]h&]uh1jhj=YhMhjtXubj)}(h+``u32 sg_cnt`` number of entries in **sg** h](j)}(h``u32 sg_cnt``h]j )}(hjaYh]h u32 sg_cnt}(hjcYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_Yubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhj[Yubj)}(hhh]h)}(hnumber of entries in **sg**h](hnumber of entries in }(hjzYhhhNhNubj)}(h**sg**h]hsg}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzYubeh}(h]h ]h"]h$]h&]uh1hhjvYhMhjwYubah}(h]h ]h"]h$]h&]uh1jhj[Yubeh}(h]h ]h"]h$]h&]uh1jhjvYhMhjtXubj)}(hc``enum dma_data_direction dir`` ``DMA_TO_DEVICE`` for RDMA WRITE, ``DMA_FROM_DEVICE`` for RDMA READh](j)}(h``enum dma_data_direction dir``h]j )}(hjYh]henum dma_data_direction dir}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjYubj)}(hhh]h)}(hC``DMA_TO_DEVICE`` for RDMA WRITE, ``DMA_FROM_DEVICE`` for RDMA READh](j )}(h``DMA_TO_DEVICE``h]h DMA_TO_DEVICE}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubh for RDMA WRITE, }(hjYhhhNhNubj )}(h``DMA_FROM_DEVICE``h]hDMA_FROM_DEVICE}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubh for RDMA READ}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjtXubeh}(h]h ]h"]h$]h&]uh1jhjXXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j%rdma_rw_ctx_destroy_bvec (C function)c.rdma_rw_ctx_destroy_bvechNtauh1jhhhhhNhNubj)}(hhh](j)}(hvoid rdma_rw_ctx_destroy_bvec (struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 __maybe_unused port_num, const struct bio_vec __maybe_unused *bvecs, u32 nr_bvec, enum dma_data_direction dir)h]j")}(hvoid rdma_rw_ctx_destroy_bvec(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 __maybe_unused port_num, const struct bio_vec __maybe_unused *bvecs, u32 nr_bvec, enum dma_data_direction dir)h](j)}(hvoidh]hvoid}(hj"ZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjZhhhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMubj:)}(h h]h }(hj1ZhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjZhhhj0ZhMubj)}(hrdma_rw_ctx_destroy_bvech]jN)}(hrdma_rw_ctx_destroy_bvech]hrdma_rw_ctx_destroy_bvec}(hjCZhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj?Zubah}(h]h ](jjeh"]h$]h&]jjuh1jhjZhhhj0ZhMubj)}(h(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 __maybe_unused port_num, const struct bio_vec __maybe_unused *bvecs, u32 nr_bvec, enum dma_data_direction dir)h](j)}(hstruct rdma_rw_ctx *ctxh](j()}(hj+h]hstruct}(hj_ZhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj[Zubj:)}(h h]h }(hjlZhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj[Zubh)}(hhh]jN)}(h rdma_rw_ctxh]h rdma_rw_ctx}(hj}ZhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjzZubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjZmodnameN classnameNjkjn)}jq]jt)}jgjEZsbc.rdma_rw_ctx_destroy_bvecasbuh1hhj[Zubj:)}(h h]h }(hjZhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj[Zubj)}(hjh]h*}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ZubjN)}(hctxh]hctx}(hjZhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj[Zubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjWZubj)}(hstruct ib_qp *qph](j()}(hj+h]hstruct}(hjZhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjZubj:)}(h h]h }(hjZhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjZubh)}(hhh]jN)}(hib_qph]hib_qp}(hjZhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjZubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjZmodnameN classnameNjkjn)}jq]jZc.rdma_rw_ctx_destroy_bvecasbuh1hhjZubj:)}(h h]h }(hj [hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjZubj)}(hjh]h*}(hjhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubjN)}(hqph]hqp}(hj([hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjZubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjWZubj)}(hu32 __maybe_unused port_numh](h)}(hhh]jN)}(hu32h]hu32}(hjD[hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjA[ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjF[modnameN classnameNjkjn)}jq]jZc.rdma_rw_ctx_destroy_bvecasbuh1hhj=[ubj:)}(h h]h }(hjb[hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj=[ubh__maybe_unused}(hj=[hhhNhNubj:)}(h h]h }(hjt[hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj=[ubjN)}(hport_numh]hport_num}(hj[hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj=[ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjWZubj)}(h*const struct bio_vec __maybe_unused *bvecsh](j()}(hjh]hconst}(hj[hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj[ubj:)}(h h]h }(hj[hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj[ubj()}(hj+h]hstruct}(hj[hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj[ubj:)}(h h]h }(hj[hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj[ubh)}(hhh]jN)}(hbio_vech]hbio_vec}(hj[hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj[ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj[modnameN classnameNjkjn)}jq]jZc.rdma_rw_ctx_destroy_bvecasbuh1hhj[ubj:)}(h h]h }(hj[hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj[ubh__maybe_unused}(hj[hhhNhNubj:)}(h h]h }(hj\hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj[ubj)}(hjh]h*}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubjN)}(hbvecsh]hbvecs}(hj\hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj[ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjWZubj)}(h u32 nr_bvech](h)}(hhh]jN)}(hu32h]hu32}(hj;\hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8\ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj=\modnameN classnameNjkjn)}jq]jZc.rdma_rw_ctx_destroy_bvecasbuh1hhj4\ubj:)}(h h]h }(hjY\hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj4\ubjN)}(hnr_bvech]hnr_bvec}(hjg\hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj4\ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjWZubj)}(henum dma_data_direction dirh](j()}(hj%h]henum}(hj\hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj|\ubj:)}(h h]h }(hj\hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj|\ubh)}(hhh]jN)}(hdma_data_directionh]hdma_data_direction}(hj\hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj\ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj\modnameN classnameNjkjn)}jq]jZc.rdma_rw_ctx_destroy_bvecasbuh1hhj|\ubj:)}(h h]h }(hj\hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj|\ubjN)}(hdirh]hdir}(hj\hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj|\ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjWZubeh}(h]h ]h"]h$]h&]jjuh1jhjZhhhj0ZhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjZhhhj0ZhMubah}(h]jZah ](jjeh"]h$]h&]jj)jhuh1jhj0ZhMhjZhhubj)}(hhh]h)}(h,release resources from rdma_rw_ctx_init_bvech]h,release resources from rdma_rw_ctx_init_bvec}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhj\hhubah}(h]h ]h"]h$]h&]uh1jhjZhhhj0ZhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj ]jj ]jjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct rdma_rw_ctx *ctx`` context to release ``struct ib_qp *qp`` queue pair to operate on ``u32 __maybe_unused port_num`` port num to which the connection is bound (unused) ``const struct bio_vec __maybe_unused *bvecs`` bio_vec array that was used for the READ/WRITE (unused) ``u32 nr_bvec`` number of entries in **bvecs** ``enum dma_data_direction dir`` ``DMA_TO_DEVICE`` for RDMA WRITE, ``DMA_FROM_DEVICE`` for RDMA READ **Description** Releases all resources allocated by a successful rdma_rw_ctx_init_bvec() call. Must not be called if rdma_rw_ctx_init_bvec() returned an error. The **port_num** and **bvecs** parameters are unused but present for API symmetry with rdma_rw_ctx_destroy().h](h)}(h**Parameters**h]j)}(hj]h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhj]ubj)}(hhh](j)}(h/``struct rdma_rw_ctx *ctx`` context to release h](j)}(h``struct rdma_rw_ctx *ctx``h]j )}(hj5]h]hstruct rdma_rw_ctx *ctx}(hj7]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3]ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhj/]ubj)}(hhh]h)}(hcontext to releaseh]hcontext to release}(hjN]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJ]hMhjK]ubah}(h]h ]h"]h$]h&]uh1jhj/]ubeh}(h]h ]h"]h$]h&]uh1jhjJ]hMhj,]ubj)}(h.``struct ib_qp *qp`` queue pair to operate on h](j)}(h``struct ib_qp *qp``h]j )}(hjn]h]hstruct ib_qp *qp}(hjp]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl]ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjh]ubj)}(hhh]h)}(hqueue pair to operate onh]hqueue pair to operate on}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjh]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj,]ubj)}(hS``u32 __maybe_unused port_num`` port num to which the connection is bound (unused) h](j)}(h``u32 __maybe_unused port_num``h]j )}(hj]h]hu32 __maybe_unused port_num}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhj]ubj)}(hhh]h)}(h2port num to which the connection is bound (unused)h]h2port num to which the connection is bound (unused)}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMhj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj,]ubj)}(hg``const struct bio_vec __maybe_unused *bvecs`` bio_vec array that was used for the READ/WRITE (unused) h](j)}(h.``const struct bio_vec __maybe_unused *bvecs``h]j )}(hj]h]h*const struct bio_vec __maybe_unused *bvecs}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhj]ubj)}(hhh]h)}(h7bio_vec array that was used for the READ/WRITE (unused)h]h7bio_vec array that was used for the READ/WRITE (unused)}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMhj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj,]ubj)}(h/``u32 nr_bvec`` number of entries in **bvecs** h](j)}(h``u32 nr_bvec``h]j )}(hj^h]h u32 nr_bvec}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhj^ubj)}(hhh]h)}(hnumber of entries in **bvecs**h](hnumber of entries in }(hj2^hhhNhNubj)}(h **bvecs**h]hbvecs}(hj:^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2^ubeh}(h]h ]h"]h$]h&]uh1hhj.^hMhj/^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj.^hMhj,]ubj)}(hd``enum dma_data_direction dir`` ``DMA_TO_DEVICE`` for RDMA WRITE, ``DMA_FROM_DEVICE`` for RDMA READ h](j)}(h``enum dma_data_direction dir``h]j )}(hj`^h]henum dma_data_direction dir}(hjb^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^^ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjZ^ubj)}(hhh]h)}(hC``DMA_TO_DEVICE`` for RDMA WRITE, ``DMA_FROM_DEVICE`` for RDMA READh](j )}(h``DMA_TO_DEVICE``h]h DMA_TO_DEVICE}(hj}^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy^ubh for RDMA WRITE, }(hjy^hhhNhNubj )}(h``DMA_FROM_DEVICE``h]hDMA_FROM_DEVICE}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy^ubh for RDMA READ}(hjy^hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhju^hMhjv^ubah}(h]h ]h"]h$]h&]uh1jhjZ^ubeh}(h]h ]h"]h$]h&]uh1jhju^hMhj,]ubeh}(h]h ]h"]h$]h&]uh1jhj]ubh)}(h**Description**h]j)}(hj^h]h Description}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhj]ubh)}(hReleases all resources allocated by a successful rdma_rw_ctx_init_bvec() call. Must not be called if rdma_rw_ctx_init_bvec() returned an error.h]hReleases all resources allocated by a successful rdma_rw_ctx_init_bvec() call. Must not be called if rdma_rw_ctx_init_bvec() returned an error.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhj]ubh)}(hmThe **port_num** and **bvecs** parameters are unused but present for API symmetry with rdma_rw_ctx_destroy().h](hThe }(hj^hhhNhNubj)}(h **port_num**h]hport_num}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubh and }(hj^hhhNhNubj)}(h **bvecs**h]hbvecs}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubhO parameters are unused but present for API symmetry with rdma_rw_ctx_destroy().}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j*rdma_rw_ctx_destroy_signature (C function)c.rdma_rw_ctx_destroy_signaturehNtauh1jhhhhhNhNubj)}(hhh](j)}(hvoid rdma_rw_ctx_destroy_signature (struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, struct scatterlist *prot_sg, u32 prot_sg_cnt, enum dma_data_direction dir)h]j")}(hvoid rdma_rw_ctx_destroy_signature(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, struct scatterlist *prot_sg, u32 prot_sg_cnt, enum dma_data_direction dir)h](j)}(hvoidh]hvoid}(hj3_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj/_hhhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM ubj:)}(h h]h }(hjB_hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj/_hhhjA_hM ubj)}(hrdma_rw_ctx_destroy_signatureh]jN)}(hrdma_rw_ctx_destroy_signatureh]hrdma_rw_ctx_destroy_signature}(hjT_hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjP_ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj/_hhhjA_hM ubj)}(h(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, struct scatterlist *sg, u32 sg_cnt, struct scatterlist *prot_sg, u32 prot_sg_cnt, enum dma_data_direction dir)h](j)}(hstruct rdma_rw_ctx *ctxh](j()}(hj+h]hstruct}(hjp_hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjl_ubj:)}(h h]h }(hj}_hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjl_ubh)}(hhh]jN)}(h rdma_rw_ctxh]h rdma_rw_ctx}(hj_hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj_ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj_modnameN classnameNjkjn)}jq]jt)}jgjV_sbc.rdma_rw_ctx_destroy_signatureasbuh1hhjl_ubj:)}(h h]h }(hj_hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjl_ubj)}(hjh]h*}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjl_ubjN)}(hctxh]hctx}(hj_hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjl_ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjh_ubj)}(hstruct ib_qp *qph](j()}(hj+h]hstruct}(hj_hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj_ubj:)}(h h]h }(hj_hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj_ubh)}(hhh]jN)}(hib_qph]hib_qp}(hj`hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj_ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj`modnameN classnameNjkjn)}jq]j_c.rdma_rw_ctx_destroy_signatureasbuh1hhj_ubj:)}(h h]h }(hj`hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj_ubj)}(hjh]h*}(hj,`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubjN)}(hqph]hqp}(hj9`hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj_ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjh_ubj)}(h u32 port_numh](h)}(hhh]jN)}(hu32h]hu32}(hjU`hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjR`ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjW`modnameN classnameNjkjn)}jq]j_c.rdma_rw_ctx_destroy_signatureasbuh1hhjN`ubj:)}(h h]h }(hjs`hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjN`ubjN)}(hport_numh]hport_num}(hj`hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjN`ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjh_ubj)}(hstruct scatterlist *sgh](j()}(hj+h]hstruct}(hj`hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj`ubj:)}(h h]h }(hj`hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj`ubh)}(hhh]jN)}(h scatterlisth]h scatterlist}(hj`hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj`ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj`modnameN classnameNjkjn)}jq]j_c.rdma_rw_ctx_destroy_signatureasbuh1hhj`ubj:)}(h h]h }(hj`hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj`ubj)}(hjh]h*}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubjN)}(hsgh]hsg}(hj`hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj`ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjh_ubj)}(h u32 sg_cnth](h)}(hhh]jN)}(hu32h]hu32}(hj ahhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj aubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjamodnameN classnameNjkjn)}jq]j_c.rdma_rw_ctx_destroy_signatureasbuh1hhjaubj:)}(h h]h }(hj+ahhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjaubjN)}(hsg_cnth]hsg_cnt}(hj9ahhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjaubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjh_ubj)}(hstruct scatterlist *prot_sgh](j()}(hj+h]hstruct}(hjRahhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjNaubj:)}(h h]h }(hj_ahhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjNaubh)}(hhh]jN)}(h scatterlisth]h scatterlist}(hjpahhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjmaubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjramodnameN classnameNjkjn)}jq]j_c.rdma_rw_ctx_destroy_signatureasbuh1hhjNaubj:)}(h h]h }(hjahhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjNaubj)}(hjh]h*}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNaubjN)}(hprot_sgh]hprot_sg}(hjahhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjNaubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjh_ubj)}(hu32 prot_sg_cnth](h)}(hhh]jN)}(hu32h]hu32}(hjahhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjaubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjamodnameN classnameNjkjn)}jq]j_c.rdma_rw_ctx_destroy_signatureasbuh1hhjaubj:)}(h h]h }(hjahhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjaubjN)}(h prot_sg_cnth]h prot_sg_cnt}(hjahhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjaubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjh_ubj)}(henum dma_data_direction dirh](j()}(hj%h]henum}(hj bhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjbubj:)}(h h]h }(hjbhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjbubh)}(hhh]jN)}(hdma_data_directionh]hdma_data_direction}(hj(bhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj%bubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj*bmodnameN classnameNjkjn)}jq]j_c.rdma_rw_ctx_destroy_signatureasbuh1hhjbubj:)}(h h]h }(hjFbhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjbubjN)}(hdirh]hdir}(hjTbhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjbubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjh_ubeh}(h]h ]h"]h$]h&]jjuh1jhj/_hhhjA_hM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj+_hhhjA_hM ubah}(h]j&_ah ](jjeh"]h$]h&]jj)jhuh1jhjA_hM hj(_hhubj)}(hhh]h)}(h=release all resources allocated by rdma_rw_ctx_signature_inith]h=release all resources allocated by rdma_rw_ctx_signature_init}(hj~bhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chM hj{bhhubah}(h]h ]h"]h$]h&]uh1jhj(_hhhjA_hM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjbjjbjjjuh1jhhhhhNhNubj)}(hX!**Parameters** ``struct rdma_rw_ctx *ctx`` context to release ``struct ib_qp *qp`` queue pair to operate on ``u32 port_num`` port num to which the connection is bound ``struct scatterlist *sg`` scatterlist that was used for the READ/WRITE ``u32 sg_cnt`` number of entries in **sg** ``struct scatterlist *prot_sg`` scatterlist that was used for the READ/WRITE of the PI ``u32 prot_sg_cnt`` number of entries in **prot_sg** ``enum dma_data_direction dir`` ``DMA_TO_DEVICE`` for RDMA WRITE, ``DMA_FROM_DEVICE`` for RDMA READh](h)}(h**Parameters**h]j)}(hjbh]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjbubj)}(hhh](j)}(h/``struct rdma_rw_ctx *ctx`` context to release h](j)}(h``struct rdma_rw_ctx *ctx``h]j )}(hjbh]hstruct rdma_rw_ctx *ctx}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjbubj)}(hhh]h)}(hcontext to releaseh]hcontext to release}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhMhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjbubj)}(h.``struct ib_qp *qp`` queue pair to operate on h](j)}(h``struct ib_qp *qp``h]j )}(hjbh]hstruct ib_qp *qp}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjbubj)}(hhh]h)}(hqueue pair to operate onh]hqueue pair to operate on}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj chMhjcubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj chMhjbubj)}(h;``u32 port_num`` port num to which the connection is bound h](j)}(h``u32 port_num``h]j )}(hj1ch]h u32 port_num}(hj3chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/cubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhj+cubj)}(hhh]h)}(h)port num to which the connection is boundh]h)port num to which the connection is bound}(hjJchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFchMhjGcubah}(h]h ]h"]h$]h&]uh1jhj+cubeh}(h]h ]h"]h$]h&]uh1jhjFchMhjbubj)}(hH``struct scatterlist *sg`` scatterlist that was used for the READ/WRITE h](j)}(h``struct scatterlist *sg``h]j )}(hjjch]hstruct scatterlist *sg}(hjlchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhcubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjdcubj)}(hhh]h)}(h,scatterlist that was used for the READ/WRITEh]h,scatterlist that was used for the READ/WRITE}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchMhjcubah}(h]h ]h"]h$]h&]uh1jhjdcubeh}(h]h ]h"]h$]h&]uh1jhjchMhjbubj)}(h+``u32 sg_cnt`` number of entries in **sg** h](j)}(h``u32 sg_cnt``h]j )}(hjch]h u32 sg_cnt}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjcubj)}(hhh]h)}(hnumber of entries in **sg**h](hnumber of entries in }(hjchhhNhNubj)}(h**sg**h]hsg}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1hhjchMhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMhjbubj)}(hW``struct scatterlist *prot_sg`` scatterlist that was used for the READ/WRITE of the PI h](j)}(h``struct scatterlist *prot_sg``h]j )}(hjch]hstruct scatterlist *prot_sg}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjcubj)}(hhh]h)}(h6scatterlist that was used for the READ/WRITE of the PIh]h6scatterlist that was used for the READ/WRITE of the PI}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMhjbubj)}(h5``u32 prot_sg_cnt`` number of entries in **prot_sg** h](j)}(h``u32 prot_sg_cnt``h]j )}(hj#dh]hu32 prot_sg_cnt}(hj%dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!dubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:22: ./drivers/infiniband/core/rw.chMhjdubj)}(hhh]h)}(h number of entries in **prot_sg**h](hnumber of entries in }(hjmhhubj)}(hhh]h)}(hJReturns whether a specified rdma device has CAP_NET_RAW capability or not.h]hJReturns whether a specified rdma device has CAP_NET_RAW capability or not.}(hj#nhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chKhj nhhubah}(h]h ]h"]h$]h&]uh1jhj>mhhhjVmhKubeh}(h]h ](jefunctioneh"]h$]h&]jjejj;njj;njjjuh1jhhhhhNhNubj)}(hXF**Parameters** ``const struct ib_device *dev`` Pointer to rdma device whose capability to be checked **Description** Returns true if a rdma device's owning user namespace has CAP_NET_RAW capability, otherwise false. When rdma subsystem is in legacy shared network, namespace mode, the default net namespace is considered.h](h)}(h**Parameters**h]j)}(hjEnh]h Parameters}(hjGnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCnubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chKhj?nubj)}(hhh]j)}(hV``const struct ib_device *dev`` Pointer to rdma device whose capability to be checked h](j)}(h``const struct ib_device *dev``h]j )}(hjdnh]hconst struct ib_device *dev}(hjfnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbnubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chKhj^nubj)}(hhh]h)}(h5Pointer to rdma device whose capability to be checkedh]h5Pointer to rdma device whose capability to be checked}(hj}nhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjynhKhjznubah}(h]h ]h"]h$]h&]uh1jhj^nubeh}(h]h ]h"]h$]h&]uh1jhjynhKhj[nubah}(h]h ]h"]h$]h&]uh1jhj?nubh)}(h**Description**h]j)}(hjnh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chKhj?nubh)}(hReturns true if a rdma device's owning user namespace has CAP_NET_RAW capability, otherwise false. When rdma subsystem is in legacy shared network, namespace mode, the default net namespace is considered.h]hReturns true if a rdma device’s owning user namespace has CAP_NET_RAW capability, otherwise false. When rdma subsystem is in legacy shared network, namespace mode, the default net namespace is considered.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chKhj?nubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_device_put (C function)c.ib_device_puthNtauh1jhhhhhNhNubj)}(hhh](j)}(h-void ib_device_put (struct ib_device *device)h]j")}(h,void ib_device_put(struct ib_device *device)h](j)}(hvoidh]hvoid}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjnhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMTubj:)}(h h]h }(hjnhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjnhhhjnhMTubj)}(h ib_device_puth]jN)}(h ib_device_puth]h ib_device_put}(hjohhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjoubah}(h]h ](jjeh"]h$]h&]jjuh1jhjnhhhjnhMTubj)}(h(struct ib_device *device)h]j)}(hstruct ib_device *deviceh](j()}(hj+h]hstruct}(hj!ohhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjoubj:)}(h h]h }(hj.ohhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjoubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hj?ohhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj`. **size** is the size of the structure to be allocated, including any private data used by the low-level driver. ib_dealloc_device() must be used to free structures allocated with ib_alloc_device().h](h)}(h**Parameters**h]j)}(hjqh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM3hjqubj)}(hhh](j)}(h.``size_t size`` size of structure to allocate h](j)}(h``size_t size``h]j )}(hjqh]h size_t size}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM0hjqubj)}(hhh]h)}(hsize of structure to allocateh]hsize of structure to allocate}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhM0hjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhM0hjqubj)}(h``struct net *net`` network namespace device should be located in, namespace must stay valid until ib_register_device() is completed. h](j)}(h``struct net *net``h]j )}(hj"rh]hstruct net *net}(hj$rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj rubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM2hjrubj)}(hhh]h)}(hqnetwork namespace device should be located in, namespace must stay valid until ib_register_device() is completed.h]hqnetwork namespace device should be located in, namespace must stay valid until ib_register_device() is completed.}(hj;rhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM1hj8rubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhj7rhM2hjqubeh}(h]h ]h"]h$]h&]uh1jhjqubh)}(h**Description**h]j)}(hj^rh]h Description}(hj`rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\rubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM4hjqubh)}(hX)Low-level drivers should use ib_alloc_device() to allocate :c:type:`struct ib_device `. **size** is the size of the structure to be allocated, including any private data used by the low-level driver. ib_dealloc_device() must be used to free structures allocated with ib_alloc_device().h](h;Low-level drivers should use ib_alloc_device() to allocate }(hjtrhhhNhNubh)}(h&:c:type:`struct ib_device `h]j )}(hj~rh]hstruct ib_device}(hjrhhhNhNubah}(h]h ](xrefjec-typeeh"]h$]h&]uh1jhj|rubah}(h]h ]h"]h$]h&]refdocdriver-api/infiniband refdomainjereftypetype refexplicitrefwarnjkjn)}jq]sb reftarget ib_deviceuh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM3hjtrubh. }(hjtrhhhNhNubj)}(h**size**h]hsize}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtrubh is the size of the structure to be allocated, including any private data used by the low-level driver. ib_dealloc_device() must be used to free structures allocated with ib_alloc_device().}(hjtrhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjrhM3hjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_dealloc_device (C function)c.ib_dealloc_devicehNtauh1jhhhhhNhNubj)}(hhh](j)}(h1void ib_dealloc_device (struct ib_device *device)h]j")}(h0void ib_dealloc_device(struct ib_device *device)h](j)}(hvoidh]hvoid}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjrhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMubj:)}(h h]h }(hjrhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjrhhhjrhMubj)}(hib_dealloc_deviceh]jN)}(hib_dealloc_deviceh]hib_dealloc_device}(hjrhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjrubah}(h]h ](jjeh"]h$]h&]jjuh1jhjrhhhjrhMubj)}(h(struct ib_device *device)h]j)}(hstruct ib_device *deviceh](j()}(hj+h]hstruct}(hjshhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjsubj:)}(h h]h }(hj(shhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjsubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hj9shhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj6subah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj;smodnameN classnameNjkjn)}jq]jt)}jgjssbc.ib_dealloc_deviceasbuh1hhjsubj:)}(h h]h }(hjYshhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjsubj)}(hjh]h*}(hjgshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubjN)}(hdeviceh]hdevice}(hjtshhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjsubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjsubah}(h]h ]h"]h$]h&]jjuh1jhjrhhhjrhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjrhhhjrhMubah}(h]jrah ](jjeh"]h$]h&]jj)jhuh1jhjrhMhjrhhubj)}(hhh]h)}(hfree an IB device structh]hfree an IB device struct}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjshhubah}(h]h ]h"]h$]h&]uh1jhjrhhhjrhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjsjjsjjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct ib_device *device`` structure to free **Description** Free a structure allocated with ib_alloc_device().h](h)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjsubj)}(hhh]j)}(h/``struct ib_device *device`` structure to free h](j)}(h``struct ib_device *device``h]j )}(hjsh]hstruct ib_device *device}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjsubj)}(hhh]h)}(hstructure to freeh]hstructure to free}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjsubh)}(h**Description**h]j)}(hjth]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjsubh)}(h2Free a structure allocated with ib_alloc_device().h]h2Free a structure allocated with ib_alloc_device().}(hj0thhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j#ib_port_immutable_read (C function)c.ib_port_immutable_readhNtauh1jhhhhhNhNubj)}(hhh](j)}(haconst struct ib_port_immutable* ib_port_immutable_read (struct ib_device *dev, unsigned int port)h]j")}(h`const struct ib_port_immutable *ib_port_immutable_read(struct ib_device *dev, unsigned int port)h](j()}(hjh]hconst}(hj_thhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj[thhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMeubj:)}(h h]h }(hjmthhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj[thhhjlthMeubj()}(hj+h]hstruct}(hj{thhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj[thhhjlthMeubj:)}(h h]h }(hjthhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj[thhhjlthMeubh)}(hhh]jN)}(hib_port_immutableh]hib_port_immutable}(hjthhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjtubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjtmodnameN classnameNjkjn)}jq]jt)}jgib_port_immutable_readsbc.ib_port_immutable_readasbuh1hhj[thhhjlthMeubj:)}(h h]h }(hjthhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj[thhhjlthMeubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[thhhjlthMeubj)}(hib_port_immutable_readh]jN)}(hjth]hib_port_immutable_read}(hjthhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjtubah}(h]h ](jjeh"]h$]h&]jjuh1jhj[thhhjlthMeubj)}(h*(struct ib_device *dev, unsigned int port)h](j)}(hstruct ib_device *devh](j()}(hj+h]hstruct}(hjthhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjtubj:)}(h h]h }(hjuhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjtubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjuhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjuubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjumodnameN classnameNjkjn)}jq]jtc.ib_port_immutable_readasbuh1hhjtubj:)}(h h]h }(hj0uhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjtubj)}(hjh]h*}(hj>uhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubjN)}(hdevh]hdev}(hjKuhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjtubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjtubj)}(hunsigned int porth](j)}(hunsignedh]hunsigned}(hjduhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj`uubj:)}(h h]h }(hjruhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj`uubj)}(hinth]hint}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj`uubj:)}(h h]h }(hjuhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj`uubjN)}(hporth]hport}(hjuhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj`uubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjtubeh}(h]h ]h"]h$]h&]jjuh1jhj[thhhjlthMeubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjWthhhjlthMeubah}(h]jRtah ](jjeh"]h$]h&]jj)jhuh1jhjlthMehjTthhubj)}(hhh]h)}(hRead rdma port's immutable datah]h!Read rdma port’s immutable data}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMehjuhhubah}(h]h ]h"]h$]h&]uh1jhjTthhhjlthMeubeh}(h]h ](jefunctioneh"]h$]h&]jjejjujjujjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct ib_device *dev`` IB device ``unsigned int port`` port number whose immutable data to read. It starts with index 1 and valid upto including rdma_end_port().h](h)}(h**Parameters**h]j)}(hjuh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMihjuubj)}(hhh](j)}(h$``struct ib_device *dev`` IB device h](j)}(h``struct ib_device *dev``h]j )}(hjvh]hstruct ib_device *dev}(hj vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMfhjvubj)}(hhh]h)}(h IB deviceh]h IB device}(hj vhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMfhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMfhjuubj)}(h``unsigned int port`` port number whose immutable data to read. It starts with index 1 and valid upto including rdma_end_port().h](j)}(h``unsigned int port``h]j )}(hj@vh]hunsigned int port}(hjBvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>vubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMghj:vubj)}(hhh]h)}(hjport number whose immutable data to read. It starts with index 1 and valid upto including rdma_end_port().h]hjport number whose immutable data to read. It starts with index 1 and valid upto including rdma_end_port().}(hjYvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUvhMghjVvubah}(h]h ]h"]h$]h&]uh1jhj:vubeh}(h]h ]h"]h$]h&]uh1jhjUvhMghjuubeh}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_register_device (C function)c.ib_register_devicehNtauh1jhhhhhNhNubj)}(hhh](j)}(h^int ib_register_device (struct ib_device *device, const char *name, struct device *dma_device)h]j")}(h]int ib_register_device(struct ib_device *device, const char *name, struct device *dma_device)h](j)}(hinth]hint}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjvhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMmubj:)}(h h]h }(hjvhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjvhhhjvhMmubj)}(hib_register_deviceh]jN)}(hib_register_deviceh]hib_register_device}(hjvhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjvubah}(h]h ](jjeh"]h$]h&]jjuh1jhjvhhhjvhMmubj)}(hG(struct ib_device *device, const char *name, struct device *dma_device)h](j)}(hstruct ib_device *deviceh](j()}(hj+h]hstruct}(hjvhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjvubj:)}(h h]h }(hjvhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjvubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjvhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjvubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjvmodnameN classnameNjkjn)}jq]jt)}jgjvsbc.ib_register_deviceasbuh1hhjvubj:)}(h h]h }(hjwhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjvubj)}(hjh]h*}(hj"whhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubjN)}(hdeviceh]hdevice}(hj/whhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjvubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjvubj)}(hconst char *nameh](j()}(hjh]hconst}(hjHwhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjDwubj:)}(h h]h }(hjUwhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjDwubj)}(hcharh]hchar}(hjcwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjDwubj:)}(h h]h }(hjqwhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjDwubj)}(hjh]h*}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDwubjN)}(hnameh]hname}(hjwhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjDwubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjvubj)}(hstruct device *dma_deviceh](j()}(hj+h]hstruct}(hjwhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjwubj:)}(h h]h }(hjwhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjwubh)}(hhh]jN)}(hdeviceh]hdevice}(hjwhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjwubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjwmodnameN classnameNjkjn)}jq]jwc.ib_register_deviceasbuh1hhjwubj:)}(h h]h }(hjwhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjwubj)}(hjh]h*}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubjN)}(h dma_deviceh]h dma_device}(hjwhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjwubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjvubeh}(h]h ]h"]h$]h&]jjuh1jhjvhhhjvhMmubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjvhhhjvhMmubah}(h]jvah ](jjeh"]h$]h&]jj)jhuh1jhjvhMmhjvhhubj)}(hhh]h)}(h"Register an IB device with IB coreh]h"Register an IB device with IB core}(hj&xhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMmhj#xhhubah}(h]h ]h"]h$]h&]uh1jhjvhhhjvhMmubeh}(h]h ](jefunctioneh"]h$]h&]jjejj>xjj>xjjjuh1jhhhhhNhNubj)}(hX@**Parameters** ``struct ib_device *device`` Device to register ``const char *name`` unique string device name. This may include a '%' which will cause a unique index to be added to the passed device name. ``struct device *dma_device`` pointer to a DMA-capable device. If ``NULL``, then the IB device will be used. In this case the caller should fully setup the ibdev for DMA. This usually means using dma_virt_ops. **Description** Low-level drivers use ib_register_device() to register their devices with the IB core. All registered clients will receive a callback for each device that is added. **device** must be allocated with ib_alloc_device(). If the driver uses ops.dealloc_driver and calls any ib_unregister_device() asynchronously then the device pointer may become freed as soon as this function returns.h](h)}(h**Parameters**h]j)}(hjHxh]h Parameters}(hjJxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFxubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMqhjBxubj)}(hhh](j)}(h0``struct ib_device *device`` Device to register h](j)}(h``struct ib_device *device``h]j )}(hjgxh]hstruct ib_device *device}(hjixhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjexubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMnhjaxubj)}(hhh]h)}(hDevice to registerh]hDevice to register}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|xhMnhj}xubah}(h]h ]h"]h$]h&]uh1jhjaxubeh}(h]h ]h"]h$]h&]uh1jhj|xhMnhj^xubj)}(h``const char *name`` unique string device name. This may include a '%' which will cause a unique index to be added to the passed device name. h](j)}(h``const char *name``h]j )}(hjxh]hconst char *name}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMphjxubj)}(hhh]h)}(hxunique string device name. This may include a '%' which will cause a unique index to be added to the passed device name.h]h|unique string device name. This may include a ‘%’ which will cause a unique index to be added to the passed device name.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMohjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMphj^xubj)}(h``struct device *dma_device`` pointer to a DMA-capable device. If ``NULL``, then the IB device will be used. In this case the caller should fully setup the ibdev for DMA. This usually means using dma_virt_ops. h](j)}(h``struct device *dma_device``h]j )}(hjxh]hstruct device *dma_device}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMshjxubj)}(hhh]h)}(hpointer to a DMA-capable device. If ``NULL``, then the IB device will be used. In this case the caller should fully setup the ibdev for DMA. This usually means using dma_virt_ops.h](h$pointer to a DMA-capable device. If }(hjxhhhNhNubj )}(h``NULL``h]hNULL}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh, then the IB device will be used. In this case the caller should fully setup the ibdev for DMA. This usually means using dma_virt_ops.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMqhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMshj^xubeh}(h]h ]h"]h$]h&]uh1jhjBxubh)}(h**Description**h]j)}(hj(yh]h Description}(hj*yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&yubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMuhjBxubh)}(hLow-level drivers use ib_register_device() to register their devices with the IB core. All registered clients will receive a callback for each device that is added. **device** must be allocated with ib_alloc_device().h](hLow-level drivers use ib_register_device() to register their devices with the IB core. All registered clients will receive a callback for each device that is added. }(hj>yhhhNhNubj)}(h **device**h]hdevice}(hjFyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>yubh* must be allocated with ib_alloc_device().}(hj>yhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMthjBxubh)}(hIf the driver uses ops.dealloc_driver and calls any ib_unregister_device() asynchronously then the device pointer may become freed as soon as this function returns.h]hIf the driver uses ops.dealloc_driver and calls any ib_unregister_device() asynchronously then the device pointer may become freed as soon as this function returns.}(hj_yhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMyhjBxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!ib_unregister_device (C function)c.ib_unregister_devicehNtauh1jhhhhhNhNubj)}(hhh](j)}(h4void ib_unregister_device (struct ib_device *ib_dev)h]j")}(h3void ib_unregister_device(struct ib_device *ib_dev)h](j)}(hvoidh]hvoid}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjyhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMubj:)}(h h]h }(hjyhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjyhhhjyhMubj)}(hib_unregister_deviceh]jN)}(hib_unregister_deviceh]hib_unregister_device}(hjyhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjyubah}(h]h ](jjeh"]h$]h&]jjuh1jhjyhhhjyhMubj)}(h(struct ib_device *ib_dev)h]j)}(hstruct ib_device *ib_devh](j()}(hj+h]hstruct}(hjyhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjyubj:)}(h h]h }(hjyhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjyubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjyhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjyubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjymodnameN classnameNjkjn)}jq]jt)}jgjysbc.ib_unregister_deviceasbuh1hhjyubj:)}(h h]h }(hj zhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjyubj)}(hjh]h*}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubjN)}(hib_devh]hib_dev}(hj$zhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjyubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjyubah}(h]h ]h"]h$]h&]jjuh1jhjyhhhjyhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjyhhhjyhMubah}(h]jyah ](jjeh"]h$]h&]jj)jhuh1jhjyhMhjyhhubj)}(hhh]h)}(hUnregister an IB deviceh]hUnregister an IB device}(hjNzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjKzhhubah}(h]h ]h"]h$]h&]uh1jhjyhhhjyhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjfzjjfzjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_device *ib_dev`` The device to unregister **Description** Unregister an IB device. All clients will receive a remove callback. Callers should call this routine only once, and protect against races with registration. Typically it should only be called as part of a remove callback in an implementation of driver core's struct device_driver and related. If ops.dealloc_driver is used then ib_dev will be freed upon return from this function.h](h)}(h**Parameters**h]j)}(hjpzh]h Parameters}(hjrzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnzubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjjzubj)}(hhh]j)}(h6``struct ib_device *ib_dev`` The device to unregister h](j)}(h``struct ib_device *ib_dev``h]j )}(hjzh]hstruct ib_device *ib_dev}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjzubj)}(hhh]h)}(hThe device to unregisterh]hThe device to unregister}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjzubah}(h]h ]h"]h$]h&]uh1jhjjzubh)}(h**Description**h]j)}(hjzh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjjzubh)}(hEUnregister an IB device. All clients will receive a remove callback.h]hEUnregister an IB device. All clients will receive a remove callback.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjjzubh)}(hCallers should call this routine only once, and protect against races with registration. Typically it should only be called as part of a remove callback in an implementation of driver core's struct device_driver and related.h]hCallers should call this routine only once, and protect against races with registration. Typically it should only be called as part of a remove callback in an implementation of driver core’s struct device_driver and related.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjjzubh)}(hWIf ops.dealloc_driver is used then ib_dev will be freed upon return from this function.h]hWIf ops.dealloc_driver is used then ib_dev will be freed upon return from this function.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j)ib_unregister_device_and_put (C function)c.ib_unregister_device_and_puthNtauh1jhhhhhNhNubj)}(hhh](j)}(hubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMqhj:ubj)}(hhh]j)}(h6``struct ib_device *ib_dev`` The device to unregister h](j)}(h``struct ib_device *ib_dev``h]j )}(hj_h]hstruct ib_device *ib_dev}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMnhjYubj)}(hhh]h)}(hThe device to unregisterh]hThe device to unregister}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMnhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMnhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMphj:ubh)}(hThis schedules an asynchronous unregistration using a WQ for the device. A driver should use this to avoid holding locks while doing unregistration, such as holding the RTNL lock.h]hThis schedules an asynchronous unregistration using a WQ for the device. A driver should use this to avoid holding locks while doing unregistration, such as holding the RTNL lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMohj:ubh)}(hDrivers using this API must use ib_unregister_driver before module unload to ensure that all scheduled unregistrations have completed.h]hDrivers using this API must use ib_unregister_driver before module unload to ensure that all scheduled unregistrations have completed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMshj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_register_client (C function)c.ib_register_clienthNtauh1jhhhhhNhNubj)}(hhh](j)}(h1int ib_register_client (struct ib_client *client)h]j")}(h0int ib_register_client(struct ib_client *client)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hib_register_clienth]jN)}(hib_register_clienth]hib_register_client}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(h(struct ib_client *client)h]j)}(hstruct ib_client *clienth](j()}(hj+h]hstruct}(hj+hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj'ubj:)}(h h]h }(hj8hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj'ubh)}(hhh]jN)}(h ib_clienth]h ib_client}(hjIhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjFubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjKmodnameN classnameNjkjn)}jq]jt)}jgjsbc.ib_register_clientasbuh1hhj'ubj:)}(h h]h }(hjihhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj'ubj)}(hjh]h*}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubjN)}(hclienth]hclient}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj'ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj#ubah}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(hRegister an IB clienth]hRegister an IB client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjƀjjƀjjjuh1jhhhhhNhNubj)}(hXG**Parameters** ``struct ib_client *client`` Client to register **Description** Upper level users of the IB drivers can use ib_register_client() to register callbacks for IB device addition and removal. When an IB device is added, each registered client's add method will be called (in the order the clients were registered), and when a device is removed, each client's remove method will be called (in the reverse order that clients were registered). In addition, when ib_register_client() is called, the client will receive an add callback for all devices already registered.h](h)}(h**Parameters**h]j)}(hjЀh]h Parameters}(hjҀhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj΀ubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjʀubj)}(hhh]j)}(h0``struct ib_client *client`` Client to register h](j)}(h``struct ib_client *client``h]j )}(hjh]hstruct ib_client *client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubj)}(hhh]h)}(hClient to registerh]hClient to register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjʀubh)}(h**Description**h]j)}(hj*h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjʀubh)}(hXUpper level users of the IB drivers can use ib_register_client() to register callbacks for IB device addition and removal. When an IB device is added, each registered client's add method will be called (in the order the clients were registered), and when a device is removed, each client's remove method will be called (in the reverse order that clients were registered). In addition, when ib_register_client() is called, the client will receive an add callback for all devices already registered.h]hXUpper level users of the IB drivers can use ib_register_client() to register callbacks for IB device addition and removal. When an IB device is added, each registered client’s add method will be called (in the order the clients were registered), and when a device is removed, each client’s remove method will be called (in the reverse order that clients were registered). In addition, when ib_register_client() is called, the client will receive an add callback for all devices already registered.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjʀubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!ib_unregister_client (C function)c.ib_unregister_clienthNtauh1jhhhhhNhNubj)}(hhh](j)}(h4void ib_unregister_client (struct ib_client *client)h]j")}(h3void ib_unregister_client(struct ib_client *client)h](j)}(hvoidh]hvoid}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjkhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMGubj:)}(h h]h }(hj~hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjkhhhj}hMGubj)}(hib_unregister_clienth]jN)}(hib_unregister_clienth]hib_unregister_client}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjkhhhj}hMGubj)}(h(struct ib_client *client)h]j)}(hstruct ib_client *clienth](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_clienth]h ib_client}(hjʁhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjǁubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj́modnameN classnameNjkjn)}jq]jt)}jgjsbc.ib_unregister_clientasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hclienth]hclient}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubah}(h]h ]h"]h$]h&]jjuh1jhjkhhhj}hMGubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjghhhj}hMGubah}(h]jbah ](jjeh"]h$]h&]jj)jhuh1jhj}hMGhjdhhubj)}(hhh]h)}(hUnregister an IB clienth]hUnregister an IB client}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMGhj,hhubah}(h]h ]h"]h$]h&]uh1jhjdhhhj}hMGubeh}(h]h ](jefunctioneh"]h$]h&]jjejjGjjGjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_client *client`` Client to unregister **Description** Upper level users use ib_unregister_client() to remove their client registration. When ib_unregister_client() is called, the client will receive a remove callback for each IB device still registered. This is a full fence, once it returns no client callbacks will be called, or are running in another thread.h](h)}(h**Parameters**h]j)}(hjQh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMKhjKubj)}(hhh]j)}(h2``struct ib_client *client`` Client to unregister h](j)}(h``struct ib_client *client``h]j )}(hjph]hstruct ib_client *client}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMHhjjubj)}(hhh]h)}(hClient to unregisterh]hClient to unregister}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhjgubah}(h]h ]h"]h$]h&]uh1jhjKubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMJhjKubh)}(hUpper level users use ib_unregister_client() to remove their client registration. When ib_unregister_client() is called, the client will receive a remove callback for each IB device still registered.h]hUpper level users use ib_unregister_client() to remove their client registration. When ib_unregister_client() is called, the client will receive a remove callback for each IB device still registered.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMIhjKubh)}(hkThis is a full fence, once it returns no client callbacks will be called, or are running in another thread.h]hkThis is a full fence, once it returns no client callbacks will be called, or are running in another thread.}(hjЂhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMMhjKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_set_client_data (C function)c.ib_set_client_datahNtauh1jhhhhhNhNubj)}(hhh](j)}(hXvoid ib_set_client_data (struct ib_device *device, struct ib_client *client, void *data)h]j")}(hWvoid ib_set_client_data(struct ib_device *device, struct ib_client *client, void *data)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhj hMubj)}(hib_set_client_datah]jN)}(hib_set_client_datah]hib_set_client_data}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhj hMubj)}(h@(struct ib_device *device, struct ib_client *client, void *data)h](j)}(hstruct ib_device *deviceh](j()}(hj+h]hstruct}(hj<hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj8ubj:)}(h h]h }(hjIhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8ubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjZhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjWubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj\modnameN classnameNjkjn)}jq]jt)}jgj"sbc.ib_set_client_dataasbuh1hhj8ubj:)}(h h]h }(hjzhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubjN)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj4ubj)}(hstruct ib_client *clienth](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_clienth]h ib_client}(hj̃hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjɃubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj΃modnameN classnameNjkjn)}jq]jvc.ib_set_client_dataasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hclienth]hclient}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj4ubj)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hj,hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hdatah]hdata}(hjGhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj4ubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhj hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhj hMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhj hMhjhhubj)}(hhh]h)}(hSet IB client contexth]hSet IB client context}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjnhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_device *device`` Device to set context for ``struct ib_client *client`` Client to set context for ``void *data`` Context to set **Description** ib_set_client_data() sets client context data that can be retrieved with ib_get_client_data(). This can only be called while the client is registered to the device, once the ib_client remove() callback returns this cannot be called.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubj)}(hhh](j)}(h7``struct ib_device *device`` Device to set context for h](j)}(h``struct ib_device *device``h]j )}(hjh]hstruct ib_device *device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubj)}(hhh]h)}(hDevice to set context forh]hDevice to set context for}(hj˄hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDŽhMhjȄubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjDŽhMhjubj)}(h7``struct ib_client *client`` Client to set context for h](j)}(h``struct ib_client *client``h]j )}(hjh]hstruct ib_client *client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubj)}(hhh]h)}(hClient to set context forh]hClient to set context for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``void *data`` Context to set h](j)}(h``void *data``h]j )}(hj$h]h void *data}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubj)}(hhh]h)}(hContext to seth]hContext to set}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj_h]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubh)}(hib_set_client_data() sets client context data that can be retrieved with ib_get_client_data(). This can only be called while the client is registered to the device, once the ib_client remove() callback returns this cannot be called.h]hib_set_client_data() sets client context data that can be retrieved with ib_get_client_data(). This can only be called while the client is registered to the device, once the ib_client remove() callback returns this cannot be called.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j&ib_register_event_handler (C function)c.ib_register_event_handlerhNtauh1jhhhhhNhNubj)}(hhh](j)}(hGvoid ib_register_event_handler (struct ib_event_handler *event_handler)h]j")}(hFvoid ib_register_event_handler(struct ib_event_handler *event_handler)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hib_register_event_handlerh]jN)}(hib_register_event_handlerh]hib_register_event_handler}(hjŅhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(h((struct ib_event_handler *event_handler)h]j)}(h&struct ib_event_handler *event_handlerh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj݅ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj݅ubh)}(hhh]jN)}(hib_event_handlerh]hib_event_handler}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjDžsbc.ib_register_event_handlerasbuh1hhj݅ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj݅ubj)}(hjh]h*}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj݅ubjN)}(h event_handlerh]h event_handler}(hj:hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj݅ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjمubah}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(hRegister an IB event handlerh]hRegister an IB event handler}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjahhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj|jj|jjjuh1jhhhhhNhNubj)}(hXH**Parameters** ``struct ib_event_handler *event_handler`` Handler to register **Description** ib_register_event_handler() registers an event handler that will be called back when asynchronous IB events occur (as defined in chapter 11 of the InfiniBand Architecture Specification). This callback occurs in workqueue context.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubj)}(hhh]j)}(h?``struct ib_event_handler *event_handler`` Handler to register h](j)}(h*``struct ib_event_handler *event_handler``h]j )}(hjh]h&struct ib_event_handler *event_handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubj)}(hhh]h)}(hHandler to registerh]hHandler to register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjކubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubh)}(hib_register_event_handler() registers an event handler that will be called back when asynchronous IB events occur (as defined in chapter 11 of the InfiniBand Architecture Specification). This callback occurs in workqueue context.h]hib_register_event_handler() registers an event handler that will be called back when asynchronous IB events occur (as defined in chapter 11 of the InfiniBand Architecture Specification). This callback occurs in workqueue context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j(ib_unregister_event_handler (C function)c.ib_unregister_event_handlerhNtauh1jhhhhhNhNubj)}(hhh](j)}(hIvoid ib_unregister_event_handler (struct ib_event_handler *event_handler)h]j")}(hHvoid ib_unregister_event_handler(struct ib_event_handler *event_handler)h](j)}(hvoidh]hvoid}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj!hhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMubj:)}(h h]h }(hj4hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj!hhhj3hMubj)}(hib_unregister_event_handlerh]jN)}(hib_unregister_event_handlerh]hib_unregister_event_handler}(hjFhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjBubah}(h]h ](jjeh"]h$]h&]jjuh1jhj!hhhj3hMubj)}(h((struct ib_event_handler *event_handler)h]j)}(h&struct ib_event_handler *event_handlerh](j()}(hj+h]hstruct}(hjbhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj^ubj:)}(h h]h }(hjohhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj^ubh)}(hhh]jN)}(hib_event_handlerh]hib_event_handler}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj}ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjHsbc.ib_unregister_event_handlerasbuh1hhj^ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj^ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubjN)}(h event_handlerh]h event_handler}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj^ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjZubah}(h]h ]h"]h$]h&]jjuh1jhj!hhhj3hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhj3hMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhj3hMhjhhubj)}(hhh]h)}(hUnregister an event handlerh]hUnregister an event handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj3hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct ib_event_handler *event_handler`` Handler to unregister **Description** Unregister an event handler registered with ib_register_event_handler().h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubj)}(hhh]j)}(hA``struct ib_event_handler *event_handler`` Handler to unregister h](j)}(h*``struct ib_event_handler *event_handler``h]j )}(hj&h]h&struct ib_event_handler *event_handler}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhj ubj)}(hhh]h)}(hHandler to unregisterh]hHandler to unregister}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjah]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubh)}(hHUnregister an event handler registered with ib_register_event_handler().h]hHUnregister an event handler registered with ib_register_event_handler().}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_query_port (C function)c.ib_query_porthNtauh1jhhhhhNhNubj)}(hhh](j)}(hZint ib_query_port (struct ib_device *device, u32 port_num, struct ib_port_attr *port_attr)h]j")}(hYint ib_query_port(struct ib_device *device, u32 port_num, struct ib_port_attr *port_attr)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMWubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMWubj)}(h ib_query_porth]jN)}(h ib_query_porth]h ib_query_port}(hjLjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjÈubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMWubj)}(hH(struct ib_device *device, u32 port_num, struct ib_port_attr *port_attr)h](j)}(hstruct ib_device *deviceh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj߈ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj߈ubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjɈsbc.ib_query_portasbuh1hhj߈ubj:)}(h h]h }(hj!hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj߈ubj)}(hjh]h*}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj߈ubjN)}(hdeviceh]hdevice}(hj<hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj߈ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjۈubj)}(h u32 port_numh](h)}(hhh]jN)}(hu32h]hu32}(hjXhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjUubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjZmodnameN classnameNjkjn)}jq]jc.ib_query_portasbuh1hhjQubj:)}(h h]h }(hjvhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjQubjN)}(hport_numh]hport_num}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjQubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjۈubj)}(hstruct ib_port_attr *port_attrh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_port_attrh]h ib_port_attr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_query_portasbuh1hhjubj:)}(h h]h }(hjىhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(h port_attrh]h port_attr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjۈubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMWubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMWubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMWhjhhubj)}(hhh]h)}(hQuery IB port attributesh]hQuery IB port attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMWhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMWubeh}(h]h ](jefunctioneh"]h$]h&]jjejj6jj6jjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_device *device`` Device to query ``u32 port_num`` Port number to query ``struct ib_port_attr *port_attr`` Port attributes **Description** ib_query_port() returns the attributes of a port through the **port_attr** pointer.h](h)}(h**Parameters**h]j)}(hj@h]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM[hj:ubj)}(hhh](j)}(h-``struct ib_device *device`` Device to query h](j)}(h``struct ib_device *device``h]j )}(hj_h]hstruct ib_device *device}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMXhjYubj)}(hhh]h)}(hDevice to queryh]hDevice to query}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMXhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMXhjVubj)}(h&``u32 port_num`` Port number to query h](j)}(h``u32 port_num``h]j )}(hjh]h u32 port_num}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMYhjubj)}(hhh]h)}(hPort number to queryh]hPort number to query}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjVubj)}(h3``struct ib_port_attr *port_attr`` Port attributes h](j)}(h"``struct ib_port_attr *port_attr``h]j )}(hjъh]hstruct ib_port_attr *port_attr}(hjӊhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϊubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMZhjˊubj)}(hhh]h)}(hPort attributesh]hPort attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjˊubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjVubeh}(h]h ]h"]h$]h&]uh1jhj:ubh)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM\hj:ubh)}(hSib_query_port() returns the attributes of a port through the **port_attr** pointer.h](h=ib_query_port() returns the attributes of a port through the }(hj"hhhNhNubj)}(h **port_attr**h]h port_attr}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh pointer.}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM[hj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!ib_device_set_netdev (C function)c.ib_device_set_netdevhNtauh1jhhhhhNhNubj)}(hhh](j)}(hVint ib_device_set_netdev (struct ib_device *ib_dev, struct net_device *ndev, u32 port)h]j")}(hUint ib_device_set_netdev(struct ib_device *ib_dev, struct net_device *ndev, u32 port)h](j)}(hinth]hint}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj_hhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMubj:)}(h h]h }(hjrhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj_hhhjqhMubj)}(hib_device_set_netdevh]jN)}(hib_device_set_netdevh]hib_device_set_netdev}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhj_hhhjqhMubj)}(h=(struct ib_device *ib_dev, struct net_device *ndev, u32 port)h](j)}(hstruct ib_device *ib_devh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjsbc.ib_device_set_netdevasbuh1hhjubj:)}(h h]h }(hjދhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hib_devh]hib_dev}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct net_device *ndevh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h net_deviceh]h net_device}(hj0hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj-ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj2modnameN classnameNjkjn)}jq]jڋc.ib_device_set_netdevasbuh1hhjubj:)}(h h]h }(hjNhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hndevh]hndev}(hjihhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hu32 porth](h)}(hhh]jN)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jڋc.ib_device_set_netdevasbuh1hhj~ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj~ubjN)}(hporth]hport}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj~ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhj_hhhjqhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj[hhhjqhMubah}(h]jVah ](jjeh"]h$]h&]jj)jhuh1jhjqhMhjXhhubj)}(hhh]h)}(h2Associate the ib_dev with an underlying net_deviceh]h2Associate the ib_dev with an underlying net_device}(hjیhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhj،hhubah}(h]h ]h"]h$]h&]uh1jhjXhhhjqhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hXS**Parameters** ``struct ib_device *ib_dev`` Device to modify ``struct net_device *ndev`` net_device to affiliate, may be NULL ``u32 port`` IB port the net_device is connected to **Description** Drivers should use this to link the ib_device to a netdev so the netdev shows up in interfaces like ib_enum_roce_netdev. Only one netdev may be affiliated with any port. The caller must ensure that the given ndev is not unregistered or unregistering, and that either the ib_device is unregistered or ib_device_set_netdev() is called with NULL when the ndev sends a NETDEV_UNREGISTER event.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubj)}(hhh](j)}(h.``struct ib_device *ib_dev`` Device to modify h](j)}(h``struct ib_device *ib_dev``h]j )}(hjh]hstruct ib_device *ib_dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubj)}(hhh]h)}(hDevice to modifyh]hDevice to modify}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(hA``struct net_device *ndev`` net_device to affiliate, may be NULL h](j)}(h``struct net_device *ndev``h]j )}(hjUh]hstruct net_device *ndev}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjOubj)}(hhh]h)}(h$net_device to affiliate, may be NULLh]h$net_device to affiliate, may be NULL}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjubj)}(h4``u32 port`` IB port the net_device is connected to h](j)}(h ``u32 port``h]j )}(hjh]hu32 port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubj)}(hhh]h)}(h&IB port the net_device is connected toh]h&IB port the net_device is connected to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjɍh]h Description}(hjˍhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǍubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubh)}(hDrivers should use this to link the ib_device to a netdev so the netdev shows up in interfaces like ib_enum_roce_netdev. Only one netdev may be affiliated with any port.h]hDrivers should use this to link the ib_device to a netdev so the netdev shows up in interfaces like ib_enum_roce_netdev. Only one netdev may be affiliated with any port.}(hjߍhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubh)}(hThe caller must ensure that the given ndev is not unregistered or unregistering, and that either the ib_device is unregistered or ib_device_set_netdev() is called with NULL when the ndev sends a NETDEV_UNREGISTER event.h]hThe caller must ensure that the given ndev is not unregistered or unregistering, and that either the ib_device is unregistered or ib_device_set_netdev() is called with NULL when the ndev sends a NETDEV_UNREGISTER event.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!ib_query_netdev_port (C function)c.ib_query_netdev_porthNtauh1jhhhhhNhNubj)}(hhh](j)}(hVint ib_query_netdev_port (struct ib_device *ibdev, struct net_device *ndev, u32 *port)h]j")}(hUint ib_query_netdev_port(struct ib_device *ibdev, struct net_device *ndev, u32 *port)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM ubj:)}(h h]h }(hj,hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhj+hM ubj)}(hib_query_netdev_porth]jN)}(hib_query_netdev_porth]hib_query_netdev_port}(hj>hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj:ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhj+hM ubj)}(h=(struct ib_device *ibdev, struct net_device *ndev, u32 *port)h](j)}(hstruct ib_device *ibdevh](j()}(hj+h]hstruct}(hjZhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjVubj:)}(h h]h }(hjghhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjVubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjxhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjuubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjzmodnameN classnameNjkjn)}jq]jt)}jgj@sbc.ib_query_netdev_portasbuh1hhjVubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjVubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubjN)}(hibdevh]hibdev}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjVubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjRubj)}(hstruct net_device *ndevh](j()}(hj+h]hstruct}(hj̎hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjȎubj:)}(h h]h }(hjَhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjȎubh)}(hhh]jN)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_query_netdev_portasbuh1hhjȎubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjȎubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjȎubjN)}(hndevh]hndev}(hj#hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjȎubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjRubj)}(h u32 *porth](h)}(hhh]jN)}(hu32h]hu32}(hj?hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj<ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjAmodnameN classnameNjkjn)}jq]jc.ib_query_netdev_portasbuh1hhj8ubj:)}(h h]h }(hj]hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8ubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubjN)}(hporth]hport}(hjxhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjRubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhj+hM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhj+hM ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhj+hM hjhhubj)}(hhh]h)}(h>Query the port number of a net_device associated with an ibdevh]h>Query the port number of a net_device associated with an ibdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj+hM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct ib_device *ibdev`` IB device ``struct net_device *ndev`` Network device ``u32 *port`` IB port the net_device is connected toh](h)}(h**Parameters**h]j)}(hjďh]h Parameters}(hjƏhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjubj)}(hhh](j)}(h&``struct ib_device *ibdev`` IB device h](j)}(h``struct ib_device *ibdev``h]j )}(hjh]hstruct ib_device *ibdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjݏubj)}(hhh]h)}(h IB deviceh]h IB device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjݏubeh}(h]h ]h"]h$]h&]uh1jhjhM hjڏubj)}(h+``struct net_device *ndev`` Network device h](j)}(h``struct net_device *ndev``h]j )}(hjh]hstruct net_device *ndev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjubj)}(hhh]h)}(hNetwork deviceh]hNetwork device}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hM hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM hjڏubj)}(h4``u32 *port`` IB port the net_device is connected toh](j)}(h ``u32 *port``h]j )}(hjUh]h u32 *port}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjOubj)}(hhh]h)}(h&IB port the net_device is connected toh]h&IB port the net_device is connected to}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM hjڏubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j$ib_device_get_by_netdev (C function)c.ib_device_get_by_netdevhNtauh1jhhhhhNhNubj)}(hhh](j)}(hcstruct ib_device * ib_device_get_by_netdev (struct net_device *ndev, enum rdma_driver_id driver_id)h]j")}(hastruct ib_device *ib_device_get_by_netdev(struct net_device *ndev, enum rdma_driver_id driver_id)h](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhM ubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjΐhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjːubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjАmodnameN classnameNjkjn)}jq]jt)}jgib_device_get_by_netdevsbc.ib_device_get_by_netdevasbuh1hhjhhhjhM ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhM ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM ubj)}(hib_device_get_by_netdevh]jN)}(hjh]hib_device_get_by_netdev}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhM ubj)}(h8(struct net_device *ndev, enum rdma_driver_id driver_id)h](j)}(hstruct net_device *ndevh](j()}(hj+h]hstruct}(hj)hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj%ubj:)}(h h]h }(hj6hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj%ubh)}(hhh]jN)}(h net_deviceh]h net_device}(hjGhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjDubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjImodnameN classnameNjkjn)}jq]jc.ib_device_get_by_netdevasbuh1hhj%ubj:)}(h h]h }(hjehhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj%ubj)}(hjh]h*}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubjN)}(hndevh]hndev}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj%ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj!ubj)}(henum rdma_driver_id driver_idh](j()}(hj%h]henum}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hrdma_driver_idh]hrdma_driver_id}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_device_get_by_netdevasbuh1hhjubj:)}(h h]h }(hjՑhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h driver_idh]h driver_id}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj!ubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhM ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhM hjhhubj)}(hhh]h)}(h*Find an IB device associated with a netdevh]h*Find an IB device associated with a netdev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hj hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj%jj%jjjuh1jhhhhhNhNubj)}(hXK**Parameters** ``struct net_device *ndev`` netdev to locate ``enum rdma_driver_id driver_id`` The driver ID that must match (RDMA_DRIVER_UNKNOWN matches all) **Description** Find and hold an ib_device that is associated with a netdev via ib_device_set_netdev(). The caller must call ib_device_put() on the returned pointer.h](h)}(h**Parameters**h]j)}(hj/h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM# hj)ubj)}(hhh](j)}(h-``struct net_device *ndev`` netdev to locate h](j)}(h``struct net_device *ndev``h]j )}(hjNh]hstruct net_device *ndev}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjHubj)}(hhh]h)}(hnetdev to locateh]hnetdev to locate}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchM hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM hjEubj)}(hb``enum rdma_driver_id driver_id`` The driver ID that must match (RDMA_DRIVER_UNKNOWN matches all) h](j)}(h!``enum rdma_driver_id driver_id``h]j )}(hjh]henum rdma_driver_id driver_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM! hjubj)}(hhh]h)}(h?The driver ID that must match (RDMA_DRIVER_UNKNOWN matches all)h]h?The driver ID that must match (RDMA_DRIVER_UNKNOWN matches all)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM! hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM! hjEubeh}(h]h ]h"]h$]h&]uh1jhj)ubh)}(h**Description**h]j)}(hj’h]h Description}(hjĒhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM# hj)ubh)}(hFind and hold an ib_device that is associated with a netdev via ib_device_set_netdev(). The caller must call ib_device_put() on the returned pointer.h]hFind and hold an ib_device that is associated with a netdev via ib_device_set_netdev(). The caller must call ib_device_put() on the returned pointer.}(hjؒhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM" hj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_query_pkey (C function)c.ib_query_pkeyhNtauh1jhhhhhNhNubj)}(hhh](j)}(hPint ib_query_pkey (struct ib_device *device, u32 port_num, u16 index, u16 *pkey)h]j")}(hOint ib_query_pkey(struct ib_device *device, u32 port_num, u16 index, u16 *pkey)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhM ubj)}(h ib_query_pkeyh]jN)}(h ib_query_pkeyh]h ib_query_pkey}(hj(hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj$ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhM ubj)}(h>(struct ib_device *device, u32 port_num, u16 index, u16 *pkey)h](j)}(hstruct ib_device *deviceh](j()}(hj+h]hstruct}(hjDhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj@ubj:)}(h h]h }(hjQhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj@ubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjbhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj_ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjdmodnameN classnameNjkjn)}jq]jt)}jgj*sbc.ib_query_pkeyasbuh1hhj@ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj@ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubjN)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj@ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj<ubj)}(h u32 port_numh](h)}(hhh]jN)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j~c.ib_query_pkeyasbuh1hhjubj:)}(h h]h }(hjדhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hport_numh]hport_num}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj<ubj)}(h u16 indexh](h)}(hhh]jN)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j~c.ib_query_pkeyasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hindexh]hindex}(hj-hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj<ubj)}(h u16 *pkeyh](h)}(hhh]jN)}(hu16h]hu16}(hjIhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjFubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjKmodnameN classnameNjkjn)}jq]j~c.ib_query_pkeyasbuh1hhjBubj:)}(h h]h }(hjghhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjBubj)}(hjh]h*}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubjN)}(hpkeyh]hpkey}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjBubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj<ubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhM ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhM hjhhubj)}(hhh]h)}(hGet P_Key table entryh]hGet P_Key table entry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjĔjjĔjjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct ib_device *device`` Device to query ``u32 port_num`` Port number to query ``u16 index`` P_Key table index to query ``u16 *pkey`` Returned P_Key **Description** ib_query_pkey() fetches the specified P_Key table entry.h](h)}(h**Parameters**h]j)}(hjΔh]h Parameters}(hjДhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̔ubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjȔubj)}(hhh](j)}(h-``struct ib_device *device`` Device to query h](j)}(h``struct ib_device *device``h]j )}(hjh]hstruct ib_device *device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjubj)}(hhh]h)}(hDevice to queryh]hDevice to query}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h&``u32 port_num`` Port number to query h](j)}(h``u32 port_num``h]j )}(hj&h]h u32 port_num}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hj ubj)}(hhh]h)}(hPort number to queryh]hPort number to query}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hM hj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hM hjubj)}(h)``u16 index`` P_Key table index to query h](j)}(h ``u16 index``h]j )}(hj_h]h u16 index}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjYubj)}(hhh]h)}(hP_Key table index to queryh]hP_Key table index to query}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthM hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthM hjubj)}(h``u16 *pkey`` Returned P_Key h](j)}(h ``u16 *pkey``h]j )}(hjh]h u16 *pkey}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjubj)}(hhh]h)}(hReturned P_Keyh]hReturned P_Key}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjȔubh)}(h**Description**h]j)}(hjӕh]h Description}(hjՕhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѕubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjȔubh)}(h8ib_query_pkey() fetches the specified P_Key table entry.h]h8ib_query_pkey() fetches the specified P_Key table entry.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjȔubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_modify_device (C function)c.ib_modify_devicehNtauh1jhhhhhNhNubj)}(hhh](j)}(hoint ib_modify_device (struct ib_device *device, int device_modify_mask, struct ib_device_modify *device_modify)h]j")}(hnint ib_modify_device(struct ib_device *device, int device_modify_mask, struct ib_device_modify *device_modify)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM ubj:)}(h h]h }(hj'hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhj&hM ubj)}(hib_modify_deviceh]jN)}(hib_modify_deviceh]hib_modify_device}(hj9hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj5ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhj&hM ubj)}(hZ(struct ib_device *device, int device_modify_mask, struct ib_device_modify *device_modify)h](j)}(hstruct ib_device *deviceh](j()}(hj+h]hstruct}(hjUhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjQubj:)}(h h]h }(hjbhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjQubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjshhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjpubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjumodnameN classnameNjkjn)}jq]jt)}jgj;sbc.ib_modify_deviceasbuh1hhjQubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjQubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubjN)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjQubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjMubj)}(hint device_modify_maskh](j)}(hinth]hint}(hjǖhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjÖubj:)}(h h]h }(hjՖhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjÖubjN)}(hdevice_modify_maskh]hdevice_modify_mask}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjÖubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjMubj)}(h&struct ib_device_modify *device_modifyh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_device_modifyh]hib_device_modify}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_modify_deviceasbuh1hhjubj:)}(h h]h }(hj8hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(h device_modifyh]h device_modify}(hjShhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjMubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhj&hM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhj&hM ubah}(h]j ah ](jjeh"]h$]h&]jj)jhuh1jhj&hM hj hhubj)}(hhh]h)}(hChange IB device attributesh]hChange IB device attributes}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjzhhubah}(h]h ]h"]h$]h&]uh1jhj hhhj&hM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hXL**Parameters** ``struct ib_device *device`` Device to modify ``int device_modify_mask`` Mask of attributes to change ``struct ib_device_modify *device_modify`` New attribute values **Description** ib_modify_device() changes a device's attributes as specified by the **device_modify_mask** and **device_modify** structure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjubj)}(hhh](j)}(h.``struct ib_device *device`` Device to modify h](j)}(h``struct ib_device *device``h]j )}(hjh]hstruct ib_device *device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjubj)}(hhh]h)}(hDevice to modifyh]hDevice to modify}(hjחhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjӗhM hjԗubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӗhM hjubj)}(h8``int device_modify_mask`` Mask of attributes to change h](j)}(h``int device_modify_mask``h]j )}(hjh]hint device_modify_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjubj)}(hhh]h)}(hMask of attributes to changeh]hMask of attributes to change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(h@``struct ib_device_modify *device_modify`` New attribute values h](j)}(h*``struct ib_device_modify *device_modify``h]j )}(hj0h]h&struct ib_device_modify *device_modify}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hj*ubj)}(hhh]h)}(hNew attribute valuesh]hNew attribute values}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhM hjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjkh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjubh)}(h|ib_modify_device() changes a device's attributes as specified by the **device_modify_mask** and **device_modify** structure.h](hGib_modify_device() changes a device’s attributes as specified by the }(hjhhhNhNubj)}(h**device_modify_mask**h]hdevice_modify_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**device_modify**h]h device_modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh structure.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_modify_port (C function)c.ib_modify_porthNtauh1jhhhhhNhNubj)}(hhh](j)}(huint ib_modify_port (struct ib_device *device, u32 port_num, int port_modify_mask, struct ib_port_modify *port_modify)h]j")}(htint ib_modify_port(struct ib_device *device, u32 port_num, int port_modify_mask, struct ib_port_modify *port_modify)h](j)}(hinth]hint}(hjԘhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjИhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjИhhhjhM ubj)}(hib_modify_porth]jN)}(hib_modify_porth]hib_modify_port}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjИhhhjhM ubj)}(hb(struct ib_device *device, u32 port_num, int port_modify_mask, struct ib_port_modify *port_modify)h](j)}(hstruct ib_device *deviceh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hj/hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj,ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj1modnameN classnameNjkjn)}jq]jt)}jgjsbc.ib_modify_portasbuh1hhj ubj:)}(h h]h }(hjOhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubj)}(hjh]h*}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjN)}(hdeviceh]hdevice}(hjjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubj)}(h u32 port_numh](h)}(hhh]jN)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jKc.ib_modify_portasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hport_numh]hport_num}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubj)}(hint port_modify_maskh](j)}(hinth]hint}(hj˙hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjǙubj:)}(h h]h }(hjٙhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjǙubjN)}(hport_modify_maskh]hport_modify_mask}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjǙubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubj)}(h"struct ib_port_modify *port_modifyh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_port_modifyh]hib_port_modify}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj modnameN classnameNjkjn)}jq]jKc.ib_modify_portasbuh1hhjubj:)}(h h]h }(hj<hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(h port_modifyh]h port_modify}(hjWhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubeh}(h]h ]h"]h$]h&]jjuh1jhjИhhhjhM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj̘hhhjhM ubah}(h]jǘah ](jjeh"]h$]h&]jj)jhuh1jhjhM hjɘhhubj)}(hhh]h)}(h/Modifies the attributes for the specified port.h]h/Modifies the attributes for the specified port.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hj~hhubah}(h]h ]h"]h$]h&]uh1jhjɘhhhjhM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_device *device`` The device to modify. ``u32 port_num`` The number of the port to modify. ``int port_modify_mask`` Mask used to specify which attributes of the port to change. ``struct ib_port_modify *port_modify`` New attribute values for the port. **Description** ib_modify_port() changes a port's attributes as specified by the **port_modify_mask** and **port_modify** structure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjubj)}(hhh](j)}(h3``struct ib_device *device`` The device to modify. h](j)}(h``struct ib_device *device``h]j )}(hjšh]hstruct ib_device *device}(hjĚhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjubj)}(hhh]h)}(hThe device to modify.h]hThe device to modify.}(hjۚhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjךhM hjؚubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjךhM hjubj)}(h3``u32 port_num`` The number of the port to modify. h](j)}(h``u32 port_num``h]j )}(hjh]h u32 port_num}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hjubj)}(hhh]h)}(h!The number of the port to modify.h]h!The number of the port to modify.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hV``int port_modify_mask`` Mask used to specify which attributes of the port to change. h](j)}(h``int port_modify_mask``h]j )}(hj4h]hint port_modify_mask}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM hj.ubj)}(hhh]h)}(h(struct ib_device *device, u32 port_num, u16 pkey, u16 *index)h](j)}(hstruct ib_device *deviceh](j()}(hj+h]hstruct}(hjohhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjkubj:)}(h h]h }(hj|hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjkubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjUsbc.ib_find_pkeyasbuh1hhjkubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjkubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubjN)}(hdeviceh]hdevice}(hjȟhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjkubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjgubj)}(h u32 port_numh](h)}(hhh]jN)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_find_pkeyasbuh1hhjݟubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjݟubjN)}(hport_numh]hport_num}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjݟubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjgubj)}(hu16 pkeyh](h)}(hhh]jN)}(hu16h]hu16}(hj,hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj)ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj.modnameN classnameNjkjn)}jq]jc.ib_find_pkeyasbuh1hhj%ubj:)}(h h]h }(hjJhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj%ubjN)}(hpkeyh]hpkey}(hjXhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj%ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjgubj)}(h u16 *indexh](h)}(hhh]jN)}(hu16h]hu16}(hjthhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjqubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjvmodnameN classnameNjkjn)}jq]jc.ib_find_pkeyasbuh1hhjmubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjmubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubjN)}(hindexh]hindex}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjmubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjgubeh}(h]h ]h"]h$]h&]jjuh1jhj.hhhj@hM& ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj*hhhj@hM& ubah}(h]j%ah ](jjeh"]h$]h&]jj)jhuh1jhj@hM& hj'hhubj)}(hhh]h)}(hAReturns the PKey table index where a specified PKey value occurs.h]hAReturns the PKey table index where a specified PKey value occurs.}(hjנhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM& hjԠhhubah}(h]h ]h"]h$]h&]uh1jhj'hhhj@hM& ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_device *device`` The device to query. ``u32 port_num`` The port number of the device to search for the PKey. ``u16 pkey`` The PKey value to search for. ``u16 *index`` The index into the PKey table where the PKey was found.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM* hjubj)}(hhh](j)}(h2``struct ib_device *device`` The device to query. h](j)}(h``struct ib_device *device``h]j )}(hjh]hstruct ib_device *device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM( hjubj)}(hhh]h)}(hThe device to query.h]hThe device to query.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hM( hj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hM( hjubj)}(hG``u32 port_num`` The port number of the device to search for the PKey. h](j)}(h``u32 port_num``h]j )}(hjQh]h u32 port_num}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM) hjKubj)}(hhh]h)}(h5The port number of the device to search for the PKey.h]h5The port number of the device to search for the PKey.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhM) hjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhM) hjubj)}(h+``u16 pkey`` The PKey value to search for. h](j)}(h ``u16 pkey``h]j )}(hjh]hu16 pkey}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM* hjubj)}(hhh]h)}(hThe PKey value to search for.h]hThe PKey value to search for.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM* hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM* hjubj)}(hF``u16 *index`` The index into the PKey table where the PKey was found.h](j)}(h``u16 *index``h]j )}(hjáh]h u16 *index}(hjšhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM, hjubj)}(hhh]h)}(h7The index into the PKey table where the PKey was found.h]h7The index into the PKey table where the PKey was found.}(hjܡhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chM+ hj١ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjءhM, hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j%ib_get_net_dev_by_params (C function)c.ib_get_net_dev_by_paramshNtauh1jhhhhhNhNubj)}(hhh](j)}(hstruct net_device * ib_get_net_dev_by_params (struct ib_device *dev, u32 port, u16 pkey, const union ib_gid *gid, const struct sockaddr *addr)h]j")}(hstruct net_device *ib_get_net_dev_by_params(struct ib_device *dev, u32 port, u16 pkey, const union ib_gid *gid, const struct sockaddr *addr)h](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMN ubj:)}(h h]h }(hj+hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhj*hMN ubh)}(hhh]jN)}(h net_deviceh]h net_device}(hj<hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj9ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj>modnameN classnameNjkjn)}jq]jt)}jgib_get_net_dev_by_paramssbc.ib_get_net_dev_by_paramsasbuh1hhjhhhj*hMN ubj:)}(h h]h }(hj]hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhj*hMN ubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj*hMN ubj)}(hib_get_net_dev_by_paramsh]jN)}(hjZh]hib_get_net_dev_by_params}(hj|hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjxubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhj*hMN ubj)}(ha(struct ib_device *dev, u32 port, u16 pkey, const union ib_gid *gid, const struct sockaddr *addr)h](j)}(hstruct ib_device *devh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jXc.ib_get_net_dev_by_paramsasbuh1hhjubj:)}(h h]h }(hjӢhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hu32 porth](h)}(hhh]jN)}(hu32h]hu32}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj modnameN classnameNjkjn)}jq]jXc.ib_get_net_dev_by_paramsasbuh1hhjubj:)}(h h]h }(hj(hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hporth]hport}(hj6hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hu16 pkeyh](h)}(hhh]jN)}(hu16h]hu16}(hjRhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjOubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjTmodnameN classnameNjkjn)}jq]jXc.ib_get_net_dev_by_paramsasbuh1hhjKubj:)}(h h]h }(hjphhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjKubjN)}(hpkeyh]hpkey}(hj~hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjKubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hconst union ib_gid *gidh](j()}(hjh]hconst}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj()}(hjÜh]hunion}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_gidh]hib_gid}(hjУhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjͣubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjңmodnameN classnameNjkjn)}jq]jXc.ib_get_net_dev_by_paramsasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hgidh]hgid}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hconst struct sockaddr *addrh](j()}(hjh]hconst}(hj"hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj/hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj()}(hj+h]hstruct}(hj=hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjJhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hsockaddrh]hsockaddr}(hj[hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjXubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj]modnameN classnameNjkjn)}jq]jXc.ib_get_net_dev_by_paramsasbuh1hhjubj:)}(h h]h }(hjyhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhj*hMN ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhj*hMN ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhj*hMN hjhhubj)}(hhh]h)}(h8Return the appropriate net_dev for a received CM requesth]h8Return the appropriate net_dev for a received CM request}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMN hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj*hMN ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj֤jj֤jjjuh1jhhhhhNhNubj)}(hXw**Parameters** ``struct ib_device *dev`` An RDMA device on which the request has been received. ``u32 port`` Port number on the RDMA device. ``u16 pkey`` The Pkey the request came on. ``const union ib_gid *gid`` A GID that the net_dev uses to communicate. ``const struct sockaddr *addr`` Contains the IP address that the request specified as its destination.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޤubah}(h]h ]h"]h$]h&]uh1hhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMR hjڤubj)}(hhh](j)}(hQ``struct ib_device *dev`` An RDMA device on which the request has been received. h](j)}(h``struct ib_device *dev``h]j )}(hjh]hstruct ib_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMP hjubj)}(hhh]h)}(h6An RDMA device on which the request has been received.h]h6An RDMA device on which the request has been received.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMP hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMP hjubj)}(h-``u32 port`` Port number on the RDMA device. h](j)}(h ``u32 port``h]j )}(hj8h]hu32 port}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMQ hj2ubj)}(hhh]h)}(hPort number on the RDMA device.h]hPort number on the RDMA device.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMQ hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMQ hjubj)}(h+``u16 pkey`` The Pkey the request came on. h](j)}(h ``u16 pkey``h]j )}(hjqh]hu16 pkey}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMR hjkubj)}(hhh]h)}(hThe Pkey the request came on.h]hThe Pkey the request came on.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMR hjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMR hjubj)}(hH``const union ib_gid *gid`` A GID that the net_dev uses to communicate. h](j)}(h``const union ib_gid *gid``h]j )}(hjh]hconst union ib_gid *gid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMS hjubj)}(hhh]h)}(h+A GID that the net_dev uses to communicate.h]h+A GID that the net_dev uses to communicate.}(hjåhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMS hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMS hjubj)}(hf``const struct sockaddr *addr`` Contains the IP address that the request specified as its destination.h](j)}(h``const struct sockaddr *addr``h]j )}(hjh]hconst struct sockaddr *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhf/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:25: ./drivers/infiniband/core/device.chMT hjݥubj)}(hhh]h)}(hFContains the IP address that the request specified as its destination.h]hFContains the IP address that the request specified as its destination.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMT hjubah}(h]h ]h"]h$]h&]uh1jhjݥubeh}(h]h ]h"]h$]h&]uh1jhjhMT hjubeh}(h]h ]h"]h$]h&]uh1jhjڤubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j__ib_alloc_pd (C function)c.__ib_alloc_pdhNtauh1jhhhhhNhNubj)}(hhh](j)}(h_struct ib_pd * __ib_alloc_pd (struct ib_device *device, unsigned int flags, const char *caller)h]j")}(h]struct ib_pd *__ib_alloc_pd(struct ib_device *device, unsigned int flags, const char *caller)h](j()}(hj+h]hstruct}(hj<hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj8hhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM3ubj:)}(h h]h }(hjJhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8hhhjIhM3ubh)}(hhh]jN)}(hib_pdh]hib_pd}(hj[hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjXubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj]modnameN classnameNjkjn)}jq]jt)}jg __ib_alloc_pdsbc.__ib_alloc_pdasbuh1hhj8hhhjIhM3ubj:)}(h h]h }(hj|hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8hhhjIhM3ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhjIhM3ubj)}(h __ib_alloc_pdh]jN)}(hjyh]h __ib_alloc_pd}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhj8hhhjIhM3ubj)}(hB(struct ib_device *device, unsigned int flags, const char *caller)h](j)}(hstruct ib_device *deviceh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjæhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjԦhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjѦubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj֦modnameN classnameNjkjn)}jq]jwc.__ib_alloc_pdasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hdeviceh]hdevice}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj"ubj:)}(h h]h }(hj4hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj"ubj)}(hinth]hint}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj"ubj:)}(h h]h }(hjPhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj"ubjN)}(hflagsh]hflags}(hj^hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj"ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hconst char *callerh](j()}(hjh]hconst}(hjwhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjsubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjsubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjsubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjsubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubjN)}(hcallerh]hcaller}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjsubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhj8hhhjIhM3ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj4hhhjIhM3ubah}(h]j/ah ](jjeh"]h$]h&]jj)jhuh1jhjIhM3hj1hhubj)}(hhh]h)}(h&Allocates an unused protection domain.h]h&Allocates an unused protection domain.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM3hjhhubah}(h]h ]h"]h$]h&]uh1jhj1hhhjIhM3ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_device *device`` The device on which to allocate the protection domain. ``unsigned int flags`` protection domain flags ``const char *caller`` caller's build-time module name **Description** A protection domain object provides an association between QPs, shared receive queues, address handles, memory regions, and memory windows. Every PD has a local_dma_lkey which can be used as the lkey value for local memory operations.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM7hjubj)}(hhh](j)}(hT``struct ib_device *device`` The device on which to allocate the protection domain. h](j)}(h``struct ib_device *device``h]j )}(hj&h]hstruct ib_device *device}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM4hj ubj)}(hhh]h)}(h6The device on which to allocate the protection domain.h]h6The device on which to allocate the protection domain.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hM4hj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hM4hjubj)}(h/``unsigned int flags`` protection domain flags h](j)}(h``unsigned int flags``h]j )}(hj_h]hunsigned int flags}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM5hjYubj)}(hhh]h)}(hprotection domain flagsh]hprotection domain flags}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthM5hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthM5hjubj)}(h7``const char *caller`` caller's build-time module name h](j)}(h``const char *caller``h]j )}(hjh]hconst char *caller}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM6hjubj)}(hhh]h)}(hcaller's build-time module nameh]h!caller’s build-time module name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjӨh]h Description}(hjըhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѨubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM8hjubh)}(hA protection domain object provides an association between QPs, shared receive queues, address handles, memory regions, and memory windows.h]hA protection domain object provides an association between QPs, shared receive queues, address handles, memory regions, and memory windows.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM7hjubh)}(h^Every PD has a local_dma_lkey which can be used as the lkey value for local memory operations.h]h^Every PD has a local_dma_lkey which can be used as the lkey value for local memory operations.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM:hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_dealloc_pd_user (C function)c.ib_dealloc_pd_userhNtauh1jhhhhhNhNubj)}(hhh](j)}(hAint ib_dealloc_pd_user (struct ib_pd *pd, struct ib_udata *udata)h]j")}(h@int ib_dealloc_pd_user(struct ib_pd *pd, struct ib_udata *udata)h](j)}(hinth]hint}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj#hhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM~ubj:)}(h h]h }(hj6hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj#hhhj5hM~ubj)}(hib_dealloc_pd_userh]jN)}(hib_dealloc_pd_userh]hib_dealloc_pd_user}(hjHhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjDubah}(h]h ](jjeh"]h$]h&]jjuh1jhj#hhhj5hM~ubj)}(h*(struct ib_pd *pd, struct ib_udata *udata)h](j)}(hstruct ib_pd *pdh](j()}(hj+h]hstruct}(hjdhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj`ubj:)}(h h]h }(hjqhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj`ubh)}(hhh]jN)}(hib_pdh]hib_pd}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjJsbc.ib_dealloc_pd_userasbuh1hhj`ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj`ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubjN)}(hpdh]hpd}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj`ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj\ubj)}(hstruct ib_udata *udatah](j()}(hj+h]hstruct}(hj֩hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjҩubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjҩubh)}(hhh]jN)}(hib_udatah]hib_udata}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_dealloc_pd_userasbuh1hhjҩubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjҩubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjҩubjN)}(hudatah]hudata}(hj-hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjҩubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj\ubeh}(h]h ]h"]h$]h&]jjuh1jhj#hhhj5hM~ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhj5hM~ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhj5hM~hjhhubj)}(hhh]h)}(h Deallocates a protection domain.h]h Deallocates a protection domain.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM~hjThhubah}(h]h ]h"]h$]h&]uh1jhjhhhj5hM~ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjojjojjjuh1jhhhhhNhNubj)}(hX\**Parameters** ``struct ib_pd *pd`` The protection domain to deallocate. ``struct ib_udata *udata`` Valid user data or NULL for kernel object **Description** It is an error to call this function while any resources in the pd still exist. The caller is responsible to synchronously destroy them and guarantee no new allocations will happen.h](h)}(h**Parameters**h]j)}(hjyh]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjsubj)}(hhh](j)}(h:``struct ib_pd *pd`` The protection domain to deallocate. h](j)}(h``struct ib_pd *pd``h]j )}(hjh]hstruct ib_pd *pd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubj)}(hhh]h)}(h$The protection domain to deallocate.h]h$The protection domain to deallocate.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hE``struct ib_udata *udata`` Valid user data or NULL for kernel object h](j)}(h``struct ib_udata *udata``h]j )}(hjѪh]hstruct ib_udata *udata}(hjӪhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϪubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhj˪ubj)}(hhh]h)}(h)Valid user data or NULL for kernel objecth]h)Valid user data or NULL for kernel object}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj˪ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjsubh)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjsubh)}(hIt is an error to call this function while any resources in the pd still exist. The caller is responsible to synchronously destroy them and guarantee no new allocations will happen.h]hIt is an error to call this function while any resources in the pd still exist. The caller is responsible to synchronously destroy them and guarantee no new allocations will happen.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrdma_copy_ah_attr (C function)c.rdma_copy_ah_attrhNtauh1jhhhhhNhNubj)}(hhh](j)}(hRvoid rdma_copy_ah_attr (struct rdma_ah_attr *dest, const struct rdma_ah_attr *src)h]j")}(hQvoid rdma_copy_ah_attr(struct rdma_ah_attr *dest, const struct rdma_ah_attr *src)h](j)}(hvoidh]hvoid}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjMhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMubj:)}(h h]h }(hj`hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjMhhhj_hMubj)}(hrdma_copy_ah_attrh]jN)}(hrdma_copy_ah_attrh]hrdma_copy_ah_attr}(hjrhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjnubah}(h]h ](jjeh"]h$]h&]jjuh1jhjMhhhj_hMubj)}(h;(struct rdma_ah_attr *dest, const struct rdma_ah_attr *src)h](j)}(hstruct rdma_ah_attr *desth](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h rdma_ah_attrh]h rdma_ah_attr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjtsbc.rdma_copy_ah_attrasbuh1hhjubj:)}(h h]h }(hj̫hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjګhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hdesth]hdest}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hconst struct rdma_ah_attr *srch](j()}(hjh]hconst}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj(hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h rdma_ah_attrh]h rdma_ah_attr}(hj9hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj6ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj;modnameN classnameNjkjn)}jq]jȫc.rdma_copy_ah_attrasbuh1hhjubj:)}(h h]h }(hjWhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hsrch]hsrc}(hjrhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjMhhhj_hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjIhhhj_hMubah}(h]jDah ](jjeh"]h$]h&]jj)jhuh1jhj_hMhjFhhubj)}(hhh]h)}(h2Copy rdma ah attribute from source to destination.h]h2Copy rdma ah attribute from source to destination.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjFhhhj_hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct rdma_ah_attr *dest`` Pointer to destination ah_attr. Contents of the destination pointer is assumed to be invalid and attribute are overwritten. ``const struct rdma_ah_attr *src`` Pointer to source ah_attr.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubj)}(hhh](j)}(h``struct rdma_ah_attr *dest`` Pointer to destination ah_attr. Contents of the destination pointer is assumed to be invalid and attribute are overwritten. h](j)}(h``struct rdma_ah_attr *dest``h]j )}(hjݬh]hstruct rdma_ah_attr *dest}(hj߬hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj۬ubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhj׬ubj)}(hhh]h)}(h{Pointer to destination ah_attr. Contents of the destination pointer is assumed to be invalid and attribute are overwritten.h]h{Pointer to destination ah_attr. Contents of the destination pointer is assumed to be invalid and attribute are overwritten.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubah}(h]h ]h"]h$]h&]uh1jhj׬ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjԬubj)}(h=``const struct rdma_ah_attr *src`` Pointer to source ah_attr.h](j)}(h"``const struct rdma_ah_attr *src``h]j )}(hjh]hconst struct rdma_ah_attr *src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubj)}(hhh]h)}(hPointer to source ah_attr.h]hPointer to source ah_attr.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhjԬubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!rdma_replace_ah_attr (C function)c.rdma_replace_ah_attrhNtauh1jhhhhhNhNubj)}(hhh](j)}(hTvoid rdma_replace_ah_attr (struct rdma_ah_attr *old, const struct rdma_ah_attr *new)h]j")}(hSvoid rdma_replace_ah_attr(struct rdma_ah_attr *old, const struct rdma_ah_attr *new)h](j)}(hvoidh]hvoid}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjmhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjmhhhjhMubj)}(hrdma_replace_ah_attrh]jN)}(hrdma_replace_ah_attrh]hrdma_replace_ah_attr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjmhhhjhMubj)}(h:(struct rdma_ah_attr *old, const struct rdma_ah_attr *new)h](j)}(hstruct rdma_ah_attr *oldh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h rdma_ah_attrh]h rdma_ah_attr}(hj̭hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjɭubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjέmodnameN classnameNjkjn)}jq]jt)}jgjsbc.rdma_replace_ah_attrasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(holdh]hold}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hconst struct rdma_ah_attr *newh](j()}(hjh]hconst}(hj hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj-hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj()}(hj+h]hstruct}(hj;hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjHhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h rdma_ah_attrh]h rdma_ah_attr}(hjYhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjVubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj[modnameN classnameNjkjn)}jq]jc.rdma_replace_ah_attrasbuh1hhjubj:)}(h h]h }(hjwhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hnewh]hnew}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjmhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjihhhjhMubah}(h]jdah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjfhhubj)}(hhh]h)}(h#Replace valid ah_attr with new one.h]h#Replace valid ah_attr with new one.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjfhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjԮjjԮjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct rdma_ah_attr *old`` Pointer to existing ah_attr which needs to be replaced. old is assumed to be valid or zero'd ``const struct rdma_ah_attr *new`` Pointer to the new ah_attr. **Description** rdma_replace_ah_attr() first releases any reference in the old ah_attr if old the ah_attr is valid; after that it copies the new attribute and holds the reference to the replaced ah_attr.h](h)}(h**Parameters**h]j)}(hjޮh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjܮubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjخubj)}(hhh](j)}(hz``struct rdma_ah_attr *old`` Pointer to existing ah_attr which needs to be replaced. old is assumed to be valid or zero'd h](j)}(h``struct rdma_ah_attr *old``h]j )}(hjh]hstruct rdma_ah_attr *old}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubj)}(hhh]h)}(h\Pointer to existing ah_attr which needs to be replaced. old is assumed to be valid or zero'dh]h^Pointer to existing ah_attr which needs to be replaced. old is assumed to be valid or zero’d}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``const struct rdma_ah_attr *new`` Pointer to the new ah_attr. h](j)}(h"``const struct rdma_ah_attr *new``h]j )}(hj7h]hconst struct rdma_ah_attr *new}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhj1ubj)}(hhh]h)}(hPointer to the new ah_attr.h]hPointer to the new ah_attr.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubeh}(h]h ]h"]h$]h&]uh1jhjخubh)}(h**Description**h]j)}(hjrh]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjخubh)}(hrdma_replace_ah_attr() first releases any reference in the old ah_attr if old the ah_attr is valid; after that it copies the new attribute and holds the reference to the replaced ah_attr.h]hrdma_replace_ah_attr() first releases any reference in the old ah_attr if old the ah_attr is valid; after that it copies the new attribute and holds the reference to the replaced ah_attr.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjخubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrdma_move_ah_attr (C function)c.rdma_move_ah_attrhNtauh1jhhhhhNhNubj)}(hhh](j)}(hLvoid rdma_move_ah_attr (struct rdma_ah_attr *dest, struct rdma_ah_attr *src)h]j")}(hKvoid rdma_move_ah_attr(struct rdma_ah_attr *dest, struct rdma_ah_attr *src)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMubj:)}(h h]h }(hjƯhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjůhMubj)}(hrdma_move_ah_attrh]jN)}(hrdma_move_ah_attrh]hrdma_move_ah_attr}(hjدhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjԯubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjůhMubj)}(h5(struct rdma_ah_attr *dest, struct rdma_ah_attr *src)h](j)}(hstruct rdma_ah_attr *desth](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h rdma_ah_attrh]h rdma_ah_attr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjگsbc.rdma_move_ah_attrasbuh1hhjubj:)}(h h]h }(hj2hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hdesth]hdest}(hjMhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct rdma_ah_attr *srch](j()}(hj+h]hstruct}(hjfhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjbubj:)}(h h]h }(hjshhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjbubh)}(hhh]jN)}(h rdma_ah_attrh]h rdma_ah_attr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j.c.rdma_move_ah_attrasbuh1hhjbubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjbubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubjN)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjbubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjůhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjůhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjůhMhjhhubj)}(hhh]h)}(h.Move ah_attr pointed by source to destination.h]h.Move ah_attr pointed by source to destination.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjůhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct rdma_ah_attr *dest`` Pointer to destination ah_attr to copy to. dest is assumed to be valid or zero'd ``struct rdma_ah_attr *src`` Pointer to the new ah_attr. **Description** rdma_move_ah_attr() first releases any reference in the destination ah_attr if it is valid. This also transfers ownership of internal references from src to dest, making src invalid in the process. No new reference of the src ah_attr is taken.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubj)}(hhh](j)}(ho``struct rdma_ah_attr *dest`` Pointer to destination ah_attr to copy to. dest is assumed to be valid or zero'd h](j)}(h``struct rdma_ah_attr *dest``h]j )}(hj(h]hstruct rdma_ah_attr *dest}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhj"ubj)}(hhh]h)}(hPPointer to destination ah_attr to copy to. dest is assumed to be valid or zero'dh]hRPointer to destination ah_attr to copy to. dest is assumed to be valid or zero’d}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubj)}(h9``struct rdma_ah_attr *src`` Pointer to the new ah_attr. h](j)}(h``struct rdma_ah_attr *src``h]j )}(hjbh]hstruct rdma_ah_attr *src}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhj\ubj)}(hhh]h)}(hPointer to the new ah_attr.h]hPointer to the new ah_attr.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubh)}(hrdma_move_ah_attr() first releases any reference in the destination ah_attr if it is valid. This also transfers ownership of internal references from src to dest, making src invalid in the process. No new reference of the src ah_attr is taken.h]hrdma_move_ah_attr() first releases any reference in the destination ah_attr if it is valid. This also transfers ownership of internal references from src to dest, making src invalid in the process. No new reference of the src ah_attr is taken.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrdma_create_ah (C function)c.rdma_create_ahhNtauh1jhhhhhNhNubj)}(hhh](j)}(hYstruct ib_ah * rdma_create_ah (struct ib_pd *pd, struct rdma_ah_attr *ah_attr, u32 flags)h]j")}(hWstruct ib_ah *rdma_create_ah(struct ib_pd *pd, struct rdma_ah_attr *ah_attr, u32 flags)h](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjޱhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM]ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjޱhhhjhM]ubh)}(hhh]jN)}(hib_ahh]hib_ah}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgrdma_create_ahsbc.rdma_create_ahasbuh1hhjޱhhhjhM]ubj:)}(h h]h }(hj"hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjޱhhhjhM]ubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjޱhhhjhM]ubj)}(hrdma_create_ahh]jN)}(hjh]hrdma_create_ah}(hjAhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj=ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjޱhhhjhM]ubj)}(h;(struct ib_pd *pd, struct rdma_ah_attr *ah_attr, u32 flags)h](j)}(hstruct ib_pd *pdh](j()}(hj+h]hstruct}(hj\hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjXubj:)}(h h]h }(hjihhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjXubh)}(hhh]jN)}(hib_pdh]hib_pd}(hjzhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjwubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj|modnameN classnameNjkjn)}jq]jc.rdma_create_ahasbuh1hhjXubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjXubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubjN)}(hpdh]hpd}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjXubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjTubj)}(hstruct rdma_ah_attr *ah_attrh](j()}(hj+h]hstruct}(hj̲hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjȲubj:)}(h h]h }(hjٲhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjȲubh)}(hhh]jN)}(h rdma_ah_attrh]h rdma_ah_attr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.rdma_create_ahasbuh1hhjȲubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjȲubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjȲubjN)}(hah_attrh]hah_attr}(hj#hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjȲubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjTubj)}(h u32 flagsh](h)}(hhh]jN)}(hu32h]hu32}(hj?hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj<ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjAmodnameN classnameNjkjn)}jq]jc.rdma_create_ahasbuh1hhj8ubj:)}(h h]h }(hj]hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8ubjN)}(hflagsh]hflags}(hjkhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjTubeh}(h]h ]h"]h$]h&]jjuh1jhjޱhhhjhM]ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjڱhhhjhM]ubah}(h]jձah ](jjeh"]h$]h&]jj)jhuh1jhjhM]hjױhhubj)}(hhh]h)}(h7Creates an address handle for the given address vector.h]h7Creates an address handle for the given address vector.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM]hjhhubah}(h]h ]h"]h$]h&]uh1jhjױhhhjhM]ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_pd *pd`` The protection domain associated with the address handle. ``struct rdma_ah_attr *ah_attr`` The attributes of the address vector. ``u32 flags`` Create address handle flags (see enum rdma_create_ah_flags). **Description** It returns 0 on success and returns appropriate error code on error. The address handle is used to reference a local or global destination in all UD QP post sends.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMahjubj)}(hhh](j)}(hO``struct ib_pd *pd`` The protection domain associated with the address handle. h](j)}(h``struct ib_pd *pd``h]j )}(hjֳh]hstruct ib_pd *pd}(hjسhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԳubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM_hjгubj)}(hhh]h)}(h9The protection domain associated with the address handle.h]h9The protection domain associated with the address handle.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM_hjubah}(h]h ]h"]h$]h&]uh1jhjгubeh}(h]h ]h"]h$]h&]uh1jhjhM_hjͳubj)}(hG``struct rdma_ah_attr *ah_attr`` The attributes of the address vector. h](j)}(h ``struct rdma_ah_attr *ah_attr``h]j )}(hjh]hstruct rdma_ah_attr *ah_attr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM`hj ubj)}(hhh]h)}(h%The attributes of the address vector.h]h%The attributes of the address vector.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hM`hj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hM`hjͳubj)}(hK``u32 flags`` Create address handle flags (see enum rdma_create_ah_flags). h](j)}(h ``u32 flags``h]j )}(hjHh]h u32 flags}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMahjBubj)}(hhh]h)}(hubj:)}(h h]h }(hjOhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj>ubh)}(hhh]jN)}(hib_pdh]hib_pd}(hj`hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj]ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjbmodnameN classnameNjkjn)}jq]jc.rdma_create_user_ahasbuh1hhj>ubj:)}(h h]h }(hj~hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj>ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubjN)}(hpdh]hpd}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj>ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj:ubj)}(hstruct rdma_ah_attr *ah_attrh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h rdma_ah_attrh]h rdma_ah_attr}(hjеhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj͵ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjҵmodnameN classnameNjkjn)}jq]jc.rdma_create_user_ahasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hah_attrh]hah_attr}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj:ubj)}(hstruct ib_udata *udatah](j()}(hj+h]hstruct}(hj"hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj/hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_udatah]hib_udata}(hj@hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj=ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjBmodnameN classnameNjkjn)}jq]jc.rdma_create_user_ahasbuh1hhjubj:)}(h h]h }(hj^hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hudatah]hudata}(hjyhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj:ubeh}(h]h ]h"]h$]h&]jjuh1jhjĴhhhjմhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjմhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjմhMhjhhubj)}(hhh]h)}(hzCreates an address handle for the given address vector. It resolves destination mac address for ah attribute of RoCE type.h]hzCreates an address handle for the given address vector. It resolves destination mac address for ah attribute of RoCE type.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjմhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_pd *pd`` The protection domain associated with the address handle. ``struct rdma_ah_attr *ah_attr`` The attributes of the address vector. ``struct ib_udata *udata`` pointer to user's input output buffer information need by provider driver. **Description** It returns 0 on success and returns appropriate error code on error. The address handle is used to reference a local or global destination in all UD QP post sends.h](h)}(h**Parameters**h]j)}(hjŶh]h Parameters}(hjǶhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjöubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubj)}(hhh](j)}(hO``struct ib_pd *pd`` The protection domain associated with the address handle. h](j)}(h``struct ib_pd *pd``h]j )}(hjh]hstruct ib_pd *pd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhj޶ubj)}(hhh]h)}(h9The protection domain associated with the address handle.h]h9The protection domain associated with the address handle.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj޶ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj۶ubj)}(hG``struct rdma_ah_attr *ah_attr`` The attributes of the address vector. h](j)}(h ``struct rdma_ah_attr *ah_attr``h]j )}(hjh]hstruct rdma_ah_attr *ah_attr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubj)}(hhh]h)}(h%The attributes of the address vector.h]h%The attributes of the address vector.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhj۶ubj)}(hf``struct ib_udata *udata`` pointer to user's input output buffer information need by provider driver. h](j)}(h``struct ib_udata *udata``h]j )}(hjVh]hstruct ib_udata *udata}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjPubj)}(hhh]h)}(hJpointer to user's input output buffer information need by provider driver.h]hLpointer to user’s input output buffer information need by provider driver.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhj۶ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubh)}(hIt returns 0 on success and returns appropriate error code on error. The address handle is used to reference a local or global destination in all UD QP post sends.h]hIt returns 0 on success and returns appropriate error code on error. The address handle is used to reference a local or global destination in all UD QP post sends.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j$rdma_move_grh_sgid_attr (C function)c.rdma_move_grh_sgid_attrhNtauh1jhhhhhNhNubj)}(hhh](j)}(hvoid rdma_move_grh_sgid_attr (struct rdma_ah_attr *attr, union ib_gid *dgid, u32 flow_label, u8 hop_limit, u8 traffic_class, const struct ib_gid_attr *sgid_attr)h]j")}(hvoid rdma_move_grh_sgid_attr(struct rdma_ah_attr *attr, union ib_gid *dgid, u32 flow_label, u8 hop_limit, u8 traffic_class, const struct ib_gid_attr *sgid_attr)h](j)}(hvoidh]hvoid}(hj׷hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjӷhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjӷhhhjhMubj)}(hrdma_move_grh_sgid_attrh]jN)}(hrdma_move_grh_sgid_attrh]hrdma_move_grh_sgid_attr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjӷhhhjhMubj)}(h(struct rdma_ah_attr *attr, union ib_gid *dgid, u32 flow_label, u8 hop_limit, u8 traffic_class, const struct ib_gid_attr *sgid_attr)h](j)}(hstruct rdma_ah_attr *attrh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj!hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h rdma_ah_attrh]h rdma_ah_attr}(hj2hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj/ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj4modnameN classnameNjkjn)}jq]jt)}jgjsbc.rdma_move_grh_sgid_attrasbuh1hhjubj:)}(h h]h }(hjRhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hattrh]hattr}(hjmhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubj)}(hunion ib_gid *dgidh](j()}(hjÜh]hunion}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_gidh]hib_gid}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jNc.rdma_move_grh_sgid_attrasbuh1hhjubj:)}(h h]h }(hj¸hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjиhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hdgidh]hdgid}(hjݸhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubj)}(hu32 flow_labelh](h)}(hhh]jN)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jNc.rdma_move_grh_sgid_attrasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h flow_labelh]h flow_label}(hj%hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubj)}(h u8 hop_limith](h)}(hhh]jN)}(hu8h]hu8}(hjAhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj>ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjCmodnameN classnameNjkjn)}jq]jNc.rdma_move_grh_sgid_attrasbuh1hhj:ubj:)}(h h]h }(hj_hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj:ubjN)}(h hop_limith]h hop_limit}(hjmhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj:ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubj)}(hu8 traffic_classh](h)}(hhh]jN)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jNc.rdma_move_grh_sgid_attrasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h traffic_classh]h traffic_class}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubj)}(h#const struct ib_gid_attr *sgid_attrh](j()}(hjh]hconst}(hjιhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjʹubj:)}(h h]h }(hj۹hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjʹubj()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjʹubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjʹubh)}(hhh]jN)}(h ib_gid_attrh]h ib_gid_attr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj modnameN classnameNjkjn)}jq]jNc.rdma_move_grh_sgid_attrasbuh1hhjʹubj:)}(h h]h }(hj%hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjʹubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjʹubjN)}(h sgid_attrh]h sgid_attr}(hj@hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjʹubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubeh}(h]h ]h"]h$]h&]jjuh1jhjӷhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjϷhhhjhMubah}(h]jʷah ](jjeh"]h$]h&]jj)jhuh1jhjhMhj̷hhubj)}(hhh]h)}(hASets the sgid attribute of GRH, taking ownership of the referenceh]hASets the sgid attribute of GRH, taking ownership of the reference}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjghhubah}(h]h ]h"]h$]h&]uh1jhj̷hhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct rdma_ah_attr *attr`` Pointer to AH attribute structure ``union ib_gid *dgid`` Destination GID ``u32 flow_label`` Flow label ``u8 hop_limit`` Hop limit ``u8 traffic_class`` traffic class ``const struct ib_gid_attr *sgid_attr`` Pointer to SGID attribute **Description** This takes ownership of the sgid_attr reference. The caller must ensure rdma_destroy_ah_attr() is called before destroying the rdma_ah_attr after calling this function.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubj)}(hhh](j)}(h@``struct rdma_ah_attr *attr`` Pointer to AH attribute structure h](j)}(h``struct rdma_ah_attr *attr``h]j )}(hjh]hstruct rdma_ah_attr *attr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubj)}(hhh]h)}(h!Pointer to AH attribute structureh]h!Pointer to AH attribute structure}(hjĺhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``union ib_gid *dgid`` Destination GID h](j)}(h``union ib_gid *dgid``h]j )}(hjh]hunion ib_gid *dgid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhj޺ubj)}(hhh]h)}(hDestination GIDh]hDestination GID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj޺ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``u32 flow_label`` Flow label h](j)}(h``u32 flow_label``h]j )}(hjh]hu32 flow_label}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubj)}(hhh]h)}(h Flow labelh]h Flow label}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubj)}(h``u8 hop_limit`` Hop limit h](j)}(h``u8 hop_limit``h]j )}(hjVh]h u8 hop_limit}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjPubj)}(hhh]h)}(h Hop limith]h Hop limit}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjubj)}(h#``u8 traffic_class`` traffic class h](j)}(h``u8 traffic_class``h]j )}(hjh]hu8 traffic_class}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubj)}(hhh]h)}(h traffic classh]h traffic class}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hB``const struct ib_gid_attr *sgid_attr`` Pointer to SGID attribute h](j)}(h'``const struct ib_gid_attr *sgid_attr``h]j )}(hjȻh]h#const struct ib_gid_attr *sgid_attr}(hjʻhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƻubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhj»ubj)}(hhh]h)}(hPointer to SGID attributeh]hPointer to SGID attribute}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjݻhMhj޻ubah}(h]h ]h"]h$]h&]uh1jhj»ubeh}(h]h ]h"]h$]h&]uh1jhjݻhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubh)}(hThis takes ownership of the sgid_attr reference. The caller must ensure rdma_destroy_ah_attr() is called before destroying the rdma_ah_attr after calling this function.h]hThis takes ownership of the sgid_attr reference. The caller must ensure rdma_destroy_ah_attr() is called before destroying the rdma_ah_attr after calling this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!rdma_destroy_ah_attr (C function)c.rdma_destroy_ah_attrhNtauh1jhhhhhNhNubj)}(hhh](j)}(h8void rdma_destroy_ah_attr (struct rdma_ah_attr *ah_attr)h]j")}(h7void rdma_destroy_ah_attr(struct rdma_ah_attr *ah_attr)h](j)}(hvoidh]hvoid}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjDhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMubj:)}(h h]h }(hjWhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjDhhhjVhMubj)}(hrdma_destroy_ah_attrh]jN)}(hrdma_destroy_ah_attrh]hrdma_destroy_ah_attr}(hjihhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjeubah}(h]h ](jjeh"]h$]h&]jjuh1jhjDhhhjVhMubj)}(h(struct rdma_ah_attr *ah_attr)h]j)}(hstruct rdma_ah_attr *ah_attrh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h rdma_ah_attrh]h rdma_ah_attr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjksbc.rdma_destroy_ah_attrasbuh1hhjubj:)}(h h]h }(hjühhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjѼhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hah_attrh]hah_attr}(hj޼hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj}ubah}(h]h ]h"]h$]h&]jjuh1jhjDhhhjVhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj@hhhjVhMubah}(h]j;ah ](jjeh"]h$]h&]jj)jhuh1jhjVhMhj=hhubj)}(hhh]h)}(h4Release reference to SGID attribute of ah attribute.h]h4Release reference to SGID attribute of ah attribute.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhj=hhhjVhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj jj jjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct rdma_ah_attr *ah_attr`` Pointer to ah attribute **Description** Release reference to the SGID attribute of the ah attribute if it is non NULL. It is safe to call this multiple times, and safe to call it on a zero initialized ah_attr.h](h)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhj$ubj)}(hhh]j)}(h9``struct rdma_ah_attr *ah_attr`` Pointer to ah attribute h](j)}(h ``struct rdma_ah_attr *ah_attr``h]j )}(hjIh]hstruct rdma_ah_attr *ah_attr}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjCubj)}(hhh]h)}(hPointer to ah attributeh]hPointer to ah attribute}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhj$ubh)}(hRelease reference to the SGID attribute of the ah attribute if it is non NULL. It is safe to call this multiple times, and safe to call it on a zero initialized ah_attr.h]hRelease reference to the SGID attribute of the ah attribute if it is non NULL. It is safe to call this multiple times, and safe to call it on a zero initialized ah_attr.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_create_srq_user (C function)c.ib_create_srq_userhNtauh1jhhhhhNhNubj)}(hhh](j)}(hstruct ib_srq * ib_create_srq_user (struct ib_pd *pd, struct ib_srq_init_attr *srq_init_attr, struct ib_usrq_object *uobject, struct ib_udata *udata)h]j")}(hstruct ib_srq *ib_create_srq_user(struct ib_pd *pd, struct ib_srq_init_attr *srq_init_attr, struct ib_usrq_object *uobject, struct ib_udata *udata)h](j()}(hj+h]hstruct}(hjɽhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjŽhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMubj:)}(h h]h }(hj׽hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjŽhhhjֽhMubh)}(hhh]jN)}(hib_srqh]hib_srq}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgib_create_srq_usersbc.ib_create_srq_userasbuh1hhjŽhhhjֽhMubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjŽhhhjֽhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjŽhhhjֽhMubj)}(hib_create_srq_userh]jN)}(hjh]hib_create_srq_user}(hj(hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj$ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjŽhhhjֽhMubj)}(hr(struct ib_pd *pd, struct ib_srq_init_attr *srq_init_attr, struct ib_usrq_object *uobject, struct ib_udata *udata)h](j)}(hstruct ib_pd *pdh](j()}(hj+h]hstruct}(hjChhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj?ubj:)}(h h]h }(hjPhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj?ubh)}(hhh]jN)}(hib_pdh]hib_pd}(hjahhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj^ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjcmodnameN classnameNjkjn)}jq]jc.ib_create_srq_userasbuh1hhj?ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj?ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubjN)}(hpdh]hpd}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj?ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj;ubj)}(h&struct ib_srq_init_attr *srq_init_attrh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_srq_init_attrh]hib_srq_init_attr}(hjѾhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjξubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjӾmodnameN classnameNjkjn)}jq]jc.ib_create_srq_userasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(h srq_init_attrh]h srq_init_attr}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj;ubj)}(hstruct ib_usrq_object *uobjecth](j()}(hj+h]hstruct}(hj#hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj0hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_usrq_objecth]hib_usrq_object}(hjAhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj>ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjCmodnameN classnameNjkjn)}jq]jc.ib_create_srq_userasbuh1hhjubj:)}(h h]h }(hj_hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(huobjecth]huobject}(hjzhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj;ubj)}(hstruct ib_udata *udatah](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_udatah]hib_udata}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_create_srq_userasbuh1hhjubj:)}(h h]h }(hjϿhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjݿhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hudatah]hudata}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj;ubeh}(h]h ]h"]h$]h&]jjuh1jhjŽhhhjֽhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjֽhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjֽhMhjhhubj)}(hhh]h)}(h>Creates a SRQ associated with the specified protection domain.h]h>Creates a SRQ associated with the specified protection domain.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjֽhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj,jj,jjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_pd *pd`` The protection domain associated with the SRQ. ``struct ib_srq_init_attr *srq_init_attr`` A list of initial attributes required to create the SRQ. If SRQ creation succeeds, then the attributes are updated to the actual capabilities of the created SRQ. ``struct ib_usrq_object *uobject`` uobject pointer if this is not a kernel SRQ ``struct ib_udata *udata`` udata pointer if this is not a kernel SRQ **Description** srq_attr->max_wr and srq_attr->max_sge are read the determine the requested size of the SRQ, and set to the actual values allocated on return. If ib_create_srq() succeeds, then max_wr and max_sge will always be at least as large as the requested values.h](h)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj0ubj)}(hhh](j)}(hD``struct ib_pd *pd`` The protection domain associated with the SRQ. h](j)}(h``struct ib_pd *pd``h]j )}(hjUh]hstruct ib_pd *pd}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjOubj)}(hhh]h)}(h.The protection domain associated with the SRQ.h]h.The protection domain associated with the SRQ.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjLubj)}(h``struct ib_srq_init_attr *srq_init_attr`` A list of initial attributes required to create the SRQ. If SRQ creation succeeds, then the attributes are updated to the actual capabilities of the created SRQ. h](j)}(h*``struct ib_srq_init_attr *srq_init_attr``h]j )}(hjh]h&struct ib_srq_init_attr *srq_init_attr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM!hjubj)}(hhh]h)}(hA list of initial attributes required to create the SRQ. If SRQ creation succeeds, then the attributes are updated to the actual capabilities of the created SRQ.h]hA list of initial attributes required to create the SRQ. If SRQ creation succeeds, then the attributes are updated to the actual capabilities of the created SRQ.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjLubj)}(hO``struct ib_usrq_object *uobject`` uobject pointer if this is not a kernel SRQ h](j)}(h"``struct ib_usrq_object *uobject``h]j )}(hjh]hstruct ib_usrq_object *uobject}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM"hjubj)}(hhh]h)}(h+uobject pointer if this is not a kernel SRQh]h+uobject pointer if this is not a kernel SRQ}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjLubj)}(hE``struct ib_udata *udata`` udata pointer if this is not a kernel SRQ h](j)}(h``struct ib_udata *udata``h]j )}(hjh]hstruct ib_udata *udata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM#hjubj)}(hhh]h)}(h)udata pointer if this is not a kernel SRQh]h)udata pointer if this is not a kernel SRQ}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjLubeh}(h]h ]h"]h$]h&]uh1jhj0ubh)}(h**Description**h]j)}(hj<h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM%hj0ubh)}(hsrq_attr->max_wr and srq_attr->max_sge are read the determine the requested size of the SRQ, and set to the actual values allocated on return. If ib_create_srq() succeeds, then max_wr and max_sge will always be at least as large as the requested values.h]hsrq_attr->max_wr and srq_attr->max_sge are read the determine the requested size of the SRQ, and set to the actual values allocated on return. If ib_create_srq() succeeds, then max_wr and max_sge will always be at least as large as the requested values.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM$hj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_create_qp_user (C function)c.ib_create_qp_userhNtauh1jhhhhhNhNubj)}(hhh](j)}(hstruct ib_qp * ib_create_qp_user (struct ib_device *dev, struct ib_pd *pd, struct ib_qp_init_attr *attr, struct ib_udata *udata, struct ib_uqp_object *uobj, const char *caller)h]j")}(hstruct ib_qp *ib_create_qp_user(struct ib_device *dev, struct ib_pd *pd, struct ib_qp_init_attr *attr, struct ib_udata *udata, struct ib_uqp_object *uobj, const char *caller)h](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj}hhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM6ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj}hhhjhM6ubh)}(hhh]jN)}(hib_qph]hib_qp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgib_create_qp_usersbc.ib_create_qp_userasbuh1hhj}hhhjhM6ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj}hhhjhM6ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}hhhjhM6ubj)}(hib_create_qp_userh]jN)}(hjh]hib_create_qp_user}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhj}hhhjhM6ubj)}(h(struct ib_device *dev, struct ib_pd *pd, struct ib_qp_init_attr *attr, struct ib_udata *udata, struct ib_uqp_object *uobj, const char *caller)h](j)}(hstruct ib_device *devh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_create_qp_userasbuh1hhjubj:)}(h h]h }(hj7hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hdevh]hdev}(hjRhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ib_pd *pdh](j()}(hj+h]hstruct}(hjkhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjgubj:)}(h h]h }(hjxhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjgubh)}(hhh]jN)}(hib_pdh]hib_pd}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_create_qp_userasbuh1hhjgubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjgubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubjN)}(hpdh]hpd}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjgubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ib_qp_init_attr *attrh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_qp_init_attrh]hib_qp_init_attr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_create_qp_userasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hattrh]hattr}(hj2hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ib_udata *udatah](j()}(hj+h]hstruct}(hjKhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjGubj:)}(h h]h }(hjXhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjGubh)}(hhh]jN)}(hib_udatah]hib_udata}(hjihhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjfubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjkmodnameN classnameNjkjn)}jq]jc.ib_create_qp_userasbuh1hhjGubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjGubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubjN)}(hudatah]hudata}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjGubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ib_uqp_object *uobjh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_uqp_objecth]h ib_uqp_object}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_create_qp_userasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(huobjh]huobj}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hconst char *callerh](j()}(hjh]hconst}(hj+hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj'ubj:)}(h h]h }(hj8hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj'ubj)}(hcharh]hchar}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj'ubj:)}(h h]h }(hjThhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj'ubj)}(hjh]h*}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubjN)}(hcallerh]hcaller}(hjohhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj'ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhj}hhhjhM6ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjyhhhjhM6ubah}(h]jtah ](jjeh"]h$]h&]jj)jhuh1jhjhM6hjvhhubj)}(hhh]h)}(h=Creates a QP associated with the specified protection domain.h]h=Creates a QP associated with the specified protection domain.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM6hjhhubah}(h]h ]h"]h$]h&]uh1jhjvhhhjhM6ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_device *dev`` IB device ``struct ib_pd *pd`` The protection domain associated with the QP. ``struct ib_qp_init_attr *attr`` A list of initial attributes required to create the QP. If QP creation succeeds, then the attributes are updated to the actual capabilities of the created QP. ``struct ib_udata *udata`` User data ``struct ib_uqp_object *uobj`` uverbs obect ``const char *caller`` caller's build-time module nameh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM:hjubj)}(hhh](j)}(h$``struct ib_device *dev`` IB device h](j)}(h``struct ib_device *dev``h]j )}(hjh]hstruct ib_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM8hjubj)}(hhh]h)}(h IB deviceh]h IB device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubj)}(hC``struct ib_pd *pd`` The protection domain associated with the QP. h](j)}(h``struct ib_pd *pd``h]j )}(hjh]hstruct ib_pd *pd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM9hj ubj)}(hhh]h)}(h-The protection domain associated with the QP.h]h-The protection domain associated with the QP.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hM9hj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hM9hjubj)}(h``struct ib_qp_init_attr *attr`` A list of initial attributes required to create the QP. If QP creation succeeds, then the attributes are updated to the actual capabilities of the created QP. h](j)}(h ``struct ib_qp_init_attr *attr``h]j )}(hjLh]hstruct ib_qp_init_attr *attr}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM<hjFubj)}(hhh]h)}(hA list of initial attributes required to create the QP. If QP creation succeeds, then the attributes are updated to the actual capabilities of the created QP.h]hA list of initial attributes required to create the QP. If QP creation succeeds, then the attributes are updated to the actual capabilities of the created QP.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM:hjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahM<hjubj)}(h%``struct ib_udata *udata`` User data h](j)}(h``struct ib_udata *udata``h]j )}(hjh]hstruct ib_udata *udata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM=hjubj)}(hhh]h)}(h User datah]h User data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjubj)}(h,``struct ib_uqp_object *uobj`` uverbs obect h](j)}(h``struct ib_uqp_object *uobj``h]j )}(hjh]hstruct ib_uqp_object *uobj}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM>hjubj)}(hhh]h)}(h uverbs obecth]h uverbs obect}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(h6``const char *caller`` caller's build-time module nameh](j)}(h``const char *caller``h]j )}(hjh]hconst char *caller}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM@hjubj)}(hhh]h)}(hcaller's build-time module nameh]h!caller’s build-time module name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM@hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j$ib_modify_qp_with_udata (C function)c.ib_modify_qp_with_udatahNtauh1jhhhhhNhNubj)}(hhh](j)}(hqint ib_modify_qp_with_udata (struct ib_qp *ib_qp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata)h]j")}(hpint ib_modify_qp_with_udata(struct ib_qp *ib_qp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata)h](j)}(hinth]hint}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjNhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMubj:)}(h h]h }(hjahhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjNhhhj`hMubj)}(hib_modify_qp_with_udatah]jN)}(hib_modify_qp_with_udatah]hib_modify_qp_with_udata}(hjshhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjoubah}(h]h ](jjeh"]h$]h&]jjuh1jhjNhhhj`hMubj)}(hU(struct ib_qp *ib_qp, struct ib_qp_attr *attr, int attr_mask, struct ib_udata *udata)h](j)}(hstruct ib_qp *ib_qph](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_qph]hib_qp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjusbc.ib_modify_qp_with_udataasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hib_qph]hib_qp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ib_qp_attr *attrh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_qp_attrh]h ib_qp_attr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj!modnameN classnameNjkjn)}jq]jc.ib_modify_qp_with_udataasbuh1hhjubj:)}(h h]h }(hj=hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hattrh]hattr}(hjXhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h int attr_maskh](j)}(hinth]hint}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjmubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjmubjN)}(h attr_maskh]h attr_mask}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjmubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ib_udata *udatah](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_udatah]hib_udata}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_modify_qp_with_udataasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hudatah]hudata}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjNhhhj`hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjJhhhj`hMubah}(h]jEah ](jjeh"]h$]h&]jj)jhuh1jhj`hMhjGhhubj)}(hhh]h)}(h-Modifies the attributes for the specified QP.h]h-Modifies the attributes for the specified QP.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhj$hhubah}(h]h ]h"]h$]h&]uh1jhjGhhhj`hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj?jj?jjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_qp *ib_qp`` The QP to modify. ``struct ib_qp_attr *attr`` On input, specifies the QP attributes to modify. On output, the current values of selected QP attributes are returned. ``int attr_mask`` A bit-mask used to specify which attributes of the QP are being modified. ``struct ib_udata *udata`` pointer to user's input output buffer information are being modified. It returns 0 on success and returns appropriate error code on error.h](h)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjCubj)}(hhh](j)}(h*``struct ib_qp *ib_qp`` The QP to modify. h](j)}(h``struct ib_qp *ib_qp``h]j )}(hjhh]hstruct ib_qp *ib_qp}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjbubj)}(hhh]h)}(hThe QP to modify.h]hThe QP to modify.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj_ubj)}(h``struct ib_qp_attr *attr`` On input, specifies the QP attributes to modify. On output, the current values of selected QP attributes are returned. h](j)}(h``struct ib_qp_attr *attr``h]j )}(hjh]hstruct ib_qp_attr *attr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubj)}(hhh]h)}(hwOn input, specifies the QP attributes to modify. On output, the current values of selected QP attributes are returned.h]hwOn input, specifies the QP attributes to modify. On output, the current values of selected QP attributes are returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj_ubj)}(h\``int attr_mask`` A bit-mask used to specify which attributes of the QP are being modified. h](j)}(h``int attr_mask``h]j )}(hjh]h int attr_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubj)}(hhh]h)}(hIA bit-mask used to specify which attributes of the QP are being modified.h]hIA bit-mask used to specify which attributes of the QP are being modified.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj_ubj)}(h``struct ib_udata *udata`` pointer to user's input output buffer information are being modified. It returns 0 on success and returns appropriate error code on error.h](j)}(h``struct ib_udata *udata``h]j )}(hjh]hstruct ib_udata *udata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhjubj)}(hhh]h)}(hpointer to user's input output buffer information are being modified. It returns 0 on success and returns appropriate error code on error.h]hpointer to user’s input output buffer information are being modified. It returns 0 on success and returns appropriate error code on error.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj_ubeh}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_alloc_mr (C function) c.ib_alloc_mrhNtauh1jhhhhhNhNubj)}(hhh](j)}(hVstruct ib_mr * ib_alloc_mr (struct ib_pd *pd, enum ib_mr_type mr_type, u32 max_num_sg)h]j")}(hTstruct ib_mr *ib_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type, u32 max_num_sg)h](j()}(hj+h]hstruct}(hjohhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjkhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM' ubj:)}(h h]h }(hj}hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjkhhhj|hM' ubh)}(hhh]jN)}(hib_mrh]hib_mr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jg ib_alloc_mrsb c.ib_alloc_mrasbuh1hhjkhhhj|hM' ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjkhhhj|hM' ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkhhhj|hM' ubj)}(h ib_alloc_mrh]jN)}(hjh]h ib_alloc_mr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjkhhhj|hM' ubj)}(h;(struct ib_pd *pd, enum ib_mr_type mr_type, u32 max_num_sg)h](j)}(hstruct ib_pd *pdh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_pdh]hib_pd}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj modnameN classnameNjkjn)}jq]j c.ib_alloc_mrasbuh1hhjubj:)}(h h]h }(hj%hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hpdh]hpd}(hj@hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(henum ib_mr_type mr_typeh](j()}(hj%h]henum}(hjYhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjUubj:)}(h h]h }(hjfhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjUubh)}(hhh]jN)}(h ib_mr_typeh]h ib_mr_type}(hjwhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjtubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjymodnameN classnameNjkjn)}jq]j c.ib_alloc_mrasbuh1hhjUubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjUubjN)}(hmr_typeh]hmr_type}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjUubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hu32 max_num_sgh](h)}(hhh]jN)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j c.ib_alloc_mrasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h max_num_sgh]h max_num_sg}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjkhhhj|hM' ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjghhhj|hM' ubah}(h]jbah ](jjeh"]h$]h&]jj)jhuh1jhj|hM' hjdhhubj)}(hhh]h)}(hAllocates a memory regionh]hAllocates a memory region}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM' hjhhubah}(h]h ]h"]h$]h&]uh1jhjdhhhj|hM' ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj-jj-jjjuh1jhhhhhNhNubj)}(hXq**Parameters** ``struct ib_pd *pd`` protection domain associated with the region ``enum ib_mr_type mr_type`` memory region type ``u32 max_num_sg`` maximum sg entries available for registration. **Notes** Memory registeration page/sg lists must not exceed max_num_sg. For mr_type IB_MR_TYPE_MEM_REG, the total length cannot exceed max_num_sg * used_page_size.h](h)}(h**Parameters**h]j)}(hj7h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM+ hj1ubj)}(hhh](j)}(hB``struct ib_pd *pd`` protection domain associated with the region h](j)}(h``struct ib_pd *pd``h]j )}(hjVh]hstruct ib_pd *pd}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM( hjPubj)}(hhh]h)}(h,protection domain associated with the regionh]h,protection domain associated with the region}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhM( hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM( hjMubj)}(h/``enum ib_mr_type mr_type`` memory region type h](j)}(h``enum ib_mr_type mr_type``h]j )}(hjh]henum ib_mr_type mr_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM) hjubj)}(hhh]h)}(hmemory region typeh]hmemory region type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM) hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM) hjMubj)}(hB``u32 max_num_sg`` maximum sg entries available for registration. h](j)}(h``u32 max_num_sg``h]j )}(hjh]hu32 max_num_sg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM* hjubj)}(hhh]h)}(h.maximum sg entries available for registration.h]h.maximum sg entries available for registration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM* hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM* hjMubeh}(h]h ]h"]h$]h&]uh1jhj1ubh)}(h **Notes**h]j)}(hjh]hNotes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM, hj1ubh)}(hMemory registeration page/sg lists must not exceed max_num_sg. For mr_type IB_MR_TYPE_MEM_REG, the total length cannot exceed max_num_sg * used_page_size.h]hMemory registeration page/sg lists must not exceed max_num_sg. For mr_type IB_MR_TYPE_MEM_REG, the total length cannot exceed max_num_sg * used_page_size.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM, hj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"ib_alloc_mr_integrity (C function)c.ib_alloc_mr_integrityhNtauh1jhhhhhNhNubj)}(hhh](j)}(hastruct ib_mr * ib_alloc_mr_integrity (struct ib_pd *pd, u32 max_num_data_sg, u32 max_num_meta_sg)h]j")}(h_struct ib_mr *ib_alloc_mr_integrity(struct ib_pd *pd, u32 max_num_data_sg, u32 max_num_meta_sg)h](j()}(hj+h]hstruct}(hjHhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjDhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMY ubj:)}(h h]h }(hjVhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjDhhhjUhMY ubh)}(hhh]jN)}(hib_mrh]hib_mr}(hjghhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjdubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjimodnameN classnameNjkjn)}jq]jt)}jgib_alloc_mr_integritysbc.ib_alloc_mr_integrityasbuh1hhjDhhhjUhMY ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjDhhhjUhMY ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhjUhMY ubj)}(hib_alloc_mr_integrityh]jN)}(hjh]hib_alloc_mr_integrity}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjDhhhjUhMY ubj)}(h<(struct ib_pd *pd, u32 max_num_data_sg, u32 max_num_meta_sg)h](j)}(hstruct ib_pd *pdh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_pdh]hib_pd}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_alloc_mr_integrityasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hpdh]hpd}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hu32 max_num_data_sgh](h)}(hhh]jN)}(hu32h]hu32}(hj5hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj2ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj7modnameN classnameNjkjn)}jq]jc.ib_alloc_mr_integrityasbuh1hhj.ubj:)}(h h]h }(hjShhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj.ubjN)}(hmax_num_data_sgh]hmax_num_data_sg}(hjahhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj.ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hu32 max_num_meta_sgh](h)}(hhh]jN)}(hu32h]hu32}(hj}hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjzubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_alloc_mr_integrityasbuh1hhjvubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjvubjN)}(hmax_num_meta_sgh]hmax_num_meta_sg}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjvubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjDhhhjUhMY ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj@hhhjUhMY ubah}(h]j;ah ](jjeh"]h$]h&]jj)jhuh1jhjUhMY hj=hhubj)}(hhh]h)}(h$Allocates an integrity memory regionh]h$Allocates an integrity memory region}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMY hjhhubah}(h]h ]h"]h$]h&]uh1jhj=hhhjUhMY ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_pd *pd`` protection domain associated with the region ``u32 max_num_data_sg`` maximum data sg entries available for registration ``u32 max_num_meta_sg`` maximum metadata sg entries available for registration **Notes** Memory registration page/sg lists must not exceed max_num_sg, also the integrity page/sg lists must not exceed max_num_meta_sg.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM] hjubj)}(hhh](j)}(hB``struct ib_pd *pd`` protection domain associated with the region h](j)}(h``struct ib_pd *pd``h]j )}(hjh]hstruct ib_pd *pd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMZ hjubj)}(hhh]h)}(h,protection domain associated with the regionh]h,protection domain associated with the region}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hMZ hj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMZ hj ubj)}(hK``u32 max_num_data_sg`` maximum data sg entries available for registration h](j)}(h``u32 max_num_data_sg``h]j )}(hjMh]hu32 max_num_data_sg}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM[ hjGubj)}(hhh]h)}(h2maximum data sg entries available for registrationh]h2maximum data sg entries available for registration}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhM[ hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM[ hj ubj)}(hO``u32 max_num_meta_sg`` maximum metadata sg entries available for registration h](j)}(h``u32 max_num_meta_sg``h]j )}(hjh]hu32 max_num_meta_sg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM] hjubj)}(hhh]h)}(h6maximum metadata sg entries available for registrationh]h6maximum metadata sg entries available for registration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM\ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM] hj ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h **Notes**h]j)}(hjh]hNotes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM_ hjubh)}(hMemory registration page/sg lists must not exceed max_num_sg, also the integrity page/sg lists must not exceed max_num_meta_sg.h]hMemory registration page/sg lists must not exceed max_num_sg, also the integrity page/sg lists must not exceed max_num_meta_sg.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM_ hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_alloc_xrcd_user (C function)c.ib_alloc_xrcd_userhNtauh1jhhhhhNhNubj)}(hhh](j)}(hkstruct ib_xrcd * ib_alloc_xrcd_user (struct ib_device *device, struct inode *inode, struct ib_udata *udata)h]j")}(histruct ib_xrcd *ib_alloc_xrcd_user(struct ib_device *device, struct inode *inode, struct ib_udata *udata)h](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhM ubh)}(hhh]jN)}(hib_xrcdh]hib_xrcd}(hj&hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj#ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj(modnameN classnameNjkjn)}jq]jt)}jgib_alloc_xrcd_usersbc.ib_alloc_xrcd_userasbuh1hhjhhhjhM ubj:)}(h h]h }(hjGhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhM ubj)}(hjh]h*}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM ubj)}(hib_alloc_xrcd_userh]jN)}(hjDh]hib_alloc_xrcd_user}(hjfhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjbubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhM ubj)}(hG(struct ib_device *device, struct inode *inode, struct ib_udata *udata)h](j)}(hstruct ib_device *deviceh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj}ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj}ubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jBc.ib_alloc_xrcd_userasbuh1hhj}ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj}ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubjN)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj}ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjyubj)}(hstruct inode *inodeh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jBc.ib_alloc_xrcd_userasbuh1hhjubj:)}(h h]h }(hj-hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hinodeh]hinode}(hjHhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjyubj)}(hstruct ib_udata *udatah](j()}(hj+h]hstruct}(hjahhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj]ubj:)}(h h]h }(hjnhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj]ubh)}(hhh]jN)}(hib_udatah]hib_udata}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj|ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jBc.ib_alloc_xrcd_userasbuh1hhj]ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj]ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubjN)}(hudatah]hudata}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj]ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjyubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhM ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhM hjhhubj)}(hhh]h)}(hAllocates an XRC domain.h]hAllocates an XRC domain.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct ib_device *device`` The device on which to allocate the XRC domain. ``struct inode *inode`` inode to connect XRCD ``struct ib_udata *udata`` Valid user data or NULL for kernel objecth](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh](j)}(hM``struct ib_device *device`` The device on which to allocate the XRC domain. h](j)}(h``struct ib_device *device``h]j )}(hj#h]hstruct ib_device *device}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]h)}(h/The device on which to allocate the XRC domain.h]h/The device on which to allocate the XRC domain.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hM hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hM hjubj)}(h.``struct inode *inode`` inode to connect XRCD h](j)}(h``struct inode *inode``h]j )}(hj\h]hstruct inode *inode}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjVubj)}(hhh]h)}(hinode to connect XRCDh]hinode to connect XRCD}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhM hjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhM hjubj)}(hD``struct ib_udata *udata`` Valid user data or NULL for kernel objecth](j)}(h``struct ib_udata *udata``h]j )}(hjh]hstruct ib_udata *udata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]h)}(h)Valid user data or NULL for kernel objecth]h)Valid user data or NULL for kernel object}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!ib_dealloc_xrcd_user (C function)c.ib_dealloc_xrcd_userhNtauh1jhhhhhNhNubj)}(hhh](j)}(hGint ib_dealloc_xrcd_user (struct ib_xrcd *xrcd, struct ib_udata *udata)h]j")}(hFint ib_dealloc_xrcd_user(struct ib_xrcd *xrcd, struct ib_udata *udata)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhM ubj)}(hib_dealloc_xrcd_userh]jN)}(hib_dealloc_xrcd_userh]hib_dealloc_xrcd_user}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhM ubj)}(h.(struct ib_xrcd *xrcd, struct ib_udata *udata)h](j)}(hstruct ib_xrcd *xrcdh](j()}(hj+h]hstruct}(hj,hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj(ubj:)}(h h]h }(hj9hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj(ubh)}(hhh]jN)}(hib_xrcdh]hib_xrcd}(hjJhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjGubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjLmodnameN classnameNjkjn)}jq]jt)}jgjsbc.ib_dealloc_xrcd_userasbuh1hhj(ubj:)}(h h]h }(hjjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj(ubj)}(hjh]h*}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubjN)}(hxrcdh]hxrcd}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj(ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj$ubj)}(hstruct ib_udata *udatah](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_udatah]hib_udata}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jfc.ib_dealloc_xrcd_userasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hudatah]hudata}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj$ubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhM ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhM hjhhubj)}(hhh]h)}(hDeallocates an XRC domain.h]hDeallocates an XRC domain.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj7jj7jjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct ib_xrcd *xrcd`` The XRC domain to deallocate. ``struct ib_udata *udata`` Valid user data or NULL for kernel objecth](h)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj;ubj)}(hhh](j)}(h7``struct ib_xrcd *xrcd`` The XRC domain to deallocate. h](j)}(h``struct ib_xrcd *xrcd``h]j )}(hj`h]hstruct ib_xrcd *xrcd}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjZubj)}(hhh]h)}(hThe XRC domain to deallocate.h]hThe XRC domain to deallocate.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhM hjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhM hjWubj)}(hD``struct ib_udata *udata`` Valid user data or NULL for kernel objecth](j)}(h``struct ib_udata *udata``h]j )}(hjh]hstruct ib_udata *udata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]h)}(h)Valid user data or NULL for kernel objecth]h)Valid user data or NULL for kernel object}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjWubeh}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_create_wq (C function)c.ib_create_wqhNtauh1jhhhhhNhNubj)}(hhh](j)}(hOstruct ib_wq * ib_create_wq (struct ib_pd *pd, struct ib_wq_init_attr *wq_attr)h]j")}(hMstruct ib_wq *ib_create_wq(struct ib_pd *pd, struct ib_wq_init_attr *wq_attr)h](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhM ubh)}(hhh]jN)}(hib_wqh]hib_wq}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jg ib_create_wqsbc.ib_create_wqasbuh1hhjhhhjhM ubj:)}(h h]h }(hj3hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhM ubj)}(hjh]h*}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM ubj)}(h ib_create_wqh]jN)}(hj0h]h ib_create_wq}(hjRhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjNubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhM ubj)}(h3(struct ib_pd *pd, struct ib_wq_init_attr *wq_attr)h](j)}(hstruct ib_pd *pdh](j()}(hj+h]hstruct}(hjmhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjiubj:)}(h h]h }(hjzhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjiubh)}(hhh]jN)}(hib_pdh]hib_pd}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j.c.ib_create_wqasbuh1hhjiubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjiubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubjN)}(hpdh]hpd}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjiubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjeubj)}(hstruct ib_wq_init_attr *wq_attrh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_wq_init_attrh]hib_wq_init_attr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j.c.ib_create_wqasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hwq_attrh]hwq_attr}(hj4hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjeubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhM ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhM hjhhubj)}(hhh]h)}(h=Creates a WQ associated with the specified protection domain.h]h=Creates a WQ associated with the specified protection domain.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj[hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjvjjvjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_pd *pd`` The protection domain associated with the WQ. ``struct ib_wq_init_attr *wq_attr`` A list of initial attributes required to create the WQ. If WQ creation succeeds, then the attributes are updated to the actual capabilities of the created WQ. **Description** wq_attr->max_wr and wq_attr->max_sge determine the requested size of the WQ, and set to the actual values allocated on return. If ib_create_wq() succeeds, then max_wr and max_sge will always be at least as large as the requested values.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjzubj)}(hhh](j)}(hC``struct ib_pd *pd`` The protection domain associated with the WQ. h](j)}(h``struct ib_pd *pd``h]j )}(hjh]hstruct ib_pd *pd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]h)}(h-The protection domain associated with the WQ.h]h-The protection domain associated with the WQ.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``struct ib_wq_init_attr *wq_attr`` A list of initial attributes required to create the WQ. If WQ creation succeeds, then the attributes are updated to the actual capabilities of the created WQ. h](j)}(h#``struct ib_wq_init_attr *wq_attr``h]j )}(hjh]hstruct ib_wq_init_attr *wq_attr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]h)}(hA list of initial attributes required to create the WQ. If WQ creation succeeds, then the attributes are updated to the actual capabilities of the created WQ.h]hA list of initial attributes required to create the WQ. If WQ creation succeeds, then the attributes are updated to the actual capabilities of the created WQ.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjzubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM! hjzubh)}(hwq_attr->max_wr and wq_attr->max_sge determine the requested size of the WQ, and set to the actual values allocated on return. If ib_create_wq() succeeds, then max_wr and max_sge will always be at least as large as the requested values.h]hwq_attr->max_wr and wq_attr->max_sge determine the requested size of the WQ, and set to the actual values allocated on return. If ib_create_wq() succeeds, then max_wr and max_sge will always be at least as large as the requested values.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_destroy_wq_user (C function)c.ib_destroy_wq_userhNtauh1jhhhhhNhNubj)}(hhh](j)}(hAint ib_destroy_wq_user (struct ib_wq *wq, struct ib_udata *udata)h]j")}(h@int ib_destroy_wq_user(struct ib_wq *wq, struct ib_udata *udata)h](j)}(hinth]hint}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjUhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMA ubj:)}(h h]h }(hjhhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjUhhhjghMA ubj)}(hib_destroy_wq_userh]jN)}(hib_destroy_wq_userh]hib_destroy_wq_user}(hjzhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjvubah}(h]h ](jjeh"]h$]h&]jjuh1jhjUhhhjghMA ubj)}(h*(struct ib_wq *wq, struct ib_udata *udata)h](j)}(hstruct ib_wq *wqh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_wqh]hib_wq}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgj|sbc.ib_destroy_wq_userasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hwqh]hwq}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ib_udata *udatah](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_udatah]hib_udata}(hj&hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj#ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj(modnameN classnameNjkjn)}jq]jc.ib_destroy_wq_userasbuh1hhjubj:)}(h h]h }(hjDhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hudatah]hudata}(hj_hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjUhhhjghMA ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjQhhhjghMA ubah}(h]jLah ](jjeh"]h$]h&]jj)jhuh1jhjghMA hjNhhubj)}(hhh]h)}(hDestroys the specified user WQ.h]hDestroys the specified user WQ.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMA hjhhubah}(h]h ]h"]h$]h&]uh1jhjNhhhjghMA ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hg**Parameters** ``struct ib_wq *wq`` The WQ to destroy. ``struct ib_udata *udata`` Valid user datah](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chME hjubj)}(hhh](j)}(h(``struct ib_wq *wq`` The WQ to destroy. h](j)}(h``struct ib_wq *wq``h]j )}(hjh]hstruct ib_wq *wq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMB hjubj)}(hhh]h)}(hThe WQ to destroy.h]hThe WQ to destroy.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMB hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMB hjubj)}(h*``struct ib_udata *udata`` Valid user datah](j)}(h``struct ib_udata *udata``h]j )}(hjh]hstruct ib_udata *udata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMD hjubj)}(hhh]h)}(hValid user datah]hValid user data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMC hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMD hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_map_mr_sg_pi (C function)c.ib_map_mr_sg_pihNtauh1jhhhhhNhNubj)}(hhh](j)}(hint ib_map_mr_sg_pi (struct ib_mr *mr, struct scatterlist *data_sg, int data_sg_nents, unsigned int *data_sg_offset, struct scatterlist *meta_sg, int meta_sg_nents, unsigned int *meta_sg_offset, unsigned int page_size)h]j")}(hint ib_map_mr_sg_pi(struct ib_mr *mr, struct scatterlist *data_sg, int data_sg_nents, unsigned int *data_sg_offset, struct scatterlist *meta_sg, int meta_sg_nents, unsigned int *meta_sg_offset, unsigned int page_size)h](j)}(hinth]hint}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjYhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM ubj:)}(h h]h }(hjlhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjYhhhjkhM ubj)}(hib_map_mr_sg_pih]jN)}(hib_map_mr_sg_pih]hib_map_mr_sg_pi}(hj~hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjzubah}(h]h ](jjeh"]h$]h&]jjuh1jhjYhhhjkhM ubj)}(h(struct ib_mr *mr, struct scatterlist *data_sg, int data_sg_nents, unsigned int *data_sg_offset, struct scatterlist *meta_sg, int meta_sg_nents, unsigned int *meta_sg_offset, unsigned int page_size)h](j)}(hstruct ib_mr *mrh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_mrh]hib_mr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjsbc.ib_map_mr_sg_piasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hmrh]hmr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct scatterlist *data_sgh](j()}(hj+h]hstruct}(hj hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h scatterlisth]h scatterlist}(hj*hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj'ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj,modnameN classnameNjkjn)}jq]jc.ib_map_mr_sg_piasbuh1hhjubj:)}(h h]h }(hjHhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hdata_sgh]hdata_sg}(hjchhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hint data_sg_nentsh](j)}(hinth]hint}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjxubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjxubjN)}(h data_sg_nentsh]h data_sg_nents}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjxubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hunsigned int *data_sg_offseth](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hdata_sg_offseth]hdata_sg_offset}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct scatterlist *meta_sgh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubh)}(hhh]jN)}(h scatterlisth]h scatterlist}(hj-hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj*ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj/modnameN classnameNjkjn)}jq]jc.ib_map_mr_sg_piasbuh1hhj ubj:)}(h h]h }(hjKhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubj)}(hjh]h*}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjN)}(hmeta_sgh]hmeta_sg}(hjfhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hint meta_sg_nentsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj{ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj{ubjN)}(h meta_sg_nentsh]h meta_sg_nents}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj{ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hunsigned int *meta_sg_offseth](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hmeta_sg_offseth]hmeta_sg_offset}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hunsigned int page_sizeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hinth]hint}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hj<hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h page_sizeh]h page_size}(hjJhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjYhhhjkhM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjUhhhjkhM ubah}(h]jPah ](jjeh"]h$]h&]jj)jhuh1jhjkhM hjRhhubj)}(hhh]h)}(hrMap the dma mapped SG lists for PI (protection information) and set an appropriate memory region for registration.h]hrMap the dma mapped SG lists for PI (protection information) and set an appropriate memory region for registration.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjqhhubah}(h]h ]h"]h$]h&]uh1jhjRhhhjkhM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_mr *mr`` memory region ``struct scatterlist *data_sg`` dma mapped scatterlist for data ``int data_sg_nents`` number of entries in data_sg ``unsigned int *data_sg_offset`` offset in bytes into data_sg ``struct scatterlist *meta_sg`` dma mapped scatterlist for metadata ``int meta_sg_nents`` number of entries in meta_sg ``unsigned int *meta_sg_offset`` offset in bytes into meta_sg ``unsigned int page_size`` page vector desired page size **Description** Constraints: - The MR must be allocated with type IB_MR_TYPE_INTEGRITY. After this completes successfully, the memory region is ready for registration. **Return** 0 on success.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh](j)}(h#``struct ib_mr *mr`` memory region h](j)}(h``struct ib_mr *mr``h]j )}(hjh]hstruct ib_mr *mr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]h)}(h memory regionh]h memory region}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h@``struct scatterlist *data_sg`` dma mapped scatterlist for data h](j)}(h``struct scatterlist *data_sg``h]j )}(hjh]hstruct scatterlist *data_sg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]h)}(hdma mapped scatterlist for datah]hdma mapped scatterlist for data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h3``int data_sg_nents`` number of entries in data_sg h](j)}(h``int data_sg_nents``h]j )}(hj'h]hint data_sg_nents}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj!ubj)}(hhh]h)}(hnumber of entries in data_sgh]hnumber of entries in data_sg}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hM hj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hM hjubj)}(h>``unsigned int *data_sg_offset`` offset in bytes into data_sg h](j)}(h ``unsigned int *data_sg_offset``h]j )}(hj`h]hunsigned int *data_sg_offset}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjZubj)}(hhh]h)}(hoffset in bytes into data_sgh]hoffset in bytes into data_sg}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhM hjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhM hjubj)}(hD``struct scatterlist *meta_sg`` dma mapped scatterlist for metadata h](j)}(h``struct scatterlist *meta_sg``h]j )}(hjh]hstruct scatterlist *meta_sg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]h)}(h#dma mapped scatterlist for metadatah]h#dma mapped scatterlist for metadata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h3``int meta_sg_nents`` number of entries in meta_sg h](j)}(h``int meta_sg_nents``h]j )}(hjh]hint meta_sg_nents}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]h)}(hnumber of entries in meta_sgh]hnumber of entries in meta_sg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h>``unsigned int *meta_sg_offset`` offset in bytes into meta_sg h](j)}(h ``unsigned int *meta_sg_offset``h]j )}(hj h]hunsigned int *meta_sg_offset}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]h)}(hoffset in bytes into meta_sgh]hoffset in bytes into meta_sg}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(h9``unsigned int page_size`` page vector desired page size h](j)}(h``unsigned int page_size``h]j )}(hjDh]hunsigned int page_size}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj>ubj)}(hhh]h)}(hpage vector desired page sizeh]hpage vector desired page size}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhM hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubh)}(hGConstraints: - The MR must be allocated with type IB_MR_TYPE_INTEGRITY.h]hGConstraints: - The MR must be allocated with type IB_MR_TYPE_INTEGRITY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubh)}(hPAfter this completes successfully, the memory region is ready for registration.h]hPAfter this completes successfully, the memory region is ready for registration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubh)}(h 0 on success.h]h 0 on success.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_map_mr_sg (C function)c.ib_map_mr_sghNtauh1jhhhhhNhNubj)}(hhh](j)}(hzint ib_map_mr_sg (struct ib_mr *mr, struct scatterlist *sg, int sg_nents, unsigned int *sg_offset, unsigned int page_size)h]j")}(hyint ib_map_mr_sg(struct ib_mr *mr, struct scatterlist *sg, int sg_nents, unsigned int *sg_offset, unsigned int page_size)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhM ubj)}(h ib_map_mr_sgh]jN)}(h ib_map_mr_sgh]h ib_map_mr_sg}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhM ubj)}(hi(struct ib_mr *mr, struct scatterlist *sg, int sg_nents, unsigned int *sg_offset, unsigned int page_size)h](j)}(hstruct ib_mr *mrh](j()}(hj+h]hstruct}(hj7hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj3ubj:)}(h h]h }(hjDhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj3ubh)}(hhh]jN)}(hib_mrh]hib_mr}(hjUhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjRubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjWmodnameN classnameNjkjn)}jq]jt)}jgjsbc.ib_map_mr_sgasbuh1hhj3ubj:)}(h h]h }(hjuhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj3ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubjN)}(hmrh]hmr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj3ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj/ubj)}(hstruct scatterlist *sgh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h scatterlisth]h scatterlist}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jqc.ib_map_mr_sgasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hsgh]hsg}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj/ubj)}(h int sg_nentsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hj'hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hsg_nentsh]hsg_nents}(hj5hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj/ubj)}(hunsigned int *sg_offseth](j)}(hunsignedh]hunsigned}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjJubj:)}(h h]h }(hj\hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjJubj)}(hinth]hint}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjJubj:)}(h h]h }(hjxhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjJubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubjN)}(h sg_offseth]h sg_offset}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjJubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj/ubj)}(hunsigned int page_sizeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h page_sizeh]h page_size}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj/ubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhM ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhM hjhhubj)}(hhh]h)}(hLMap the largest prefix of a dma mapped SG list and set it the memory region.h]hLMap the largest prefix of a dma mapped SG list and set it the memory region.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj&jj&jjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_mr *mr`` memory region ``struct scatterlist *sg`` dma mapped scatterlist ``int sg_nents`` number of entries in sg ``unsigned int *sg_offset`` offset in bytes into sg ``unsigned int page_size`` page vector desired page size **Description** Constraints: - The first sg element is allowed to have an offset. - Each sg element must either be aligned to page_size or virtually contiguous to the previous element. In case an sg element has a non-contiguous offset, the mapping prefix will not include it. - The last sg element is allowed to have length less than page_size. - If sg_nents total byte length exceeds the mr max_num_sge * page_size then only max_num_sg entries will be mapped. - If the MR was allocated with type IB_MR_TYPE_SG_GAPS, none of these constraints holds and the page_size argument is ignored. Returns the number of sg elements that were mapped to the memory region. After this completes successfully, the memory region is ready for registration.h](h)}(h**Parameters**h]j)}(hj0h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj*ubj)}(hhh](j)}(h#``struct ib_mr *mr`` memory region h](j)}(h``struct ib_mr *mr``h]j )}(hjOh]hstruct ib_mr *mr}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjIubj)}(hhh]h)}(h memory regionh]h memory region}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhM hjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhM hjFubj)}(h2``struct scatterlist *sg`` dma mapped scatterlist h](j)}(h``struct scatterlist *sg``h]j )}(hjh]hstruct scatterlist *sg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]h)}(hdma mapped scatterlisth]hdma mapped scatterlist}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjFubj)}(h)``int sg_nents`` number of entries in sg h](j)}(h``int sg_nents``h]j )}(hjh]h int sg_nents}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]h)}(hnumber of entries in sgh]hnumber of entries in sg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjFubj)}(h4``unsigned int *sg_offset`` offset in bytes into sg h](j)}(h``unsigned int *sg_offset``h]j )}(hjh]hunsigned int *sg_offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]h)}(hoffset in bytes into sgh]hoffset in bytes into sg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjFubj)}(h9``unsigned int page_size`` page vector desired page size h](j)}(h``unsigned int page_size``h]j )}(hj3h]hunsigned int page_size}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj-ubj)}(hhh]h)}(hpage vector desired page sizeh]hpage vector desired page size}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhM hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM hjFubeh}(h]h ]h"]h$]h&]uh1jhj*ubh)}(h**Description**h]j)}(hjnh]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj*ubh)}(h Constraints:h]h Constraints:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj*ubj_D)}(hhh](jdD)}(h2The first sg element is allowed to have an offset.h]h)}(hjh]h2The first sg element is allowed to have an offset.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubah}(h]h ]h"]h$]h&]uh1jcDhjubjdD)}(hEach sg element must either be aligned to page_size or virtually contiguous to the previous element. In case an sg element has a non-contiguous offset, the mapping prefix will not include it.h]h)}(hEach sg element must either be aligned to page_size or virtually contiguous to the previous element. In case an sg element has a non-contiguous offset, the mapping prefix will not include it.h]hEach sg element must either be aligned to page_size or virtually contiguous to the previous element. In case an sg element has a non-contiguous offset, the mapping prefix will not include it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubah}(h]h ]h"]h$]h&]uh1jcDhjubjdD)}(hBThe last sg element is allowed to have length less than page_size.h]h)}(hjh]hBThe last sg element is allowed to have length less than page_size.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubah}(h]h ]h"]h$]h&]uh1jcDhjubjdD)}(hqIf sg_nents total byte length exceeds the mr max_num_sge * page_size then only max_num_sg entries will be mapped.h]h)}(hqIf sg_nents total byte length exceeds the mr max_num_sge * page_size then only max_num_sg entries will be mapped.h]hqIf sg_nents total byte length exceeds the mr max_num_sge * page_size then only max_num_sg entries will be mapped.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubah}(h]h ]h"]h$]h&]uh1jcDhjubjdD)}(h}If the MR was allocated with type IB_MR_TYPE_SG_GAPS, none of these constraints holds and the page_size argument is ignored. h]h)}(h|If the MR was allocated with type IB_MR_TYPE_SG_GAPS, none of these constraints holds and the page_size argument is ignored.h]h|If the MR was allocated with type IB_MR_TYPE_SG_GAPS, none of these constraints holds and the page_size argument is ignored.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubah}(h]h ]h"]h$]h&]uh1jcDhjubeh}(h]h ]h"]h$]h&]jDjDuh1j^DhjhM hj*ubh)}(hHReturns the number of sg elements that were mapped to the memory region.h]hHReturns the number of sg elements that were mapped to the memory region.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj*ubh)}(hPAfter this completes successfully, the memory region is ready for registration.h]hPAfter this completes successfully, the memory region is ready for registration.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_sg_to_pages (C function)c.ib_sg_to_pageshNtauh1jhhhhhNhNubj)}(hhh](j)}(hint ib_sg_to_pages (struct ib_mr *mr, struct scatterlist *sgl, int sg_nents, unsigned int *sg_offset_p, int (*set_page)(struct ib_mr *, u64))h]j")}(hint ib_sg_to_pages(struct ib_mr *mr, struct scatterlist *sgl, int sg_nents, unsigned int *sg_offset_p, int (*set_page)(struct ib_mr*, u64))h](j)}(hinth]hint}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjQhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM ubj:)}(h h]h }(hjdhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjQhhhjchM ubj)}(hib_sg_to_pagesh]jN)}(hib_sg_to_pagesh]hib_sg_to_pages}(hjvhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjrubah}(h]h ](jjeh"]h$]h&]jjuh1jhjQhhhjchM ubj)}(hy(struct ib_mr *mr, struct scatterlist *sgl, int sg_nents, unsigned int *sg_offset_p, int (*set_page)(struct ib_mr*, u64))h](j)}(hstruct ib_mr *mrh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_mrh]hib_mr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjxsbc.ib_sg_to_pagesasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hmrh]hmr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct scatterlist *sglh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h scatterlisth]h scatterlist}(hj"hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj$modnameN classnameNjkjn)}jq]jc.ib_sg_to_pagesasbuh1hhjubj:)}(h h]h }(hj@hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hsglh]hsgl}(hj[hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h int sg_nentsh](j)}(hinth]hint}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjpubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjpubjN)}(hsg_nentsh]hsg_nents}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjpubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hunsigned int *sg_offset_ph](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(h sg_offset_ph]h sg_offset_p}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h#int (*set_page)(struct ib_mr*, u64)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(h(h]h(}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hset_pageh]hset_page}(hj>hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubj)}(h)h]h)}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj%h]h(}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj()}(hj+h]hstruct}(hjghhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjthhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_mrh]hib_mr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_sg_to_pagesasbuh1hhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h,h]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_sg_to_pagesasbuh1hhjubj)}(hjNh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjQhhhjchM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjMhhhjchM ubah}(h]jHah ](jjeh"]h$]h&]jj)jhuh1jhjchM hjJhhubj)}(hhh]h)}(h8Convert the largest prefix of a sg list to a page vectorh]h8Convert the largest prefix of a sg list to a page vector}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjhhubah}(h]h ]h"]h$]h&]uh1jhjJhhhjchM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj.jj.jjjuh1jhhhhhNhNubj)}(hXW**Parameters** ``struct ib_mr *mr`` memory region ``struct scatterlist *sgl`` dma mapped scatterlist ``int sg_nents`` number of entries in sg ``unsigned int *sg_offset_p`` ==== ======================================================= IN start offset in bytes into sg OUT offset in bytes for element n of the sg of the first byte that has not been processed where n is the return value of this function. ==== ======================================================= ``int (*set_page)(struct ib_mr *, u64)`` driver page assignment function pointer **Description** Core service helper for drivers to convert the largest prefix of given sg list to a page vector. The sg list prefix converted is the prefix that meet the requirements of ib_map_mr_sg. Returns the number of sg elements that were assigned to a page vector.h](h)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj2ubj)}(hhh](j)}(h#``struct ib_mr *mr`` memory region h](j)}(h``struct ib_mr *mr``h]j )}(hjWh]hstruct ib_mr *mr}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjQubj)}(hhh]h)}(h memory regionh]h memory region}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhM hjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM hjNubj)}(h3``struct scatterlist *sgl`` dma mapped scatterlist h](j)}(h``struct scatterlist *sgl``h]j )}(hjh]hstruct scatterlist *sgl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]h)}(hdma mapped scatterlisth]hdma mapped scatterlist}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjNubj)}(h)``int sg_nents`` number of entries in sg h](j)}(h``int sg_nents``h]j )}(hjh]h int sg_nents}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]h)}(hnumber of entries in sgh]hnumber of entries in sg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjNubj)}(hXN``unsigned int *sg_offset_p`` ==== ======================================================= IN start offset in bytes into sg OUT offset in bytes for element n of the sg of the first byte that has not been processed where n is the return value of this function. ==== ======================================================= h](j)}(h``unsigned int *sg_offset_p``h]j )}(hjh]hunsigned int *sg_offset_p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]htable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j%hj"ubj&)}(hhh]h}(h]h ]h"]h$]h&]colwidthK7uh1j%hj"ubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(hINh]hIN}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjGubah}(h]h ]h"]h$]h&]uh1jEhjBubjF)}(hhh]h)}(hstart offset in bytes into sgh]hstart offset in bytes into sg}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhM hj_ubah}(h]h ]h"]h$]h&]uh1jEhjBubeh}(h]h ]h"]h$]h&]uh1j@hj=ubjA)}(hhh](jF)}(hhh]h)}(hOUTh]hOUT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubah}(h]h ]h"]h$]h&]uh1jEhj|ubjF)}(hhh]h)}(hoffset in bytes for element n of the sg of the first byte that has not been processed where n is the return value of this function.h]hoffset in bytes for element n of the sg of the first byte that has not been processed where n is the return value of this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jEhj|ubeh}(h]h ]h"]h$]h&]uh1j@hj=ubeh}(h]h ]h"]h$]h&]uh1j;hj"ubeh}(h]h ]h"]h$]h&]colsKuh1j hjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjNubj)}(hQ``int (*set_page)(struct ib_mr *, u64)`` driver page assignment function pointer h](j)}(h(``int (*set_page)(struct ib_mr *, u64)``h]j )}(hjh]h$int (*set_page)(struct ib_mr *, u64)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]h)}(h'driver page assignment function pointerh]h'driver page assignment function pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjNubeh}(h]h ]h"]h$]h&]uh1jhj2ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj2ubh)}(hCore service helper for drivers to convert the largest prefix of given sg list to a page vector. The sg list prefix converted is the prefix that meet the requirements of ib_map_mr_sg.h]hCore service helper for drivers to convert the largest prefix of given sg list to a page vector. The sg list prefix converted is the prefix that meet the requirements of ib_map_mr_sg.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj2ubh)}(hFReturns the number of sg elements that were assigned to a page vector.h]hFReturns the number of sg elements that were assigned to a page vector.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_drain_sq (C function) c.ib_drain_sqhNtauh1jhhhhhNhNubj)}(hhh](j)}(h#void ib_drain_sq (struct ib_qp *qp)h]j")}(h"void ib_drain_sq(struct ib_qp *qp)h](j)}(hvoidh]hvoid}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjdhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM ubj:)}(h h]h }(hjwhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjdhhhjvhM ubj)}(h ib_drain_sqh]jN)}(h ib_drain_sqh]h ib_drain_sq}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjdhhhjvhM ubj)}(h(struct ib_qp *qp)h]j)}(hstruct ib_qp *qph](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_qph]hib_qp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjsb c.ib_drain_sqasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hqph]hqp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubah}(h]h ]h"]h$]h&]jjuh1jhjdhhhjvhM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj`hhhjvhM ubah}(h]j[ah ](jjeh"]h$]h&]jj)jhuh1jhjvhM hj]hhubj)}(hhh]h)}(h>Block until all SQ CQEs have been consumed by the application.h]h>Block until all SQ CQEs have been consumed by the application.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj%hhubah}(h]h ]h"]h$]h&]uh1jhj]hhhjvhM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj@jj@jjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_qp *qp`` queue pair to drain **Description** If the device has a provider-specific drain function, then call that. Otherwise call the generic drain function __ib_drain_sq(). The caller must: ensure there is room in the CQ and SQ for the drain work request and completion. allocate the CQ using ib_alloc_cq(). ensure that there are no other contexts that are posting WRs concurrently. Otherwise the drain is not guaranteed.h](h)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjDubj)}(hhh]j)}(h)``struct ib_qp *qp`` queue pair to drain h](j)}(h``struct ib_qp *qp``h]j )}(hjih]hstruct ib_qp *qp}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjcubj)}(hhh]h)}(hqueue pair to drainh]hqueue pair to drain}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hM hjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hM hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjDubh)}(hIf the device has a provider-specific drain function, then call that. Otherwise call the generic drain function __ib_drain_sq().h]hIf the device has a provider-specific drain function, then call that. Otherwise call the generic drain function __ib_drain_sq().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjDubh)}(hThe caller must:h]hThe caller must:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjDubh)}(hPensure there is room in the CQ and SQ for the drain work request and completion.h]hPensure there is room in the CQ and SQ for the drain work request and completion.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjDubh)}(h$allocate the CQ using ib_alloc_cq().h]h$allocate the CQ using ib_alloc_cq().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjDubh)}(hqensure that there are no other contexts that are posting WRs concurrently. Otherwise the drain is not guaranteed.h]hqensure that there are no other contexts that are posting WRs concurrently. Otherwise the drain is not guaranteed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_drain_rq (C function) c.ib_drain_rqhNtauh1jhhhhhNhNubj)}(hhh](j)}(h#void ib_drain_rq (struct ib_qp *qp)h]j")}(h"void ib_drain_rq(struct ib_qp *qp)h](j)}(hvoidh]hvoid}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj!hhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM ubj:)}(h h]h }(hj4hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj!hhhj3hM ubj)}(h ib_drain_rqh]jN)}(h ib_drain_rqh]h ib_drain_rq}(hjFhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjBubah}(h]h ](jjeh"]h$]h&]jjuh1jhj!hhhj3hM ubj)}(h(struct ib_qp *qp)h]j)}(hstruct ib_qp *qph](j()}(hj+h]hstruct}(hjbhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj^ubj:)}(h h]h }(hjohhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj^ubh)}(hhh]jN)}(hib_qph]hib_qp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj}ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjHsb c.ib_drain_rqasbuh1hhj^ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj^ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubjN)}(hqph]hqp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj^ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjZubah}(h]h ]h"]h$]h&]jjuh1jhj!hhhj3hM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhj3hM ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhj3hM hjhhubj)}(hhh]h)}(h>Block until all RQ CQEs have been consumed by the application.h]h>Block until all RQ CQEs have been consumed by the application.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj3hM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_qp *qp`` queue pair to drain **Description** If the device has a provider-specific drain function, then call that. Otherwise call the generic drain function __ib_drain_rq(). The caller must: ensure there is room in the CQ and RQ for the drain work request and completion. allocate the CQ using ib_alloc_cq(). ensure that there are no other contexts that are posting WRs concurrently. Otherwise the drain is not guaranteed.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]j)}(h)``struct ib_qp *qp`` queue pair to drain h](j)}(h``struct ib_qp *qp``h]j )}(hj&h]hstruct ib_qp *qp}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hj ubj)}(hhh]h)}(hqueue pair to drainh]hqueue pair to drain}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hM hj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hM hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjah]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubh)}(hIf the device has a provider-specific drain function, then call that. Otherwise call the generic drain function __ib_drain_rq().h]hIf the device has a provider-specific drain function, then call that. Otherwise call the generic drain function __ib_drain_rq().}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubh)}(hThe caller must:h]hThe caller must:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubh)}(hPensure there is room in the CQ and RQ for the drain work request and completion.h]hPensure there is room in the CQ and RQ for the drain work request and completion.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubh)}(h$allocate the CQ using ib_alloc_cq().h]h$allocate the CQ using ib_alloc_cq().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubh)}(hqensure that there are no other contexts that are posting WRs concurrently. Otherwise the drain is not guaranteed.h]hqensure that there are no other contexts that are posting WRs concurrently. Otherwise the drain is not guaranteed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_drain_qp (C function) c.ib_drain_qphNtauh1jhhhhhNhNubj)}(hhh](j)}(h#void ib_drain_qp (struct ib_qp *qp)h]j")}(h"void ib_drain_qp(struct ib_qp *qp)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhM ubj)}(h ib_drain_qph]jN)}(h ib_drain_qph]h ib_drain_qp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhM ubj)}(h(struct ib_qp *qp)h]j)}(hstruct ib_qp *qph](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj,hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_qph]hib_qp}(hj=hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj:ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj?modnameN classnameNjkjn)}jq]jt)}jgjsb c.ib_drain_qpasbuh1hhjubj:)}(h h]h }(hj]hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hqph]hqp}(hjxhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubah}(h]h ]h"]h$]h&]jjuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhM ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhM hjhhubj)}(hhh]h)}(hQBlock until all CQEs have been consumed by the application on both the RQ and SQ.h]hQBlock until all CQEs have been consumed by the application on both the RQ and SQ.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hXO**Parameters** ``struct ib_qp *qp`` queue pair to drain **Description** The caller must: ensure there is room in the CQ(s), SQ, and RQ for drain work requests and completions. allocate the CQs using ib_alloc_cq(). ensure that there are no other contexts that are posting WRs concurrently. Otherwise the drain is not guaranteed.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]j)}(h)``struct ib_qp *qp`` queue pair to drain h](j)}(h``struct ib_qp *qp``h]j )}(hjh]hstruct ib_qp *qp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubj)}(hhh]h)}(hqueue pair to drainh]hqueue pair to drain}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubh)}(hThe caller must:h]hThe caller must:}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubh)}(hVensure there is room in the CQ(s), SQ, and RQ for drain work requests and completions.h]hVensure there is room in the CQ(s), SQ, and RQ for drain work requests and completions.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubh)}(h%allocate the CQs using ib_alloc_cq().h]h%allocate the CQs using ib_alloc_cq().}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubh)}(hqensure that there are no other contexts that are posting WRs concurrently. Otherwise the drain is not guaranteed.h]hqensure that there are no other contexts that are posting WRs concurrently. Otherwise the drain is not guaranteed.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j'rdma_alloc_hw_stats_struct (C function)c.rdma_alloc_hw_stats_structhNtauh1jhhhhhNhNubj)}(hhh](j)}(hstruct rdma_hw_stats * rdma_alloc_hw_stats_struct (const struct rdma_stat_desc *descs, int num_counters, unsigned long lifespan)h]j")}(h~struct rdma_hw_stats *rdma_alloc_hw_stats_struct(const struct rdma_stat_desc *descs, int num_counters, unsigned long lifespan)h](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMU ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMU ubh)}(hhh]jN)}(h rdma_hw_statsh]h rdma_hw_stats}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgrdma_alloc_hw_stats_structsbc.rdma_alloc_hw_stats_structasbuh1hhjhhhjhMU ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMU ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMU ubj)}(hrdma_alloc_hw_stats_structh]jN)}(hjh]hrdma_alloc_hw_stats_struct}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMU ubj)}(hN(const struct rdma_stat_desc *descs, int num_counters, unsigned long lifespan)h](j)}(h"const struct rdma_stat_desc *descsh](j()}(hjh]hconst}(hj hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj()}(hj+h]hstruct}(hj%hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj2hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hrdma_stat_desch]hrdma_stat_desc}(hjChhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj@ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjEmodnameN classnameNjkjn)}jq]jc.rdma_alloc_hw_stats_structasbuh1hhjubj:)}(h h]h }(hjahhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hdescsh]hdescs}(hj|hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hint num_countersh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h num_countersh]h num_counters}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hunsigned long lifespanh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hlifespanh]hlifespan}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMU ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMU ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMU hjhhubj)}(hhh]h)}(h;Helper function to allocate dynamic struct for the drivers.h]h;Helper function to allocate dynamic struct for the drivers.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMU hj)hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMU ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjDjjDjjjuh1jhhhhhNhNubj)}(h**Parameters** ``const struct rdma_stat_desc *descs`` array of static descriptors ``int num_counters`` number of elements in array ``unsigned long lifespan`` milliseconds between updatesh](h)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMY hjHubj)}(hhh](j)}(hC``const struct rdma_stat_desc *descs`` array of static descriptors h](j)}(h&``const struct rdma_stat_desc *descs``h]j )}(hjmh]h"const struct rdma_stat_desc *descs}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMW hjgubj)}(hhh]h)}(harray of static descriptorsh]harray of static descriptors}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMW hjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMW hjdubj)}(h1``int num_counters`` number of elements in array h](j)}(h``int num_counters``h]j )}(hjh]hint num_counters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMX hjubj)}(hhh]h)}(hnumber of elements in arrayh]hnumber of elements in array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMX hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMX hjdubj)}(h7``unsigned long lifespan`` milliseconds between updatesh](j)}(h``unsigned long lifespan``h]j )}(hjh]hunsigned long lifespan}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMZ hjubj)}(hhh]h)}(hmilliseconds between updatesh]hmilliseconds between updates}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhe/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:28: ./drivers/infiniband/core/verbs.chMY hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZ hjdubeh}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j&rdma_free_hw_stats_struct (C function)c.rdma_free_hw_stats_structhNtauh1jhhhhhNhNubj)}(hhh](j)}(hhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hdeviceh]hdevice}(hjYhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h u32 port_numh](h)}(hhh]jN)}(hu32h]hu32}(hjuhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjrubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjwmodnameN classnameNjkjn)}jq]j:c.ib_init_ah_attr_from_pathasbuh1hhjnubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjnubjN)}(hport_numh]hport_num}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjnubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct sa_path_rec *rech](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h sa_path_rech]h sa_path_rec}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j:c.ib_init_ah_attr_from_pathasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hrech]hrec}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct rdma_ah_attr *ah_attrh](j()}(hj+h]hstruct}(hj*hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj&ubj:)}(h h]h }(hj7hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj&ubh)}(hhh]jN)}(h rdma_ah_attrh]h rdma_ah_attr}(hjHhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjEubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjJmodnameN classnameNjkjn)}jq]j:c.ib_init_ah_attr_from_pathasbuh1hhj&ubj:)}(h h]h }(hjfhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj&ubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubjN)}(hah_attrh]hah_attr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj&ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h"const struct ib_gid_attr *gid_attrh](j()}(hjh]hconst}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_gid_attrh]h ib_gid_attr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j:c.ib_init_ah_attr_from_pathasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hgid_attrh]hgid_attr}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h@Initialize address handle attributes based on an SA path record.h]h@Initialize address handle attributes based on an SA path record.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhj3hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjNjjNjjjuh1jhhhhhNhNubj)}(hX***Parameters** ``struct ib_device *device`` Device associated ah attributes initialization. ``u32 port_num`` Port on the specified device. ``struct sa_path_rec *rec`` path record entry to use for ah attributes initialization. ``struct rdma_ah_attr *ah_attr`` address handle attributes to initialization from path record. ``const struct ib_gid_attr *gid_attr`` SGID attribute to consider during initialization. **Description** When ib_init_ah_attr_from_path() returns success, (a) for IB link layer it optionally contains a reference to SGID attribute when GRH is present for IB link layer. (b) for RoCE link layer it contains a reference to SGID attribute. User must invoke rdma_destroy_ah_attr() to release reference to SGID attributes which are initialized using ib_init_ah_attr_from_path().h](h)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhjRubj)}(hhh](j)}(hM``struct ib_device *device`` Device associated ah attributes initialization. h](j)}(h``struct ib_device *device``h]j )}(hjwh]hstruct ib_device *device}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhjqubj)}(hhh]h)}(h/Device associated ah attributes initialization.h]h/Device associated ah attributes initialization.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubj)}(h/``u32 port_num`` Port on the specified device. h](j)}(h``u32 port_num``h]j )}(hjh]h u32 port_num}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhjubj)}(hhh]h)}(hPort on the specified device.h]hPort on the specified device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubj)}(hW``struct sa_path_rec *rec`` path record entry to use for ah attributes initialization. h](j)}(h``struct sa_path_rec *rec``h]j )}(hjh]hstruct sa_path_rec *rec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhjubj)}(hhh]h)}(h:path record entry to use for ah attributes initialization.h]h:path record entry to use for ah attributes initialization.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubj)}(h_``struct rdma_ah_attr *ah_attr`` address handle attributes to initialization from path record. h](j)}(h ``struct rdma_ah_attr *ah_attr``h]j )}(hj"h]hstruct rdma_ah_attr *ah_attr}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhjubj)}(hhh]h)}(h=address handle attributes to initialization from path record.h]h=address handle attributes to initialization from path record.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjnubj)}(hY``const struct ib_gid_attr *gid_attr`` SGID attribute to consider during initialization. h](j)}(h&``const struct ib_gid_attr *gid_attr``h]j )}(hj[h]h"const struct ib_gid_attr *gid_attr}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhjUubj)}(hhh]h)}(h1SGID attribute to consider during initialization.h]h1SGID attribute to consider during initialization.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjnubeh}(h]h ]h"]h$]h&]uh1jhjRubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhjRubh)}(hXoWhen ib_init_ah_attr_from_path() returns success, (a) for IB link layer it optionally contains a reference to SGID attribute when GRH is present for IB link layer. (b) for RoCE link layer it contains a reference to SGID attribute. User must invoke rdma_destroy_ah_attr() to release reference to SGID attributes which are initialized using ib_init_ah_attr_from_path().h]hXoWhen ib_init_ah_attr_from_path() returns success, (a) for IB link layer it optionally contains a reference to SGID attribute when GRH is present for IB link layer. (b) for RoCE link layer it contains a reference to SGID attribute. User must invoke rdma_destroy_ah_attr() to release reference to SGID attributes which are initialized using ib_init_ah_attr_from_path().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_sa_path_rec_get (C function)c.ib_sa_path_rec_gethNtauh1jhhhhhNhNubj)}(hhh](j)}(hXGint ib_sa_path_rec_get (struct ib_sa_client *client, struct ib_device *device, u32 port_num, struct sa_path_rec *rec, ib_sa_comp_mask comp_mask, unsigned long timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct sa_path_rec *resp, unsigned int num_paths, void *context), void *context, struct ib_sa_query **sa_query)h]j")}(hXFint ib_sa_path_rec_get(struct ib_sa_client *client, struct ib_device *device, u32 port_num, struct sa_path_rec *rec, ib_sa_comp_mask comp_mask, unsigned long timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct sa_path_rec *resp, unsigned int num_paths, void *context), void *context, struct ib_sa_query **sa_query)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMgubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMgubj)}(hib_sa_path_rec_geth]jN)}(hib_sa_path_rec_geth]hib_sa_path_rec_get}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMgubj)}(hX0(struct ib_sa_client *client, struct ib_device *device, u32 port_num, struct sa_path_rec *rec, ib_sa_comp_mask comp_mask, unsigned long timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct sa_path_rec *resp, unsigned int num_paths, void *context), void *context, struct ib_sa_query **sa_query)h](j)}(hstruct ib_sa_client *clienth](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj%hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_sa_clienth]h ib_sa_client}(hj6hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj3ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj8modnameN classnameNjkjn)}jq]jt)}jgjsbc.ib_sa_path_rec_getasbuh1hhjubj:)}(h h]h }(hjVhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hclienth]hclient}(hjqhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ib_device *deviceh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jRc.ib_sa_path_rec_getasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h u32 port_numh](h)}(hhh]jN)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jRc.ib_sa_path_rec_getasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hport_numh]hport_num}(hj)hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct sa_path_rec *rech](j()}(hj+h]hstruct}(hjBhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj>ubj:)}(h h]h }(hjOhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj>ubh)}(hhh]jN)}(h sa_path_rech]h sa_path_rec}(hj`hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj]ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjbmodnameN classnameNjkjn)}jq]jRc.ib_sa_path_rec_getasbuh1hhj>ubj:)}(h h]h }(hj~hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj>ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubjN)}(hrech]hrec}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj>ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hib_sa_comp_mask comp_maskh](h)}(hhh]jN)}(hib_sa_comp_maskh]hib_sa_comp_mask}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jRc.ib_sa_path_rec_getasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h comp_maskh]h comp_mask}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hunsigned long timeout_msh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hj$hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h timeout_msh]h timeout_ms}(hj2hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hgfp_t gfp_maskh](h)}(hhh]jN)}(hgfp_th]hgfp_t}(hjNhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjKubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjPmodnameN classnameNjkjn)}jq]jRc.ib_sa_path_rec_getasbuh1hhjGubj:)}(h h]h }(hjlhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjGubjN)}(hgfp_maskh]hgfp_mask}(hjzhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjGubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h]void (*callback)(int status, struct sa_path_rec *resp, unsigned int num_paths, void *context)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hj%h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hcallbackh]hcallback}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubj)}(hjNh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj%h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hstatush]hstatus}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj:)}(h h]h }(hj(hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj()}(hj+h]hstruct}(hj6hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjChhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h sa_path_rech]h sa_path_rec}(hjThhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjQubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjVmodnameN classnameNjkjn)}jq]jRc.ib_sa_path_rec_getasbuh1hhjubj:)}(h h]h }(hjrhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hresph]hresp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h num_pathsh]h num_paths}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hj%hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hcontexth]hcontext}(hj@hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubj)}(hjNh]h)}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h void *contexth](j)}(hvoidh]hvoid}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjbubj:)}(h h]h }(hjthhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjbubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubjN)}(hcontexth]hcontext}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjbubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ib_sa_query **sa_queryh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_sa_queryh]h ib_sa_query}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jRc.ib_sa_path_rec_getasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hsa_queryh]hsa_query}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMgubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMgubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMghjhhubj)}(hhh]h)}(hStart a Path get queryh]hStart a Path get query}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMghj3hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMgubeh}(h]h ](jefunctioneh"]h$]h&]jjejjNjjNjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_sa_client *client`` SA client ``struct ib_device *device`` device to send query on ``u32 port_num`` port number to send query on ``struct sa_path_rec *rec`` Path Record to send in query ``ib_sa_comp_mask comp_mask`` component mask to send in query ``unsigned long timeout_ms`` time to wait for response ``gfp_t gfp_mask`` GFP mask to use for internal allocations ``void (*callback)(int status, struct sa_path_rec *resp, unsigned int num_paths, void *context)`` function called when query completes, times out or is canceled ``void *context`` opaque user context passed to callback ``struct ib_sa_query **sa_query`` query context, used to cancel query **Description** Send a Path Record Get query to the SA to look up a path. The callback function will be called when the query completes (or fails); status is 0 for a successful response, -EINTR if the query is canceled, -ETIMEDOUT is the query timed out, or -EIO if an error occurred sending the query. The resp parameter of the callback is only valid if status is 0. If the return value of ib_sa_path_rec_get() is negative, it is an error code. Otherwise it is a query ID that can be used to cancel the query.h](h)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMkhjRubj)}(hhh](j)}(h*``struct ib_sa_client *client`` SA client h](j)}(h``struct ib_sa_client *client``h]j )}(hjwh]hstruct ib_sa_client *client}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhhjqubj)}(hhh]h)}(h SA clienth]h SA client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjnubj)}(h5``struct ib_device *device`` device to send query on h](j)}(h``struct ib_device *device``h]j )}(hjh]hstruct ib_device *device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMihjubj)}(hhh]h)}(hdevice to send query onh]hdevice to send query on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMihjnubj)}(h.``u32 port_num`` port number to send query on h](j)}(h``u32 port_num``h]j )}(hjh]h u32 port_num}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMjhjubj)}(hhh]h)}(hport number to send query onh]hport number to send query on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjnubj)}(h9``struct sa_path_rec *rec`` Path Record to send in query h](j)}(h``struct sa_path_rec *rec``h]j )}(hj"h]hstruct sa_path_rec *rec}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMkhjubj)}(hhh]h)}(hPath Record to send in queryh]hPath Record to send in query}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMkhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMkhjnubj)}(h>``ib_sa_comp_mask comp_mask`` component mask to send in query h](j)}(h``ib_sa_comp_mask comp_mask``h]j )}(hj[h]hib_sa_comp_mask comp_mask}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMlhjUubj)}(hhh]h)}(hcomponent mask to send in queryh]hcomponent mask to send in query}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMlhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMlhjnubj)}(h7``unsigned long timeout_ms`` time to wait for response h](j)}(h``unsigned long timeout_ms``h]j )}(hjh]hunsigned long timeout_ms}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMmhjubj)}(hhh]h)}(htime to wait for responseh]htime to wait for response}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjnubj)}(h<``gfp_t gfp_mask`` GFP mask to use for internal allocations h](j)}(h``gfp_t gfp_mask``h]j )}(hjh]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMnhjubj)}(hhh]h)}(h(GFP mask to use for internal allocationsh]h(GFP mask to use for internal allocations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjnubj)}(h``void (*callback)(int status, struct sa_path_rec *resp, unsigned int num_paths, void *context)`` function called when query completes, times out or is canceled h](j)}(ha``void (*callback)(int status, struct sa_path_rec *resp, unsigned int num_paths, void *context)``h]j )}(hjh]h]void (*callback)(int status, struct sa_path_rec *resp, unsigned int num_paths, void *context)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMphjubj)}(hhh]h)}(h>function called when query completes, times out or is canceledh]h>function called when query completes, times out or is canceled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMphjnubj)}(h9``void *context`` opaque user context passed to callback h](j)}(h``void *context``h]j )}(hj@h]h void *context}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMqhj:ubj)}(hhh]h)}(h&opaque user context passed to callbackh]h&opaque user context passed to callback}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMqhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMqhjnubj)}(hF``struct ib_sa_query **sa_query`` query context, used to cancel query h](j)}(h!``struct ib_sa_query **sa_query``h]j )}(hjyh]hstruct ib_sa_query **sa_query}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMrhjsubj)}(hhh]h)}(h#query context, used to cancel queryh]h#query context, used to cancel query}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjnubeh}(h]h ]h"]h$]h&]uh1jhjRubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMthjRubh)}(hXaSend a Path Record Get query to the SA to look up a path. The callback function will be called when the query completes (or fails); status is 0 for a successful response, -EINTR if the query is canceled, -ETIMEDOUT is the query timed out, or -EIO if an error occurred sending the query. The resp parameter of the callback is only valid if status is 0.h]hXaSend a Path Record Get query to the SA to look up a path. The callback function will be called when the query completes (or fails); status is 0 for a successful response, -EINTR if the query is canceled, -ETIMEDOUT is the query timed out, or -EIO if an error occurred sending the query. The resp parameter of the callback is only valid if status is 0.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMshjRubh)}(hIf the return value of ib_sa_path_rec_get() is negative, it is an error code. Otherwise it is a query ID that can be used to cancel the query.h]hIf the return value of ib_sa_path_rec_get() is negative, it is an error code. Otherwise it is a query ID that can be used to cancel the query.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMzhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"ib_sa_service_rec_get (C function)c.ib_sa_service_rec_gethNtauh1jhhhhhNhNubj)}(hhh](j)}(hXSint ib_sa_service_rec_get (struct ib_sa_client *client, struct ib_device *device, u32 port_num, struct sa_service_rec *rec, ib_sa_comp_mask comp_mask, unsigned long timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct sa_service_rec *resp, unsigned int num_services, void *context), void *context, struct ib_sa_query **sa_query)h]j")}(hXRint ib_sa_service_rec_get(struct ib_sa_client *client, struct ib_device *device, u32 port_num, struct sa_service_rec *rec, ib_sa_comp_mask comp_mask, unsigned long timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct sa_service_rec *resp, unsigned int num_services, void *context), void *context, struct ib_sa_query **sa_query)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hib_sa_service_rec_geth]jN)}(hib_sa_service_rec_geth]hib_sa_service_rec_get}(hj)hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj%ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(hX9(struct ib_sa_client *client, struct ib_device *device, u32 port_num, struct sa_service_rec *rec, ib_sa_comp_mask comp_mask, unsigned long timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct sa_service_rec *resp, unsigned int num_services, void *context), void *context, struct ib_sa_query **sa_query)h](j)}(hstruct ib_sa_client *clienth](j()}(hj+h]hstruct}(hjEhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjAubj:)}(h h]h }(hjRhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjAubh)}(hhh]jN)}(h ib_sa_clienth]h ib_sa_client}(hjchhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj`ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjemodnameN classnameNjkjn)}jq]jt)}jgj+sbc.ib_sa_service_rec_getasbuh1hhjAubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjAubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubjN)}(hclienth]hclient}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjAubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj=ubj)}(hstruct ib_device *deviceh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_sa_service_rec_getasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj=ubj)}(h u32 port_numh](h)}(hhh]jN)}(hu32h]hu32}(hj*hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj'ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj,modnameN classnameNjkjn)}jq]jc.ib_sa_service_rec_getasbuh1hhj#ubj:)}(h h]h }(hjHhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj#ubjN)}(hport_numh]hport_num}(hjVhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj#ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj=ubj)}(hstruct sa_service_rec *rech](j()}(hj+h]hstruct}(hjohhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjkubj:)}(h h]h }(hj|hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjkubh)}(hhh]jN)}(hsa_service_rech]hsa_service_rec}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_sa_service_rec_getasbuh1hhjkubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjkubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubjN)}(hrech]hrec}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjkubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj=ubj)}(hib_sa_comp_mask comp_maskh](h)}(hhh]jN)}(hib_sa_comp_maskh]hib_sa_comp_mask}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_sa_service_rec_getasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h comp_maskh]h comp_mask}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj=ubj)}(hunsigned long timeout_msh](j)}(hunsignedh]hunsigned}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj#ubj:)}(h h]h }(hj5hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj#ubj)}(hlongh]hlong}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj#ubj:)}(h h]h }(hjQhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj#ubjN)}(h timeout_msh]h timeout_ms}(hj_hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj#ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj=ubj)}(hgfp_t gfp_maskh](h)}(hhh]jN)}(hgfp_th]hgfp_t}(hj{hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjxubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj}modnameN classnameNjkjn)}jq]jc.ib_sa_service_rec_getasbuh1hhjtubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjtubjN)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjtubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj=ubj)}(hcvoid (*callback)(int status, struct sa_service_rec *resp, unsigned int num_services, void *context)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hj%h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hcallbackh]hcallback}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubj)}(hjNh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj%h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hj,hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hstatush]hstatus}(hj:hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubj)}(hjh]h,}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj:)}(h h]h }(hjUhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj()}(hj+h]hstruct}(hjchhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjphhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hsa_service_rech]hsa_service_rec}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj~ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_sa_service_rec_getasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hresph]hresp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h num_servicesh]h num_services}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubj)}(hjh]h,}(hj) hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj:)}(h h]h }(hj6 hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hvoidh]hvoid}(hjD hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjR hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj` hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hcontexth]hcontext}(hjm hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubj)}(hjNh]h)}(hj{ hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj=ubj)}(h void *contexth](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjN)}(hcontexth]hcontext}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj=ubj)}(hstruct ib_sa_query **sa_queryh](j()}(hj+h]hstruct}(hj hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubh)}(hhh]jN)}(h ib_sa_queryh]h ib_sa_query}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj modnameN classnameNjkjn)}jq]jc.ib_sa_service_rec_getasbuh1hhj ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hj, hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjN)}(hsa_queryh]hsa_query}(hj9 hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj=ubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(hStart a Service get queryh]hStart a Service get query}(hjc hhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhj` hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj{ jj{ jjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_sa_client *client`` SA client ``struct ib_device *device`` device to send query on ``u32 port_num`` port number to send query on ``struct sa_service_rec *rec`` Service Record to send in query ``ib_sa_comp_mask comp_mask`` component mask to send in query ``unsigned long timeout_ms`` time to wait for response ``gfp_t gfp_mask`` GFP mask to use for internal allocations ``void (*callback)(int status, struct sa_service_rec *resp, unsigned int num_services, void *context)`` function called when query completes, times out or is canceled ``void *context`` opaque user context passed to callback ``struct ib_sa_query **sa_query`` query context, used to cancel query **Description** Send a Service Record Get query to the SA to look up a path. The callback function will be called when the query completes (or fails); status is 0 for a successful response, -EINTR if the query is canceled, -ETIMEDOUT is the query timed out, or -EIO if an error occurred sending the query. The resp parameter of the callback is only valid if status is 0. If the return value of ib_sa_service_rec_get() is negative, it is an error code. Otherwise it is a query ID that can be used to cancel the query.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhj ubj)}(hhh](j)}(h*``struct ib_sa_client *client`` SA client h](j)}(h``struct ib_sa_client *client``h]j )}(hj h]hstruct ib_sa_client *client}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhj ubj)}(hhh]h)}(h SA clienth]h SA client}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h5``struct ib_device *device`` device to send query on h](j)}(h``struct ib_device *device``h]j )}(hj h]hstruct ib_device *device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhj ubj)}(hhh]h)}(hdevice to send query onh]hdevice to send query on}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h.``u32 port_num`` port number to send query on h](j)}(h``u32 port_num``h]j )}(hj h]h u32 port_num}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhj ubj)}(hhh]h)}(hport number to send query onh]hport number to send query on}(hj/ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+ hMhj, ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj+ hMhj ubj)}(h?``struct sa_service_rec *rec`` Service Record to send in query h](j)}(h``struct sa_service_rec *rec``h]j )}(hjO h]hstruct sa_service_rec *rec}(hjQ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhjI ubj)}(hhh]h)}(hService Record to send in queryh]hService Record to send in query}(hjh hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjd hMhje ubah}(h]h ]h"]h$]h&]uh1jhjI ubeh}(h]h ]h"]h$]h&]uh1jhjd hMhj ubj)}(h>``ib_sa_comp_mask comp_mask`` component mask to send in query h](j)}(h``ib_sa_comp_mask comp_mask``h]j )}(hj h]hib_sa_comp_mask comp_mask}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhj ubj)}(hhh]h)}(hcomponent mask to send in queryh]hcomponent mask to send in query}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h7``unsigned long timeout_ms`` time to wait for response h](j)}(h``unsigned long timeout_ms``h]j )}(hj h]hunsigned long timeout_ms}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhj ubj)}(hhh]h)}(htime to wait for responseh]htime to wait for response}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h<``gfp_t gfp_mask`` GFP mask to use for internal allocations h](j)}(h``gfp_t gfp_mask``h]j )}(hj h]hgfp_t gfp_mask}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhj ubj)}(hhh]h)}(h(GFP mask to use for internal allocationsh]h(GFP mask to use for internal allocations}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h``void (*callback)(int status, struct sa_service_rec *resp, unsigned int num_services, void *context)`` function called when query completes, times out or is canceled h](j)}(hg``void (*callback)(int status, struct sa_service_rec *resp, unsigned int num_services, void *context)``h]j )}(hj3 h]hcvoid (*callback)(int status, struct sa_service_rec *resp, unsigned int num_services, void *context)}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1 ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhj- ubj)}(hhh]h)}(h>function called when query completes, times out or is canceledh]h>function called when query completes, times out or is canceled}(hjL hhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhjI ubah}(h]h ]h"]h$]h&]uh1jhj- ubeh}(h]h ]h"]h$]h&]uh1jhjH hMhj ubj)}(h9``void *context`` opaque user context passed to callback h](j)}(h``void *context``h]j )}(hjm h]h void *context}(hjo hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhjg ubj)}(hhh]h)}(h&opaque user context passed to callbackh]h&opaque user context passed to callback}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjg ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(hF``struct ib_sa_query **sa_query`` query context, used to cancel query h](j)}(h!``struct ib_sa_query **sa_query``h]j )}(hj h]hstruct ib_sa_query **sa_query}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhj ubj)}(hhh]h)}(h#query context, used to cancel queryh]h#query context, used to cancel query}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhj ubh)}(hXdSend a Service Record Get query to the SA to look up a path. The callback function will be called when the query completes (or fails); status is 0 for a successful response, -EINTR if the query is canceled, -ETIMEDOUT is the query timed out, or -EIO if an error occurred sending the query. The resp parameter of the callback is only valid if status is 0.h]hXdSend a Service Record Get query to the SA to look up a path. The callback function will be called when the query completes (or fails); status is 0 for a successful response, -EINTR if the query is canceled, -ETIMEDOUT is the query timed out, or -EIO if an error occurred sending the query. The resp parameter of the callback is only valid if status is 0.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhj ubh)}(hIf the return value of ib_sa_service_rec_get() is negative, it is an error code. Otherwise it is a query ID that can be used to cancel the query.h]hIf the return value of ib_sa_service_rec_get() is negative, it is an error code. Otherwise it is a query ID that can be used to cancel the query.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:34: ./drivers/infiniband/core/sa_query.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_ud_header_init (C function)c.ib_ud_header_inithNtauh1jhhhhhNhNubj)}(hhh](j)}(hint ib_ud_header_init (int payload_bytes, int lrh_present, int eth_present, int vlan_present, int grh_present, int ip_version, int udp_present, int immediate_present, struct ib_ud_header *header)h]j")}(hint ib_ud_header_init(int payload_bytes, int lrh_present, int eth_present, int vlan_present, int grh_present, int ip_version, int udp_present, int immediate_present, struct ib_ud_header *header)h](j)}(hinth]hint}(hj5 hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj1 hhhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chM0ubj:)}(h h]h }(hjD hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj1 hhhjC hM0ubj)}(hib_ud_header_inith]jN)}(hib_ud_header_inith]hib_ud_header_init}(hjV hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjR ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj1 hhhjC hM0ubj)}(h(int payload_bytes, int lrh_present, int eth_present, int vlan_present, int grh_present, int ip_version, int udp_present, int immediate_present, struct ib_ud_header *header)h](j)}(hint payload_bytesh](j)}(hinth]hint}(hjr hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjn ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjn ubjN)}(h payload_bytesh]h payload_bytes}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjn ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjj ubj)}(hint lrh_presenth](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubjN)}(h lrh_presenth]h lrh_present}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjj ubj)}(hint eth_presenth](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubjN)}(h eth_presenth]h eth_present}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjj ubj)}(hint vlan_presenth](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubjN)}(h vlan_presenth]h vlan_present}(hj-hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjj ubj)}(hint grh_presenth](j)}(hinth]hint}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjBubj:)}(h h]h }(hjThhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjBubjN)}(h grh_presenth]h grh_present}(hjbhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjBubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjj ubj)}(hint ip_versionh](j)}(hinth]hint}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjwubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjwubjN)}(h ip_versionh]h ip_version}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjwubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjj ubj)}(hint udp_presenth](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h udp_presenth]h udp_present}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjj ubj)}(hint immediate_presenth](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(himmediate_presenth]himmediate_present}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjj ubj)}(hstruct ib_ud_header *headerh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj'hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_ud_headerh]h ib_ud_header}(hj8hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj5ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj:modnameN classnameNjkjn)}jq]jt)}jgjX sbc.ib_ud_header_initasbuh1hhjubj:)}(h h]h }(hjXhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hheaderh]hheader}(hjshhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjj ubeh}(h]h ]h"]h$]h&]jjuh1jhj1 hhhjC hM0ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj- hhhjC hM0ubah}(h]j( ah ](jjeh"]h$]h&]jj)jhuh1jhjC hM0hj* hhubj)}(hhh]h)}(hInitialize UD header structureh]hInitialize UD header structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chM0hjhhubah}(h]h ]h"]h$]h&]uh1jhj* hhhjC hM0ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hX!**Parameters** ``int payload_bytes`` Length of packet payload ``int lrh_present`` specify if LRH is present ``int eth_present`` specify if Eth header is present ``int vlan_present`` packet is tagged vlan ``int grh_present`` GRH flag (if non-zero, GRH will be included) ``int ip_version`` if non-zero, IP header, V4 or V6, will be included ``int udp_present`` if non-zero, UDP header will be included ``int immediate_present`` specify if immediate data is present ``struct ib_ud_header *header`` Structure to initializeh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chM4hjubj)}(hhh](j)}(h/``int payload_bytes`` Length of packet payload h](j)}(h``int payload_bytes``h]j )}(hjh]hint payload_bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chM1hjubj)}(hhh]h)}(hLength of packet payloadh]hLength of packet payload}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM1hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubj)}(h.``int lrh_present`` specify if LRH is present h](j)}(h``int lrh_present``h]j )}(hjh]hint lrh_present}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chM2hjubj)}(hhh]h)}(hspecify if LRH is presenth]hspecify if LRH is present}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hM2hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM2hjubj)}(h5``int eth_present`` specify if Eth header is present h](j)}(h``int eth_present``h]j )}(hjPh]hint eth_present}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chM3hjJubj)}(hhh]h)}(h specify if Eth header is presenth]h specify if Eth header is present}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehM3hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM3hjubj)}(h+``int vlan_present`` packet is tagged vlan h](j)}(h``int vlan_present``h]j )}(hjh]hint vlan_present}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chM4hjubj)}(hhh]h)}(hpacket is tagged vlanh]hpacket is tagged vlan}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjubj)}(hA``int grh_present`` GRH flag (if non-zero, GRH will be included) h](j)}(h``int grh_present``h]j )}(hjh]hint grh_present}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chM5hjubj)}(hhh]h)}(h,GRH flag (if non-zero, GRH will be included)h]h,GRH flag (if non-zero, GRH will be included)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hjubj)}(hF``int ip_version`` if non-zero, IP header, V4 or V6, will be included h](j)}(h``int ip_version``h]j )}(hjh]hint ip_version}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chM6hjubj)}(hhh]h)}(h2if non-zero, IP header, V4 or V6, will be includedh]h2if non-zero, IP header, V4 or V6, will be included}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubj)}(h=``int udp_present`` if non-zero, UDP header will be included h](j)}(h``int udp_present``h]j )}(hj4h]hint udp_present}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chM7hj.ubj)}(hhh]h)}(h(if non-zero, UDP header will be includedh]h(if non-zero, UDP header will be included}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhM7hjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhM7hjubj)}(h?``int immediate_present`` specify if immediate data is present h](j)}(h``int immediate_present``h]j )}(hjmh]hint immediate_present}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chM8hjgubj)}(hhh]h)}(h$specify if immediate data is presenth]h$specify if immediate data is present}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubj)}(h7``struct ib_ud_header *header`` Structure to initializeh](j)}(h``struct ib_ud_header *header``h]j )}(hjh]hstruct ib_ud_header *header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chM:hjubj)}(hhh]h)}(hStructure to initializeh]hStructure to initialize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_ud_header_pack (C function)c.ib_ud_header_packhNtauh1jhhhhhNhNubj)}(hhh](j)}(h>int ib_ud_header_pack (struct ib_ud_header *header, void *buf)h]j")}(h=int ib_ud_header_pack(struct ib_ud_header *header, void *buf)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hib_ud_header_packh]jN)}(hib_ud_header_packh]hib_ud_header_pack}(hj!hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(h((struct ib_ud_header *header, void *buf)h](j)}(hstruct ib_ud_header *headerh](j()}(hj+h]hstruct}(hj=hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj9ubj:)}(h h]h }(hjJhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj9ubh)}(hhh]jN)}(h ib_ud_headerh]h ib_ud_header}(hj[hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjXubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj]modnameN classnameNjkjn)}jq]jt)}jgj#sbc.ib_ud_header_packasbuh1hhj9ubj:)}(h h]h }(hj{hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj9ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubjN)}(hheaderh]hheader}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj9ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj5ubj)}(h void *bufh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj5ubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h&Pack UD header struct into wire formath]h&Pack UD header struct into wire format}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct ib_ud_header *header`` UD header struct ``void *buf`` Buffer to pack into **Description** ib_ud_header_pack() packs the UD header structure **header** into wire format in the buffer **buf**.h](h)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chMhjubj)}(hhh](j)}(h1``struct ib_ud_header *header`` UD header struct h](j)}(h``struct ib_ud_header *header``h]j )}(hjCh]hstruct ib_ud_header *header}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chMhj=ubj)}(hhh]h)}(hUD header structh]hUD header struct}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhj:ubj)}(h"``void *buf`` Buffer to pack into h](j)}(h ``void *buf``h]j )}(hj|h]h void *buf}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chMhjvubj)}(hhh]h)}(hBuffer to pack intoh]hBuffer to pack into}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhj:ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chMhjubh)}(hdib_ud_header_pack() packs the UD header structure **header** into wire format in the buffer **buf**.h](h2ib_ud_header_pack() packs the UD header structure }(hjhhhNhNubj)}(h **header**h]hheader}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh into wire format in the buffer }(hjhhhNhNubj)}(h**buf**h]hbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhi/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:37: ./drivers/infiniband/core/ud_header.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j#ib_umem_find_best_pgsz (C function)c.ib_umem_find_best_pgszhNtauh1jhhhhhNhNubj)}(hhh](j)}(hjunsigned long ib_umem_find_best_pgsz (struct ib_umem *umem, unsigned long pgsz_bitmap, unsigned long virt)h]j")}(hiunsigned long ib_umem_find_best_pgsz(struct ib_umem *umem, unsigned long pgsz_bitmap, unsigned long virt)h](j)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chKHubj:)}(h h]h }(hj/hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhj.hKHubj)}(hlongh]hlong}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhj.hKHubj:)}(h h]h }(hjKhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhj.hKHubj)}(hib_umem_find_best_pgszh]jN)}(hib_umem_find_best_pgszh]hib_umem_find_best_pgsz}(hj]hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjYubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhj.hKHubj)}(hE(struct ib_umem *umem, unsigned long pgsz_bitmap, unsigned long virt)h](j)}(hstruct ib_umem *umemh](j()}(hj+h]hstruct}(hjyhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjuubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjuubh)}(hhh]jN)}(hib_umemh]hib_umem}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgj_sbc.ib_umem_find_best_pgszasbuh1hhjuubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjuubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubjN)}(humemh]humem}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjuubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjqubj)}(hunsigned long pgsz_bitmaph](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h pgsz_bitmaph]h pgsz_bitmap}(hj#hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjqubj)}(hunsigned long virth](j)}(hunsignedh]hunsigned}(hj<hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj8ubj:)}(h h]h }(hjJhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8ubj)}(hlongh]hlong}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj8ubj:)}(h h]h }(hjfhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8ubjN)}(hvirth]hvirt}(hjthhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjqubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhj.hKHubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhj.hKHubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhj.hKHhjhhubj)}(hhh]h)}(h)Find best HW page size to use for this MRh]h)Find best HW page size to use for this MR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chKHhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj.hKHubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_umem *umem`` umem struct ``unsigned long pgsz_bitmap`` bitmap of HW supported page sizes ``unsigned long virt`` IOVA **Description** This helper is intended for HW that support multiple page sizes but can do only a single page size in an MR. Returns 0 if the umem requires page sizes not supported by the driver to be mapped. Drivers always supporting PAGE_SIZE or smaller will never see a 0 result.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chKLhjubj)}(hhh](j)}(h%``struct ib_umem *umem`` umem struct h](j)}(h``struct ib_umem *umem``h]j )}(hjh]hstruct ib_umem *umem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chKJhjubj)}(hhh]h)}(h umem structh]h umem struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKJhjubj)}(h@``unsigned long pgsz_bitmap`` bitmap of HW supported page sizes h](j)}(h``unsigned long pgsz_bitmap``h]j )}(hjh]hunsigned long pgsz_bitmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chKKhjubj)}(hhh]h)}(h!bitmap of HW supported page sizesh]h!bitmap of HW supported page sizes}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hKKhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hKKhjubj)}(h``unsigned long virt`` IOVA h](j)}(h``unsigned long virt``h]j )}(hjQh]hunsigned long virt}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chKLhjKubj)}(hhh]h)}(hIOVAh]hIOVA}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhKLhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhKLhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chKNhjubh)}(hlThis helper is intended for HW that support multiple page sizes but can do only a single page size in an MR.h]hlThis helper is intended for HW that support multiple page sizes but can do only a single page size in an MR.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chKMhjubh)}(hReturns 0 if the umem requires page sizes not supported by the driver to be mapped. Drivers always supporting PAGE_SIZE or smaller will never see a 0 result.h]hReturns 0 if the umem requires page sizes not supported by the driver to be mapped. Drivers always supporting PAGE_SIZE or smaller will never see a 0 result.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chKPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_umem_get (C function) c.ib_umem_gethNtauh1jhhhhhNhNubj)}(hhh](j)}(hdstruct ib_umem * ib_umem_get (struct ib_device *device, unsigned long addr, size_t size, int access)h]j")}(hbstruct ib_umem *ib_umem_get(struct ib_device *device, unsigned long addr, size_t size, int access)h](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chKubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhKubh)}(hhh]jN)}(hib_umemh]hib_umem}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jg ib_umem_getsb c.ib_umem_getasbuh1hhjhhhjhKubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhKubj)}(hjh]h*}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKubj)}(h ib_umem_geth]jN)}(hjh]h ib_umem_get}(hj?hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj;ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhKubj)}(hG(struct ib_device *device, unsigned long addr, size_t size, int access)h](j)}(hstruct ib_device *deviceh](j()}(hj+h]hstruct}(hjZhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjVubj:)}(h h]h }(hjghhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjVubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjxhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjuubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjzmodnameN classnameNjkjn)}jq]j c.ib_umem_getasbuh1hhjVubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjVubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubjN)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjVubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjRubj)}(hunsigned long addrh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjRubj)}(h size_t sizeh](h)}(hhh]jN)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj modnameN classnameNjkjn)}jq]j c.ib_umem_getasbuh1hhjubj:)}(h h]h }(hj<hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hsizeh]hsize}(hjJhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjRubj)}(h int accessh](j)}(hinth]hint}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj_ubj:)}(h h]h }(hjqhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj_ubjN)}(haccessh]haccess}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj_ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjRubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhKhjhhubj)}(hhh]h)}(h!Pin and DMA map userspace memory.h]h!Pin and DMA map userspace memory.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chKhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct ib_device *device`` IB device to connect UMEM ``unsigned long addr`` userspace virtual address to start at ``size_t size`` length of region to pin ``int access`` IB_ACCESS_xxx flags for memory being pinnedh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chKhjubj)}(hhh](j)}(h7``struct ib_device *device`` IB device to connect UMEM h](j)}(h``struct ib_device *device``h]j )}(hjh]hstruct ib_device *device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chKhjubj)}(hhh]h)}(hIB device to connect UMEMh]hIB device to connect UMEM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h=``unsigned long addr`` userspace virtual address to start at h](j)}(h``unsigned long addr``h]j )}(hj#h]hunsigned long addr}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chKhjubj)}(hhh]h)}(h%userspace virtual address to start ath]h%userspace virtual address to start at}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hKhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hKhjubj)}(h(``size_t size`` length of region to pin h](j)}(h``size_t size``h]j )}(hj\h]h size_t size}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chKhjVubj)}(hhh]h)}(hlength of region to pinh]hlength of region to pin}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhKhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhKhjubj)}(h:``int access`` IB_ACCESS_xxx flags for memory being pinnedh](j)}(h``int access``h]j )}(hjh]h int access}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chKhjubj)}(hhh]h)}(h+IB_ACCESS_xxx flags for memory being pinnedh]h+IB_ACCESS_xxx flags for memory being pinned}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_umem_release (C function)c.ib_umem_releasehNtauh1jhhhhhNhNubj)}(hhh](j)}(h+void ib_umem_release (struct ib_umem *umem)h]j")}(h*void ib_umem_release(struct ib_umem *umem)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hib_umem_releaseh]jN)}(hib_umem_releaseh]hib_umem_release}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(h(struct ib_umem *umem)h]j)}(hstruct ib_umem *umemh](j()}(hj+h]hstruct}(hj,hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj(ubj:)}(h h]h }(hj9hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj(ubh)}(hhh]jN)}(hib_umemh]hib_umem}(hjJhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjGubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjLmodnameN classnameNjkjn)}jq]jt)}jgjsbc.ib_umem_releaseasbuh1hhj(ubj:)}(h h]h }(hjjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj(ubj)}(hjh]h*}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubjN)}(humemh]humem}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj(ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj$ubah}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h&release memory pinned with ib_umem_geth]h&release memory pinned with ib_umem_get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hA**Parameters** ``struct ib_umem *umem`` umem struct to releaseh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chMhjubj)}(hhh]j)}(h/``struct ib_umem *umem`` umem struct to releaseh](j)}(h``struct ib_umem *umem``h]j )}(hjh]hstruct ib_umem *umem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chMhjubj)}(hhh]h)}(humem struct to releaseh]humem struct to release}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:40: ./drivers/infiniband/core/umem.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j'ib_umem_odp_alloc_implicit (C function)c.ib_umem_odp_alloc_implicithNtauh1jhhhhhNhNubj)}(hhh](j)}(hVstruct ib_umem_odp * ib_umem_odp_alloc_implicit (struct ib_device *device, int access)h]j")}(hTstruct ib_umem_odp *ib_umem_odp_alloc_implicit(struct ib_device *device, int access)h](j()}(hj+h]hstruct}(hjJhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjFhhhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chK}ubj:)}(h h]h }(hjXhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjFhhhjWhK}ubh)}(hhh]jN)}(h ib_umem_odph]h ib_umem_odp}(hjihhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjfubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjkmodnameN classnameNjkjn)}jq]jt)}jgib_umem_odp_alloc_implicitsbc.ib_umem_odp_alloc_implicitasbuh1hhjFhhhjWhK}ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjFhhhjWhK}ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFhhhjWhK}ubj)}(hib_umem_odp_alloc_implicith]jN)}(hjh]hib_umem_odp_alloc_implicit}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjFhhhjWhK}ubj)}(h&(struct ib_device *device, int access)h](j)}(hstruct ib_device *deviceh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_umem_odp_alloc_implicitasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h int accessh](j)}(hinth]hint}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj0ubj:)}(h h]h }(hjBhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj0ubjN)}(haccessh]haccess}(hjPhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj0ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjFhhhjWhK}ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjBhhhjWhK}ubah}(h]j=ah ](jjeh"]h$]h&]jj)jhuh1jhjWhK}hj?hhubj)}(hhh]h)}(h#Allocate a parent implicit ODP umemh]h#Allocate a parent implicit ODP umem}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chK}hjwhhubah}(h]h ]h"]h$]h&]uh1jhj?hhhjWhK}ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hX#**Parameters** ``struct ib_device *device`` IB device to create UMEM ``int access`` ib_reg_mr access flags **Description** Implicit ODP umems do not have a VA range and do not have any page lists. They exist only to hold the per_mm reference to help the driver create children umems.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhjubj)}(hhh](j)}(h6``struct ib_device *device`` IB device to create UMEM h](j)}(h``struct ib_device *device``h]j )}(hjh]hstruct ib_device *device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhjubj)}(hhh]h)}(hIB device to create UMEMh]hIB device to create UMEM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h&``int access`` ib_reg_mr access flags h](j)}(h``int access``h]j )}(hjh]h int access}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhjubj)}(hhh]h)}(hib_reg_mr access flagsh]hib_reg_mr access flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj/h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhjubh)}(hImplicit ODP umems do not have a VA range and do not have any page lists. They exist only to hold the per_mm reference to help the driver create children umems.h]hImplicit ODP umems do not have a VA range and do not have any page lists. They exist only to hold the per_mm reference to help the driver create children umems.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chK~hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j$ib_umem_odp_alloc_child (C function)c.ib_umem_odp_alloc_childhNtauh1jhhhhhNhNubj)}(hhh](j)}(hstruct ib_umem_odp * ib_umem_odp_alloc_child (struct ib_umem_odp *root, unsigned long addr, size_t size, const struct mmu_interval_notifier_ops *ops)h]j")}(hstruct ib_umem_odp *ib_umem_odp_alloc_child(struct ib_umem_odp *root, unsigned long addr, size_t size, const struct mmu_interval_notifier_ops *ops)h](j()}(hj+h]hstruct}(hjthhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjphhhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjphhhjhKubh)}(hhh]jN)}(h ib_umem_odph]h ib_umem_odp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgib_umem_odp_alloc_childsbc.ib_umem_odp_alloc_childasbuh1hhjphhhjhKubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjphhhjhKubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjphhhjhKubj)}(hib_umem_odp_alloc_childh]jN)}(hjh]hib_umem_odp_alloc_child}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjphhhjhKubj)}(hh(struct ib_umem_odp *root, unsigned long addr, size_t size, const struct mmu_interval_notifier_ops *ops)h](j)}(hstruct ib_umem_odp *rooth](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_umem_odph]h ib_umem_odp}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_umem_odp_alloc_childasbuh1hhjubj:)}(h h]h }(hj*hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hrooth]hroot}(hjEhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hunsigned long addrh](j)}(hunsignedh]hunsigned}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjZubj:)}(h h]h }(hjlhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjZubj)}(hlongh]hlong}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjZubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjZubjN)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjZubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h size_t sizeh](h)}(hhh]jN)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.ib_umem_odp_alloc_childasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h+const struct mmu_interval_notifier_ops *opsh](j()}(hjh]hconst}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hmmu_interval_notifier_opsh]hmmu_interval_notifier_ops}(hj0hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj-ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj2modnameN classnameNjkjn)}jq]jc.ib_umem_odp_alloc_childasbuh1hhjubj:)}(h h]h }(hjNhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hopsh]hops}(hjihhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjphhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjlhhhjhKubah}(h]jgah ](jjeh"]h$]h&]jj)jhuh1jhjhKhjihhubj)}(hhh]h)}(h;Allocate a child ODP umem under an implicit parent ODP umemh]h;Allocate a child ODP umem under an implicit parent ODP umem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhjhhubah}(h]h ]h"]h$]h&]uh1jhjihhhjhKubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhhhNhNubj)}(hXX**Parameters** ``struct ib_umem_odp *root`` The parent umem enclosing the child. This must be allocated using ib_alloc_implicit_odp_umem() ``unsigned long addr`` The starting userspace VA ``size_t size`` The length of the userspace VA ``const struct mmu_interval_notifier_ops *ops`` MMU interval ops, currently only **invalidate**h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhjubj)}(hhh](j)}(h|``struct ib_umem_odp *root`` The parent umem enclosing the child. This must be allocated using ib_alloc_implicit_odp_umem() h](j)}(h``struct ib_umem_odp *root``h]j )}(hjh]hstruct ib_umem_odp *root}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhjubj)}(hhh]h)}(h^The parent umem enclosing the child. This must be allocated using ib_alloc_implicit_odp_umem()h]h^The parent umem enclosing the child. This must be allocated using ib_alloc_implicit_odp_umem()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h1``unsigned long addr`` The starting userspace VA h](j)}(h``unsigned long addr``h]j )}(hj h]hunsigned long addr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhj ubj)}(hhh]h)}(hThe starting userspace VAh]hThe starting userspace VA}(hj' hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj# hKhj$ ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj# hKhjubj)}(h/``size_t size`` The length of the userspace VA h](j)}(h``size_t size``h]j )}(hjG h]h size_t size}(hjI hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhjA ubj)}(hhh]h)}(hThe length of the userspace VAh]hThe length of the userspace VA}(hj` hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\ hKhj] ubah}(h]h ]h"]h$]h&]uh1jhjA ubeh}(h]h ]h"]h$]h&]uh1jhj\ hKhjubj)}(h_``const struct mmu_interval_notifier_ops *ops`` MMU interval ops, currently only **invalidate**h](j)}(h/``const struct mmu_interval_notifier_ops *ops``h]j )}(hj h]h+const struct mmu_interval_notifier_ops *ops}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhjz ubj)}(hhh]h)}(h/MMU interval ops, currently only **invalidate**h](h!MMU interval ops, currently only }(hj hhhNhNubj)}(h**invalidate**h]h invalidate}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhj ubah}(h]h ]h"]h$]h&]uh1jhjz ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_umem_odp_get (C function)c.ib_umem_odp_gethNtauh1jhhhhhNhNubj)}(hhh](j)}(hstruct ib_umem_odp * ib_umem_odp_get (struct ib_device *device, unsigned long addr, size_t size, int access, const struct mmu_interval_notifier_ops *ops)h]j")}(hstruct ib_umem_odp *ib_umem_odp_get(struct ib_device *device, unsigned long addr, size_t size, int access, const struct mmu_interval_notifier_ops *ops)h](j()}(hj+h]hstruct}(hj hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj hhhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj hhhj hKubh)}(hhh]jN)}(h ib_umem_odph]h ib_umem_odp}(hj!hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj!ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj !modnameN classnameNjkjn)}jq]jt)}jgib_umem_odp_getsbc.ib_umem_odp_getasbuh1hhj hhhj hKubj:)}(h h]h }(hj(!hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj hhhj hKubj)}(hjh]h*}(hj6!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhj hKubj)}(hib_umem_odp_geth]jN)}(hj%!h]hib_umem_odp_get}(hjG!hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjC!ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj hhhj hKubj)}(ht(struct ib_device *device, unsigned long addr, size_t size, int access, const struct mmu_interval_notifier_ops *ops)h](j)}(hstruct ib_device *deviceh](j()}(hj+h]hstruct}(hjb!hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj^!ubj:)}(h h]h }(hjo!hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj^!ubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hj!hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj}!ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj!modnameN classnameNjkjn)}jq]j#!c.ib_umem_odp_getasbuh1hhj^!ubj:)}(h h]h }(hj!hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj^!ubj)}(hjh]h*}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^!ubjN)}(hdeviceh]hdevice}(hj!hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj^!ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjZ!ubj)}(hunsigned long addrh](j)}(hunsignedh]hunsigned}(hj!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj!ubj:)}(h h]h }(hj!hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj!ubj)}(hlongh]hlong}(hj!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj!ubj:)}(h h]h }(hj!hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj!ubjN)}(haddrh]haddr}(hj "hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj!ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjZ!ubj)}(h size_t sizeh](h)}(hhh]jN)}(hsize_th]hsize_t}(hj&"hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj#"ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj("modnameN classnameNjkjn)}jq]j#!c.ib_umem_odp_getasbuh1hhj"ubj:)}(h h]h }(hjD"hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj"ubjN)}(hsizeh]hsize}(hjR"hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj"ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjZ!ubj)}(h int accessh](j)}(hinth]hint}(hjk"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjg"ubj:)}(h h]h }(hjy"hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjg"ubjN)}(haccessh]haccess}(hj"hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjg"ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjZ!ubj)}(h+const struct mmu_interval_notifier_ops *opsh](j()}(hjh]hconst}(hj"hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj"ubj:)}(h h]h }(hj"hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj"ubj()}(hj+h]hstruct}(hj"hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj"ubj:)}(h h]h }(hj"hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj"ubh)}(hhh]jN)}(hmmu_interval_notifier_opsh]hmmu_interval_notifier_ops}(hj"hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj"ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj"modnameN classnameNjkjn)}jq]j#!c.ib_umem_odp_getasbuh1hhj"ubj:)}(h h]h }(hj"hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj"ubj)}(hjh]h*}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubjN)}(hopsh]hops}(hj#hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj"ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjZ!ubeh}(h]h ]h"]h$]h&]jjuh1jhj hhhj hKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj hhhj hKubah}(h]j ah ](jjeh"]h$]h&]jj)jhuh1jhj hKhj hhubj)}(hhh]h)}(h$Create a umem_odp for a userspace vah]h$Create a umem_odp for a userspace va}(hj<#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhj9#hhubah}(h]h ]h"]h$]h&]uh1jhj hhhj hKubeh}(h]h ](jefunctioneh"]h$]h&]jjejjT#jjT#jjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_device *device`` IB device struct to get UMEM ``unsigned long addr`` userspace virtual address to start at ``size_t size`` length of region to pin ``int access`` IB_ACCESS_xxx flags for memory being pinned ``const struct mmu_interval_notifier_ops *ops`` MMU interval ops, currently only **invalidate** **Description** The driver should use when the access flags indicate ODP memory. It avoids pinning, instead, stores the mm for future page fault handling in conjunction with MMU notifiers.h](h)}(h**Parameters**h]j)}(hj^#h]h Parameters}(hj`#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\#ubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhjX#ubj)}(hhh](j)}(h:``struct ib_device *device`` IB device struct to get UMEM h](j)}(h``struct ib_device *device``h]j )}(hj}#h]hstruct ib_device *device}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{#ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhjw#ubj)}(hhh]h)}(hIB device struct to get UMEMh]hIB device struct to get UMEM}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hKhj#ubah}(h]h ]h"]h$]h&]uh1jhjw#ubeh}(h]h ]h"]h$]h&]uh1jhj#hKhjt#ubj)}(h=``unsigned long addr`` userspace virtual address to start at h](j)}(h``unsigned long addr``h]j )}(hj#h]hunsigned long addr}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhj#ubj)}(hhh]h)}(h%userspace virtual address to start ath]h%userspace virtual address to start at}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hKhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hKhjt#ubj)}(h(``size_t size`` length of region to pin h](j)}(h``size_t size``h]j )}(hj#h]h size_t size}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhj#ubj)}(hhh]h)}(hlength of region to pinh]hlength of region to pin}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hKhj$ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj$hKhjt#ubj)}(h;``int access`` IB_ACCESS_xxx flags for memory being pinned h](j)}(h``int access``h]j )}(hj($h]h int access}(hj*$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&$ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhj"$ubj)}(hhh]h)}(h+IB_ACCESS_xxx flags for memory being pinnedh]h+IB_ACCESS_xxx flags for memory being pinned}(hjA$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=$hKhj>$ubah}(h]h ]h"]h$]h&]uh1jhj"$ubeh}(h]h ]h"]h$]h&]uh1jhj=$hKhjt#ubj)}(h```const struct mmu_interval_notifier_ops *ops`` MMU interval ops, currently only **invalidate** h](j)}(h/``const struct mmu_interval_notifier_ops *ops``h]j )}(hja$h]h+const struct mmu_interval_notifier_ops *ops}(hjc$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_$ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhj[$ubj)}(hhh]h)}(h/MMU interval ops, currently only **invalidate**h](h!MMU interval ops, currently only }(hjz$hhhNhNubj)}(h**invalidate**h]h invalidate}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz$ubeh}(h]h ]h"]h$]h&]uh1hhjv$hKhjw$ubah}(h]h ]h"]h$]h&]uh1jhj[$ubeh}(h]h ]h"]h$]h&]uh1jhjv$hKhjt#ubeh}(h]h ]h"]h$]h&]uh1jhjX#ubh)}(h**Description**h]j)}(hj$h]h Description}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhjX#ubh)}(hThe driver should use when the access flags indicate ODP memory. It avoids pinning, instead, stores the mm for future page fault handling in conjunction with MMU notifiers.h]hThe driver should use when the access flags indicate ODP memory. It avoids pinning, instead, stores the mm for future page fault handling in conjunction with MMU notifiers.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chKhjX#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j)ib_umem_odp_map_dma_and_lock (C function)c.ib_umem_odp_map_dma_and_lockhNtauh1jhhhhhNhNubj)}(hhh](j)}(huint ib_umem_odp_map_dma_and_lock (struct ib_umem_odp *umem_odp, u64 user_virt, u64 bcnt, u64 access_mask, bool fault)h]j")}(htint ib_umem_odp_map_dma_and_lock(struct ib_umem_odp *umem_odp, u64 user_virt, u64 bcnt, u64 access_mask, bool fault)h](j)}(hinth]hint}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj$hhhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chM2ubj:)}(h h]h }(hj$hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj$hhhj$hM2ubj)}(hib_umem_odp_map_dma_and_lockh]jN)}(hib_umem_odp_map_dma_and_lockh]hib_umem_odp_map_dma_and_lock}(hj%hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj %ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj$hhhj$hM2ubj)}(hT(struct ib_umem_odp *umem_odp, u64 user_virt, u64 bcnt, u64 access_mask, bool fault)h](j)}(hstruct ib_umem_odp *umem_odph](j()}(hj+h]hstruct}(hj,%hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj(%ubj:)}(h h]h }(hj9%hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj(%ubh)}(hhh]jN)}(h ib_umem_odph]h ib_umem_odp}(hjJ%hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjG%ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjL%modnameN classnameNjkjn)}jq]jt)}jgj%sbc.ib_umem_odp_map_dma_and_lockasbuh1hhj(%ubj:)}(h h]h }(hjj%hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj(%ubj)}(hjh]h*}(hjx%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(%ubjN)}(humem_odph]humem_odp}(hj%hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj(%ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj$%ubj)}(h u64 user_virth](h)}(hhh]jN)}(hu64h]hu64}(hj%hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj%ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj%modnameN classnameNjkjn)}jq]jf%c.ib_umem_odp_map_dma_and_lockasbuh1hhj%ubj:)}(h h]h }(hj%hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj%ubjN)}(h user_virth]h user_virt}(hj%hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj%ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj$%ubj)}(hu64 bcnth](h)}(hhh]jN)}(hu64h]hu64}(hj%hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj%ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj%modnameN classnameNjkjn)}jq]jf%c.ib_umem_odp_map_dma_and_lockasbuh1hhj%ubj:)}(h h]h }(hj&hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj%ubjN)}(hbcnth]hbcnt}(hj&hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj%ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj$%ubj)}(hu64 access_maskh](h)}(hhh]jN)}(hu64h]hu64}(hj1&hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj.&ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj3&modnameN classnameNjkjn)}jq]jf%c.ib_umem_odp_map_dma_and_lockasbuh1hhj*&ubj:)}(h h]h }(hjO&hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj*&ubjN)}(h access_maskh]h access_mask}(hj]&hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj*&ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj$%ubj)}(h bool faulth](j)}(hjjh]hbool}(hjv&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjr&ubj:)}(h h]h }(hj&hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjr&ubjN)}(hfaulth]hfault}(hj&hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjr&ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj$%ubeh}(h]h ]h"]h$]h&]jjuh1jhj$hhhj$hM2ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj$hhhj$hM2ubah}(h]j$ah ](jjeh"]h$]h&]jj)jhuh1jhj$hM2hj$hhubj)}(hhh]h)}(h2DMA map userspace memory in an ODP MR and lock it.h]h2DMA map userspace memory in an ODP MR and lock it.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chM2hj&hhubah}(h]h ]h"]h$]h&]uh1jhj$hhhj$hM2ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj&jj&jjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct ib_umem_odp *umem_odp`` the umem to map and pin ``u64 user_virt`` the address from which we need to map. ``u64 bcnt`` the minimal number of bytes to pin and map. The mapping might be bigger due to alignment, and may also be smaller in case of an error pinning or mapping a page. The actual pages mapped is returned in the return value. ``u64 access_mask`` bit mask of the requested access permissions for the given range. ``bool fault`` is faulting required for the given range **Description** Maps the range passed in the argument to DMA addresses. Upon success the ODP MR will be locked to let caller complete its device page table update. Returns the number of pages mapped in success, negative error code for failure.h](h)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chM6hj&ubj)}(hhh](j)}(h9``struct ib_umem_odp *umem_odp`` the umem to map and pin h](j)}(h ``struct ib_umem_odp *umem_odp``h]j )}(hj&h]hstruct ib_umem_odp *umem_odp}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chM:hj&ubj)}(hhh]h)}(hthe umem to map and pinh]hthe umem to map and pin}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hM:hj'ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj'hM:hj&ubj)}(h9``u64 user_virt`` the address from which we need to map. h](j)}(h``u64 user_virt``h]j )}(hj5'h]h u64 user_virt}(hj7'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3'ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chM;hj/'ubj)}(hhh]h)}(h&the address from which we need to map.h]h&the address from which we need to map.}(hjN'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJ'hM;hjK'ubah}(h]h ]h"]h$]h&]uh1jhj/'ubeh}(h]h ]h"]h$]h&]uh1jhjJ'hM;hj&ubj)}(h``u64 bcnt`` the minimal number of bytes to pin and map. The mapping might be bigger due to alignment, and may also be smaller in case of an error pinning or mapping a page. The actual pages mapped is returned in the return value. h](j)}(h ``u64 bcnt``h]j )}(hjn'h]hu64 bcnt}(hjp'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl'ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chM?hjh'ubj)}(hhh]h)}(hthe minimal number of bytes to pin and map. The mapping might be bigger due to alignment, and may also be smaller in case of an error pinning or mapping a page. The actual pages mapped is returned in the return value.h]hthe minimal number of bytes to pin and map. The mapping might be bigger due to alignment, and may also be smaller in case of an error pinning or mapping a page. The actual pages mapped is returned in the return value.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chM<hj'ubah}(h]h ]h"]h$]h&]uh1jhjh'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM?hj&ubj)}(hV``u64 access_mask`` bit mask of the requested access permissions for the given range. h](j)}(h``u64 access_mask``h]j )}(hj'h]hu64 access_mask}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chMAhj'ubj)}(hhh]h)}(hAbit mask of the requested access permissions for the given range.h]hAbit mask of the requested access permissions for the given range.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chM@hj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMAhj&ubj)}(h8``bool fault`` is faulting required for the given range h](j)}(h``bool fault``h]j )}(hj'h]h bool fault}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chMBhj'ubj)}(hhh]h)}(h(is faulting required for the given rangeh]h(is faulting required for the given range}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hMBhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMBhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&ubh)}(h**Description**h]j)}(hj(h]h Description}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chMDhj&ubh)}(hMaps the range passed in the argument to DMA addresses. Upon success the ODP MR will be locked to let caller complete its device page table update.h]hMaps the range passed in the argument to DMA addresses. Upon success the ODP MR will be locked to let caller complete its device page table update.}(hj3(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chM3hj&ubh)}(hOReturns the number of pages mapped in success, negative error code for failure.h]hOReturns the number of pages mapped in success, negative error code for failure.}(hjB(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhh/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:43: ./drivers/infiniband/core/umem_odp.chM7hj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubeh}(h]infiniband-core-interfacesah ]h"]infiniband core interfacesah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(hRDMA Verbs transport libraryh]hRDMA Verbs transport library}(hjc(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`(hhhhhK/ubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrvt_fast_reg_mr (C function)c.rvt_fast_reg_mrhNtauh1jhj`(hhhNhNubj)}(hhh](j)}(hPint rvt_fast_reg_mr (struct rvt_qp *qp, struct ib_mr *ibmr, u32 key, int access)h]j")}(hOint rvt_fast_reg_mr(struct rvt_qp *qp, struct ib_mr *ibmr, u32 key, int access)h](j)}(hinth]hint}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj(hhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMcubj:)}(h h]h }(hj(hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj(hhhj(hMcubj)}(hrvt_fast_reg_mrh]jN)}(hrvt_fast_reg_mrh]hrvt_fast_reg_mr}(hj(hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj(ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj(hhhj(hMcubj)}(h<(struct rvt_qp *qp, struct ib_mr *ibmr, u32 key, int access)h](j)}(hstruct rvt_qp *qph](j()}(hj+h]hstruct}(hj(hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj(ubj:)}(h h]h }(hj(hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj(ubh)}(hhh]jN)}(hrvt_qph]hrvt_qp}(hj(hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj(ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj(modnameN classnameNjkjn)}jq]jt)}jgj(sbc.rvt_fast_reg_mrasbuh1hhj(ubj:)}(h h]h }(hj)hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj(ubj)}(hjh]h*}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubjN)}(hqph]hqp}(hj )hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj(ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj(ubj)}(hstruct ib_mr *ibmrh](j()}(hj+h]hstruct}(hj9)hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj5)ubj:)}(h h]h }(hjF)hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj5)ubh)}(hhh]jN)}(hib_mrh]hib_mr}(hjW)hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjT)ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjY)modnameN classnameNjkjn)}jq]j)c.rvt_fast_reg_mrasbuh1hhj5)ubj:)}(h h]h }(hju)hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj5)ubj)}(hjh]h*}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5)ubjN)}(hibmrh]hibmr}(hj)hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj5)ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj(ubj)}(hu32 keyh](h)}(hhh]jN)}(hu32h]hu32}(hj)hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj)ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj)modnameN classnameNjkjn)}jq]j)c.rvt_fast_reg_mrasbuh1hhj)ubj:)}(h h]h }(hj)hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj)ubjN)}(hkeyh]hkey}(hj)hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj)ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj(ubj)}(h int accessh](j)}(hinth]hint}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj)ubj:)}(h h]h }(hj)hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj)ubjN)}(haccessh]haccess}(hj *hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj)ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj(ubeh}(h]h ]h"]h$]h&]jjuh1jhj(hhhj(hMcubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj(hhhj(hMcubah}(h]j}(ah ](jjeh"]h$]h&]jj)jhuh1jhj(hMchj(hhubj)}(hhh]h)}(hfast register physical MRh]hfast register physical MR}(hj7*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMchj4*hhubah}(h]h ]h"]h$]h&]uh1jhj(hhhj(hMcubeh}(h]h ](jefunctioneh"]h$]h&]jjejjO*jjO*jjjuh1jhhhj`(hNhNubj)}(hX%**Parameters** ``struct rvt_qp *qp`` the queue pair where the work request comes from ``struct ib_mr *ibmr`` the memory region to be registered ``u32 key`` updated key for this memory region ``int access`` access flags for this memory region **Description** Returns 0 on success.h](h)}(h**Parameters**h]j)}(hjY*h]h Parameters}(hj[*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW*ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMghjS*ubj)}(hhh](j)}(hG``struct rvt_qp *qp`` the queue pair where the work request comes from h](j)}(h``struct rvt_qp *qp``h]j )}(hjx*h]hstruct rvt_qp *qp}(hjz*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv*ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMdhjr*ubj)}(hhh]h)}(h0the queue pair where the work request comes fromh]h0the queue pair where the work request comes from}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMdhj*ubah}(h]h ]h"]h$]h&]uh1jhjr*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMdhjo*ubj)}(h:``struct ib_mr *ibmr`` the memory region to be registered h](j)}(h``struct ib_mr *ibmr``h]j )}(hj*h]hstruct ib_mr *ibmr}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMehj*ubj)}(hhh]h)}(h"the memory region to be registeredh]h"the memory region to be registered}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMehj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMehjo*ubj)}(h/``u32 key`` updated key for this memory region h](j)}(h ``u32 key``h]j )}(hj*h]hu32 key}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMfhj*ubj)}(hhh]h)}(h"updated key for this memory regionh]h"updated key for this memory region}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMfhj+ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMfhjo*ubj)}(h3``int access`` access flags for this memory region h](j)}(h``int access``h]j )}(hj#+h]h int access}(hj%+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!+ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMghj+ubj)}(hhh]h)}(h#access flags for this memory regionh]h#access flags for this memory region}(hj<+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8+hMghj9+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj8+hMghjo*ubeh}(h]h ]h"]h$]h&]uh1jhjS*ubh)}(h**Description**h]j)}(hj^+h]h Description}(hj`+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\+ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMihjS*ubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hjt+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhhjS*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j rvt_invalidate_rkey (C function)c.rvt_invalidate_rkeyhNtauh1jhj`(hhhNhNubj)}(hhh](j)}(h5int rvt_invalidate_rkey (struct rvt_qp *qp, u32 rkey)h]j")}(h4int rvt_invalidate_rkey(struct rvt_qp *qp, u32 rkey)h](j)}(hinth]hint}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj+hhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMubj:)}(h h]h }(hj+hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj+hhhj+hMubj)}(hrvt_invalidate_rkeyh]jN)}(hrvt_invalidate_rkeyh]hrvt_invalidate_rkey}(hj+hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj+ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj+hhhj+hMubj)}(h(struct rvt_qp *qp, u32 rkey)h](j)}(hstruct rvt_qp *qph](j()}(hj+h]hstruct}(hj+hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj+ubj:)}(h h]h }(hj+hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj+ubh)}(hhh]jN)}(hrvt_qph]hrvt_qp}(hj+hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj+ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj,modnameN classnameNjkjn)}jq]jt)}jgj+sbc.rvt_invalidate_rkeyasbuh1hhj+ubj:)}(h h]h }(hj,hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj+ubj)}(hjh]h*}(hj,,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubjN)}(hqph]hqp}(hj9,hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj+ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj+ubj)}(hu32 rkeyh](h)}(hhh]jN)}(hu32h]hu32}(hjU,hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjR,ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjW,modnameN classnameNjkjn)}jq]j,c.rvt_invalidate_rkeyasbuh1hhjN,ubj:)}(h h]h }(hjs,hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjN,ubjN)}(hrkeyh]hrkey}(hj,hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjN,ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj+ubeh}(h]h ]h"]h$]h&]jjuh1jhj+hhhj+hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj+hhhj+hMubah}(h]j+ah ](jjeh"]h$]h&]jj)jhuh1jhj+hMhj+hhubj)}(hhh]h)}(hinvalidate an MR rkeyh]hinvalidate an MR rkey}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhj,hhubah}(h]h ]h"]h$]h&]uh1jhj+hhhj+hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj,jj,jjjuh1jhhhj`(hNhNubj)}(h**Parameters** ``struct rvt_qp *qp`` queue pair associated with the invalidate op ``u32 rkey`` rkey to invalidate **Description** Returns 0 on success.h](h)}(h**Parameters**h]j)}(hj,h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhj,ubj)}(hhh](j)}(hC``struct rvt_qp *qp`` queue pair associated with the invalidate op h](j)}(h``struct rvt_qp *qp``h]j )}(hj,h]hstruct rvt_qp *qp}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhj,ubj)}(hhh]h)}(h,queue pair associated with the invalidate oph]h,queue pair associated with the invalidate op}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hMhj-ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj-hMhj,ubj)}(h ``u32 rkey`` rkey to invalidate h](j)}(h ``u32 rkey``h]j )}(hj%-h]hu32 rkey}(hj'-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#-ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhj-ubj)}(hhh]h)}(hrkey to invalidateh]hrkey to invalidate}(hj>-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:-hMhj;-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj:-hMhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,ubh)}(h**Description**h]j)}(hj`-h]h Description}(hjb-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^-ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhj,ubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hjv-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrvt_lkey_ok (C function) c.rvt_lkey_okhNtauh1jhj`(hhhNhNubj)}(hhh](j)}(hint rvt_lkey_ok (struct rvt_lkey_table *rkt, struct rvt_pd *pd, struct rvt_sge *isge, struct rvt_sge *last_sge, struct ib_sge *sge, int acc)h]j")}(hint rvt_lkey_ok(struct rvt_lkey_table *rkt, struct rvt_pd *pd, struct rvt_sge *isge, struct rvt_sge *last_sge, struct ib_sge *sge, int acc)h](j)}(hinth]hint}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj-hhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMubj:)}(h h]h }(hj-hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj-hhhj-hMubj)}(h rvt_lkey_okh]jN)}(h rvt_lkey_okh]h rvt_lkey_ok}(hj-hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj-ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj-hhhj-hMubj)}(h|(struct rvt_lkey_table *rkt, struct rvt_pd *pd, struct rvt_sge *isge, struct rvt_sge *last_sge, struct ib_sge *sge, int acc)h](j)}(hstruct rvt_lkey_table *rkth](j()}(hj+h]hstruct}(hj-hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj-ubj:)}(h h]h }(hj-hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj-ubh)}(hhh]jN)}(hrvt_lkey_tableh]hrvt_lkey_table}(hj.hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj-ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj.modnameN classnameNjkjn)}jq]jt)}jgj-sb c.rvt_lkey_okasbuh1hhj-ubj:)}(h h]h }(hj .hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj-ubj)}(hjh]h*}(hj..hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubjN)}(hrkth]hrkt}(hj;.hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj-ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj-ubj)}(hstruct rvt_pd *pdh](j()}(hj+h]hstruct}(hjT.hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjP.ubj:)}(h h]h }(hja.hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjP.ubh)}(hhh]jN)}(hrvt_pdh]hrvt_pd}(hjr.hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjo.ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjt.modnameN classnameNjkjn)}jq]j. c.rvt_lkey_okasbuh1hhjP.ubj:)}(h h]h }(hj.hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjP.ubj)}(hjh]h*}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP.ubjN)}(hpdh]hpd}(hj.hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjP.ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj-ubj)}(hstruct rvt_sge *isgeh](j()}(hj+h]hstruct}(hj.hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj.ubj:)}(h h]h }(hj.hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj.ubh)}(hhh]jN)}(hrvt_sgeh]hrvt_sge}(hj.hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj.ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj.modnameN classnameNjkjn)}jq]j. c.rvt_lkey_okasbuh1hhj.ubj:)}(h h]h }(hj/hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj.ubj)}(hjh]h*}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubjN)}(hisgeh]hisge}(hj/hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj.ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj-ubj)}(hstruct rvt_sge *last_sgeh](j()}(hj+h]hstruct}(hj4/hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj0/ubj:)}(h h]h }(hjA/hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj0/ubh)}(hhh]jN)}(hrvt_sgeh]hrvt_sge}(hjR/hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjO/ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjT/modnameN classnameNjkjn)}jq]j. c.rvt_lkey_okasbuh1hhj0/ubj:)}(h h]h }(hjp/hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj0/ubj)}(hjh]h*}(hj~/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0/ubjN)}(hlast_sgeh]hlast_sge}(hj/hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj0/ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj-ubj)}(hstruct ib_sge *sgeh](j()}(hj+h]hstruct}(hj/hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj/ubj:)}(h h]h }(hj/hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj/ubh)}(hhh]jN)}(hib_sgeh]hib_sge}(hj/hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj/ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj/modnameN classnameNjkjn)}jq]j. c.rvt_lkey_okasbuh1hhj/ubj:)}(h h]h }(hj/hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj/ubj)}(hjh]h*}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubjN)}(hsgeh]hsge}(hj/hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj/ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj-ubj)}(hint acch](j)}(hinth]hint}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj0ubj:)}(h h]h }(hj"0hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj0ubjN)}(hacch]hacc}(hj00hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj0ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj-ubeh}(h]h ]h"]h$]h&]jjuh1jhj-hhhj-hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj-hhhj-hMubah}(h]j-ah ](jjeh"]h$]h&]jj)jhuh1jhj-hMhj-hhubj)}(hhh]h)}(h(check IB SGE for validity and initializeh]h(check IB SGE for validity and initialize}(hjZ0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhjW0hhubah}(h]h ]h"]h$]h&]uh1jhj-hhhj-hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjr0jjr0jjjuh1jhhhj`(hNhNubj)}(hX**Parameters** ``struct rvt_lkey_table *rkt`` table containing lkey to check SGE against ``struct rvt_pd *pd`` protection domain ``struct rvt_sge *isge`` outgoing internal SGE ``struct rvt_sge *last_sge`` last outgoing SGE written ``struct ib_sge *sge`` SGE to check ``int acc`` access flags **Description** Check the IB SGE for validity and initialize our internal version of it. Increments the reference count when a new sge is stored. **Return** 0 if compressed, 1 if added , otherwise returns -errno.h](h)}(h**Parameters**h]j)}(hj|0h]h Parameters}(hj~0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz0ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhjv0ubj)}(hhh](j)}(hJ``struct rvt_lkey_table *rkt`` table containing lkey to check SGE against h](j)}(h``struct rvt_lkey_table *rkt``h]j )}(hj0h]hstruct rvt_lkey_table *rkt}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhj0ubj)}(hhh]h)}(h*table containing lkey to check SGE againsth]h*table containing lkey to check SGE against}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj0ubj)}(h(``struct rvt_pd *pd`` protection domain h](j)}(h``struct rvt_pd *pd``h]j )}(hj0h]hstruct rvt_pd *pd}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhj0ubj)}(hhh]h)}(hprotection domainh]hprotection domain}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj0ubj)}(h/``struct rvt_sge *isge`` outgoing internal SGE h](j)}(h``struct rvt_sge *isge``h]j )}(hj 1h]hstruct rvt_sge *isge}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 1ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhj1ubj)}(hhh]h)}(houtgoing internal SGEh]houtgoing internal SGE}(hj&1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"1hMhj#1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj"1hMhj0ubj)}(h7``struct rvt_sge *last_sge`` last outgoing SGE written h](j)}(h``struct rvt_sge *last_sge``h]j )}(hjF1h]hstruct rvt_sge *last_sge}(hjH1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD1ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhj@1ubj)}(hhh]h)}(hlast outgoing SGE writtenh]hlast outgoing SGE written}(hj_1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[1hMhj\1ubah}(h]h ]h"]h$]h&]uh1jhj@1ubeh}(h]h ]h"]h$]h&]uh1jhj[1hMhj0ubj)}(h$``struct ib_sge *sge`` SGE to check h](j)}(h``struct ib_sge *sge``h]j )}(hj1h]hstruct ib_sge *sge}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}1ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhjy1ubj)}(hhh]h)}(h SGE to checkh]h SGE to check}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjy1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj0ubj)}(h``int acc`` access flags h](j)}(h ``int acc``h]j )}(hj1h]hint acc}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhj1ubj)}(hhh]h)}(h access flagsh]h access flags}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj0ubeh}(h]h ]h"]h$]h&]uh1jhjv0ubh)}(h**Description**h]j)}(hj1h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhjv0ubh)}(hHCheck the IB SGE for validity and initialize our internal version of it.h]hHCheck the IB SGE for validity and initialize our internal version of it.}(hj 2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhjv0ubh)}(h8Increments the reference count when a new sge is stored.h]h8Increments the reference count when a new sge is stored.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhjv0ubh)}(h **Return**h]j)}(hj)2h]hReturn}(hj+2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'2ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhjv0ubh)}(h70 if compressed, 1 if added , otherwise returns -errno.h]h70 if compressed, 1 if added , otherwise returns -errno.}(hj?2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chMhjv0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrvt_rkey_ok (C function) c.rvt_rkey_okhNtauh1jhj`(hhhNhNubj)}(hhh](j)}(h_int rvt_rkey_ok (struct rvt_qp *qp, struct rvt_sge *sge, u32 len, u64 vaddr, u32 rkey, int acc)h]j")}(h^int rvt_rkey_ok(struct rvt_qp *qp, struct rvt_sge *sge, u32 len, u64 vaddr, u32 rkey, int acc)h](j)}(hinth]hint}(hjn2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjj2hhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chM3ubj:)}(h h]h }(hj}2hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjj2hhhj|2hM3ubj)}(h rvt_rkey_okh]jN)}(h rvt_rkey_okh]h rvt_rkey_ok}(hj2hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj2ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjj2hhhj|2hM3ubj)}(hO(struct rvt_qp *qp, struct rvt_sge *sge, u32 len, u64 vaddr, u32 rkey, int acc)h](j)}(hstruct rvt_qp *qph](j()}(hj+h]hstruct}(hj2hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj2ubj:)}(h h]h }(hj2hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj2ubh)}(hhh]jN)}(hrvt_qph]hrvt_qp}(hj2hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj2ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj2modnameN classnameNjkjn)}jq]jt)}jgj2sb c.rvt_rkey_okasbuh1hhj2ubj:)}(h h]h }(hj2hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj2ubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubjN)}(hqph]hqp}(hj3hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj2ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj2ubj)}(hstruct rvt_sge *sgeh](j()}(hj+h]hstruct}(hj3hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj3ubj:)}(h h]h }(hj*3hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj3ubh)}(hhh]jN)}(hrvt_sgeh]hrvt_sge}(hj;3hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj83ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj=3modnameN classnameNjkjn)}jq]j2 c.rvt_rkey_okasbuh1hhj3ubj:)}(h h]h }(hjY3hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj3ubj)}(hjh]h*}(hjg3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubjN)}(hsgeh]hsge}(hjt3hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj3ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj2ubj)}(hu32 lenh](h)}(hhh]jN)}(hu32h]hu32}(hj3hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj3ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj3modnameN classnameNjkjn)}jq]j2 c.rvt_rkey_okasbuh1hhj3ubj:)}(h h]h }(hj3hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj3ubjN)}(hlenh]hlen}(hj3hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj3ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj2ubj)}(h u64 vaddrh](h)}(hhh]jN)}(hu64h]hu64}(hj3hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj3ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj3modnameN classnameNjkjn)}jq]j2 c.rvt_rkey_okasbuh1hhj3ubj:)}(h h]h }(hj3hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj3ubjN)}(hvaddrh]hvaddr}(hj4hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj3ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj2ubj)}(hu32 rkeyh](h)}(hhh]jN)}(hu32h]hu32}(hj 4hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj4ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj"4modnameN classnameNjkjn)}jq]j2 c.rvt_rkey_okasbuh1hhj4ubj:)}(h h]h }(hj>4hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj4ubjN)}(hrkeyh]hrkey}(hjL4hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj4ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj2ubj)}(hint acch](j)}(hinth]hint}(hje4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhja4ubj:)}(h h]h }(hjs4hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hja4ubjN)}(hacch]hacc}(hj4hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhja4ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj2ubeh}(h]h ]h"]h$]h&]jjuh1jhjj2hhhj|2hM3ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjf2hhhj|2hM3ubah}(h]ja2ah ](jjeh"]h$]h&]jj)jhuh1jhj|2hM3hjc2hhubj)}(hhh]h)}(h.check the IB virtual address, length, and RKEYh]h.check the IB virtual address, length, and RKEY}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chM3hj4hhubah}(h]h ]h"]h$]h&]uh1jhjc2hhhj|2hM3ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj4jj4jjjuh1jhhhj`(hNhNubj)}(hXN**Parameters** ``struct rvt_qp *qp`` qp for validation ``struct rvt_sge *sge`` SGE state ``u32 len`` length of data ``u64 vaddr`` virtual address to place data ``u32 rkey`` rkey to check ``int acc`` access flags **Return** 1 if successful, otherwise 0. **Description** increments the reference count upon successh](h)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chM7hj4ubj)}(hhh](j)}(h(``struct rvt_qp *qp`` qp for validation h](j)}(h``struct rvt_qp *qp``h]j )}(hj4h]hstruct rvt_qp *qp}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chM4hj4ubj)}(hhh]h)}(hqp for validationh]hqp for validation}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hM4hj5ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj5hM4hj4ubj)}(h"``struct rvt_sge *sge`` SGE state h](j)}(h``struct rvt_sge *sge``h]j )}(hj%5h]hstruct rvt_sge *sge}(hj'5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#5ubah}(h]h ]h"]h$]h&f]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chM5hj5ubj)}(hhh]h)}(h SGE stateh]h SGE state}(hj>5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:5hM5hj;5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj:5hM5hj4ubj)}(h``u32 len`` length of data h](j)}(h ``u32 len``h]j )}(hj^5h]hu32 len}(hj`5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\5ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chM6hjX5ubj)}(hhh]h)}(hlength of datah]hlength of data}(hjw5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjs5hM6hjt5ubah}(h]h ]h"]h$]h&]uh1jhjX5ubeh}(h]h ]h"]h$]h&]uh1jhjs5hM6hj4ubj)}(h,``u64 vaddr`` virtual address to place data h](j)}(h ``u64 vaddr``h]j )}(hj5h]h u64 vaddr}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chM7hj5ubj)}(hhh]h)}(hvirtual address to place datah]hvirtual address to place data}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hM7hj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hM7hj4ubj)}(h``u32 rkey`` rkey to check h](j)}(h ``u32 rkey``h]j )}(hj5h]hu32 rkey}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chM8hj5ubj)}(hhh]h)}(h rkey to checkh]h rkey to check}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hM8hj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hM8hj4ubj)}(h``int acc`` access flags h](j)}(h ``int acc``h]j )}(hj 6h]hint acc}(hj 6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chM9hj6ubj)}(hhh]h)}(h access flagsh]h access flags}(hj"6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hM9hj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hM9hj4ubeh}(h]h ]h"]h$]h&]uh1jhj4ubh)}(h **Return**h]j)}(hjD6h]hReturn}(hjF6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB6ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chM;hj4ubh)}(h1 if successful, otherwise 0.h]h1 if successful, otherwise 0.}(hjZ6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chM;hj4ubh)}(h**Description**h]j)}(hjk6h]h Description}(hjm6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji6ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chM=hj4ubh)}(h+increments the reference count upon successh]h+increments the reference count upon success}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:49: ./drivers/infiniband/sw/rdmavt/mr.chM<hj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrvt_compute_aeth (C function)c.rvt_compute_aethhNtauh1jhj`(hhhNhNubj)}(hhh](j)}(h+__be32 rvt_compute_aeth (struct rvt_qp *qp)h]j")}(h*__be32 rvt_compute_aeth(struct rvt_qp *qp)h](h)}(hhh]jN)}(h__be32h]h__be32}(hj6hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj6ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj6modnameN classnameNjkjn)}jq]jt)}jgrvt_compute_aethsbc.rvt_compute_aethasbuh1hhj6hhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chK/ubj:)}(h h]h }(hj6hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj6hhhj6hK/ubj)}(hrvt_compute_aethh]jN)}(hj6h]hrvt_compute_aeth}(hj6hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj6ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj6hhhj6hK/ubj)}(h(struct rvt_qp *qp)h]j)}(hstruct rvt_qp *qph](j()}(hj+h]hstruct}(hj7hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj6ubj:)}(h h]h }(hj7hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj6ubh)}(hhh]jN)}(hrvt_qph]hrvt_qp}(hj 7hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj7ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj"7modnameN classnameNjkjn)}jq]j6c.rvt_compute_aethasbuh1hhj6ubj:)}(h h]h }(hj>7hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj6ubj)}(hjh]h*}(hjL7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubjN)}(hqph]hqp}(hjY7hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj6ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj6ubah}(h]h ]h"]h$]h&]jjuh1jhj6hhhj6hK/ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj6hhhj6hK/ubah}(h]j6ah ](jjeh"]h$]h&]jj)jhuh1jhj6hK/hj6hhubj)}(hhh]h)}(h!compute the AETH (syndrome + MSN)h]h!compute the AETH (syndrome + MSN)}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chK/hj7hhubah}(h]h ]h"]h$]h&]uh1jhj6hhhj6hK/ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj7jj7jjjuh1jhhhj`(hNhNubj)}(hr**Parameters** ``struct rvt_qp *qp`` the queue pair to compute the AETH for **Description** Returns the AETH.h](h)}(h**Parameters**h]j)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chK3hj7ubj)}(hhh]j)}(h=``struct rvt_qp *qp`` the queue pair to compute the AETH for h](j)}(h``struct rvt_qp *qp``h]j )}(hj7h]hstruct rvt_qp *qp}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chK0hj7ubj)}(hhh]h)}(h&the queue pair to compute the AETH forh]h&the queue pair to compute the AETH for}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hK0hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hK0hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubh)}(h**Description**h]j)}(hj7h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chK2hj7ubh)}(hReturns the AETH.h]hReturns the AETH.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chK1hj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrvt_get_credit (C function)c.rvt_get_credithNtauh1jhj`(hhhNhNubj)}(hhh](j)}(h1void rvt_get_credit (struct rvt_qp *qp, u32 aeth)h]j")}(h0void rvt_get_credit(struct rvt_qp *qp, u32 aeth)h](j)}(hvoidh]hvoid}(hjD8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj@8hhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chKsubj:)}(h h]h }(hjS8hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj@8hhhjR8hKsubj)}(hrvt_get_credith]jN)}(hrvt_get_credith]hrvt_get_credit}(hje8hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhja8ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj@8hhhjR8hKsubj)}(h(struct rvt_qp *qp, u32 aeth)h](j)}(hstruct rvt_qp *qph](j()}(hj+h]hstruct}(hj8hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj}8ubj:)}(h h]h }(hj8hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj}8ubh)}(hhh]jN)}(hrvt_qph]hrvt_qp}(hj8hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj8modnameN classnameNjkjn)}jq]jt)}jgjg8sbc.rvt_get_creditasbuh1hhj}8ubj:)}(h h]h }(hj8hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj}8ubj)}(hjh]h*}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}8ubjN)}(hqph]hqp}(hj8hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj}8ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjy8ubj)}(hu32 aethh](h)}(hhh]jN)}(hu32h]hu32}(hj8hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj8modnameN classnameNjkjn)}jq]j8c.rvt_get_creditasbuh1hhj8ubj:)}(h h]h }(hj9hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8ubjN)}(haethh]haeth}(hj"9hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjy8ubeh}(h]h ]h"]h$]h&]jjuh1jhj@8hhhjR8hKsubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj<8hhhjR8hKsubah}(h]j78ah ](jjeh"]h$]h&]jj)jhuh1jhjR8hKshj98hhubj)}(hhh]h)}(h!flush the send work queue of a QPh]h!flush the send work queue of a QP}(hjL9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chKshjI9hhubah}(h]h ]h"]h$]h&]uh1jhj98hhhjR8hKsubeh}(h]h ](jefunctioneh"]h$]h&]jjejjd9jjd9jjjuh1jhhhj`(hNhNubj)}(h**Parameters** ``struct rvt_qp *qp`` the qp who's send work queue to flush ``u32 aeth`` the Acknowledge Extended Transport Header **Description** The QP s_lock should be held.h](h)}(h**Parameters**h]j)}(hjn9h]h Parameters}(hjp9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl9ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chKwhjh9ubj)}(hhh](j)}(h<``struct rvt_qp *qp`` the qp who's send work queue to flush h](j)}(h``struct rvt_qp *qp``h]j )}(hj9h]hstruct rvt_qp *qp}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chKthj9ubj)}(hhh]h)}(h%the qp who's send work queue to flushh]h'the qp who’s send work queue to flush}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hKthj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hKthj9ubj)}(h7``u32 aeth`` the Acknowledge Extended Transport Header h](j)}(h ``u32 aeth``h]j )}(hj9h]hu32 aeth}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chKuhj9ubj)}(hhh]h)}(h)the Acknowledge Extended Transport Headerh]h)the Acknowledge Extended Transport Header}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hKuhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hKuhj9ubeh}(h]h ]h"]h$]h&]uh1jhjh9ubh)}(h**Description**h]j)}(hj:h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chKwhjh9ubh)}(hThe QP s_lock should be held.h]hThe QP s_lock should be held.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chKvhjh9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrvt_restart_sge (C function)c.rvt_restart_sgehNtauh1jhj`(hhhNhNubj)}(hhh](j)}(hMu32 rvt_restart_sge (struct rvt_sge_state *ss, struct rvt_swqe *wqe, u32 len)h]j")}(hLu32 rvt_restart_sge(struct rvt_sge_state *ss, struct rvt_swqe *wqe, u32 len)h](h)}(hhh]jN)}(hu32h]hu32}(hjI:hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjF:ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjK:modnameN classnameNjkjn)}jq]jt)}jgrvt_restart_sgesbc.rvt_restart_sgeasbuh1hhjB:hhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chKubj:)}(h h]h }(hjk:hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjB:hhhjj:hKubj)}(hrvt_restart_sgeh]jN)}(hjg:h]hrvt_restart_sge}(hj}:hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjy:ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjB:hhhjj:hKubj)}(h9(struct rvt_sge_state *ss, struct rvt_swqe *wqe, u32 len)h](j)}(hstruct rvt_sge_state *ssh](j()}(hj+h]hstruct}(hj:hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj:ubj:)}(h h]h }(hj:hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj:ubh)}(hhh]jN)}(h rvt_sge_stateh]h rvt_sge_state}(hj:hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj:ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj:modnameN classnameNjkjn)}jq]je:c.rvt_restart_sgeasbuh1hhj:ubj:)}(h h]h }(hj:hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj:ubj)}(hjh]h*}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubjN)}(hssh]hss}(hj:hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj:ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj:ubj)}(hstruct rvt_swqe *wqeh](j()}(hj+h]hstruct}(hj;hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj;ubj:)}(h h]h }(hj;hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj;ubh)}(hhh]jN)}(hrvt_swqeh]hrvt_swqe}(hj&;hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj#;ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj(;modnameN classnameNjkjn)}jq]je:c.rvt_restart_sgeasbuh1hhj;ubj:)}(h h]h }(hjD;hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj;ubj)}(hjh]h*}(hjR;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubjN)}(hwqeh]hwqe}(hj_;hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj;ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj:ubj)}(hu32 lenh](h)}(hhh]jN)}(hu32h]hu32}(hj{;hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjx;ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj};modnameN classnameNjkjn)}jq]je:c.rvt_restart_sgeasbuh1hhjt;ubj:)}(h h]h }(hj;hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjt;ubjN)}(hlenh]hlen}(hj;hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjt;ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj:ubeh}(h]h ]h"]h$]h&]jjuh1jhjB:hhhjj:hKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj>:hhhjj:hKubah}(h]j9:ah ](jjeh"]h$]h&]jj)jhuh1jhjj:hKhj;:hhubj)}(hhh]h)}(hrewind the sge state for a wqeh]hrewind the sge state for a wqe}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chKhj;hhubah}(h]h ]h"]h$]h&]uh1jhj;:hhhjj:hKubeh}(h]h ](jefunctioneh"]h$]h&]jjejj;jj;jjjuh1jhhhj`(hNhNubj)}(h**Parameters** ``struct rvt_sge_state *ss`` the sge state pointer ``struct rvt_swqe *wqe`` the wqe to rewind ``u32 len`` the data length from the start of the wqe in bytes **Description** Returns the remaining data length.h](h)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chKhj;ubj)}(hhh](j)}(h3``struct rvt_sge_state *ss`` the sge state pointer h](j)}(h``struct rvt_sge_state *ss``h]j )}(hj<h]hstruct rvt_sge_state *ss}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chKhj <ubj)}(hhh]h)}(hthe sge state pointerh]hthe sge state pointer}(hj+<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'<hKhj(<ubah}(h]h ]h"]h$]h&]uh1jhj <ubeh}(h]h ]h"]h$]h&]uh1jhj'<hKhj <ubj)}(h+``struct rvt_swqe *wqe`` the wqe to rewind h](j)}(h``struct rvt_swqe *wqe``h]j )}(hjK<h]hstruct rvt_swqe *wqe}(hjM<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI<ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chKhjE<ubj)}(hhh]h)}(hthe wqe to rewindh]hthe wqe to rewind}(hjd<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`<hKhja<ubah}(h]h ]h"]h$]h&]uh1jhjE<ubeh}(h]h ]h"]h$]h&]uh1jhj`<hKhj <ubj)}(h?``u32 len`` the data length from the start of the wqe in bytes h](j)}(h ``u32 len``h]j )}(hj<h]hu32 len}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chKhj~<ubj)}(hhh]h)}(h2the data length from the start of the wqe in bytesh]h2the data length from the start of the wqe in bytes}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hKhj<ubah}(h]h ]h"]h$]h&]uh1jhj~<ubeh}(h]h ]h"]h$]h&]uh1jhj<hKhj <ubeh}(h]h ]h"]h$]h&]uh1jhj;ubh)}(h**Description**h]j)}(hj<h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chKhj;ubh)}(h"Returns the remaining data length.h]h"Returns the remaining data length.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:52: ./drivers/infiniband/sw/rdmavt/rc.chKhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrvt_check_ah (C function)c.rvt_check_ahhNtauh1jhj`(hhhNhNubj)}(hhh](j)}(hHint rvt_check_ah (struct ib_device *ibdev, struct rdma_ah_attr *ah_attr)h]j")}(hGint rvt_check_ah(struct ib_device *ibdev, struct rdma_ah_attr *ah_attr)h](j)}(hinth]hint}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj=hhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:55: ./drivers/infiniband/sw/rdmavt/ah.chK ubj:)}(h h]h }(hj=hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj=hhhj=hK ubj)}(h rvt_check_ahh]jN)}(h rvt_check_ahh]h rvt_check_ah}(hj%=hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj!=ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj=hhhj=hK ubj)}(h7(struct ib_device *ibdev, struct rdma_ah_attr *ah_attr)h](j)}(hstruct ib_device *ibdevh](j()}(hj+h]hstruct}(hjA=hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj==ubj:)}(h h]h }(hjN=hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj==ubh)}(hhh]jN)}(h ib_deviceh]h ib_device}(hj_=hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj\=ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetja=modnameN classnameNjkjn)}jq]jt)}jgj'=sbc.rvt_check_ahasbuh1hhj==ubj:)}(h h]h }(hj=hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj==ubj)}(hjh]h*}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj==ubjN)}(hibdevh]hibdev}(hj=hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj==ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj9=ubj)}(hstruct rdma_ah_attr *ah_attrh](j()}(hj+h]hstruct}(hj=hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj=ubj:)}(h h]h }(hj=hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj=ubh)}(hhh]jN)}(h rdma_ah_attrh]h rdma_ah_attr}(hj=hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj=ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj=modnameN classnameNjkjn)}jq]j{=c.rvt_check_ahasbuh1hhj=ubj:)}(h h]h }(hj=hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj=ubj)}(hjh]h*}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubjN)}(hah_attrh]hah_attr}(hj >hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj=ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj9=ubeh}(h]h ]h"]h$]h&]jjuh1jhj=hhhj=hK ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj<hhhj=hK ubah}(h]j<ah ](jjeh"]h$]h&]jj)jhuh1jhj=hK hj<hhubj)}(hhh]h)}(hvalidate the attributes of AHh]hvalidate the attributes of AH}(hj4>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:55: ./drivers/infiniband/sw/rdmavt/ah.chK hj1>hhubah}(h]h ]h"]h$]h&]uh1jhj<hhhj=hK ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjL>jjL>jjjuh1jhhhj`(hNhNubj)}(hX **Parameters** ``struct ib_device *ibdev`` the ib device ``struct rdma_ah_attr *ah_attr`` the attributes of the AH **Description** If driver supports a more detailed check_ah function call back to it otherwise just check the basics. **Return** 0 on successh](h)}(h**Parameters**h]j)}(hjV>h]h Parameters}(hjX>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT>ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:55: ./drivers/infiniband/sw/rdmavt/ah.chKhjP>ubj)}(hhh](j)}(h*``struct ib_device *ibdev`` the ib device h](j)}(h``struct ib_device *ibdev``h]j )}(hju>h]hstruct ib_device *ibdev}(hjw>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs>ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:55: ./drivers/infiniband/sw/rdmavt/ah.chK hjo>ubj)}(hhh]h)}(h the ib deviceh]h the ib device}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hK hj>ubah}(h]h ]h"]h$]h&]uh1jhjo>ubeh}(h]h ]h"]h$]h&]uh1jhj>hK hjl>ubj)}(h:``struct rdma_ah_attr *ah_attr`` the attributes of the AH h](j)}(h ``struct rdma_ah_attr *ah_attr``h]j )}(hj>h]hstruct rdma_ah_attr *ah_attr}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:55: ./drivers/infiniband/sw/rdmavt/ah.chK hj>ubj)}(hhh]h)}(hthe attributes of the AHh]hthe attributes of the AH}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hK hj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hK hjl>ubeh}(h]h ]h"]h$]h&]uh1jhjP>ubh)}(h**Description**h]j)}(hj>h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:55: ./drivers/infiniband/sw/rdmavt/ah.chKhjP>ubh)}(heIf driver supports a more detailed check_ah function call back to it otherwise just check the basics.h]heIf driver supports a more detailed check_ah function call back to it otherwise just check the basics.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:55: ./drivers/infiniband/sw/rdmavt/ah.chKhjP>ubh)}(h **Return**h]j)}(hj?h]hReturn}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:55: ./drivers/infiniband/sw/rdmavt/ah.chKhjP>ubh)}(h 0 on successh]h 0 on success}(hj&?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:55: ./drivers/infiniband/sw/rdmavt/ah.chKhjP>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrvt_alloc_device (C function)c.rvt_alloc_devicehNtauh1jhj`(hhhNhNubj)}(hhh](j)}(h@struct rvt_dev_info * rvt_alloc_device (size_t size, int nports)h]j")}(h>struct rvt_dev_info *rvt_alloc_device(size_t size, int nports)h](j()}(hj+h]hstruct}(hjU?hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjQ?hhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chK$ubj:)}(h h]h }(hjc?hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjQ?hhhjb?hK$ubh)}(hhh]jN)}(h rvt_dev_infoh]h rvt_dev_info}(hjt?hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjq?ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjv?modnameN classnameNjkjn)}jq]jt)}jgrvt_alloc_devicesbc.rvt_alloc_deviceasbuh1hhjQ?hhhjb?hK$ubj:)}(h h]h }(hj?hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjQ?hhhjb?hK$ubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQ?hhhjb?hK$ubj)}(hrvt_alloc_deviceh]jN)}(hj?h]hrvt_alloc_device}(hj?hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj?ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjQ?hhhjb?hK$ubj)}(h(size_t size, int nports)h](j)}(h size_t sizeh](h)}(hhh]jN)}(hsize_th]hsize_t}(hj?hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj?ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj?modnameN classnameNjkjn)}jq]j?c.rvt_alloc_deviceasbuh1hhj?ubj:)}(h h]h }(hj?hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj?ubjN)}(hsizeh]hsize}(hj?hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj?ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj?ubj)}(h int nportsh](j)}(hinth]hint}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj@ubj:)}(h h]h }(hj%@hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj@ubjN)}(hnportsh]hnports}(hj3@hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj@ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj?ubeh}(h]h ]h"]h$]h&]jjuh1jhjQ?hhhjb?hK$ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjM?hhhjb?hK$ubah}(h]jH?ah ](jjeh"]h$]h&]jj)jhuh1jhjb?hK$hjJ?hhubj)}(hhh]h)}(h allocate rdih]h allocate rdi}(hj]@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chK$hjZ@hhubah}(h]h ]h"]h$]h&]uh1jhjJ?hhhjb?hK$ubeh}(h]h ](jefunctioneh"]h$]h&]jjejju@jju@jjjuh1jhhhj`(hNhNubj)}(hX**Parameters** ``size_t size`` how big of a structure to allocate ``int nports`` number of ports to allocate array slots for **Description** Use IB core device alloc to allocate space for the rdi which is assumed to be inside of the ib_device. Any extra space that drivers require should be included in size. We also allocate a port array based on the number of ports. **Return** pointer to allocated rdih](h)}(h**Parameters**h]j)}(hj@h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}@ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chK(hjy@ubj)}(hhh](j)}(h3``size_t size`` how big of a structure to allocate h](j)}(h``size_t size``h]j )}(hj@h]h size_t size}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chK%hj@ubj)}(hhh]h)}(h"how big of a structure to allocateh]h"how big of a structure to allocate}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hK%hj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hK%hj@ubj)}(h;``int nports`` number of ports to allocate array slots for h](j)}(h``int nports``h]j )}(hj@h]h int nports}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chK&hj@ubj)}(hhh]h)}(h+number of ports to allocate array slots forh]h+number of ports to allocate array slots for}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hK&hj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hK&hj@ubeh}(h]h ]h"]h$]h&]uh1jhjy@ubh)}(h**Description**h]j)}(hjAh]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chK(hjy@ubh)}(hUse IB core device alloc to allocate space for the rdi which is assumed to be inside of the ib_device. Any extra space that drivers require should be included in size.h]hUse IB core device alloc to allocate space for the rdi which is assumed to be inside of the ib_device. Any extra space that drivers require should be included in size.}(hj(AhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chK'hjy@ubh)}(h;We also allocate a port array based on the number of ports.h]h;We also allocate a port array based on the number of ports.}(hj7AhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chK+hjy@ubh)}(h **Return**h]j)}(hjHAh]hReturn}(hjJAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFAubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chK-hjy@ubh)}(hpointer to allocated rdih]hpointer to allocated rdi}(hj^AhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chK.hjy@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrvt_dealloc_device (C function)c.rvt_dealloc_devicehNtauh1jhj`(hhhNhNubj)}(hhh](j)}(h2void rvt_dealloc_device (struct rvt_dev_info *rdi)h]j")}(h1void rvt_dealloc_device(struct rvt_dev_info *rdi)h](j)}(hvoidh]hvoid}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjAhhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chKAubj:)}(h h]h }(hjAhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjAhhhjAhKAubj)}(hrvt_dealloc_deviceh]jN)}(hrvt_dealloc_deviceh]hrvt_dealloc_device}(hjAhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjAubah}(h]h ](jjeh"]h$]h&]jjuh1jhjAhhhjAhKAubj)}(h(struct rvt_dev_info *rdi)h]j)}(hstruct rvt_dev_info *rdih](j()}(hj+h]hstruct}(hjAhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjAubj:)}(h h]h }(hjAhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjAubh)}(hhh]jN)}(h rvt_dev_infoh]h rvt_dev_info}(hjAhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjAubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjAmodnameN classnameNjkjn)}jq]jt)}jgjAsbc.rvt_dealloc_deviceasbuh1hhjAubj:)}(h h]h }(hjBhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjAubj)}(hjh]h*}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubjN)}(hrdih]hrdi}(hj#BhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjAubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjAubah}(h]h ]h"]h$]h&]jjuh1jhjAhhhjAhKAubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjAhhhjAhKAubah}(h]jAah ](jjeh"]h$]h&]jj)jhuh1jhjAhKAhjAhhubj)}(hhh]h)}(hdeallocate rdih]hdeallocate rdi}(hjMBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chKAhjJBhhubah}(h]h ]h"]h$]h&]uh1jhjAhhhjAhKAubeh}(h]h ](jefunctioneh"]h$]h&]jjejjeBjjeBjjjuh1jhhhj`(hNhNubj)}(h**Parameters** ``struct rvt_dev_info *rdi`` structure to free **Description** Free a structure allocated with rvt_alloc_device()h](h)}(h**Parameters**h]j)}(hjoBh]h Parameters}(hjqBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmBubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chKEhjiBubj)}(hhh]j)}(h/``struct rvt_dev_info *rdi`` structure to free h](j)}(h``struct rvt_dev_info *rdi``h]j )}(hjBh]hstruct rvt_dev_info *rdi}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chKBhjBubj)}(hhh]h)}(hstructure to freeh]hstructure to free}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhKBhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhKBhjBubah}(h]h ]h"]h$]h&]uh1jhjiBubh)}(h**Description**h]j)}(hjBh]h Description}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chKDhjiBubh)}(h2Free a structure allocated with rvt_alloc_device()h]h2Free a structure allocated with rvt_alloc_device()}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chKChjiBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j rvt_register_device (C function)c.rvt_register_devicehNtauh1jhj`(hhhNhNubj)}(hhh](j)}(h2int rvt_register_device (struct rvt_dev_info *rdi)h]j")}(h1int rvt_register_device(struct rvt_dev_info *rdi)h](j)}(hinth]hint}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj Chhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMubj:)}(h h]h }(hjChhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ChhhjChMubj)}(hrvt_register_deviceh]jN)}(hrvt_register_deviceh]hrvt_register_device}(hj/ChhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj+Cubah}(h]h ](jjeh"]h$]h&]jjuh1jhj ChhhjChMubj)}(h(struct rvt_dev_info *rdi)h]j)}(hstruct rvt_dev_info *rdih](j()}(hj+h]hstruct}(hjKChhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjGCubj:)}(h h]h }(hjXChhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjGCubh)}(hhh]jN)}(h rvt_dev_infoh]h rvt_dev_info}(hjiChhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjfCubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjkCmodnameN classnameNjkjn)}jq]jt)}jgj1Csbc.rvt_register_deviceasbuh1hhjGCubj:)}(h h]h }(hjChhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjGCubj)}(hjh]h*}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGCubjN)}(hrdih]hrdi}(hjChhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjGCubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjCCubah}(h]h ]h"]h$]h&]jjuh1jhj ChhhjChMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjChhhjChMubah}(h]jCah ](jjeh"]h$]h&]jj)jhuh1jhjChMhjChhubj)}(hhh]h)}(hregister a driverh]hregister a driver}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMhjChhubah}(h]h ]h"]h$]h&]uh1jhjChhhjChMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjCjjCjjjuh1jhhhj`(hNhNubj)}(h**Parameters** ``struct rvt_dev_info *rdi`` main dev structure for all of rdmavt operations **Description** It is up to drivers to allocate the rdi and fill in the appropriate information. **Return** 0 on success otherwise an errno.h](h)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMhjCubj)}(hhh]j)}(hM``struct rvt_dev_info *rdi`` main dev structure for all of rdmavt operations h](j)}(h``struct rvt_dev_info *rdi``h]j )}(hjDh]hstruct rvt_dev_info *rdi}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Dubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMhj Dubj)}(hhh]h)}(h/main dev structure for all of rdmavt operationsh]h/main dev structure for all of rdmavt operations}(hj(DhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$DhMhj%Dubah}(h]h ]h"]h$]h&]uh1jhj Dubeh}(h]h ]h"]h$]h&]uh1jhj$DhMhjDubah}(h]h ]h"]h$]h&]uh1jhjCubh)}(h**Description**h]j)}(hjJDh]h Description}(hjLDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHDubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMhjCubh)}(hPIt is up to drivers to allocate the rdi and fill in the appropriate information.h]hPIt is up to drivers to allocate the rdi and fill in the appropriate information.}(hj`DhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMhjCubh)}(h **Return**h]j)}(hjqDh]hReturn}(hjsDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoDubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMhjCubh)}(h 0 on success otherwise an errno.h]h 0 on success otherwise an errno.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"rvt_unregister_device (C function)c.rvt_unregister_devicehNtauh1jhj`(hhhNhNubj)}(hhh](j)}(h5void rvt_unregister_device (struct rvt_dev_info *rdi)h]j")}(h4void rvt_unregister_device(struct rvt_dev_info *rdi)h](j)}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjDhhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMLubj:)}(h h]h }(hjDhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjDhhhjDhMLubj)}(hrvt_unregister_deviceh]jN)}(hrvt_unregister_deviceh]hrvt_unregister_device}(hjDhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjDubah}(h]h ](jjeh"]h$]h&]jjuh1jhjDhhhjDhMLubj)}(h(struct rvt_dev_info *rdi)h]j)}(hstruct rvt_dev_info *rdih](j()}(hj+h]hstruct}(hjDhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjDubj:)}(h h]h }(hjEhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjDubh)}(hhh]jN)}(h rvt_dev_infoh]h rvt_dev_info}(hjEhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjEubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjEmodnameN classnameNjkjn)}jq]jt)}jgjDsbc.rvt_unregister_deviceasbuh1hhjDubj:)}(h h]h }(hj1EhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjDubj)}(hjh]h*}(hj?EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubjN)}(hrdih]hrdi}(hjLEhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjDubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjDubah}(h]h ]h"]h$]h&]jjuh1jhjDhhhjDhMLubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjDhhhjDhMLubah}(h]jDah ](jjeh"]h$]h&]jj)jhuh1jhjDhMLhjDhhubj)}(hhh]h)}(hremove a driverh]hremove a driver}(hjvEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMLhjsEhhubah}(h]h ]h"]h$]h&]uh1jhjDhhhjDhMLubeh}(h]h ](jefunctioneh"]h$]h&]jjejjEjjEjjjuh1jhhhj`(hNhNubj)}(h=**Parameters** ``struct rvt_dev_info *rdi`` rvt dev structh](h)}(h**Parameters**h]j)}(hjEh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMPhjEubj)}(hhh]j)}(h+``struct rvt_dev_info *rdi`` rvt dev structh](j)}(h``struct rvt_dev_info *rdi``h]j )}(hjEh]hstruct rvt_dev_info *rdi}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMRhjEubj)}(hhh]h)}(hrvt dev structh]hrvt dev struct}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMMhjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhMRhjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrvt_init_port (C function)c.rvt_init_porthNtauh1jhj`(hhhNhNubj)}(hhh](j)}(hfint rvt_init_port (struct rvt_dev_info *rdi, struct rvt_ibport *port, int port_index, u16 *pkey_table)h]j")}(heint rvt_init_port(struct rvt_dev_info *rdi, struct rvt_ibport *port, int port_index, u16 *pkey_table)h](j)}(hinth]hint}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj Fhhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chM_ubj:)}(h h]h }(hj FhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj FhhhjFhM_ubj)}(h rvt_init_porth]jN)}(h rvt_init_porth]h rvt_init_port}(hj2FhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj.Fubah}(h]h ](jjeh"]h$]h&]jjuh1jhj FhhhjFhM_ubj)}(hT(struct rvt_dev_info *rdi, struct rvt_ibport *port, int port_index, u16 *pkey_table)h](j)}(hstruct rvt_dev_info *rdih](j()}(hj+h]hstruct}(hjNFhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjJFubj:)}(h h]h }(hj[FhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjJFubh)}(hhh]jN)}(h rvt_dev_infoh]h rvt_dev_info}(hjlFhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjiFubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjnFmodnameN classnameNjkjn)}jq]jt)}jgj4Fsbc.rvt_init_portasbuh1hhjJFubj:)}(h h]h }(hjFhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjJFubj)}(hjh]h*}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJFubjN)}(hrdih]hrdi}(hjFhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjJFubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjFFubj)}(hstruct rvt_ibport *porth](j()}(hj+h]hstruct}(hjFhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjFubj:)}(h h]h }(hjFhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjFubh)}(hhh]jN)}(h rvt_ibporth]h rvt_ibport}(hjFhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjFubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjFmodnameN classnameNjkjn)}jq]jFc.rvt_init_portasbuh1hhjFubj:)}(h h]h }(hjFhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjFubj)}(hjh]h*}(hj GhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubjN)}(hporth]hport}(hjGhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjFubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjFFubj)}(hint port_indexh](j)}(hinth]hint}(hj0GhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj,Gubj:)}(h h]h }(hj>GhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj,GubjN)}(h port_indexh]h port_index}(hjLGhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj,Gubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjFFubj)}(hu16 *pkey_tableh](h)}(hhh]jN)}(hu16h]hu16}(hjhGhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjeGubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjjGmodnameN classnameNjkjn)}jq]jFc.rvt_init_portasbuh1hhjaGubj:)}(h h]h }(hjGhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjaGubj)}(hjh]h*}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaGubjN)}(h pkey_tableh]h pkey_table}(hjGhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjaGubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjFFubeh}(h]h ]h"]h$]h&]jjuh1jhj FhhhjFhM_ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj FhhhjFhM_ubah}(h]jFah ](jjeh"]h$]h&]jj)jhuh1jhjFhM_hjFhhubj)}(hhh]h)}(h"init internal data for driver porth]h"init internal data for driver port}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chM_hjGhhubah}(h]h ]h"]h$]h&]uh1jhjFhhhjFhM_ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjGjjGjjjuh1jhhhj`(hNhNubj)}(hXv**Parameters** ``struct rvt_dev_info *rdi`` rvt_dev_info struct ``struct rvt_ibport *port`` rvt port ``int port_index`` 0 based index of ports, different from IB core port num ``u16 *pkey_table`` pkey_table for **port** **Description** Keep track of a list of ports. No need to have a detach port. They persist until the driver goes away. **Return** always 0h](h)}(h**Parameters**h]j)}(hjGh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMchjGubj)}(hhh](j)}(h1``struct rvt_dev_info *rdi`` rvt_dev_info struct h](j)}(h``struct rvt_dev_info *rdi``h]j )}(hj Hh]hstruct rvt_dev_info *rdi}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Hubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chM`hjHubj)}(hhh]h)}(hrvt_dev_info structh]hrvt_dev_info struct}(hj%HhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!HhM`hj"Hubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhj!HhM`hjHubj)}(h%``struct rvt_ibport *port`` rvt port h](j)}(h``struct rvt_ibport *port``h]j )}(hjEHh]hstruct rvt_ibport *port}(hjGHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCHubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMahj?Hubj)}(hhh]h)}(hrvt porth]hrvt port}(hj^HhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZHhMahj[Hubah}(h]h ]h"]h$]h&]uh1jhj?Hubeh}(h]h ]h"]h$]h&]uh1jhjZHhMahjHubj)}(hK``int port_index`` 0 based index of ports, different from IB core port num h](j)}(h``int port_index``h]j )}(hj~Hh]hint port_index}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|Hubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMbhjxHubj)}(hhh]h)}(h70 based index of ports, different from IB core port numh]h70 based index of ports, different from IB core port num}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhMbhjHubah}(h]h ]h"]h$]h&]uh1jhjxHubeh}(h]h ]h"]h$]h&]uh1jhjHhMbhjHubj)}(h,``u16 *pkey_table`` pkey_table for **port** h](j)}(h``u16 *pkey_table``h]j )}(hjHh]hu16 *pkey_table}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMchjHubj)}(hhh]h)}(hpkey_table for **port**h](hpkey_table for }(hjHhhhNhNubj)}(h**port**h]hport}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1hhjHhMchjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMchjHubeh}(h]h ]h"]h$]h&]uh1jhjGubh)}(h**Description**h]j)}(hjIh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMehjGubh)}(hfKeep track of a list of ports. No need to have a detach port. They persist until the driver goes away.h]hfKeep track of a list of ports. No need to have a detach port. They persist until the driver goes away.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMdhjGubh)}(h **Return**h]j)}(hj'Ih]hReturn}(hj)IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Iubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMghjGubh)}(halways 0h]halways 0}(hj=IhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:58: ./drivers/infiniband/sw/rdmavt/vt.chMhhjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrvt_cq_enter (C function)c.rvt_cq_enterhNtauh1jhj`(hhhNhNubj)}(hhh](j)}(hJbool rvt_cq_enter (struct rvt_cq *cq, struct ib_wc *entry, bool solicited)h]j")}(hIbool rvt_cq_enter(struct rvt_cq *cq, struct ib_wc *entry, bool solicited)h](j)}(hjjh]hbool}(hjlIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhIhhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:61: ./drivers/infiniband/sw/rdmavt/cq.chKubj:)}(h h]h }(hjzIhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhIhhhjyIhKubj)}(h rvt_cq_enterh]jN)}(h rvt_cq_enterh]h rvt_cq_enter}(hjIhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjIubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhIhhhjyIhKubj)}(h8(struct rvt_cq *cq, struct ib_wc *entry, bool solicited)h](j)}(hstruct rvt_cq *cqh](j()}(hj+h]hstruct}(hjIhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjIubj:)}(h h]h }(hjIhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjIubh)}(hhh]jN)}(hrvt_cqh]hrvt_cq}(hjIhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjIubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjImodnameN classnameNjkjn)}jq]jt)}jgjIsbc.rvt_cq_enterasbuh1hhjIubj:)}(h h]h }(hjIhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjIubj)}(hjh]h*}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubjN)}(hcqh]hcq}(hjJhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjIubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjIubj)}(hstruct ib_wc *entryh](j()}(hj+h]hstruct}(hjJhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjJubj:)}(h h]h }(hj'JhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjJubh)}(hhh]jN)}(hib_wch]hib_wc}(hj8JhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj5Jubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj:JmodnameN classnameNjkjn)}jq]jIc.rvt_cq_enterasbuh1hhjJubj:)}(h h]h }(hjVJhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjJubj)}(hjh]h*}(hjdJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubjN)}(hentryh]hentry}(hjqJhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjJubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjIubj)}(hbool solicitedh](j)}(hjjh]hbool}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjJubj:)}(h h]h }(hjJhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjJubjN)}(h solicitedh]h solicited}(hjJhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjJubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjIubeh}(h]h ]h"]h$]h&]jjuh1jhjhIhhhjyIhKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjdIhhhjyIhKubah}(h]j_Iah ](jjeh"]h$]h&]jj)jhuh1jhjyIhKhjaIhhubj)}(hhh]h)}(h'add a new entry to the completion queueh]h'add a new entry to the completion queue}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:61: ./drivers/infiniband/sw/rdmavt/cq.chKhjJhhubah}(h]h ]h"]h$]h&]uh1jhjaIhhhjyIhKubeh}(h]h ](jefunctioneh"]h$]h&]jjejjJjjJjjjuh1jhhhj`(hNhNubj)}(hX&**Parameters** ``struct rvt_cq *cq`` completion queue ``struct ib_wc *entry`` work completion entry to add ``bool solicited`` true if **entry** is solicited **Description** This may be called with qp->s_lock held. **Return** return true on success, else return false if cq is full.h](h)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:61: ./drivers/infiniband/sw/rdmavt/cq.chKhjJubj)}(hhh](j)}(h'``struct rvt_cq *cq`` completion queue h](j)}(h``struct rvt_cq *cq``h]j )}(hjKh]hstruct rvt_cq *cq}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:61: ./drivers/infiniband/sw/rdmavt/cq.chKhj Kubj)}(hhh]h)}(hcompletion queueh]hcompletion queue}(hj)KhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%KhKhj&Kubah}(h]h ]h"]h$]h&]uh1jhj Kubeh}(h]h ]h"]h$]h&]uh1jhj%KhKhjKubj)}(h5``struct ib_wc *entry`` work completion entry to add h](j)}(h``struct ib_wc *entry``h]j )}(hjIKh]hstruct ib_wc *entry}(hjKKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGKubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:61: ./drivers/infiniband/sw/rdmavt/cq.chKhjCKubj)}(hhh]h)}(hwork completion entry to addh]hwork completion entry to add}(hjbKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^KhKhj_Kubah}(h]h ]h"]h$]h&]uh1jhjCKubeh}(h]h ]h"]h$]h&]uh1jhj^KhKhjKubj)}(h2``bool solicited`` true if **entry** is solicited h](j)}(h``bool solicited``h]j )}(hjKh]hbool solicited}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:61: ./drivers/infiniband/sw/rdmavt/cq.chKhj|Kubj)}(hhh]h)}(htrue if **entry** is solicitedh](htrue if }(hjKhhhNhNubj)}(h **entry**h]hentry}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh is solicited}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjKhKhjKubah}(h]h ]h"]h$]h&]uh1jhj|Kubeh}(h]h ]h"]h$]h&]uh1jhjKhKhjKubeh}(h]h ]h"]h$]h&]uh1jhjJubh)}(h**Description**h]j)}(hjKh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:61: ./drivers/infiniband/sw/rdmavt/cq.chKhjJubh)}(h(This may be called with qp->s_lock held.h]h(This may be called with qp->s_lock held.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:61: ./drivers/infiniband/sw/rdmavt/cq.chKhjJubh)}(h **Return**h]j)}(hjKh]hReturn}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:61: ./drivers/infiniband/sw/rdmavt/cq.chKhjJubh)}(h8return true on success, else return false if cq is full.h]h8return true on success, else return false if cq is full.}(hj LhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:61: ./drivers/infiniband/sw/rdmavt/cq.chKhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrvt_error_qp (C function)c.rvt_error_qphNtauh1jhj`(hhhNhNubj)}(hhh](j)}(h;int rvt_error_qp (struct rvt_qp *qp, enum ib_wc_status err)h]j")}(h:int rvt_error_qp(struct rvt_qp *qp, enum ib_wc_status err)h](j)}(hinth]hint}(hj;LhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj7Lhhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMubj:)}(h h]h }(hjJLhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj7LhhhjILhMubj)}(h rvt_error_qph]jN)}(h rvt_error_qph]h rvt_error_qp}(hj\LhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjXLubah}(h]h ](jjeh"]h$]h&]jjuh1jhj7LhhhjILhMubj)}(h*(struct rvt_qp *qp, enum ib_wc_status err)h](j)}(hstruct rvt_qp *qph](j()}(hj+h]hstruct}(hjxLhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjtLubj:)}(h h]h }(hjLhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjtLubh)}(hhh]jN)}(hrvt_qph]hrvt_qp}(hjLhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjLubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjLmodnameN classnameNjkjn)}jq]jt)}jgj^Lsbc.rvt_error_qpasbuh1hhjtLubj:)}(h h]h }(hjLhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjtLubj)}(hjh]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtLubjN)}(hqph]hqp}(hjLhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjtLubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjpLubj)}(henum ib_wc_status errh](j()}(hj%h]henum}(hjLhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjLubj:)}(h h]h }(hjLhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjLubh)}(hhh]jN)}(h ib_wc_statush]h ib_wc_status}(hjMhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjMubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj MmodnameN classnameNjkjn)}jq]jLc.rvt_error_qpasbuh1hhjLubj:)}(h h]h }(hj&MhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjLubjN)}(herrh]herr}(hj4MhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjLubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjpLubeh}(h]h ]h"]h$]h&]jjuh1jhj7LhhhjILhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj3LhhhjILhMubah}(h]j.Lah ](jjeh"]h$]h&]jj)jhuh1jhjILhMhj0Lhhubj)}(hhh]h)}(hput a QP into the error stateh]hput a QP into the error state}(hj^MhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMhj[Mhhubah}(h]h ]h"]h$]h&]uh1jhj0LhhhjILhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjvMjjvMjjjuh1jhhhj`(hNhNubj)}(hX**Parameters** ``struct rvt_qp *qp`` the QP to put into the error state ``enum ib_wc_status err`` the receive completion error to signal if a RWQE is active **Description** Flushes both send and receive work queues. **Return** true if last WQE event should be generated. The QP r_lock and s_lock should be held and interrupts disabled. If we are already in error state, just return.h](h)}(h**Parameters**h]j)}(hjMh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~Mubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMhjzMubj)}(hhh](j)}(h9``struct rvt_qp *qp`` the QP to put into the error state h](j)}(h``struct rvt_qp *qp``h]j )}(hjMh]hstruct rvt_qp *qp}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMhjMubj)}(hhh]h)}(h"the QP to put into the error stateh]h"the QP to put into the error state}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjMubj)}(hU``enum ib_wc_status err`` the receive completion error to signal if a RWQE is active h](j)}(h``enum ib_wc_status err``h]j )}(hjMh]henum ib_wc_status err}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMhjMubj)}(hhh]h)}(h:the receive completion error to signal if a RWQE is activeh]h:the receive completion error to signal if a RWQE is active}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjMubeh}(h]h ]h"]h$]h&]uh1jhjzMubh)}(h**Description**h]j)}(hjNh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMhjzMubh)}(h*Flushes both send and receive work queues.h]h*Flushes both send and receive work queues.}(hj)NhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMhjzMubh)}(h **Return**h]j)}(hj:Nh]hReturn}(hjr_wr_id only, not qp->r_sge **Description** Return -1 if there is a local error, 0 if no RWQE is available, otherwise return 1. Can be called from interrupt level.h](h)}(h**Parameters**h]j)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hjOubj)}(hhh](j)}(h``struct rvt_qp *qp`` the QP h](j)}(h``struct rvt_qp *qp``h]j )}(hjOh]hstruct rvt_qp *qp}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hjOubj)}(hhh]h)}(hthe QPh]hthe QP}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhM hjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhM hjOubj)}(h;``bool wr_id_only`` update qp->r_wr_id only, not qp->r_sge h](j)}(h``bool wr_id_only``h]j )}(hjOh]hbool wr_id_only}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hjOubj)}(hhh]h)}(h&update qp->r_wr_id only, not qp->r_sgeh]h&update qp->r_wr_id only, not qp->r_sge}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhM hjPubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjPhM hjOubeh}(h]h ]h"]h$]h&]uh1jhjOubh)}(h**Description**h]j)}(hj(Ph]h Description}(hj*PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&Pubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hjOubh)}(hSReturn -1 if there is a local error, 0 if no RWQE is available, otherwise return 1.h]hSReturn -1 if there is a local error, 0 if no RWQE is available, otherwise return 1.}(hj>PhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hjOubh)}(h#Can be called from interrupt level.h]h#Can be called from interrupt level.}(hjMPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrvt_comm_est (C function)c.rvt_comm_esthNtauh1jhj`(hhhNhNubj)}(hhh](j)}(h%void rvt_comm_est (struct rvt_qp *qp)h]j")}(h$void rvt_comm_est(struct rvt_qp *qp)h](j)}(hvoidh]hvoid}(hj|PhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjxPhhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM ubj:)}(h h]h }(hjPhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjxPhhhjPhM ubj)}(h rvt_comm_esth]jN)}(h rvt_comm_esth]h rvt_comm_est}(hjPhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjPubah}(h]h ](jjeh"]h$]h&]jjuh1jhjxPhhhjPhM ubj)}(h(struct rvt_qp *qp)h]j)}(hstruct rvt_qp *qph](j()}(hj+h]hstruct}(hjPhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjPubj:)}(h h]h }(hjPhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjPubh)}(hhh]jN)}(hrvt_qph]hrvt_qp}(hjPhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjPubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjPmodnameN classnameNjkjn)}jq]jt)}jgjPsbc.rvt_comm_estasbuh1hhjPubj:)}(h h]h }(hjPhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjPubj)}(hjh]h*}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubjN)}(hqph]hqp}(hjQhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjPubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjPubah}(h]h ]h"]h$]h&]jjuh1jhjxPhhhjPhM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjtPhhhjPhM ubah}(h]joPah ](jjeh"]h$]h&]jj)jhuh1jhjPhM hjqPhhubj)}(hhh]h)}(hhandle trap with QP establishedh]hhandle trap with QP established}(hjqp with the current QP when the return value is 0. **Return** 0 - iter->qp is valid 1 - no more QPsh](h)}(h**Parameters**h]j)}(hjm[h]h Parameters}(hjo[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk[ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMn hjg[ubj)}(hhh]j)}(h*``struct rvt_qp_iter *iter`` the iterator h](j)}(h``struct rvt_qp_iter *iter``h]j )}(hj[h]hstruct rvt_qp_iter *iter}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMk hj[ubj)}(hhh]h)}(h the iteratorh]h the iterator}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hMk hj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMk hj[ubah}(h]h ]h"]h$]h&]uh1jhjg[ubh)}(h**Description**h]j)}(hj[h]h Description}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMm hjg[ubh)}(hKFine grained QP iterator suitable for use with debugfs seq_file mechanisms.h]hKFine grained QP iterator suitable for use with debugfs seq_file mechanisms.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMl hjg[ubh)}(h@Updates iter->qp with the current QP when the return value is 0.h]h@Updates iter->qp with the current QP when the return value is 0.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMo hjg[ubh)}(h **Return**h]j)}(hj[h]hReturn}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMr hjg[ubh)}(h%0 - iter->qp is valid 1 - no more QPsh]h%0 - iter->qp is valid 1 - no more QPs}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMs hjg[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrvt_qp_iter (C function) c.rvt_qp_iterhNtauh1jhj`(hhhNhNubj)}(hhh](j)}(hXvoid rvt_qp_iter (struct rvt_dev_info *rdi, u64 v, void (*cb)(struct rvt_qp *qp, u64 v))h]j")}(hWvoid rvt_qp_iter(struct rvt_dev_info *rdi, u64 v, void (*cb)(struct rvt_qp *qp, u64 v))h](j)}(hvoidh]hvoid}(hjB\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>\hhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM ubj:)}(h h]h }(hjQ\hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj>\hhhjP\hM ubj)}(h rvt_qp_iterh]jN)}(h rvt_qp_iterh]h rvt_qp_iter}(hjc\hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj_\ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj>\hhhjP\hM ubj)}(hG(struct rvt_dev_info *rdi, u64 v, void (*cb)(struct rvt_qp *qp, u64 v))h](j)}(hstruct rvt_dev_info *rdih](j()}(hj+h]hstruct}(hj\hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj{\ubj:)}(h h]h }(hj\hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj{\ubh)}(hhh]jN)}(h rvt_dev_infoh]h rvt_dev_info}(hj\hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj\ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj\modnameN classnameNjkjn)}jq]jt)}jgje\sb c.rvt_qp_iterasbuh1hhj{\ubj:)}(h h]h }(hj\hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj{\ubj)}(hjh]h*}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{\ubjN)}(hrdih]hrdi}(hj\hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj{\ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjw\ubj)}(hu64 vh](h)}(hhh]jN)}(hu64h]hu64}(hj\hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj\ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj\modnameN classnameNjkjn)}jq]j\ c.rvt_qp_iterasbuh1hhj\ubj:)}(h h]h }(hj]hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj\ubjN)}(hjWh]hv}(hj ]hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj\ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjw\ubj)}(h$void (*cb)(struct rvt_qp *qp, u64 v)h](j)}(hvoidh]hvoid}(hj8]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4]ubj:)}(h h]h }(hjF]hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj4]ubj)}(hj%h]h(}(hjT]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4]ubj)}(hjh]h*}(hja]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4]ubjN)}(hcbh]hcb}(hjn]hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj4]ubj)}(hjNh]h)}(hj|]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4]ubj)}(hj%h]h(}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4]ubj()}(hj+h]hstruct}(hj]hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj4]ubj:)}(h h]h }(hj]hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj4]ubh)}(hhh]jN)}(hrvt_qph]hrvt_qp}(hj]hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj]ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj]modnameN classnameNjkjn)}jq]j\ c.rvt_qp_iterasbuh1hhj4]ubj:)}(h h]h }(hj]hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj4]ubj)}(hjh]h*}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4]ubjN)}(hqph]hqp}(hj]hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj4]ubj)}(hjh]h,}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4]ubj:)}(h h]h }(hj^hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj4]ubh)}(hhh]jN)}(hu64h]hu64}(hj^hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj^ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj^modnameN classnameNjkjn)}jq]j\ c.rvt_qp_iterasbuh1hhj4]ubj:)}(h h]h }(hj7^hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj4]ubjN)}(hjWh]hv}(hjE^hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj4]ubj)}(hjNh]h)}(hjR^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4]ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjw\ubeh}(h]h ]h"]h$]h&]jjuh1jhj>\hhhjP\hM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj:\hhhjP\hM ubah}(h]j5\ah ](jjeh"]h$]h&]jj)jhuh1jhjP\hM hj7\hhubj)}(hhh]h)}(hiterate all QPsh]hiterate all QPs}(hj{^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hjx^hhubah}(h]h ]h"]h$]h&]uh1jhj7\hhhjP\hM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj^jj^jjjuh1jhhhj`(hNhNubj)}(hX**Parameters** ``struct rvt_dev_info *rdi`` rvt devinfo ``u64 v`` a 64-bit value ``void (*cb)(struct rvt_qp *qp, u64 v)`` a callback **Description** This provides a way for iterating all QPs. The **cb** is a user-defined callback and **v** is a 64-bit value passed to and relevant for processing in the cb. An example use case would be to alter QP processing based on criteria not part of the rvt_qp. The code has an internal iterator to simplify non seq_file use cases.h](h)}(h**Parameters**h]j)}(hj^h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hj^ubj)}(hhh](j)}(h)``struct rvt_dev_info *rdi`` rvt devinfo h](j)}(h``struct rvt_dev_info *rdi``h]j )}(hj^h]hstruct rvt_dev_info *rdi}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hj^ubj)}(hhh]h)}(h rvt devinfoh]h rvt devinfo}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hM hj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hM hj^ubj)}(h``u64 v`` a 64-bit value h](j)}(h ``u64 v``h]j )}(hj^h]hu64 v}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hj^ubj)}(hhh]h)}(ha 64-bit valueh]ha 64-bit value}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj _hM hj _ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj _hM hj^ubj)}(h4``void (*cb)(struct rvt_qp *qp, u64 v)`` a callback h](j)}(h(``void (*cb)(struct rvt_qp *qp, u64 v)``h]j )}(hj._h]h$void (*cb)(struct rvt_qp *qp, u64 v)}(hj0_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,_ubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hj(_ubj)}(hhh]h)}(h a callbackh]h a callback}(hjG_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjC_hM hjD_ubah}(h]h ]h"]h$]h&]uh1jhj(_ubeh}(h]h ]h"]h$]h&]uh1jhjC_hM hj^ubeh}(h]h ]h"]h$]h&]uh1jhj^ubh)}(h**Description**h]j)}(hji_h]h Description}(hjk_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg_ubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hj^ubh)}(h*This provides a way for iterating all QPs.h]h*This provides a way for iterating all QPs.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hj^ubh)}(hThe **cb** is a user-defined callback and **v** is a 64-bit value passed to and relevant for processing in the cb. An example use case would be to alter QP processing based on criteria not part of the rvt_qp.h](hThe }(hj_hhhNhNubj)}(h**cb**h]hcb}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh is a user-defined callback and }(hj_hhhNhNubj)}(h**v**h]hv}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh is a 64-bit value passed to and relevant for processing in the cb. An example use case would be to alter QP processing based on criteria not part of the rvt_qp.}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hj^ubh)}(hEThe code has an internal iterator to simplify non seq_file use cases.h]hEThe code has an internal iterator to simplify non seq_file use cases.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrvt_copy_sge (C function)c.rvt_copy_sgehNtauh1jhj`(hhhNhNubj)}(hhh](j)}(huvoid rvt_copy_sge (struct rvt_qp *qp, struct rvt_sge_state *ss, void *data, u32 length, bool release, bool copy_last)h]j")}(htvoid rvt_copy_sge(struct rvt_qp *qp, struct rvt_sge_state *ss, void *data, u32 length, bool release, bool copy_last)h](j)}(hvoidh]hvoid}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj_hhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM ubj:)}(h h]h }(hj_hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj_hhhj_hM ubj)}(h rvt_copy_sgeh]jN)}(h rvt_copy_sgeh]h rvt_copy_sge}(hj`hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj `ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj_hhhj_hM ubj)}(hc(struct rvt_qp *qp, struct rvt_sge_state *ss, void *data, u32 length, bool release, bool copy_last)h](j)}(hstruct rvt_qp *qph](j()}(hj+h]hstruct}(hj-`hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj)`ubj:)}(h h]h }(hj:`hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj)`ubh)}(hhh]jN)}(hrvt_qph]hrvt_qp}(hjK`hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjH`ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjM`modnameN classnameNjkjn)}jq]jt)}jgj`sbc.rvt_copy_sgeasbuh1hhj)`ubj:)}(h h]h }(hjk`hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj)`ubj)}(hjh]h*}(hjy`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)`ubjN)}(hqph]hqp}(hj`hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj)`ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj%`ubj)}(hstruct rvt_sge_state *ssh](j()}(hj+h]hstruct}(hj`hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj`ubj:)}(h h]h }(hj`hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj`ubh)}(hhh]jN)}(h rvt_sge_stateh]h rvt_sge_state}(hj`hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj`ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj`modnameN classnameNjkjn)}jq]jg`c.rvt_copy_sgeasbuh1hhj`ubj:)}(h h]h }(hj`hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj`ubj)}(hjh]h*}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubjN)}(hssh]hss}(hj`hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj`ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj%`ubj)}(h void *datah](j)}(hvoidh]hvoid}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj aubj:)}(h h]h }(hjahhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj aubj)}(hjh]h*}(hj+ahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj aubjN)}(hdatah]hdata}(hj8ahhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj aubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj%`ubj)}(h u32 lengthh](h)}(hhh]jN)}(hu32h]hu32}(hjTahhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjQaubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjVamodnameN classnameNjkjn)}jq]jg`c.rvt_copy_sgeasbuh1hhjMaubj:)}(h h]h }(hjrahhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjMaubjN)}(hlengthh]hlength}(hjahhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjMaubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj%`ubj)}(h bool releaseh](j)}(hjjh]hbool}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjaubj:)}(h h]h }(hjahhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjaubjN)}(hreleaseh]hrelease}(hjahhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjaubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj%`ubj)}(hbool copy_lasth](j)}(hjjh]hbool}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjaubj:)}(h h]h }(hjahhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjaubjN)}(h copy_lasth]h copy_last}(hjahhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjaubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj%`ubeh}(h]h ]h"]h$]h&]jjuh1jhj_hhhj_hM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj_hhhj_hM ubah}(h]j_ah ](jjeh"]h$]h&]jj)jhuh1jhj_hM hj_hhubj)}(hhh]h)}(hcopy data to SGE memoryh]hcopy data to SGE memory}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hjbhhubah}(h]h ]h"]h$]h&]uh1jhj_hhhj_hM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj*bjj*bjjjuh1jhhhj`(hNhNubj)}(hX**Parameters** ``struct rvt_qp *qp`` associated QP ``struct rvt_sge_state *ss`` the SGE state ``void *data`` the data to copy ``u32 length`` the length of the data ``bool release`` boolean to release MR ``bool copy_last`` do a separate copy of the last 8 bytesh](h)}(h**Parameters**h]j)}(hj4bh]h Parameters}(hj6bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2bubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hj.bubj)}(hhh](j)}(h$``struct rvt_qp *qp`` associated QP h](j)}(h``struct rvt_qp *qp``h]j )}(hjSbh]hstruct rvt_qp *qp}(hjUbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQbubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hjMbubj)}(hhh]h)}(h associated QPh]h associated QP}(hjlbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhbhM hjibubah}(h]h ]h"]h$]h&]uh1jhjMbubeh}(h]h ]h"]h$]h&]uh1jhjhbhM hjJbubj)}(h+``struct rvt_sge_state *ss`` the SGE state h](j)}(h``struct rvt_sge_state *ss``h]j )}(hjbh]hstruct rvt_sge_state *ss}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hjbubj)}(hhh]h)}(h the SGE stateh]h the SGE state}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhM hjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhM hjJbubj)}(h ``void *data`` the data to copy h](j)}(h``void *data``h]j )}(hjbh]h void *data}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hjbubj)}(hhh]h)}(hthe data to copyh]hthe data to copy}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhM hjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhM hjJbubj)}(h&``u32 length`` the length of the data h](j)}(h``u32 length``h]j )}(hjbh]h u32 length}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hjbubj)}(hhh]h)}(hthe length of the datah]hthe length of the data}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchM hjcubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjchM hjJbubj)}(h'``bool release`` boolean to release MR h](j)}(h``bool release``h]j )}(hj7ch]h bool release}(hj9chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5cubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hj1cubj)}(hhh]h)}(hboolean to release MRh]hboolean to release MR}(hjPchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLchM hjMcubah}(h]h ]h"]h$]h&]uh1jhj1cubeh}(h]h ]h"]h$]h&]uh1jhjLchM hjJbubj)}(h9``bool copy_last`` do a separate copy of the last 8 bytesh](j)}(h``bool copy_last``h]j )}(hjpch]hbool copy_last}(hjrchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjncubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hjjcubj)}(hhh]h)}(h&do a separate copy of the last 8 bytesh]h&do a separate copy of the last 8 bytes}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chM hjcubah}(h]h ]h"]h$]h&]uh1jhjjcubeh}(h]h ]h"]h$]h&]uh1jhjchM hjJbubeh}(h]h ]h"]h$]h&]uh1jhj.bubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrvt_ruc_loopback (C function)c.rvt_ruc_loopbackhNtauh1jhj`(hhhNhNubj)}(hhh](j)}(h*void rvt_ruc_loopback (struct rvt_qp *sqp)h]j")}(h)void rvt_ruc_loopback(struct rvt_qp *sqp)h](j)}(hvoidh]hvoid}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjchhhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMI ubj:)}(h h]h }(hjchhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjchhhjchMI ubj)}(hrvt_ruc_loopbackh]jN)}(hrvt_ruc_loopbackh]hrvt_ruc_loopback}(hjchhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjcubah}(h]h ](jjeh"]h$]h&]jjuh1jhjchhhjchMI ubj)}(h(struct rvt_qp *sqp)h]j)}(hstruct rvt_qp *sqph](j()}(hj+h]hstruct}(hjdhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjdubj:)}(h h]h }(hjdhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjdubh)}(hhh]jN)}(hrvt_qph]hrvt_qp}(hj%dhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj"dubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj'dmodnameN classnameNjkjn)}jq]jt)}jgjcsbc.rvt_ruc_loopbackasbuh1hhjdubj:)}(h h]h }(hjEdhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjdubj)}(hjh]h*}(hjSdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubjN)}(hsqph]hsqp}(hj`dhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjdubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjcubah}(h]h ]h"]h$]h&]jjuh1jhjchhhjchMI ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjchhhjchMI ubah}(h]jcah ](jjeh"]h$]h&]jj)jhuh1jhjchMI hjchhubj)}(hhh]h)}(h"handle UC and RC loopback requestsh]h"handle UC and RC loopback requests}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMI hjdhhubah}(h]h ]h"]h$]h&]uh1jhjchhhjchMI ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjdjjdjjjuh1jhhhj`(hNhNubj)}(hX**Parameters** ``struct rvt_qp *sqp`` the sending QP **Description** This is called from rvt_do_send() to forward a WQE addressed to the same HFI Note that although we are single threaded due to the send engine, we still have to protect against post_send(). We don't have to worry about receive interrupts since this is a connected protocol and all packets will pass through here.h](h)}(h**Parameters**h]j)}(hjdh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMM hjdubj)}(hhh]j)}(h&``struct rvt_qp *sqp`` the sending QP h](j)}(h``struct rvt_qp *sqp``h]j )}(hjdh]hstruct rvt_qp *sqp}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMJ hjdubj)}(hhh]h)}(hthe sending QPh]hthe sending QP}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhMJ hjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMJ hjdubah}(h]h ]h"]h$]h&]uh1jhjdubh)}(h**Description**h]j)}(hjeh]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chML hjdubh)}(hX8This is called from rvt_do_send() to forward a WQE addressed to the same HFI Note that although we are single threaded due to the send engine, we still have to protect against post_send(). We don't have to worry about receive interrupts since this is a connected protocol and all packets will pass through here.h]hX:This is called from rvt_do_send() to forward a WQE addressed to the same HFI Note that although we are single threaded due to the send engine, we still have to protect against post_send(). We don’t have to worry about receive interrupts since this is a connected protocol and all packets will pass through here.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhg/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:64: ./drivers/infiniband/sw/rdmavt/qp.chMK hjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`(hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrvt_mcast_find (C function)c.rvt_mcast_findhNtauh1jhj`(hhhNhNubj)}(hhh](j)}(hWstruct rvt_mcast * rvt_mcast_find (struct rvt_ibport *ibp, union ib_gid *mgid, u16 lid)h]j")}(hUstruct rvt_mcast *rvt_mcast_find(struct rvt_ibport *ibp, union ib_gid *mgid, u16 lid)h](j()}(hj+h]hstruct}(hjKehhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjGehhhj/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:67: ./drivers/infiniband/sw/rdmavt/mcast.chK^ubj:)}(h h]h }(hjYehhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjGehhhjXehK^ubh)}(hhh]jN)}(h rvt_mcasth]h rvt_mcast}(hjjehhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjgeubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjlemodnameN classnameNjkjn)}jq]jt)}jgrvt_mcast_findsbc.rvt_mcast_findasbuh1hhjGehhhjXehK^ubj:)}(h h]h }(hjehhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjGehhhjXehK^ubj)}(hjh]h*}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGehhhjXehK^ubj)}(hrvt_mcast_findh]jN)}(hjeh]hrvt_mcast_find}(hjehhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjeubah}(h]h ](jjeh"]h$]h&]jjuh1jhjGehhhjXehK^ubj)}(h5(struct rvt_ibport *ibp, union ib_gid *mgid, u16 lid)h](j)}(hstruct rvt_ibport *ibph](j()}(hj+h]hstruct}(hjehhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjeubj:)}(h h]h }(hjehhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjeubh)}(hhh]jN)}(h rvt_ibporth]h rvt_ibport}(hjehhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjeubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjemodnameN classnameNjkjn)}jq]jec.rvt_mcast_findasbuh1hhjeubj:)}(h h]h }(hjfhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjeubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubjN)}(hibph]hibp}(hjfhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjeubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjeubj)}(hunion ib_gid *mgidh](j()}(hjÜh]hunion}(hj5fhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj1fubj:)}(h h]h }(hjBfhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj1fubh)}(hhh]jN)}(hib_gidh]hib_gid}(hjSfhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjPfubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjUfmodnameN classnameNjkjn)}jq]jec.rvt_mcast_findasbuh1hhj1fubj:)}(h h]h }(hjqfhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj1fubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1fubjN)}(hmgidh]hmgid}(hjfhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj1fubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjeubj)}(hu16 lidh](h)}(hhh]jN)}(hu16h]hu16}(hjfhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjfubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjfmodnameN classnameNjkjn)}jq]jec.rvt_mcast_findasbuh1hhjfubj:)}(h h]h }(hjfhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjfubjN)}(hlidh]hlid}(hjfhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjfubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjeubeh}(h]h ]h"]h$]h&]jjuh1jhjGehhhjXehK^ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjCehhhjXehK^ubah}(h]j>eah ](jjeh"]h$]h&]jj)jhuh1jhjXehK^hj@ehhubj)}(hhh]h)}(h7search the global table for the given multicast GID/LIDh]h7search the global table for the given multicast GID/LID}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:67: ./drivers/infiniband/sw/rdmavt/mcast.chK^hjfhhubah}(h]h ]h"]h$]h&]uh1jhj@ehhhjXehK^ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjgjjgjjjuh1jhhhj`(hNhNubj)}(hX**Parameters** ``struct rvt_ibport *ibp`` the IB port structure ``union ib_gid *mgid`` the multicast GID to search for ``u16 lid`` the multicast LID portion of the multicast address (host order) **NOTE** It is valid to have 1 MLID with multiple MGIDs. It is not valid to have 1 MGID with multiple MLIDs. **Description** The caller is responsible for decrementing the reference count if found. **Return** NULL if not found.h](h)}(h**Parameters**h]j)}(hj gh]h Parameters}(hj"ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhj/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:67: ./drivers/infiniband/sw/rdmavt/mcast.chKbhjgubj)}(hhh](j)}(h1``struct rvt_ibport *ibp`` the IB port structure h](j)}(h``struct rvt_ibport *ibp``h]j )}(hj?gh]hstruct rvt_ibport *ibp}(hjAghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=gubah}(h]h ]h"]h$]h&]uh1jhj/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:67: ./drivers/infiniband/sw/rdmavt/mcast.chKahj9gubj)}(hhh]h)}(hthe IB port structureh]hthe IB port structure}(hjXghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjTghKahjUgubah}(h]h ]h"]h$]h&]uh1jhj9gubeh}(h]h ]h"]h$]h&]uh1jhjTghKahj6gubj)}(h7``union ib_gid *mgid`` the multicast GID to search for h](j)}(h``union ib_gid *mgid``h]j )}(hjxgh]hunion ib_gid *mgid}(hjzghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvgubah}(h]h ]h"]h$]h&]uh1jhj/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:67: ./drivers/infiniband/sw/rdmavt/mcast.chKbhjrgubj)}(hhh]h)}(hthe multicast GID to search forh]hthe multicast GID to search for}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghKbhjgubah}(h]h ]h"]h$]h&]uh1jhjrgubeh}(h]h ]h"]h$]h&]uh1jhjghKbhj6gubj)}(hL``u16 lid`` the multicast LID portion of the multicast address (host order) h](j)}(h ``u16 lid``h]j )}(hjgh]hu16 lid}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhj/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:67: ./drivers/infiniband/sw/rdmavt/mcast.chKchjgubj)}(hhh]h)}(h?the multicast LID portion of the multicast address (host order)h]h?the multicast LID portion of the multicast address (host order)}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghKchjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghKchj6gubeh}(h]h ]h"]h$]h&]uh1jhjgubh)}(h**NOTE**h]j)}(hjgh]hNOTE}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhj/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:67: ./drivers/infiniband/sw/rdmavt/mcast.chKehjgubh)}(hdIt is valid to have 1 MLID with multiple MGIDs. It is not valid to have 1 MGID with multiple MLIDs.h]hdIt is valid to have 1 MLID with multiple MGIDs. It is not valid to have 1 MGID with multiple MLIDs.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:67: ./drivers/infiniband/sw/rdmavt/mcast.chK_hjgubh)}(h**Description**h]j)}(hjhh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hhj/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:67: ./drivers/infiniband/sw/rdmavt/mcast.chKbhjgubh)}(hHThe caller is responsible for decrementing the reference count if found.h]hHThe caller is responsible for decrementing the reference count if found.}(hj)hhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:67: ./drivers/infiniband/sw/rdmavt/mcast.chKdhjgubh)}(h **Return**h]j)}(hj:hh]hReturn}(hjohhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj:oubah}(h]h ](jjeh"]h$]h&]jjuh1jhjohhhj+ohKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjohhhj+ohKubah}(h]joah ](jjeh"]h$]h&]jj)jhuh1jhj+ohKhjohhubj)}(hhh]h)}(hiSER RX descriptorh]hiSER RX descriptor}(hj`ohhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhKhj]ohhubah}(h]h ]h"]h$]h&]uh1jhjohhhj+ohKubeh}(h]h ](jestructeh"]h$]h&]jjejjxojjxojjjuh1jhhhjhhNhNubj)}(hXg**Definition**:: struct iser_rx_desc { struct iser_ctrl iser_header; struct iscsi_hdr iscsi_header; char data[ISER_RECV_DATA_SEG_LEN]; u64 dma_addr; struct ib_sge rx_sg; struct ib_cqe cqe; char pad[ISER_RX_PAD_SIZE]; }; **Members** ``iser_header`` iser header ``iscsi_header`` iscsi header ``data`` received data segment ``dma_addr`` receive buffer dma address ``rx_sg`` ib_sge of receive buffer ``cqe`` completion handler ``pad`` for sense data TODO: Modify to maximum sense length supportedh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh:}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj|oubj)i)}(hXstruct iser_rx_desc { struct iser_ctrl iser_header; struct iscsi_hdr iscsi_header; char data[ISER_RECV_DATA_SEG_LEN]; u64 dma_addr; struct ib_sge rx_sg; struct ib_cqe cqe; char pad[ISER_RX_PAD_SIZE]; };h]hXstruct iser_rx_desc { struct iser_ctrl iser_header; struct iscsi_hdr iscsi_header; char data[ISER_RECV_DATA_SEG_LEN]; u64 dma_addr; struct ib_sge rx_sg; struct ib_cqe cqe; char pad[ISER_RX_PAD_SIZE]; };}hjosbah}(h]h ]h"]h$]h&]jjuh1j(ihn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj|oubh)}(h **Members**h]j)}(hjoh]hMembers}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj|oubj)}(hhh](j)}(h``iser_header`` iser header h](j)}(h``iser_header``h]j )}(hjoh]h iser_header}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjoubj)}(hhh]h)}(h iser headerh]h iser header}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMhjoubj)}(h``iscsi_header`` iscsi header h](j)}(h``iscsi_header``h]j )}(hjph]h iscsi_header}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjpubj)}(hhh]h)}(h iscsi headerh]h iscsi header}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMhjoubj)}(h``data`` received data segment h](j)}(h``data``h]j )}(hj?ph]hdata}(hjAphhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=pubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj9pubj)}(hhh]h)}(hreceived data segmenth]hreceived data segment}(hjXphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjTphMhjUpubah}(h]h ]h"]h$]h&]uh1jhj9pubeh}(h]h ]h"]h$]h&]uh1jhjTphMhjoubj)}(h(``dma_addr`` receive buffer dma address h](j)}(h ``dma_addr``h]j )}(hjxph]hdma_addr}(hjzphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvpubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjrpubj)}(hhh]h)}(hreceive buffer dma addressh]hreceive buffer dma address}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjrpubeh}(h]h ]h"]h$]h&]uh1jhjphMhjoubj)}(h#``rx_sg`` ib_sge of receive buffer h](j)}(h ``rx_sg``h]j )}(hjph]hrx_sg}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjpubj)}(hhh]h)}(hib_sge of receive bufferh]hib_sge of receive buffer}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMhjoubj)}(h``cqe`` completion handler h](j)}(h``cqe``h]j )}(hjph]hcqe}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjpubj)}(hhh]h)}(hcompletion handlerh]hcompletion handler}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMhjoubj)}(hE``pad`` for sense data TODO: Modify to maximum sense length supportedh](j)}(h``pad``h]j )}(hj#qh]hpad}(hj%qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!qubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjqubj)}(hhh]h)}(h=for sense data TODO: Modify to maximum sense length supportedh]h=for sense data TODO: Modify to maximum sense length supported}(hjhj9vubj)}(hhh]h)}(h memory regionh]h memory region}(hjXvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjTvhM>hjUvubah}(h]h ]h"]h$]h&]uh1jhj9vubeh}(h]h ]h"]h$]h&]uh1jhjTvhM>hj6vubj)}(h"``sig_mr`` signature memory regionh](j)}(h ``sig_mr``h]j )}(hjxvh]hsig_mr}(hjzvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvvubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhM>hjrvubj)}(hhh]h)}(hsignature memory regionh]hsignature memory region}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhM?hjvubah}(h]h ]h"]h$]h&]uh1jhjrvubeh}(h]h ]h"]h$]h&]uh1jhjvhM>hj6vubeh}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jiser_fr_desc (C struct)c.iser_fr_deschNtauh1jLhjhhhhNhNubj)}(hhh](j)}(h iser_fr_desch]j")}(hstruct iser_fr_desch](j()}(hj+h]hstruct}(hjvhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjvhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMEubj:)}(h h]h }(hjvhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjvhhhjvhMEubj)}(h iser_fr_desch]jN)}(hjvh]h iser_fr_desc}(hjvhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjvubah}(h]h ](jjeh"]h$]h&]jjuh1jhjvhhhjvhMEubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjvhhhjvhMEubah}(h]jvah ](jjeh"]h$]h&]jj)jhuh1jhjvhMEhjvhhubj)}(hhh]h)}(hFast registration descriptorh]hFast registration descriptor}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMFhjwhhubah}(h]h ]h"]h$]h&]uh1jhjvhhhjvhMEubeh}(h]h ](jestructeh"]h$]h&]jjejj,wjj,wjjjuh1jhhhjhhNhNubj)}(hX**Definition**:: struct iser_fr_desc { struct list_head list; struct iser_reg_resources rsc; bool sig_protected; struct list_head all_list; }; **Members** ``list`` entry in connection fastreg pool ``rsc`` data buffer registration resources ``sig_protected`` is region protected indicator ``all_list`` first and last list membersh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj8whhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4wubh:}(hj4whhhNhNubeh}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMJhj0wubj)i)}(hstruct iser_fr_desc { struct list_head list; struct iser_reg_resources rsc; bool sig_protected; struct list_head all_list; };h]hstruct iser_fr_desc { struct list_head list; struct iser_reg_resources rsc; bool sig_protected; struct list_head all_list; };}hjQwsbah}(h]h ]h"]h$]h&]jjuh1j(ihn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMLhj0wubh)}(h **Members**h]j)}(hjbwh]hMembers}(hjdwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`wubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMShj0wubj)}(hhh](j)}(h*``list`` entry in connection fastreg pool h](j)}(h``list``h]j )}(hjwh]hlist}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMIhj{wubj)}(hhh]h)}(h entry in connection fastreg poolh]h entry in connection fastreg pool}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhMIhjwubah}(h]h ]h"]h$]h&]uh1jhj{wubeh}(h]h ]h"]h$]h&]uh1jhjwhMIhjxwubj)}(h+``rsc`` data buffer registration resources h](j)}(h``rsc``h]j )}(hjwh]hrsc}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMJhjwubj)}(hhh]h)}(h"data buffer registration resourcesh]h"data buffer registration resources}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhMJhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMJhjxwubj)}(h0``sig_protected`` is region protected indicator h](j)}(h``sig_protected``h]j )}(hjwh]h sig_protected}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMKhjwubj)}(hhh]h)}(his region protected indicatorh]his region protected indicator}(hj xhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhMKhj xubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjxhMKhjxwubj)}(h(``all_list`` first and last list membersh](j)}(h ``all_list``h]j )}(hj,xh]hall_list}(hj.xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*xubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMKhj&xubj)}(hhh]h)}(hfirst and last list membersh]hfirst and last list members}(hjExhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMLhjBxubah}(h]h ]h"]h$]h&]uh1jhj&xubeh}(h]h ]h"]h$]h&]uh1jhjAxhMKhjxwubeh}(h]h ]h"]h$]h&]uh1jhj0wubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jiser_fr_pool (C struct)c.iser_fr_poolhNtauh1jhjhhhhNhNubj)}(hhh](j)}(h iser_fr_poolh]j")}(hstruct iser_fr_poolh](j()}(hj+h]hstruct}(hjxhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjxhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMRubj:)}(h h]h }(hjxhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjxhhhjxhMRubj)}(h iser_fr_poolh]jN)}(hjxh]h iser_fr_pool}(hjxhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjxubah}(h]h ](jjeh"]h$]h&]jjuh1jhjxhhhjxhMRubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj~xhhhjxhMRubah}(h]jyxah ](jjeh"]h$]h&]jj)jhuh1jhjxhMRhj{xhhubj)}(hhh]h)}(h!connection fast registration poolh]h!connection fast registration pool}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMUhjxhhubah}(h]h ]h"]h$]h&]uh1jhj{xhhhjxhMRubeh}(h]h ](jestructeh"]h$]h&]jjejjxjjxjjjuh1jhhhjhhNhNubj)}(hXA**Definition**:: struct iser_fr_pool { struct list_head list; spinlock_t lock; int size; struct list_head all_list; }; **Members** ``list`` list of fastreg descriptors ``lock`` protects fastreg pool ``size`` size of the pool ``all_list`` first and last list membersh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh:}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMYhjxubj)i)}(hstruct iser_fr_pool { struct list_head list; spinlock_t lock; int size; struct list_head all_list; };h]hstruct iser_fr_pool { struct list_head list; spinlock_t lock; int size; struct list_head all_list; };}hjysbah}(h]h ]h"]h$]h&]jjuh1j(ihn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhM[hjxubh)}(h **Members**h]j)}(hjyh]hMembers}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMbhjxubj)}(hhh](j)}(h%``list`` list of fastreg descriptors h](j)}(h``list``h]j )}(hj5yh]hlist}(hj7yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3yubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMXhj/yubj)}(hhh]h)}(hlist of fastreg descriptorsh]hlist of fastreg descriptors}(hjNyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJyhMXhjKyubah}(h]h ]h"]h$]h&]uh1jhj/yubeh}(h]h ]h"]h$]h&]uh1jhjJyhMXhj,yubj)}(h``lock`` protects fastreg pool h](j)}(h``lock``h]j )}(hjnyh]hlock}(hjpyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlyubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMYhjhyubj)}(hhh]h)}(hprotects fastreg poolh]hprotects fastreg pool}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhMYhjyubah}(h]h ]h"]h$]h&]uh1jhjhyubeh}(h]h ]h"]h$]h&]uh1jhjyhMYhj,yubj)}(h``size`` size of the pool h](j)}(h``size``h]j )}(hjyh]hsize}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMZhjyubj)}(hhh]h)}(hsize of the poolh]hsize of the pool}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhMZhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMZhj,yubj)}(h(``all_list`` first and last list membersh](j)}(h ``all_list``h]j )}(hjyh]hall_list}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMZhjyubj)}(hhh]h)}(hfirst and last list membersh]hfirst and last list members}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhM[hjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMZhj,yubeh}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jib_conn (C struct) c.ib_connhNtauh1jhjhhhhNhNubj)}(hhh](j)}(hib_connh]j")}(hstruct ib_connh](j()}(hj+h]hstruct}(hj:zhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj6zhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMaubj:)}(h h]h }(hjHzhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj6zhhhjGzhMaubj)}(hib_connh]jN)}(hj4zh]hib_conn}(hjZzhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjVzubah}(h]h ](jjeh"]h$]h&]jjuh1jhj6zhhhjGzhMaubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj2zhhhjGzhMaubah}(h]j-zah ](jjeh"]h$]h&]jj)jhuh1jhjGzhMahj/zhhubj)}(hhh]h)}(hInfiniband related objectsh]hInfiniband related objects}(hj|zhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMdhjyzhhubah}(h]h ]h"]h$]h&]uh1jhj/zhhhjGzhMaubeh}(h]h ](jestructeh"]h$]h&]jjejjzjjzjjjuh1jhhhjhhNhNubj)}(hX**Definition**:: struct ib_conn { struct rdma_cm_id *cma_id; struct ib_qp *qp; struct ib_cq *cq; u32 cq_size; struct iser_device *device; struct iser_fr_pool fr_pool; bool pi_support; struct ib_cqe reg_cqe; }; **Members** ``cma_id`` rdma_cm connection maneger handle ``qp`` Connection Queue-pair ``cq`` Connection completion queue ``cq_size`` The number of max outstanding completions ``device`` reference to iser device ``fr_pool`` connection fast registration pool ``pi_support`` Indicate device T10-PI support ``reg_cqe`` completion handlerh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh:}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhhjzubj)i)}(hX)struct ib_conn { struct rdma_cm_id *cma_id; struct ib_qp *qp; struct ib_cq *cq; u32 cq_size; struct iser_device *device; struct iser_fr_pool fr_pool; bool pi_support; struct ib_cqe reg_cqe; };h]hX)struct ib_conn { struct rdma_cm_id *cma_id; struct ib_qp *qp; struct ib_cq *cq; u32 cq_size; struct iser_device *device; struct iser_fr_pool fr_pool; bool pi_support; struct ib_cqe reg_cqe; };}hjzsbah}(h]h ]h"]h$]h&]jjuh1j(ihn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMjhjzubh)}(h **Members**h]j)}(hjzh]hMembers}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMuhjzubj)}(hhh](j)}(h-``cma_id`` rdma_cm connection maneger handle h](j)}(h ``cma_id``h]j )}(hjzh]hcma_id}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMghjzubj)}(hhh]h)}(h!rdma_cm connection maneger handleh]h!rdma_cm connection maneger handle}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMghjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMghjzubj)}(h``qp`` Connection Queue-pair h](j)}(h``qp``h]j )}(hj"{h]hqp}(hj${hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj {ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhhj{ubj)}(hhh]h)}(hConnection Queue-pairh]hConnection Queue-pair}(hj;{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7{hMhhj8{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj7{hMhhjzubj)}(h#``cq`` Connection completion queue h](j)}(h``cq``h]j )}(hj[{h]hcq}(hj]{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY{ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMihjU{ubj)}(hhh]h)}(hConnection completion queueh]hConnection completion queue}(hjt{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjp{hMihjq{ubah}(h]h ]h"]h$]h&]uh1jhjU{ubeh}(h]h ]h"]h$]h&]uh1jhjp{hMihjzubj)}(h6``cq_size`` The number of max outstanding completions h](j)}(h ``cq_size``h]j )}(hj{h]hcq_size}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMjhj{ubj)}(hhh]h)}(h)The number of max outstanding completionsh]h)The number of max outstanding completions}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hMjhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hMjhjzubj)}(h$``device`` reference to iser device h](j)}(h ``device``h]j )}(hj{h]hdevice}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMkhj{ubj)}(hhh]h)}(hreference to iser deviceh]hreference to iser device}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hMkhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hMkhjzubj)}(h.``fr_pool`` connection fast registration pool h](j)}(h ``fr_pool``h]j )}(hj|h]hfr_pool}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMlhj|ubj)}(hhh]h)}(h!connection fast registration poolh]h!connection fast registration pool}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hMlhj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMlhjzubj)}(h.``pi_support`` Indicate device T10-PI support h](j)}(h``pi_support``h]j )}(hj?|h]h pi_support}(hjA|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=|ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMmhj9|ubj)}(hhh]h)}(hIndicate device T10-PI supporth]hIndicate device T10-PI support}(hjX|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjT|hMmhjU|ubah}(h]h ]h"]h$]h&]uh1jhj9|ubeh}(h]h ]h"]h$]h&]uh1jhjT|hMmhjzubj)}(h``reg_cqe`` completion handlerh](j)}(h ``reg_cqe``h]j )}(hjx|h]hreg_cqe}(hjz|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv|ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMmhjr|ubj)}(hhh]h)}(hcompletion handlerh]hcompletion handler}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMnhj|ubah}(h]h ]h"]h$]h&]uh1jhjr|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMmhjzubeh}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jiser_conn (C struct) c.iser_connhNtauh1jhjhhhhNhNubj)}(hhh](j)}(h iser_connh]j")}(hstruct iser_connh](j()}(hj+h]hstruct}(hj|hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj|hhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMtubj:)}(h h]h }(hj|hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj|hhhj|hMtubj)}(h iser_connh]jN)}(hj|h]h iser_conn}(hj|hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj|ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj|hhhj|hMtubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj|hhhj|hMtubah}(h]j|ah ](jjeh"]h$]h&]jj)jhuh1jhj|hMthj|hhubj)}(hhh]h)}(hiSER connection contexth]hiSER connection context}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhM{hj}hhubah}(h]h ]h"]h$]h&]uh1jhj|hhhj|hMtubeh}(h]h ](jestructeh"]h$]h&]jjejj,}jj,}jjjuh1jhhhjhhNhNubj)}(hX **Definition**:: struct iser_conn { struct ib_conn ib_conn; struct iscsi_conn *iscsi_conn; struct iscsi_endpoint *ep; enum iser_conn_state state; unsigned qp_max_recv_dtos; u16 max_cmds; char name[ISER_OBJECT_NAME_SIZE]; struct work_struct release_work; struct mutex state_mutex; struct completion stop_completion; struct completion ib_completion; struct completion up_completion; struct list_head conn_list; struct iser_login_desc login_desc; struct iser_rx_desc *rx_descs; u32 num_rx_descs; unsigned short scsi_sg_tablesize; unsigned short pages_per_mr; bool snd_w_inv; }; **Members** ``ib_conn`` connection RDMA resources ``iscsi_conn`` link to matching iscsi connection ``ep`` transport handle ``state`` connection logical state ``qp_max_recv_dtos`` maximum number of data outs, corresponds to max number of post recvs ``max_cmds`` maximum cmds allowed for this connection ``name`` connection peer portal ``release_work`` deferred work for release job ``state_mutex`` protects iser onnection state ``stop_completion`` conn_stop completion ``ib_completion`` RDMA cleanup completion ``up_completion`` connection establishment completed (state is ISER_CONN_UP) ``conn_list`` entry in ig conn list ``login_desc`` login descriptor ``rx_descs`` rx buffers array (cyclic buffer) ``num_rx_descs`` number of rx descriptors ``scsi_sg_tablesize`` scsi host sg_tablesize ``pages_per_mr`` maximum pages available for registration ``snd_w_inv`` connection uses remote invalidationh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj8}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4}ubh:}(hj4}hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj0}ubj)i)}(hXstruct iser_conn { struct ib_conn ib_conn; struct iscsi_conn *iscsi_conn; struct iscsi_endpoint *ep; enum iser_conn_state state; unsigned qp_max_recv_dtos; u16 max_cmds; char name[ISER_OBJECT_NAME_SIZE]; struct work_struct release_work; struct mutex state_mutex; struct completion stop_completion; struct completion ib_completion; struct completion up_completion; struct list_head conn_list; struct iser_login_desc login_desc; struct iser_rx_desc *rx_descs; u32 num_rx_descs; unsigned short scsi_sg_tablesize; unsigned short pages_per_mr; bool snd_w_inv; };h]hXstruct iser_conn { struct ib_conn ib_conn; struct iscsi_conn *iscsi_conn; struct iscsi_endpoint *ep; enum iser_conn_state state; unsigned qp_max_recv_dtos; u16 max_cmds; char name[ISER_OBJECT_NAME_SIZE]; struct work_struct release_work; struct mutex state_mutex; struct completion stop_completion; struct completion ib_completion; struct completion up_completion; struct list_head conn_list; struct iser_login_desc login_desc; struct iser_rx_desc *rx_descs; u32 num_rx_descs; unsigned short scsi_sg_tablesize; unsigned short pages_per_mr; bool snd_w_inv; };}hjQ}sbah}(h]h ]h"]h$]h&]jjuh1j(ihn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj0}ubh)}(h **Members**h]j)}(hjb}h]hMembers}(hjd}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`}ubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj0}ubj)}(hhh](j)}(h&``ib_conn`` connection RDMA resources h](j)}(h ``ib_conn``h]j )}(hj}h]hib_conn}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhM~hj{}ubj)}(hhh]h)}(hconnection RDMA resourcesh]hconnection RDMA resources}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hM~hj}ubah}(h]h ]h"]h$]h&]uh1jhj{}ubeh}(h]h ]h"]h$]h&]uh1jhj}hM~hjx}ubj)}(h1``iscsi_conn`` link to matching iscsi connection h](j)}(h``iscsi_conn``h]j )}(hj}h]h iscsi_conn}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj}ubj)}(hhh]h)}(h!link to matching iscsi connectionh]h!link to matching iscsi connection}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMhj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hMhjx}ubj)}(h``ep`` transport handle h](j)}(h``ep``h]j )}(hj}h]hep}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj}ubj)}(hhh]h)}(htransport handleh]htransport handle}(hj ~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hMhj ~ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjx}ubj)}(h#``state`` connection logical state h](j)}(h ``state``h]j )}(hj,~h]hstate}(hj.~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*~ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj&~ubj)}(hhh]h)}(hconnection logical stateh]hconnection logical state}(hjE~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjA~hMhjB~ubah}(h]h ]h"]h$]h&]uh1jhj&~ubeh}(h]h ]h"]h$]h&]uh1jhjA~hMhjx}ubj)}(hZ``qp_max_recv_dtos`` maximum number of data outs, corresponds to max number of post recvs h](j)}(h``qp_max_recv_dtos``h]j )}(hje~h]hqp_max_recv_dtos}(hjg~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc~ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj_~ubj)}(hhh]h)}(hDmaximum number of data outs, corresponds to max number of post recvsh]hDmaximum number of data outs, corresponds to max number of post recvs}(hj~~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj{~ubah}(h]h ]h"]h$]h&]uh1jhj_~ubeh}(h]h ]h"]h$]h&]uh1jhjz~hMhjx}ubj)}(h6``max_cmds`` maximum cmds allowed for this connection h](j)}(h ``max_cmds``h]j )}(hj~h]hmax_cmds}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj~ubj)}(hhh]h)}(h(maximum cmds allowed for this connectionh]h(maximum cmds allowed for this connection}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hMhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjx}ubj)}(h ``name`` connection peer portal h](j)}(h``name``h]j )}(hj~h]hname}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj~ubj)}(hhh]h)}(hconnection peer portalh]hconnection peer portal}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hMhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjx}ubj)}(h/``release_work`` deferred work for release job h](j)}(h``release_work``h]j )}(hjh]h release_work}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj ubj)}(hhh]h)}(hdeferred work for release jobh]hdeferred work for release job}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjx}ubj)}(h.``state_mutex`` protects iser onnection state h](j)}(h``state_mutex``h]j )}(hjJh]h state_mutex}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjDubj)}(hhh]h)}(hprotects iser onnection stateh]hprotects iser onnection state}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjx}ubj)}(h)``stop_completion`` conn_stop completion h](j)}(h``stop_completion``h]j )}(hjh]hstop_completion}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj}ubj)}(hhh]h)}(hconn_stop completionh]hconn_stop completion}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjx}ubj)}(h*``ib_completion`` RDMA cleanup completion h](j)}(h``ib_completion``h]j )}(hjh]h ib_completion}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjubj)}(hhh]h)}(hRDMA cleanup completionh]hRDMA cleanup completion}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjx}ubj)}(hM``up_completion`` connection establishment completed (state is ISER_CONN_UP) h](j)}(h``up_completion``h]j )}(hjh]h up_completion}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjubj)}(hhh]h)}(h:connection establishment completed (state is ISER_CONN_UP)h]h:connection establishment completed (state is ISER_CONN_UP)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjx}ubj)}(h$``conn_list`` entry in ig conn list h](j)}(h ``conn_list``h]j )}(hj/h]h conn_list}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj)ubj)}(hhh]h)}(hentry in ig conn listh]hentry in ig conn list}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjx}ubj)}(h ``login_desc`` login descriptor h](j)}(h``login_desc``h]j )}(hjhh]h login_desc}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjbubj)}(hhh]h)}(hlogin descriptorh]hlogin descriptor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhjx}ubj)}(h.``rx_descs`` rx buffers array (cyclic buffer) h](j)}(h ``rx_descs``h]j )}(hjh]hrx_descs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjubj)}(hhh]h)}(h rx buffers array (cyclic buffer)h]h rx buffers array (cyclic buffer)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjx}ubj)}(h*``num_rx_descs`` number of rx descriptors h](j)}(h``num_rx_descs``h]j )}(hjڀh]h num_rx_descs}(hj܀hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj؀ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjԀubj)}(hhh]h)}(hnumber of rx descriptorsh]hnumber of rx descriptors}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjԀubeh}(h]h ]h"]h$]h&]uh1jhjhMhjx}ubj)}(h-``scsi_sg_tablesize`` scsi host sg_tablesize h](j)}(h``scsi_sg_tablesize``h]j )}(hjh]hscsi_sg_tablesize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj ubj)}(hhh]h)}(hscsi host sg_tablesizeh]hscsi host sg_tablesize}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhjx}ubj)}(h:``pages_per_mr`` maximum pages available for registration h](j)}(h``pages_per_mr``h]j )}(hjLh]h pages_per_mr}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjFubj)}(hhh]h)}(h(maximum pages available for registrationh]h(maximum pages available for registration}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjx}ubj)}(h1``snd_w_inv`` connection uses remote invalidationh](j)}(h ``snd_w_inv``h]j )}(hjh]h snd_w_inv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjubj)}(hhh]h)}(h#connection uses remote invalidationh]h#connection uses remote invalidation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjx}ubeh}(h]h ]h"]h$]h&]uh1jhj0}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jiscsi_iser_task (C struct)c.iscsi_iser_taskhNtauh1jhjhhhhNhNubj)}(hhh](j)}(hiscsi_iser_taskh]j")}(hstruct iscsi_iser_taskh](j()}(hj+h]hstruct}(hj߁hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjہhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjہhhhjhMubj)}(hiscsi_iser_taskh]jN)}(hjفh]hiscsi_iser_task}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjہhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjׁhhhjhMubah}(h]jҁah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjԁhhubj)}(hhh]h)}(hiser task contexth]hiser task context}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jhjԁhhhjhMubeh}(h]h ](jestructeh"]h$]h&]jjejj9jj9jjjuh1jhhhjhhNhNubj)}(hX**Definition**:: struct iscsi_iser_task { struct iser_tx_desc desc; struct iser_conn *iser_conn; enum iser_task_status status; struct scsi_cmnd *sc; int command_sent; int dir[ISER_DIRS_NUM]; struct iser_mem_reg rdma_reg[ISER_DIRS_NUM]; struct iser_data_buf data[ISER_DIRS_NUM]; struct iser_data_buf prot[ISER_DIRS_NUM]; }; **Members** ``desc`` TX descriptor ``iser_conn`` link to iser connection ``status`` current task status ``sc`` link to scsi command ``command_sent`` indicate if command was sent ``dir`` iser data direction ``rdma_reg`` task rdma registration desc ``data`` iser data buffer desc ``prot`` iser protection buffer desch](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh:}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj=ubj)i)}(hXstruct iscsi_iser_task { struct iser_tx_desc desc; struct iser_conn *iser_conn; enum iser_task_status status; struct scsi_cmnd *sc; int command_sent; int dir[ISER_DIRS_NUM]; struct iser_mem_reg rdma_reg[ISER_DIRS_NUM]; struct iser_data_buf data[ISER_DIRS_NUM]; struct iser_data_buf prot[ISER_DIRS_NUM]; };h]hXstruct iscsi_iser_task { struct iser_tx_desc desc; struct iser_conn *iser_conn; enum iser_task_status status; struct scsi_cmnd *sc; int command_sent; int dir[ISER_DIRS_NUM]; struct iser_mem_reg rdma_reg[ISER_DIRS_NUM]; struct iser_data_buf data[ISER_DIRS_NUM]; struct iser_data_buf prot[ISER_DIRS_NUM]; };}hj^sbah}(h]h ]h"]h$]h&]jjuh1j(ihn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj=ubh)}(h **Members**h]j)}(hjoh]hMembers}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj=ubj)}(hhh](j)}(h``desc`` TX descriptor h](j)}(h``desc``h]j )}(hjh]hdesc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjubj)}(hhh]h)}(h TX descriptorh]h TX descriptor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h&``iser_conn`` link to iser connection h](j)}(h ``iser_conn``h]j )}(hjǂh]h iser_conn}(hjɂhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjłubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjubj)}(hhh]h)}(hlink to iser connectionh]hlink to iser connection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj܂hMhj݂ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj܂hMhjubj)}(h``status`` current task status h](j)}(h ``status``h]j )}(hjh]hstatus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjubj)}(hhh]h)}(hcurrent task statush]hcurrent task status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``sc`` link to scsi command h](j)}(h``sc``h]j )}(hj9h]hsc}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj3ubj)}(hhh]h)}(hlink to scsi commandh]hlink to scsi command}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjubj)}(h.``command_sent`` indicate if command was sent h](j)}(h``command_sent``h]j )}(hjrh]h command_sent}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjlubj)}(hhh]h)}(hindicate if command was senth]hindicate if command was sent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``dir`` iser data direction h](j)}(h``dir``h]j )}(hjh]hdir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjubj)}(hhh]h)}(hiser data directionh]hiser data direction}(hjăhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``rdma_reg`` task rdma registration desc h](j)}(h ``rdma_reg``h]j )}(hjh]hrdma_reg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjރubj)}(hhh]h)}(htask rdma registration desch]htask rdma registration desc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjރubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``data`` iser data buffer desc h](j)}(h``data``h]j )}(hjh]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjubj)}(hhh]h)}(hiser data buffer desch]hiser data buffer desc}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubj)}(h$``prot`` iser protection buffer desch](j)}(h``prot``h]j )}(hjVh]hprot}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjPubj)}(hhh]h)}(hiser protection buffer desch]hiser protection buffer desc}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjubeh}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jiser_global (C struct) c.iser_globalhNtauh1jhjhhhhNhNubj)}(hhh](j)}(h iser_globalh]j")}(hstruct iser_globalh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(h iser_globalh]jN)}(hjh]h iser_global}(hjЄhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj̄ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(hiSER global contexth]hiSER global context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jestructeh"]h$]h&]jjejj jj jjjuh1jhhhjhhNhNubj)}(hX**Definition**:: struct iser_global { struct mutex device_list_mutex; struct list_head device_list; struct mutex connlist_mutex; struct list_head connlist; struct kmem_cache *desc_cache; }; **Members** ``device_list_mutex`` protects device_list ``device_list`` iser devices global list ``connlist_mutex`` protects connlist ``connlist`` iser connections global list ``desc_cache`` kmem cache for tx dataouth](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjubj)i)}(hstruct iser_global { struct mutex device_list_mutex; struct list_head device_list; struct mutex connlist_mutex; struct list_head connlist; struct kmem_cache *desc_cache; };h]hstruct iser_global { struct mutex device_list_mutex; struct list_head device_list; struct mutex connlist_mutex; struct list_head connlist; struct kmem_cache *desc_cache; };}hj/sbah}(h]h ]h"]h$]h&]jjuh1j(ihn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjubh)}(h **Members**h]j)}(hj@h]hMembers}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjubj)}(hhh](j)}(h+``device_list_mutex`` protects device_list h](j)}(h``device_list_mutex``h]j )}(hj_h]hdevice_list_mutex}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjYubj)}(hhh]h)}(hprotects device_listh]hprotects device_list}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjVubj)}(h)``device_list`` iser devices global list h](j)}(h``device_list``h]j )}(hjh]h device_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjubj)}(hhh]h)}(hiser devices global listh]hiser devices global list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjVubj)}(h%``connlist_mutex`` protects connlist h](j)}(h``connlist_mutex``h]j )}(hjхh]hconnlist_mutex}(hjӅhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjυubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj˅ubj)}(hhh]h)}(hprotects connlisth]hprotects connlist}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj˅ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjVubj)}(h*``connlist`` iser connections global list h](j)}(h ``connlist``h]j )}(hj h]hconnlist}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjubj)}(hhh]h)}(hiser connections global listh]hiser connections global list}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjVubj)}(h(``desc_cache`` kmem cache for tx dataouth](j)}(h``desc_cache``h]j )}(hjCh]h desc_cache}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhj=ubj)}(hhh]h)}(hkmem cache for tx dataouth]hkmem cache for tx dataout}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:76: ./drivers/infiniband/ulp/iser/iscsi_iser.hhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjVubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!iscsi_iser_pdu_alloc (C function)c.iscsi_iser_pdu_allochNtauh1jhjhhhhNhNubj)}(hhh](j)}(hBint iscsi_iser_pdu_alloc (struct iscsi_task *task, uint8_t opcode)h]j")}(hAint iscsi_iser_pdu_alloc(struct iscsi_task *task, uint8_t opcode)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhKubj)}(hiscsi_iser_pdu_alloch]jN)}(hiscsi_iser_pdu_alloch]hiscsi_iser_pdu_alloc}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhKubj)}(h)(struct iscsi_task *task, uint8_t opcode)h](j)}(hstruct iscsi_task *taskh](j()}(hj+h]hstruct}(hjچhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjֆubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjֆubh)}(hhh]jN)}(h iscsi_taskh]h iscsi_task}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjsbc.iscsi_iser_pdu_allocasbuh1hhjֆubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjֆubj)}(hjh]h*}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjֆubjN)}(htaskh]htask}(hj3hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjֆubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj҆ubj)}(huint8_t opcodeh](h)}(hhh]jN)}(huint8_th]huint8_t}(hjOhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjLubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjQmodnameN classnameNjkjn)}jq]jc.iscsi_iser_pdu_allocasbuh1hhjHubj:)}(h h]h }(hjmhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjHubjN)}(hopcodeh]hopcode}(hj{hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjHubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj҆ubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhKhjhhubj)}(hhh]h)}(hallocate an iscsi-iser PDUh]hallocate an iscsi-iser PDU}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhjhhNhNubj)}(h**Parameters** ``struct iscsi_task *task`` iscsi task ``uint8_t opcode`` iscsi command opcode **Description** Netes: This routine can't fail, just assign iscsi task hdr and max hdr size.h](h)}(h**Parameters**h]j)}(hjLJh]h Parameters}(hjɇhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjŇubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjubj)}(hhh](j)}(h'``struct iscsi_task *task`` iscsi task h](j)}(h``struct iscsi_task *task``h]j )}(hjh]hstruct iscsi_task *task}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjubj)}(hhh]h)}(h iscsi taskh]h iscsi task}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj݇ubj)}(h(``uint8_t opcode`` iscsi command opcode h](j)}(h``uint8_t opcode``h]j )}(hjh]huint8_t opcode}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjubj)}(hhh]h)}(hiscsi command opcodeh]hiscsi command opcode}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hKhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hKhj݇ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjZh]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjubj)}(hhh]j)}(hLNetes: This routine can't fail, just assign iscsi task hdr and max hdr size.h](j)}(h6Netes: This routine can't fail, just assign iscsi taskh]h8Netes: This routine can’t fail, just assign iscsi task}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjsubj)}(hhh]h)}(hhdr and max hdr size.h]hhdr and max hdr size.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhKhjpubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j)iser_initialize_task_headers (C function)c.iser_initialize_task_headershNtauh1jhjhhhhNhNubj)}(hhh](j)}(hXint iser_initialize_task_headers (struct iscsi_task *task, struct iser_tx_desc *tx_desc)h]j")}(hWint iser_initialize_task_headers(struct iscsi_task *task, struct iser_tx_desc *tx_desc)h](j)}(hinth]hint}(hjʈhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjƈhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKubj:)}(h h]h }(hjوhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjƈhhhj؈hKubj)}(hiser_initialize_task_headersh]jN)}(hiser_initialize_task_headersh]hiser_initialize_task_headers}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjƈhhhj؈hKubj)}(h7(struct iscsi_task *task, struct iser_tx_desc *tx_desc)h](j)}(hstruct iscsi_task *taskh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h iscsi_taskh]h iscsi_task}(hj%hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj"ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj'modnameN classnameNjkjn)}jq]jt)}jgjsbc.iser_initialize_task_headersasbuh1hhjubj:)}(h h]h }(hjEhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(htaskh]htask}(hj`hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct iser_tx_desc *tx_desch](j()}(hj+h]hstruct}(hjyhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjuubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjuubh)}(hhh]jN)}(h iser_tx_desch]h iser_tx_desc}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jAc.iser_initialize_task_headersasbuh1hhjuubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjuubj)}(hjh]h*}(hjÉhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubjN)}(htx_desch]htx_desc}(hjЉhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjuubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjƈhhhj؈hKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjˆhhhj؈hKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhj؈hKhjhhubj)}(hhh]h)}(hInitialize task headersh]hInitialize task headers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj؈hKubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhjhhNhNubj)}(hXA**Parameters** ``struct iscsi_task *task`` iscsi task ``struct iser_tx_desc *tx_desc`` iser tx descriptor **Notes** This routine may race with iser teardown flow for scsi error handling TMFs. So for TMF we should acquire the state mutex to avoid dereferencing the IB device which may have already been terminated.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjubj)}(hhh](j)}(h'``struct iscsi_task *task`` iscsi task h](j)}(h``struct iscsi_task *task``h]j )}(hj;h]hstruct iscsi_task *task}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhj5ubj)}(hhh]h)}(h iscsi taskh]h iscsi task}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhKhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhKhj2ubj)}(h4``struct iser_tx_desc *tx_desc`` iser tx descriptor h](j)}(h ``struct iser_tx_desc *tx_desc``h]j )}(hjth]hstruct iser_tx_desc *tx_desc}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjnubj)}(hhh]h)}(hiser tx descriptorh]hiser tx descriptor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhKhj2ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h **Notes**h]j)}(hjh]hNotes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjubh)}(hThis routine may race with iser teardown flow for scsi error handling TMFs. So for TMF we should acquire the state mutex to avoid dereferencing the IB device which may have already been terminated.h]hThis routine may race with iser teardown flow for scsi error handling TMFs. So for TMF we should acquire the state mutex to avoid dereferencing the IB device which may have already been terminated.}(hjŊhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!iscsi_iser_task_init (C function)c.iscsi_iser_task_inithNtauh1jhjhhhhNhNubj)}(hhh](j)}(h2int iscsi_iser_task_init (struct iscsi_task *task)h]j")}(h1int iscsi_iser_task_init(struct iscsi_task *task)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhKubj)}(hiscsi_iser_task_inith]jN)}(hiscsi_iser_task_inith]hiscsi_iser_task_init}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhKubj)}(h(struct iscsi_task *task)h]j)}(hstruct iscsi_task *taskh](j()}(hj+h]hstruct}(hj1hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj-ubj:)}(h h]h }(hj>hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj-ubh)}(hhh]jN)}(h iscsi_taskh]h iscsi_task}(hjOhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjLubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjQmodnameN classnameNjkjn)}jq]jt)}jgjsbc.iscsi_iser_task_initasbuh1hhj-ubj:)}(h h]h }(hjohhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj-ubj)}(hjh]h*}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubjN)}(htaskh]htask}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj-ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj)ubah}(h]h ]h"]h$]h&]jjuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhKhjhhubj)}(hhh]h)}(hInitialize iscsi-iser taskh]hInitialize iscsi-iser task}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jefunctioneh"]h$]h&]jjejj̋jj̋jjjuh1jhhhjhhNhNubj)}(h**Parameters** ``struct iscsi_task *task`` iscsi task **Description** Initialize the task for the scsi command or mgmt command. **Return** Returns zero on success or -ENOMEM when failing to init task headers (dma mapping error).h](h)}(h**Parameters**h]j)}(hj֋h]h Parameters}(hj؋hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԋubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjЋubj)}(hhh]j)}(h'``struct iscsi_task *task`` iscsi task h](j)}(h``struct iscsi_task *task``h]j )}(hjh]hstruct iscsi_task *task}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjubj)}(hhh]h)}(h iscsi taskh]h iscsi task}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubah}(h]h ]h"]h$]h&]uh1jhjЋubh)}(h**Description**h]j)}(hj0h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjЋubh)}(h9Initialize the task for the scsi command or mgmt command.h]h9Initialize the task for the scsi command or mgmt command.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjЋubh)}(h **Return**h]j)}(hjWh]hReturn}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjЋubh)}(hYReturns zero on success or -ENOMEM when failing to init task headers (dma mapping error).h]hYReturns zero on success or -ENOMEM when failing to init task headers (dma mapping error).}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chKhjЋubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"iscsi_iser_mtask_xmit (C function)c.iscsi_iser_mtask_xmithNtauh1jhjhhhhNhNubj)}(hhh](j)}(hLint iscsi_iser_mtask_xmit (struct iscsi_conn *conn, struct iscsi_task *task)h]j")}(hKint iscsi_iser_mtask_xmit(struct iscsi_conn *conn, struct iscsi_task *task)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hiscsi_iser_mtask_xmith]jN)}(hiscsi_iser_mtask_xmith]hiscsi_iser_mtask_xmit}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(h2(struct iscsi_conn *conn, struct iscsi_task *task)h](j)}(hstruct iscsi_conn *connh](j()}(hj+h]hstruct}(hjٌhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjՌubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjՌubh)}(hhh]jN)}(h iscsi_connh]h iscsi_conn}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjsbc.iscsi_iser_mtask_xmitasbuh1hhjՌubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjՌubj)}(hjh]h*}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjՌubjN)}(hconnh]hconn}(hj2hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjՌubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjьubj)}(hstruct iscsi_task *taskh](j()}(hj+h]hstruct}(hjKhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjGubj:)}(h h]h }(hjXhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjGubh)}(hhh]jN)}(h iscsi_taskh]h iscsi_task}(hjihhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjfubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjkmodnameN classnameNjkjn)}jq]jc.iscsi_iser_mtask_xmitasbuh1hhjGubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjGubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubjN)}(htaskh]htask}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjGubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjьubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h xmit management (immediate) taskh]h xmit management (immediate) task}(hj̍hhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjɍhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhjhhNhNubj)}(hX**Parameters** ``struct iscsi_conn *conn`` iscsi connection ``struct iscsi_task *task`` task management task **Notes** The function can return -EAGAIN in which case caller must call it again later, or recover. '0' return code means successful xmit.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubj)}(hhh](j)}(h-``struct iscsi_conn *conn`` iscsi connection h](j)}(h``struct iscsi_conn *conn``h]j )}(hj h]hstruct iscsi_conn *conn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubj)}(hhh]h)}(hiscsi connectionh]hiscsi connection}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjubj)}(h1``struct iscsi_task *task`` task management task h](j)}(h``struct iscsi_task *task``h]j )}(hjFh]hstruct iscsi_task *task}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhj@ubj)}(hhh]h)}(htask management taskh]htask management task}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h **Notes**h]j)}(hjh]hNotes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubjYD)}(hThe function can return -EAGAIN in which case caller must call it again later, or recover. '0' return code means successful xmit.h]h)}(hThe function can return -EAGAIN in which case caller must call it again later, or recover. '0' return code means successful xmit.h]hThe function can return -EAGAIN in which case caller must call it again later, or recover. ‘0’ return code means successful xmit.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubah}(h]h ]h"]h$]h&]uh1jXDhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!iscsi_iser_task_xmit (C function)c.iscsi_iser_task_xmithNtauh1jhjhhhhNhNubj)}(hhh](j)}(h2int iscsi_iser_task_xmit (struct iscsi_task *task)h]j")}(h1int iscsi_iser_task_xmit(struct iscsi_task *task)h](j)}(hinth]hint}(hjЎhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj̎hhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM7ubj:)}(h h]h }(hjߎhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj̎hhhjގhM7ubj)}(hiscsi_iser_task_xmith]jN)}(hiscsi_iser_task_xmith]hiscsi_iser_task_xmit}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhj̎hhhjގhM7ubj)}(h(struct iscsi_task *task)h]j)}(hstruct iscsi_task *taskh](j()}(hj+h]hstruct}(hj hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubh)}(hhh]jN)}(h iscsi_taskh]h iscsi_task}(hj+hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj(ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj-modnameN classnameNjkjn)}jq]jt)}jgjsbc.iscsi_iser_task_xmitasbuh1hhj ubj:)}(h h]h }(hjKhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubj)}(hjh]h*}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjN)}(htaskh]htask}(hjfhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubah}(h]h ]h"]h$]h&]jjuh1jhj̎hhhjގhM7ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjȎhhhjގhM7ubah}(h]jÎah ](jjeh"]h$]h&]jj)jhuh1jhjގhM7hjŎhhubj)}(hhh]h)}(hxmit iscsi-iser taskh]hxmit iscsi-iser task}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM7hjhhubah}(h]h ]h"]h$]h&]uh1jhjŎhhhjގhM7ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhjhhNhNubj)}(hu**Parameters** ``struct iscsi_task *task`` iscsi task **Return** zero on success or escalates $error on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM;hjubj)}(hhh]j)}(h'``struct iscsi_task *task`` iscsi task h](j)}(h``struct iscsi_task *task``h]j )}(hjяh]hstruct iscsi_task *task}(hjӏhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϏubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM8hjˏubj)}(hhh]h)}(h iscsi taskh]h iscsi task}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjˏubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjȏubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h **Return**h]j)}(hj h]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM:hjubh)}(h/zero on success or escalates $error on failure.h]h/zero on success or escalates $error on failure.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM:hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j$iscsi_iser_cleanup_task (C function)c.iscsi_iser_cleanup_taskhNtauh1jhjhhhhNhNubj)}(hhh](j)}(h6void iscsi_iser_cleanup_task (struct iscsi_task *task)h]j")}(h5void iscsi_iser_cleanup_task(struct iscsi_task *task)h](j)}(hvoidh]hvoid}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjMhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMaubj:)}(h h]h }(hj`hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjMhhhj_hMaubj)}(hiscsi_iser_cleanup_taskh]jN)}(hiscsi_iser_cleanup_taskh]hiscsi_iser_cleanup_task}(hjrhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjnubah}(h]h ](jjeh"]h$]h&]jjuh1jhjMhhhj_hMaubj)}(h(struct iscsi_task *task)h]j)}(hstruct iscsi_task *taskh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h iscsi_taskh]h iscsi_task}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjtsbc.iscsi_iser_cleanup_taskasbuh1hhjubj:)}(h h]h }(hj̐hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjڐhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(htaskh]htask}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubah}(h]h ]h"]h$]h&]jjuh1jhjMhhhj_hMaubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjIhhhj_hMaubah}(h]jDah ](jjeh"]h$]h&]jj)jhuh1jhj_hMahjFhhubj)}(hhh]h)}(hcleanup an iscsi-iser taskh]hcleanup an iscsi-iser task}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMahjhhubah}(h]h ]h"]h$]h&]uh1jhjFhhhj_hMaubeh}(h]h ](jefunctioneh"]h$]h&]jjejj)jj)jjjuh1jhhhjhhNhNubj)}(h**Parameters** ``struct iscsi_task *task`` iscsi task **Notes** In case the RDMA device is already NULL (might have been removed in DEVICE_REMOVAL CM event it will bail-out without doing dma unmapping.h](h)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMehj-ubj)}(hhh]j)}(h'``struct iscsi_task *task`` iscsi task h](j)}(h``struct iscsi_task *task``h]j )}(hjRh]hstruct iscsi_task *task}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMbhjLubj)}(hhh]h)}(h iscsi taskh]h iscsi task}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghMbhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMbhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubh)}(h **Notes**h]j)}(hjh]hNotes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMdhj-ubj)}(hhh]j)}(hIn case the RDMA device is already NULL (might have been removed in DEVICE_REMOVAL CM event it will bail-out without doing dma unmapping.h](j)}(h3In case the RDMA device is already NULL (might haveh]h3In case the RDMA device is already NULL (might have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMehjubj)}(hhh]h)}(hUbeen removed in DEVICE_REMOVAL CM event it will bail-out without doing dma unmapping.h]hUbeen removed in DEVICE_REMOVAL CM event it will bail-out without doing dma unmapping.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehjubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j(iscsi_iser_check_protection (C function)c.iscsi_iser_check_protectionhNtauh1jhjhhhhNhNubj)}(hhh](j)}(hJu8 iscsi_iser_check_protection (struct iscsi_task *task, sector_t *sector)h]j")}(hIu8 iscsi_iser_check_protection(struct iscsi_task *task, sector_t *sector)h](h)}(hhh]jN)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgiscsi_iser_check_protectionsbc.iscsi_iser_check_protectionasbuh1hhjhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMubj:)}(h h]h }(hj!hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhj hMubj)}(hiscsi_iser_check_protectionh]jN)}(hjh]hiscsi_iser_check_protection}(hj3hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj/ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhj hMubj)}(h+(struct iscsi_task *task, sector_t *sector)h](j)}(hstruct iscsi_task *taskh](j()}(hj+h]hstruct}(hjNhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjJubj:)}(h h]h }(hj[hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjJubh)}(hhh]jN)}(h iscsi_taskh]h iscsi_task}(hjlhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjiubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjnmodnameN classnameNjkjn)}jq]jc.iscsi_iser_check_protectionasbuh1hhjJubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjJubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubjN)}(htaskh]htask}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjJubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjFubj)}(hsector_t *sectorh](h)}(hhh]jN)}(hsector_th]hsector_t}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjÒmodnameN classnameNjkjn)}jq]jc.iscsi_iser_check_protectionasbuh1hhjubj:)}(h h]h }(hjߒhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hsectorh]hsector}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjFubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhj hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhj hMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhj hMhjhhubj)}(hhh]h)}(h,check protection information status of task.h]h,check protection information status of task.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhj!hhubah}(h]h ]h"]h$]h&]uh1jhjhhhj hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj<jj<jjjuh1jhhhjhhNhNubj)}(hX**Parameters** ``struct iscsi_task *task`` iscsi task ``sector_t *sector`` error sector if exsists (output) **Return** zero if no data-integrity errors have occurred 0x1: data-integrity error occurred in the guard-block 0x2: data-integrity error occurred in the reference tag 0x3: data-integrity error occurred in the application tag **Description** In addition the error sector is marked.h](h)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhj@ubj)}(hhh](j)}(h'``struct iscsi_task *task`` iscsi task h](j)}(h``struct iscsi_task *task``h]j )}(hjeh]hstruct iscsi_task *task}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhj_ubj)}(hhh]h)}(h iscsi taskh]h iscsi task}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj\ubj)}(h6``sector_t *sector`` error sector if exsists (output) h](j)}(h``sector_t *sector``h]j )}(hjh]hsector_t *sector}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubj)}(hhh]h)}(h error sector if exsists (output)h]h error sector if exsists (output)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj\ubeh}(h]h ]h"]h$]h&]uh1jhj@ubh)}(h **Return**h]j)}(hjٓh]hReturn}(hjۓhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjדubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhj@ubh)}(hzero if no data-integrity errors have occurred 0x1: data-integrity error occurred in the guard-block 0x2: data-integrity error occurred in the reference tag 0x3: data-integrity error occurred in the application tagh]hzero if no data-integrity errors have occurred 0x1: data-integrity error occurred in the guard-block 0x2: data-integrity error occurred in the reference tag 0x3: data-integrity error occurred in the application tag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhj@ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhj@ubjYD)}(h'In addition the error sector is marked.h]h)}(hjh]h'In addition the error sector is marked.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubah}(h]h ]h"]h$]h&]uh1jXDhj'hMhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j#iscsi_iser_conn_create (C function)c.iscsi_iser_conn_createhNtauh1jhjhhhhNhNubj)}(hhh](j)}(histruct iscsi_cls_conn * iscsi_iser_conn_create (struct iscsi_cls_session *cls_session, uint32_t conn_idx)h]j")}(hgstruct iscsi_cls_conn *iscsi_iser_conn_create(struct iscsi_cls_session *cls_session, uint32_t conn_idx)h](j()}(hj+h]hstruct}(hjNhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjJhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMubj:)}(h h]h }(hj\hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjJhhhj[hMubh)}(hhh]jN)}(hiscsi_cls_connh]hiscsi_cls_conn}(hjmhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjomodnameN classnameNjkjn)}jq]jt)}jgiscsi_iser_conn_createsbc.iscsi_iser_conn_createasbuh1hhjJhhhj[hMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjJhhhj[hMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJhhhj[hMubj)}(hiscsi_iser_conn_createh]jN)}(hjh]hiscsi_iser_conn_create}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjJhhhj[hMubj)}(h:(struct iscsi_cls_session *cls_session, uint32_t conn_idx)h](j)}(h%struct iscsi_cls_session *cls_sessionh](j()}(hj+h]hstruct}(hjȔhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjĔubj:)}(h h]h }(hjՔhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjĔubh)}(hhh]jN)}(hiscsi_cls_sessionh]hiscsi_cls_session}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.iscsi_iser_conn_createasbuh1hhjĔubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjĔubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjĔubjN)}(h cls_sessionh]h cls_session}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjĔubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(huint32_t conn_idxh](h)}(hhh]jN)}(huint32_th]huint32_t}(hj;hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj=modnameN classnameNjkjn)}jq]jc.iscsi_iser_conn_createasbuh1hhj4ubj:)}(h h]h }(hjYhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj4ubjN)}(hconn_idxh]hconn_idx}(hjghhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj4ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjJhhhj[hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjFhhhj[hMubah}(h]jAah ](jjeh"]h$]h&]jj)jhuh1jhj[hMhjChhubj)}(hhh]h)}(h"create a new iscsi-iser connectionh]h"create a new iscsi-iser connection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjChhhj[hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhjhhNhNubj)}(h**Parameters** ``struct iscsi_cls_session *cls_session`` iscsi class connection ``uint32_t conn_idx`` connection index within the session (for MCS) **Return** iscsi_cls_conn when iscsi_conn_setup succeeds or NULL otherwise.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubj)}(hhh](j)}(hA``struct iscsi_cls_session *cls_session`` iscsi class connection h](j)}(h)``struct iscsi_cls_session *cls_session``h]j )}(hjҕh]h%struct iscsi_cls_session *cls_session}(hjԕhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjЕubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhj̕ubj)}(hhh]h)}(hiscsi class connectionh]hiscsi class connection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj̕ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjɕubj)}(hD``uint32_t conn_idx`` connection index within the session (for MCS) h](j)}(h``uint32_t conn_idx``h]j )}(hj h]huint32_t conn_idx}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubj)}(hhh]h)}(h-connection index within the session (for MCS)h]h-connection index within the session (for MCS)}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjɕubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h **Return**h]j)}(hjFh]hReturn}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubh)}(h@iscsi_cls_conn when iscsi_conn_setup succeeds or NULL otherwise.h]h@iscsi_cls_conn when iscsi_conn_setup succeeds or NULL otherwise.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!iscsi_iser_conn_bind (C function)c.iscsi_iser_conn_bindhNtauh1jhjhhhhNhNubj)}(hhh](j)}(hint iscsi_iser_conn_bind (struct iscsi_cls_session *cls_session, struct iscsi_cls_conn *cls_conn, uint64_t transport_eph, int is_leading)h]j")}(hint iscsi_iser_conn_bind(struct iscsi_cls_session *cls_session, struct iscsi_cls_conn *cls_conn, uint64_t transport_eph, int is_leading)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hiscsi_iser_conn_bindh]jN)}(hiscsi_iser_conn_bindh]hiscsi_iser_conn_bind}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(hp(struct iscsi_cls_session *cls_session, struct iscsi_cls_conn *cls_conn, uint64_t transport_eph, int is_leading)h](j)}(h%struct iscsi_cls_session *cls_sessionh](j()}(hj+h]hstruct}(hjȖhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjĖubj:)}(h h]h }(hjՖhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjĖubh)}(hhh]jN)}(hiscsi_cls_sessionh]hiscsi_cls_session}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjsbc.iscsi_iser_conn_bindasbuh1hhjĖubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjĖubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjĖubjN)}(h cls_sessionh]h cls_session}(hj!hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjĖubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct iscsi_cls_conn *cls_connh](j()}(hj+h]hstruct}(hj:hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj6ubj:)}(h h]h }(hjGhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj6ubh)}(hhh]jN)}(hiscsi_cls_connh]hiscsi_cls_conn}(hjXhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjUubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjZmodnameN classnameNjkjn)}jq]jc.iscsi_iser_conn_bindasbuh1hhj6ubj:)}(h h]h }(hjvhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj6ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubjN)}(hcls_connh]hcls_conn}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj6ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(huint64_t transport_ephh](h)}(hhh]jN)}(huint64_th]huint64_t}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.iscsi_iser_conn_bindasbuh1hhjubj:)}(h h]h }(hj˗hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h transport_ephh]h transport_eph}(hjٗhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hint is_leadingh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h is_leadingh]h is_leading}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]j~ah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h)bind iscsi and iser connection structuresh]h)bind iscsi and iser connection structures}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhj5hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjPjjPjjjuh1jhhhjhhNhNubj)}(hX**Parameters** ``struct iscsi_cls_session *cls_session`` iscsi class session ``struct iscsi_cls_conn *cls_conn`` iscsi class connection ``uint64_t transport_eph`` transport end-point handle ``int is_leading`` indicate if this is the session leading connection (MCS) **Return** zero on success, $error if iscsi_conn_bind fails and -EINVAL in case end-point doesn't exists anymore or iser connection state is not UP (teardown already started).h](h)}(h**Parameters**h]j)}(hjZh]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjTubj)}(hhh](j)}(h>``struct iscsi_cls_session *cls_session`` iscsi class session h](j)}(h)``struct iscsi_cls_session *cls_session``h]j )}(hjyh]h%struct iscsi_cls_session *cls_session}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjsubj)}(hhh]h)}(hiscsi class sessionh]hiscsi class session}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubj)}(h;``struct iscsi_cls_conn *cls_conn`` iscsi class connection h](j)}(h#``struct iscsi_cls_conn *cls_conn``h]j )}(hjh]hstruct iscsi_cls_conn *cls_conn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubj)}(hhh]h)}(hiscsi class connectionh]hiscsi class connection}(hj˘hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjǘhMhjȘubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjǘhMhjpubj)}(h6``uint64_t transport_eph`` transport end-point handle h](j)}(h``uint64_t transport_eph``h]j )}(hjh]huint64_t transport_eph}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubj)}(hhh]h)}(htransport end-point handleh]htransport end-point handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubj)}(hL``int is_leading`` indicate if this is the session leading connection (MCS) h](j)}(h``int is_leading``h]j )}(hj$h]hint is_leading}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubj)}(hhh]h)}(h8indicate if this is the session leading connection (MCS)h]h8indicate if this is the session leading connection (MCS)}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjpubeh}(h]h ]h"]h$]h&]uh1jhjTubh)}(h **Return**h]j)}(hj_h]hReturn}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjTubh)}(hzero on success, $error if iscsi_conn_bind fails and -EINVAL in case end-point doesn't exists anymore or iser connection state is not UP (teardown already started).h]hzero on success, $error if iscsi_conn_bind fails and -EINVAL in case end-point doesn’t exists anymore or iser connection state is not UP (teardown already started).}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"iscsi_iser_conn_start (C function)c.iscsi_iser_conn_starthNtauh1jhjhhhhNhNubj)}(hhh](j)}(h;int iscsi_iser_conn_start (struct iscsi_cls_conn *cls_conn)h]j")}(h:int iscsi_iser_conn_start(struct iscsi_cls_conn *cls_conn)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hiscsi_iser_conn_starth]jN)}(hiscsi_iser_conn_starth]hiscsi_iser_conn_start}(hjřhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(h!(struct iscsi_cls_conn *cls_conn)h]j)}(hstruct iscsi_cls_conn *cls_connh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjݙubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjݙubh)}(hhh]jN)}(hiscsi_cls_connh]hiscsi_cls_conn}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjǙsbc.iscsi_iser_conn_startasbuh1hhjݙubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjݙubj)}(hjh]h*}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjݙubjN)}(hcls_connh]hcls_conn}(hj:hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjݙubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjٙubah}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(hstart iscsi-iser connectionh]hstart iscsi-iser connection}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjahhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj|jj|jjjuh1jhhhjhhNhNubj)}(hX **Parameters** ``struct iscsi_cls_conn *cls_conn`` iscsi class connection **Notes** Here iser intialize (or re-initialize) stop_completion as from this point iscsi must call conn_stop in session/connection teardown so iser transport must wait for it.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubj)}(hhh]j)}(h;``struct iscsi_cls_conn *cls_conn`` iscsi class connection h](j)}(h#``struct iscsi_cls_conn *cls_conn``h]j )}(hjh]hstruct iscsi_cls_conn *cls_conn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubj)}(hhh]h)}(hiscsi class connectionh]hiscsi class connection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h **Notes**h]j)}(hjh]hNotes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޚubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubj)}(hhh]j)}(hHere iser intialize (or re-initialize) stop_completion as from this point iscsi must call conn_stop in session/connection teardown so iser transport must wait for it.h](j)}(h9Here iser intialize (or re-initialize) stop_completion ash]h9Here iser intialize (or re-initialize) stop_completion as}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubj)}(hhh]h)}(hlfrom this point iscsi must call conn_stop in session/connection teardown so iser transport must wait for it.h]hlfrom this point iscsi must call conn_stop in session/connection teardown so iser transport must wait for it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!iscsi_iser_conn_stop (C function)c.iscsi_iser_conn_stophNtauh1jhjhhhhNhNubj)}(hhh](j)}(hEvoid iscsi_iser_conn_stop (struct iscsi_cls_conn *cls_conn, int flag)h]j")}(hDvoid iscsi_iser_conn_stop(struct iscsi_cls_conn *cls_conn, int flag)h](j)}(hvoidh]hvoid}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjKhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMubj:)}(h h]h }(hj^hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjKhhhj]hMubj)}(hiscsi_iser_conn_stoph]jN)}(hiscsi_iser_conn_stoph]hiscsi_iser_conn_stop}(hjphhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjlubah}(h]h ](jjeh"]h$]h&]jjuh1jhjKhhhj]hMubj)}(h+(struct iscsi_cls_conn *cls_conn, int flag)h](j)}(hstruct iscsi_cls_conn *cls_connh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hiscsi_cls_connh]hiscsi_cls_conn}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjrsbc.iscsi_iser_conn_stopasbuh1hhjubj:)}(h h]h }(hjʛhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj؛hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hcls_connh]hcls_conn}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hint flagh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hflagh]hflag}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjKhhhj]hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjGhhhj]hMubah}(h]jBah ](jjeh"]h$]h&]jj)jhuh1jhj]hMhjDhhubj)}(hhh]h)}(hstop iscsi-iser connectionh]hstop iscsi-iser connection}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjAhhubah}(h]h ]h"]h$]h&]uh1jhjDhhhj]hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj\jj\jjjuh1jhhhjhhNhNubj)}(hX}**Parameters** ``struct iscsi_cls_conn *cls_conn`` iscsi class connection ``int flag`` indicate if recover or terminate (passed as is) **Notes** Calling iscsi_conn_stop might theoretically race with DEVICE_REMOVAL event and dereference a previously freed RDMA device handle, so we call it under iser the state lock to protect against this kind of race.h](h)}(h**Parameters**h]j)}(hjfh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM hj`ubj)}(hhh](j)}(h;``struct iscsi_cls_conn *cls_conn`` iscsi class connection h](j)}(h#``struct iscsi_cls_conn *cls_conn``h]j )}(hjh]hstruct iscsi_cls_conn *cls_conn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubj)}(hhh]h)}(hiscsi class connectionh]hiscsi class connection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj|ubj)}(h=``int flag`` indicate if recover or terminate (passed as is) h](j)}(h ``int flag``h]j )}(hjh]hint flag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubj)}(hhh]h)}(h/indicate if recover or terminate (passed as is)h]h/indicate if recover or terminate (passed as is)}(hjלhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjӜhMhjԜubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӜhMhj|ubeh}(h]h ]h"]h$]h&]uh1jhj`ubh)}(h **Notes**h]j)}(hjh]hNotes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM hj`ubj)}(hhh]j)}(hCalling iscsi_conn_stop might theoretically race with DEVICE_REMOVAL event and dereference a previously freed RDMA device handle, so we call it under iser the state lock to protect against this kind of race.h](j)}(h5Calling iscsi_conn_stop might theoretically race withh]h5Calling iscsi_conn_stop might theoretically race with}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM hjubj)}(hhh]h)}(hDEVICE_REMOVAL event and dereference a previously freed RDMA device handle, so we call it under iser the state lock to protect against this kind of race.h]hDEVICE_REMOVAL event and dereference a previously freed RDMA device handle, so we call it under iser the state lock to protect against this kind of race.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM hj%ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj$hM hjubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j'iscsi_iser_session_destroy (C function)c.iscsi_iser_session_destroyhNtauh1jhjhhhhNhNubj)}(hhh](j)}(hGvoid iscsi_iser_session_destroy (struct iscsi_cls_session *cls_session)h]j")}(hFvoid iscsi_iser_session_destroy(struct iscsi_cls_session *cls_session)h](j)}(hvoidh]hvoid}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjehhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM-ubj:)}(h h]h }(hjxhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjehhhjwhM-ubj)}(hiscsi_iser_session_destroyh]jN)}(hiscsi_iser_session_destroyh]hiscsi_iser_session_destroy}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjehhhjwhM-ubj)}(h'(struct iscsi_cls_session *cls_session)h]j)}(h%struct iscsi_cls_session *cls_sessionh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hiscsi_cls_sessionh]hiscsi_cls_session}(hjĝhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjƝmodnameN classnameNjkjn)}jq]jt)}jgjsbc.iscsi_iser_session_destroyasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(h cls_sessionh]h cls_session}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubah}(h]h ]h"]h$]h&]jjuh1jhjehhhjwhM-ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjahhhjwhM-ubah}(h]j\ah ](jjeh"]h$]h&]jj)jhuh1jhjwhM-hj^hhubj)}(hhh]h)}(hdestroy iscsi-iser sessionh]hdestroy iscsi-iser session}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM-hj&hhubah}(h]h ]h"]h$]h&]uh1jhj^hhhjwhM-ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjAjjAjjjuh1jhhhjhhNhNubj)}(h~**Parameters** ``struct iscsi_cls_session *cls_session`` iscsi class session **Description** Removes and free iscsi host.h](h)}(h**Parameters**h]j)}(hjKh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM1hjEubj)}(hhh]j)}(h>``struct iscsi_cls_session *cls_session`` iscsi class session h](j)}(h)``struct iscsi_cls_session *cls_session``h]j )}(hjjh]h%struct iscsi_cls_session *cls_session}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM.hjdubj)}(hhh]h)}(hiscsi class sessionh]hiscsi class session}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjaubah}(h]h ]h"]h$]h&]uh1jhjEubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM0hjEubh)}(hRemoves and free iscsi host.h]hRemoves and free iscsi host.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM/hjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j&iscsi_iser_session_create (C function)c.iscsi_iser_session_createhNtauh1jhjhhhhNhNubj)}(hhh](j)}(hstruct iscsi_cls_session * iscsi_iser_session_create (struct iscsi_endpoint *ep, uint16_t cmds_max, uint16_t qdepth, uint32_t initial_cmdsn)h]j")}(hstruct iscsi_cls_session *iscsi_iser_session_create(struct iscsi_endpoint *ep, uint16_t cmds_max, uint16_t qdepth, uint32_t initial_cmdsn)h](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMNubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMNubh)}(hhh]jN)}(hiscsi_cls_sessionh]hiscsi_cls_session}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj modnameN classnameNjkjn)}jq]jt)}jgiscsi_iser_session_createsbc.iscsi_iser_session_createasbuh1hhjhhhjhMNubj:)}(h h]h }(hj*hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMNubj)}(hjh]h*}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMNubj)}(hiscsi_iser_session_createh]jN)}(hj'h]hiscsi_iser_session_create}(hjIhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjEubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMNubj)}(hW(struct iscsi_endpoint *ep, uint16_t cmds_max, uint16_t qdepth, uint32_t initial_cmdsn)h](j)}(hstruct iscsi_endpoint *eph](j()}(hj+h]hstruct}(hjdhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj`ubj:)}(h h]h }(hjqhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj`ubh)}(hhh]jN)}(hiscsi_endpointh]hiscsi_endpoint}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j%c.iscsi_iser_session_createasbuh1hhj`ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj`ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubjN)}(heph]hep}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj`ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj\ubj)}(huint16_t cmds_maxh](h)}(hhh]jN)}(huint16_th]huint16_t}(hjןhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjԟubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjٟmodnameN classnameNjkjn)}jq]j%c.iscsi_iser_session_createasbuh1hhjПubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjПubjN)}(hcmds_maxh]hcmds_max}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjПubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj\ubj)}(huint16_t qdepthh](h)}(hhh]jN)}(huint16_th]huint16_t}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj!modnameN classnameNjkjn)}jq]j%c.iscsi_iser_session_createasbuh1hhjubj:)}(h h]h }(hj=hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hqdepthh]hqdepth}(hjKhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj\ubj)}(huint32_t initial_cmdsnh](h)}(hhh]jN)}(huint32_th]huint32_t}(hjghhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjdubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjimodnameN classnameNjkjn)}jq]j%c.iscsi_iser_session_createasbuh1hhj`ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj`ubjN)}(h initial_cmdsnh]h initial_cmdsn}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj`ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj\ubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMNubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMNubah}(h]jݞah ](jjeh"]h$]h&]jj)jhuh1jhjhMNhjߞhhubj)}(hhh]h)}(hcreate an iscsi-iser sessionh]hcreate an iscsi-iser session}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMNhjhhubah}(h]h ]h"]h$]h&]uh1jhjߞhhhjhMNubeh}(h]h ](jefunctioneh"]h$]h&]jjejjՠjjՠjjjuh1jhhhjhhNhNubj)}(hX`**Parameters** ``struct iscsi_endpoint *ep`` iscsi end-point handle ``uint16_t cmds_max`` maximum commands in this session ``uint16_t qdepth`` session command queue depth ``uint32_t initial_cmdsn`` initiator command sequnce number **Description** Allocates and adds a scsi host, expose DIF supprot if exists, and sets up an iscsi session.h](h)}(h**Parameters**h]j)}(hjߠh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݠubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMRhj٠ubj)}(hhh](j)}(h5``struct iscsi_endpoint *ep`` iscsi end-point handle h](j)}(h``struct iscsi_endpoint *ep``h]j )}(hjh]hstruct iscsi_endpoint *ep}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMOhjubj)}(hhh]h)}(hiscsi end-point handleh]hiscsi end-point handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(h7``uint16_t cmds_max`` maximum commands in this session h](j)}(h``uint16_t cmds_max``h]j )}(hj7h]huint16_t cmds_max}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMPhj1ubj)}(hhh]h)}(h maximum commands in this sessionh]h maximum commands in this session}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhMPhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMPhjubj)}(h0``uint16_t qdepth`` session command queue depth h](j)}(h``uint16_t qdepth``h]j )}(hjph]huint16_t qdepth}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMQhjjubj)}(hhh]h)}(hsession command queue depthh]hsession command queue depth}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(h<``uint32_t initial_cmdsn`` initiator command sequnce number h](j)}(h``uint32_t initial_cmdsn``h]j )}(hjh]huint32_t initial_cmdsn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMRhjubj)}(hhh]h)}(h initiator command sequnce numberh]h initiator command sequnce number}(hj¡hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubeh}(h]h ]h"]h$]h&]uh1jhj٠ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMThj٠ubh)}(h[Allocates and adds a scsi host, expose DIF supprot if exists, and sets up an iscsi session.h]h[Allocates and adds a scsi host, expose DIF supprot if exists, and sets up an iscsi session.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMShj٠ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"iscsi_iser_ep_connect (C function)c.iscsi_iser_ep_connecthNtauh1jhjhhhhNhNubj)}(hhh](j)}(htstruct iscsi_endpoint * iscsi_iser_ep_connect (struct Scsi_Host *shost, struct sockaddr *dst_addr, int non_blocking)h]j")}(hrstruct iscsi_endpoint *iscsi_iser_ep_connect(struct Scsi_Host *shost, struct sockaddr *dst_addr, int non_blocking)h](j()}(hj+h]hstruct}(hj)hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj%hhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM ubj:)}(h h]h }(hj7hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj%hhhj6hM ubh)}(hhh]jN)}(hiscsi_endpointh]hiscsi_endpoint}(hjHhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjEubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjJmodnameN classnameNjkjn)}jq]jt)}jgiscsi_iser_ep_connectsbc.iscsi_iser_ep_connectasbuh1hhj%hhhj6hM ubj:)}(h h]h }(hjihhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj%hhhj6hM ubj)}(hjh]h*}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%hhhj6hM ubj)}(hiscsi_iser_ep_connecth]jN)}(hjfh]hiscsi_iser_ep_connect}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhj%hhhj6hM ubj)}(hF(struct Scsi_Host *shost, struct sockaddr *dst_addr, int non_blocking)h](j)}(hstruct Scsi_Host *shosth](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h Scsi_Hosth]h Scsi_Host}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjâmodnameN classnameNjkjn)}jq]jdc.iscsi_iser_ep_connectasbuh1hhjubj:)}(h h]h }(hjߢhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hshosth]hshost}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct sockaddr *dst_addrh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hsockaddrh]hsockaddr}(hj1hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj.ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj3modnameN classnameNjkjn)}jq]jdc.iscsi_iser_ep_connectasbuh1hhjubj:)}(h h]h }(hjOhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hdst_addrh]hdst_addr}(hjjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hint non_blockingh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h non_blockingh]h non_blocking}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhj%hhhj6hM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj!hhhj6hM ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhj6hM hjhhubj)}(hhh]h)}(h&Initiate iSER connection establishmenth]h&Initiate iSER connection establishment}(hjɣhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM hjƣhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj6hM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhjhhNhNubj)}(hX6**Parameters** ``struct Scsi_Host *shost`` scsi_host ``struct sockaddr *dst_addr`` destination address ``int non_blocking`` indicate if routine can block **Description** Allocate an iscsi endpoint, an iser_conn structure and bind them. After that start RDMA connection establishment via rdma_cm. We don't allocate iser_conn embedded in iscsi_endpoint since in teardown the endpoint will be destroyed at ep_disconnect while iser_conn will cleanup its resources asynchronuously. **Return** iscsi_endpoint created by iscsi layer or ERR_PTR(error) if fails.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubj)}(hhh](j)}(h&``struct Scsi_Host *shost`` scsi_host h](j)}(h``struct Scsi_Host *shost``h]j )}(hj h]hstruct Scsi_Host *shost}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM hjubj)}(hhh]h)}(h scsi_hosth]h scsi_host}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h2``struct sockaddr *dst_addr`` destination address h](j)}(h``struct sockaddr *dst_addr``h]j )}(hjCh]hstruct sockaddr *dst_addr}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM hj=ubj)}(hhh]h)}(hdestination addressh]hdestination address}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhM hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM hjubj)}(h3``int non_blocking`` indicate if routine can block h](j)}(h``int non_blocking``h]j )}(hj|h]hint non_blocking}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjvubj)}(hhh]h)}(hindicate if routine can blockh]hindicate if routine can block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubh)}(hX2Allocate an iscsi endpoint, an iser_conn structure and bind them. After that start RDMA connection establishment via rdma_cm. We don't allocate iser_conn embedded in iscsi_endpoint since in teardown the endpoint will be destroyed at ep_disconnect while iser_conn will cleanup its resources asynchronuously.h]hX4Allocate an iscsi endpoint, an iser_conn structure and bind them. After that start RDMA connection establishment via rdma_cm. We don’t allocate iser_conn embedded in iscsi_endpoint since in teardown the endpoint will be destroyed at ep_disconnect while iser_conn will cleanup its resources asynchronuously.}(hjͤhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubh)}(h **Return**h]j)}(hjޤh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjܤubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubh)}(hAiscsi_endpoint created by iscsi layer or ERR_PTR(error) if fails.h]hAiscsi_endpoint created by iscsi layer or ERR_PTR(error) if fails.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jiscsi_iser_ep_poll (C function)c.iscsi_iser_ep_pollhNtauh1jhjhhhhNhNubj)}(hhh](j)}(hBint iscsi_iser_ep_poll (struct iscsi_endpoint *ep, int timeout_ms)h]j")}(hAint iscsi_iser_ep_poll(struct iscsi_endpoint *ep, int timeout_ms)h](j)}(hinth]hint}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM:ubj:)}(h h]h }(hj2hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhj1hM:ubj)}(hiscsi_iser_ep_pollh]jN)}(hiscsi_iser_ep_pollh]hiscsi_iser_ep_poll}(hjDhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj@ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhj1hM:ubj)}(h+(struct iscsi_endpoint *ep, int timeout_ms)h](j)}(hstruct iscsi_endpoint *eph](j()}(hj+h]hstruct}(hj`hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj\ubj:)}(h h]h }(hjmhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj\ubh)}(hhh]jN)}(hiscsi_endpointh]hiscsi_endpoint}(hj~hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj{ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjFsbc.iscsi_iser_ep_pollasbuh1hhj\ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj\ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubjN)}(heph]hep}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj\ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjXubj)}(hint timeout_msh](j)}(hinth]hint}(hjҥhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjΥubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjΥubjN)}(h timeout_msh]h timeout_ms}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjΥubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjXubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhj1hM:ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhj1hM:ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhj1hM:hjhhubj)}(hhh]h)}(h2poll for iser connection establishment to completeh]h2poll for iser connection establishment to complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM:hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj1hM:ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj0jj0jjjuh1jhhhjhhNhNubj)}(hX**Parameters** ``struct iscsi_endpoint *ep`` iscsi endpoint (created at ep_connect) ``int timeout_ms`` polling timeout allowed in ms. **Description** This routine boils down to waiting for up_completion signaling that cma_id got CONNECTED event. **Return** 1 if succeeded in connection establishment, 0 if timeout expired (libiscsi will retry will kick in) or -1 if interrupted by signal or more likely iser connection state transitioned to TEMINATING or DOWN during the wait period.h](h)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM>hj4ubj)}(hhh](j)}(hE``struct iscsi_endpoint *ep`` iscsi endpoint (created at ep_connect) h](j)}(h``struct iscsi_endpoint *ep``h]j )}(hjYh]hstruct iscsi_endpoint *ep}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM;hjSubj)}(hhh]h)}(h&iscsi endpoint (created at ep_connect)h]h&iscsi endpoint (created at ep_connect)}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhM;hjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhM;hjPubj)}(h2``int timeout_ms`` polling timeout allowed in ms. h](j)}(h``int timeout_ms``h]j )}(hjh]hint timeout_ms}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM<hjubj)}(hhh]h)}(hpolling timeout allowed in ms.h]hpolling timeout allowed in ms.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjPubeh}(h]h ]h"]h$]h&]uh1jhj4ubh)}(h**Description**h]j)}(hjͦh]h Description}(hjϦhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˦ubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM>hj4ubh)}(h_This routine boils down to waiting for up_completion signaling that cma_id got CONNECTED event.h]h_This routine boils down to waiting for up_completion signaling that cma_id got CONNECTED event.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM=hj4ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chM@hj4ubh)}(h1 if succeeded in connection establishment, 0 if timeout expired (libiscsi will retry will kick in) or -1 if interrupted by signal or more likely iser connection state transitioned to TEMINATING or DOWN during the wait period.h]h1 if succeeded in connection establishment, 0 if timeout expired (libiscsi will retry will kick in) or -1 if interrupted by signal or more likely iser connection state transitioned to TEMINATING or DOWN during the wait period.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMAhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j%iscsi_iser_ep_disconnect (C function)c.iscsi_iser_ep_disconnecthNtauh1jhjhhhhNhNubj)}(hhh](j)}(h9void iscsi_iser_ep_disconnect (struct iscsi_endpoint *ep)h]j")}(h8void iscsi_iser_ep_disconnect(struct iscsi_endpoint *ep)h](j)}(hvoidh]hvoid}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj5hhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMaubj:)}(h h]h }(hjHhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj5hhhjGhMaubj)}(hiscsi_iser_ep_disconnecth]jN)}(hiscsi_iser_ep_disconnecth]hiscsi_iser_ep_disconnect}(hjZhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjVubah}(h]h ](jjeh"]h$]h&]jjuh1jhj5hhhjGhMaubj)}(h(struct iscsi_endpoint *ep)h]j)}(hstruct iscsi_endpoint *eph](j()}(hj+h]hstruct}(hjvhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjrubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjrubh)}(hhh]jN)}(hiscsi_endpointh]hiscsi_endpoint}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgj\sbc.iscsi_iser_ep_disconnectasbuh1hhjrubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjrubj)}(hjh]h*}(hj§hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubjN)}(heph]hep}(hjϧhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjrubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjnubah}(h]h ]h"]h$]h&]jjuh1jhj5hhhjGhMaubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj1hhhjGhMaubah}(h]j,ah ](jjeh"]h$]h&]jj)jhuh1jhjGhMahj.hhubj)}(hhh]h)}(h$Initiate connection teardown processh]h$Initiate connection teardown process}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMahjhhubah}(h]h ]h"]h$]h&]uh1jhj.hhhjGhMaubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhjhhNhNubj)}(hXJ**Parameters** ``struct iscsi_endpoint *ep`` iscsi endpoint handle **Description** This routine is not blocked by iser and RDMA termination process completion as we queue a deffered work for iser/RDMA destruction and cleanup or actually call it immediately in case we didn't pass iscsi conn bind/start stage, thus it is safe.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMehjubj)}(hhh]j)}(h4``struct iscsi_endpoint *ep`` iscsi endpoint handle h](j)}(h``struct iscsi_endpoint *ep``h]j )}(hj:h]hstruct iscsi_endpoint *ep}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMbhj4ubj)}(hhh]h)}(hiscsi endpoint handleh]hiscsi endpoint handle}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMbhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMbhj1ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjuh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMdhjubh)}(hThis routine is not blocked by iser and RDMA termination process completion as we queue a deffered work for iser/RDMA destruction and cleanup or actually call it immediately in case we didn't pass iscsi conn bind/start stage, thus it is safe.h]hThis routine is not blocked by iser and RDMA termination process completion as we queue a deffered work for iser/RDMA destruction and cleanup or actually call it immediately in case we didn’t pass iscsi conn bind/start stage, thus it is safe.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:79: ./drivers/infiniband/ulp/iser/iscsi_iser.chMchjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jiser_send_command (C function)c.iser_send_commandhNtauh1jhjhhhhNhNubj)}(hhh](j)}(hHint iser_send_command (struct iscsi_conn *conn, struct iscsi_task *task)h]j")}(hGint iser_send_command(struct iscsi_conn *conn, struct iscsi_task *task)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhr/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:89: ./drivers/infiniband/ulp/iser/iser_initiator.chMQubj:)}(h h]h }(hjɨhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjȨhMQubj)}(hiser_send_commandh]jN)}(hiser_send_commandh]hiser_send_command}(hjۨhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjרubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjȨhMQubj)}(h2(struct iscsi_conn *conn, struct iscsi_task *task)h](j)}(hstruct iscsi_conn *connh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h iscsi_connh]h iscsi_conn}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjݨsbc.iser_send_commandasbuh1hhjubj:)}(h h]h }(hj5hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hconnh]hconn}(hjPhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct iscsi_task *taskh](j()}(hj+h]hstruct}(hjihhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjeubj:)}(h h]h }(hjvhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjeubh)}(hhh]jN)}(h iscsi_taskh]h iscsi_task}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j1c.iser_send_commandasbuh1hhjeubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjeubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubjN)}(htaskh]htask}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjeubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjȨhMQubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjȨhMQubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjȨhMQhjhhubj)}(hhh]h)}(hsend command PDUh]hsend command PDU}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhr/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:89: ./drivers/infiniband/ulp/iser/iser_initiator.chMQhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjȨhMQubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhjhhNhNubj)}(h**Parameters** ``struct iscsi_conn *conn`` link to matching iscsi connection ``struct iscsi_task *task`` SCSI command taskh](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhr/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:89: ./drivers/infiniband/ulp/iser/iser_initiator.chMUhjubj)}(hhh](j)}(h>``struct iscsi_conn *conn`` link to matching iscsi connection h](j)}(h``struct iscsi_conn *conn``h]j )}(hj+h]hstruct iscsi_conn *conn}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhr/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:89: ./drivers/infiniband/ulp/iser/iser_initiator.chMRhj%ubj)}(hhh]h)}(h!link to matching iscsi connectionh]h!link to matching iscsi connection}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hMRhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMRhj"ubj)}(h-``struct iscsi_task *task`` SCSI command taskh](j)}(h``struct iscsi_task *task``h]j )}(hjdh]hstruct iscsi_task *task}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhr/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:89: ./drivers/infiniband/ulp/iser/iser_initiator.chMThj^ubj)}(hhh]h)}(hSCSI command taskh]hSCSI command task}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhr/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:89: ./drivers/infiniband/ulp/iser/iser_initiator.chMShjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMThj"ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jiser_send_data_out (C function)c.iser_send_data_outhNtauh1jhjhhhhNhNubj)}(hhh](j)}(haint iser_send_data_out (struct iscsi_conn *conn, struct iscsi_task *task, struct iscsi_data *hdr)h]j")}(h`int iser_send_data_out(struct iscsi_conn *conn, struct iscsi_task *task, struct iscsi_data *hdr)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhr/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:89: ./drivers/infiniband/ulp/iser/iser_initiator.chMubj:)}(h h]h }(hjͪhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhj̪hMubj)}(hiser_send_data_outh]jN)}(hiser_send_data_outh]hiser_send_data_out}(hjߪhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj۪ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhj̪hMubj)}(hJ(struct iscsi_conn *conn, struct iscsi_task *task, struct iscsi_data *hdr)h](j)}(hstruct iscsi_conn *connh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h iscsi_connh]h iscsi_conn}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjsbc.iser_send_data_outasbuh1hhjubj:)}(h h]h }(hj9hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hconnh]hconn}(hjThhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct iscsi_task *taskh](j()}(hj+h]hstruct}(hjmhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjiubj:)}(h h]h }(hjzhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjiubh)}(hhh]jN)}(h iscsi_taskh]h iscsi_task}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j5c.iser_send_data_outasbuh1hhjiubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjiubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubjN)}(htaskh]htask}(hjīhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjiubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct iscsi_data *hdrh](j()}(hj+h]hstruct}(hjݫhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj٫ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj٫ubh)}(hhh]jN)}(h iscsi_datah]h iscsi_data}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j5c.iser_send_data_outasbuh1hhj٫ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj٫ubj)}(hjh]h*}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj٫ubjN)}(hhdrh]hhdr}(hj4hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj٫ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhj̪hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhj̪hMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhj̪hMhjhhubj)}(hhh]h)}(hsend data out PDUh]hsend data out PDU}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhr/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:89: ./drivers/infiniband/ulp/iser/iser_initiator.chMhj[hhubah}(h]h ]h"]h$]h&]uh1jhjhhhj̪hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjvjjvjjjuh1jhhhjhhNhNubj)}(h**Parameters** ``struct iscsi_conn *conn`` link to matching iscsi connection ``struct iscsi_task *task`` SCSI command task ``struct iscsi_data *hdr`` pointer to the LLD's iSCSI message headerh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hhr/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:89: ./drivers/infiniband/ulp/iser/iser_initiator.chMhjzubj)}(hhh](j)}(h>``struct iscsi_conn *conn`` link to matching iscsi connection h](j)}(h``struct iscsi_conn *conn``h]j )}(hjh]hstruct iscsi_conn *conn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhr/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:89: ./drivers/infiniband/ulp/iser/iser_initiator.chMhjubj)}(hhh]h)}(h!link to matching iscsi connectionh]h!link to matching iscsi connection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h.``struct iscsi_task *task`` SCSI command task h](j)}(h``struct iscsi_task *task``h]j )}(hjجh]hstruct iscsi_task *task}(hjڬhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֬ubah}(h]h ]h"]h$]h&]uh1jhr/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:89: ./drivers/infiniband/ulp/iser/iser_initiator.chMhjҬubj)}(hhh]h)}(hSCSI command taskh]hSCSI command task}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjҬubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hD``struct iscsi_data *hdr`` pointer to the LLD's iSCSI message headerh](j)}(h``struct iscsi_data *hdr``h]j )}(hjh]hstruct iscsi_data *hdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhr/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:89: ./drivers/infiniband/ulp/iser/iser_initiator.chMhj ubj)}(hhh]h)}(h)pointer to the LLD's iSCSI message headerh]h+pointer to the LLD’s iSCSI message header}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhr/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:89: ./drivers/infiniband/ulp/iser/iser_initiator.chMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubeh}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j$iser_alloc_fastreg_pool (C function)c.iser_alloc_fastreg_poolhNtauh1jhjhhhhNhNubj)}(hhh](j)}(h[int iser_alloc_fastreg_pool (struct ib_conn *ib_conn, unsigned cmds_max, unsigned int size)h]j")}(hZint iser_alloc_fastreg_pool(struct ib_conn *ib_conn, unsigned cmds_max, unsigned int size)h](j)}(hinth]hint}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjghhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chKubj:)}(h h]h }(hjzhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjghhhjyhKubj)}(hiser_alloc_fastreg_poolh]jN)}(hiser_alloc_fastreg_poolh]hiser_alloc_fastreg_pool}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjghhhjyhKubj)}(h?(struct ib_conn *ib_conn, unsigned cmds_max, unsigned int size)h](j)}(hstruct ib_conn *ib_connh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_connh]hib_conn}(hjƭhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjíubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjȭmodnameN classnameNjkjn)}jq]jt)}jgjsbc.iser_alloc_fastreg_poolasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hib_connh]hib_conn}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hunsigned cmds_maxh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hj(hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hcmds_maxh]hcmds_max}(hj6hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjKubj:)}(h h]h }(hj]hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjKubj)}(hinth]hint}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjKubj:)}(h h]h }(hjyhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjKubjN)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjKubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjghhhjyhKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjchhhjyhKubah}(h]j^ah ](jjeh"]h$]h&]jj)jhuh1jhjyhKhj`hhubj)}(hhh]h)}(hICreates pool of fast_reg descriptors for fast registration work requests.h]hICreates pool of fast_reg descriptors for fast registration work requests.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chKhjhhubah}(h]h ]h"]h$]h&]uh1jhj`hhhjyhKubeh}(h]h ](jefunctioneh"]h$]h&]jjejjɮjjɮjjjuh1jhhhjhhNhNubj)}(hX**Parameters** ``struct ib_conn *ib_conn`` connection RDMA resources ``unsigned cmds_max`` max number of SCSI commands for this connection ``unsigned int size`` max number of pages per map request **Return** 0 on success, or errno code on failureh](h)}(h**Parameters**h]j)}(hjӮh]h Parameters}(hjծhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѮubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chKhjͮubj)}(hhh](j)}(h6``struct ib_conn *ib_conn`` connection RDMA resources h](j)}(h``struct ib_conn *ib_conn``h]j )}(hjh]hstruct ib_conn *ib_conn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chKhjubj)}(hhh]h)}(hconnection RDMA resourcesh]hconnection RDMA resources}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hF``unsigned cmds_max`` max number of SCSI commands for this connection h](j)}(h``unsigned cmds_max``h]j )}(hj+h]hunsigned cmds_max}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chKhj%ubj)}(hhh]h)}(h/max number of SCSI commands for this connectionh]h/max number of SCSI commands for this connection}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hKhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hKhjubj)}(h:``unsigned int size`` max number of pages per map request h](j)}(h``unsigned int size``h]j )}(hjdh]hunsigned int size}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chKhj^ubj)}(hhh]h)}(h#max number of pages per map requesth]h#max number of pages per map request}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhKhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhKhjubeh}(h]h ]h"]h$]h&]uh1jhjͮubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chKhjͮubh)}(h&0 on success, or errno code on failureh]h&0 on success, or errno code on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chKhjͮubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j#iser_free_fastreg_pool (C function)c.iser_free_fastreg_poolhNtauh1jhjhhhhNhNubj)}(hhh](j)}(h5void iser_free_fastreg_pool (struct ib_conn *ib_conn)h]j")}(h4void iser_free_fastreg_pool(struct ib_conn *ib_conn)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chKubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhKubj)}(hiser_free_fastreg_poolh]jN)}(hiser_free_fastreg_poolh]hiser_free_fastreg_pool}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhKubj)}(h(struct ib_conn *ib_conn)h]j)}(hstruct ib_conn *ib_connh](j()}(hj+h]hstruct}(hj!hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj.hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_connh]hib_conn}(hj?hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj<ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjAmodnameN classnameNjkjn)}jq]jt)}jgjsbc.iser_free_fastreg_poolasbuh1hhjubj:)}(h h]h }(hj_hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hib_connh]hib_conn}(hjzhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubah}(h]h ]h"]h$]h&]jjuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjܯhhhjhKubah}(h]jׯah ](jjeh"]h$]h&]jj)jhuh1jhjhKhjٯhhubj)}(hhh]h)}(h)releases the pool of fast_reg descriptorsh]h)releases the pool of fast_reg descriptors}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chKhjhhubah}(h]h ]h"]h$]h&]uh1jhjٯhhhjhKubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhjhhNhNubj)}(hG**Parameters** ``struct ib_conn *ib_conn`` connection RDMA resourcesh](h)}(h**Parameters**h]j)}(hjưh]h Parameters}(hjȰhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjİubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chKhjubj)}(hhh]j)}(h5``struct ib_conn *ib_conn`` connection RDMA resourcesh](j)}(h``struct ib_conn *ib_conn``h]j )}(hjh]hstruct ib_conn *ib_conn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chKhj߰ubj)}(hhh]h)}(hconnection RDMA resourcesh]hconnection RDMA resources}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chKhjubah}(h]h ]h"]h$]h&]uh1jhj߰ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjܰubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"iser_free_ib_conn_res (C function)c.iser_free_ib_conn_reshNtauh1jhjhhhhNhNubj)}(hhh](j)}(hFvoid iser_free_ib_conn_res (struct iser_conn *iser_conn, bool destroy)h]j")}(hEvoid iser_free_ib_conn_res(struct iser_conn *iser_conn, bool destroy)h](j)}(hvoidh]hvoid}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj;hhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMjubj:)}(h h]h }(hjNhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj;hhhjMhMjubj)}(hiser_free_ib_conn_resh]jN)}(hiser_free_ib_conn_resh]hiser_free_ib_conn_res}(hj`hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj\ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj;hhhjMhMjubj)}(h+(struct iser_conn *iser_conn, bool destroy)h](j)}(hstruct iser_conn *iser_connh](j()}(hj+h]hstruct}(hj|hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjxubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjxubh)}(hhh]jN)}(h iser_connh]h iser_conn}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjbsbc.iser_free_ib_conn_resasbuh1hhjxubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjxubj)}(hjh]h*}(hjȱhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubjN)}(h iser_connh]h iser_conn}(hjձhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjxubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjtubj)}(h bool destroyh](j)}(hjjh]hbool}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hdestroyh]hdestroy}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjtubeh}(h]h ]h"]h$]h&]jjuh1jhj;hhhjMhMjubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj7hhhjMhMjubah}(h]j2ah ](jjeh"]h$]h&]jj)jhuh1jhjMhMjhj4hhubj)}(hhh]h)}(hrelease IB related resourcesh]hrelease IB related resources}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMjhj0hhubah}(h]h ]h"]h$]h&]uh1jhj4hhhjMhMjubeh}(h]h ](jefunctioneh"]h$]h&]jjejjKjjKjjjuh1jhhhjhhNhNubj)}(hX}**Parameters** ``struct iser_conn *iser_conn`` iser connection struct ``bool destroy`` indicator if we need to try to release the iser device and memory regoins pool (only iscsi shutdown and DEVICE_REMOVAL will use this). **Description** This routine is called with the iser state mutex held so the cm_id removal is out of here. It is Safe to be invoked multiple times.h](h)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMnhjOubj)}(hhh](j)}(h7``struct iser_conn *iser_conn`` iser connection struct h](j)}(h``struct iser_conn *iser_conn``h]j )}(hjth]hstruct iser_conn *iser_conn}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMkhjnubj)}(hhh]h)}(hiser connection structh]hiser connection struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjkubj)}(h``bool destroy`` indicator if we need to try to release the iser device and memory regoins pool (only iscsi shutdown and DEVICE_REMOVAL will use this). h](j)}(h``bool destroy``h]j )}(hjh]h bool destroy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMnhjubj)}(hhh]h)}(hindicator if we need to try to release the iser device and memory regoins pool (only iscsi shutdown and DEVICE_REMOVAL will use this).h]hindicator if we need to try to release the iser device and memory regoins pool (only iscsi shutdown and DEVICE_REMOVAL will use this).}(hjƲhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMlhjòubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj²hMnhjkubeh}(h]h ]h"]h$]h&]uh1jhjOubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMphjOubh)}(hThis routine is called with the iser state mutex held so the cm_id removal is out of here. It is Safe to be invoked multiple times.h]hThis routine is called with the iser state mutex held so the cm_id removal is out of here. It is Safe to be invoked multiple times.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMohjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jiser_conn_release (C function)c.iser_conn_releasehNtauh1jhjhhhhNhNubj)}(hhh](j)}(h4void iser_conn_release (struct iser_conn *iser_conn)h]j")}(h3void iser_conn_release(struct iser_conn *iser_conn)h](j)}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj*hhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMubj:)}(h h]h }(hj=hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj*hhhj<hMubj)}(hiser_conn_releaseh]jN)}(hiser_conn_releaseh]hiser_conn_release}(hjOhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjKubah}(h]h ](jjeh"]h$]h&]jjuh1jhj*hhhj<hMubj)}(h(struct iser_conn *iser_conn)h]j)}(hstruct iser_conn *iser_connh](j()}(hj+h]hstruct}(hjkhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjgubj:)}(h h]h }(hjxhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjgubh)}(hhh]jN)}(h iser_connh]h iser_conn}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjQsbc.iser_conn_releaseasbuh1hhjgubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjgubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubjN)}(h iser_connh]h iser_conn}(hjijhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjgubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjcubah}(h]h ]h"]h$]h&]jjuh1jhj*hhhj<hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj&hhhj<hMubah}(h]j!ah ](jjeh"]h$]h&]jj)jhuh1jhj<hMhj#hhubj)}(hhh]h)}(h3Frees all conn objects and deallocs conn descriptorh]h3Frees all conn objects and deallocs conn descriptor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhj#hhhj<hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhjhhNhNubj)}(hI**Parameters** ``struct iser_conn *iser_conn`` iSER connection contexth](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMhj ubj)}(hhh]j)}(h7``struct iser_conn *iser_conn`` iSER connection contexth](j)}(h``struct iser_conn *iser_conn``h]j )}(hj/h]hstruct iser_conn *iser_conn}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMhj)ubj)}(hhh]h)}(hiSER connection contexth]hiSER connection context}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j iser_conn_terminate (C function)c.iser_conn_terminatehNtauh1jhjhhhhNhNubj)}(hhh](j)}(h5int iser_conn_terminate (struct iser_conn *iser_conn)h]j")}(h4int iser_conn_terminate(struct iser_conn *iser_conn)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hiser_conn_terminateh]jN)}(hiser_conn_terminateh]hiser_conn_terminate}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(h(struct iser_conn *iser_conn)h]j)}(hstruct iser_conn *iser_connh](j()}(hj+h]hstruct}(hjƴhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj´ubj:)}(h h]h }(hjӴhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj´ubh)}(hhh]jN)}(h iser_connh]h iser_conn}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjsbc.iser_conn_terminateasbuh1hhj´ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj´ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj´ubjN)}(h iser_connh]h iser_conn}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj´ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubah}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]j|ah ](jjeh"]h$]h&]jj)jhuh1jhjhMhj~hhubj)}(hhh]h)}(hItriggers start of the disconnect procedures and waits for them to be doneh]hItriggers start of the disconnect procedures and waits for them to be done}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMhjFhhubah}(h]h ]h"]h$]h&]uh1jhj~hhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjajjajjjuh1jhhhjhhNhNubj)}(hx**Parameters** ``struct iser_conn *iser_conn`` iSER connection context **Description** Called with state mutex heldh](h)}(h**Parameters**h]j)}(hjkh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMhjeubj)}(hhh]j)}(h8``struct iser_conn *iser_conn`` iSER connection context h](j)}(h``struct iser_conn *iser_conn``h]j )}(hjh]hstruct iser_conn *iser_conn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMhjubj)}(hhh]h)}(hiSER connection contexth]hiSER connection context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubh)}(h**Description**h]j)}(hjŵh]h Description}(hjǵhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjõubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMhjeubh)}(hCalled with state mutex heldh]hCalled with state mutex held}(hj۵hhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jiser_post_send (C function)c.iser_post_sendhNtauh1jhjhhhhNhNubj)}(hhh](j)}(hJint iser_post_send (struct ib_conn *ib_conn, struct iser_tx_desc *tx_desc)h]j")}(hIint iser_post_send(struct ib_conn *ib_conn, struct iser_tx_desc *tx_desc)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMSubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMSubj)}(hiser_post_sendh]jN)}(hiser_post_sendh]hiser_post_send}(hj+hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj'ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMSubj)}(h7(struct ib_conn *ib_conn, struct iser_tx_desc *tx_desc)h](j)}(hstruct ib_conn *ib_connh](j()}(hj+h]hstruct}(hjGhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjCubj:)}(h h]h }(hjThhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjCubh)}(hhh]jN)}(hib_connh]hib_conn}(hjehhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjbubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjgmodnameN classnameNjkjn)}jq]jt)}jgj-sbc.iser_post_sendasbuh1hhjCubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjCubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubjN)}(hib_connh]hib_conn}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjCubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj?ubj)}(hstruct iser_tx_desc *tx_desch](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjƶhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h iser_tx_desch]h iser_tx_desc}(hj׶hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjԶubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjٶmodnameN classnameNjkjn)}jq]jc.iser_post_sendasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(htx_desch]htx_desc}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj?ubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMSubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMSubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMShjhhubj)}(hhh]h)}(hInitiate a Send DTO operationh]hInitiate a Send DTO operation}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMShj7hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMSubeh}(h]h ](jefunctioneh"]h$]h&]jjejjRjjRjjjuh1jhhhjhhNhNubj)}(h**Parameters** ``struct ib_conn *ib_conn`` connection RDMA resources ``struct iser_tx_desc *tx_desc`` iSER TX descriptor **Return** 0 on success, -1 on failureh](h)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMWhjVubj)}(hhh](j)}(h6``struct ib_conn *ib_conn`` connection RDMA resources h](j)}(h``struct ib_conn *ib_conn``h]j )}(hj{h]hstruct ib_conn *ib_conn}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMThjuubj)}(hhh]h)}(hconnection RDMA resourcesh]hconnection RDMA resources}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMThjrubj)}(h4``struct iser_tx_desc *tx_desc`` iSER TX descriptor h](j)}(h ``struct iser_tx_desc *tx_desc``h]j )}(hjh]hstruct iser_tx_desc *tx_desc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMUhjubj)}(hhh]h)}(hiSER TX descriptorh]hiSER TX descriptor}(hjͷhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjɷhMUhjʷubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɷhMUhjrubeh}(h]h ]h"]h$]h&]uh1jhjVubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMWhjVubh)}(h0 on success, -1 on failureh]h0 on success, -1 on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:92: ./drivers/infiniband/ulp/iser/iser_verbs.chMWhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhhNhNubeh}(h]iscsi-extensions-for-rdma-iserah ]h"] iscsi extensions for rdma (iser)ah$]h&]uh1hhjnhhhhhhKJubh)}(hhh](h)}(h,InfiniBand SCSI RDMA protocol target supporth]h,InfiniBand SCSI RDMA protocol target support}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hhhhhK`ubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_command_state (C enum)c.srpt_command_statehNtauh1jhj#hhhNhNubj)}(hhh](j)}(hsrpt_command_stateh]j")}(henum srpt_command_stateh](j()}(hj%h]henum}(hjMhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjIhhhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKubj:)}(h h]h }(hj[hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjIhhhjZhKubj)}(hsrpt_command_stateh]jN)}(hjGh]hsrpt_command_state}(hjmhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjiubah}(h]h ](jjeh"]h$]h&]jjuh1jhjIhhhjZhKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjEhhhjZhKubah}(h]j@ah ](jjeh"]h$]h&]jj)jhuh1jhjZhKhjBhhubj)}(hhh]h)}(h"SCSI command state managed by SRPTh]h"SCSI command state managed by SRPT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jhjBhhhjZhKubeh}(h]h ](jeenumeh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(hXb**Constants** ``SRPT_STATE_NEW`` New command arrived and is being processed. ``SRPT_STATE_NEED_DATA`` Processing a write or bidir command and waiting for data arrival. ``SRPT_STATE_DATA_IN`` Data for the write or bidir command arrived and is being processed. ``SRPT_STATE_CMD_RSP_SENT`` SRP_RSP for SRP_CMD has been sent. ``SRPT_STATE_MGMT`` Processing a SCSI task management command. ``SRPT_STATE_MGMT_RSP_SENT`` SRP_RSP for SRP_TSK_MGMT has been sent. ``SRPT_STATE_DONE`` Command processing finished successfully, command processing has been aborted or command processing failed.h](h)}(h **Constants**h]j)}(hjh]h Constants}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh](j)}(h?``SRPT_STATE_NEW`` New command arrived and is being processed. h](j)}(h``SRPT_STATE_NEW``h]j )}(hjиh]hSRPT_STATE_NEW}(hjҸhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjθubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjʸubj)}(hhh]h)}(h+New command arrived and is being processed.h]h+New command arrived and is being processed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjʸubeh}(h]h ]h"]h$]h&]uh1jhjhKhjǸubj)}(h[``SRPT_STATE_NEED_DATA`` Processing a write or bidir command and waiting for data arrival. h](j)}(h``SRPT_STATE_NEED_DATA``h]j )}(hj h]hSRPT_STATE_NEED_DATA}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh]h)}(hAProcessing a write or bidir command and waiting for data arrival.h]hAProcessing a write or bidir command and waiting for data arrival.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjǸubj)}(h[``SRPT_STATE_DATA_IN`` Data for the write or bidir command arrived and is being processed. h](j)}(h``SRPT_STATE_DATA_IN``h]j )}(hjCh]hSRPT_STATE_DATA_IN}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhj=ubj)}(hhh]h)}(hCData for the write or bidir command arrived and is being processed.h]hCData for the write or bidir command arrived and is being processed.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhKhjǸubj)}(h?``SRPT_STATE_CMD_RSP_SENT`` SRP_RSP for SRP_CMD has been sent. h](j)}(h``SRPT_STATE_CMD_RSP_SENT``h]j )}(hj}h]hSRPT_STATE_CMD_RSP_SENT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjwubj)}(hhh]h)}(h"SRP_RSP for SRP_CMD has been sent.h]h"SRP_RSP for SRP_CMD has been sent.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhKhjǸubj)}(h?``SRPT_STATE_MGMT`` Processing a SCSI task management command. h](j)}(h``SRPT_STATE_MGMT``h]j )}(hjh]hSRPT_STATE_MGMT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh]h)}(h*Processing a SCSI task management command.h]h*Processing a SCSI task management command.}(hjϹhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj˹hKhj̹ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˹hKhjǸubj)}(hE``SRPT_STATE_MGMT_RSP_SENT`` SRP_RSP for SRP_TSK_MGMT has been sent. h](j)}(h``SRPT_STATE_MGMT_RSP_SENT``h]j )}(hjh]hSRPT_STATE_MGMT_RSP_SENT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh]h)}(h'SRP_RSP for SRP_TSK_MGMT has been sent.h]h'SRP_RSP for SRP_TSK_MGMT has been sent.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjǸubj)}(h``SRPT_STATE_DONE`` Command processing finished successfully, command processing has been aborted or command processing failed.h](j)}(h``SRPT_STATE_DONE``h]j )}(hj(h]hSRPT_STATE_DONE}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhj"ubj)}(hhh]h)}(hkCommand processing finished successfully, command processing has been aborted or command processing failed.h]hkCommand processing finished successfully, command processing has been aborted or command processing failed.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hKhjǸubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_ioctx (C struct) c.srpt_ioctxhNtauh1jhj#hhhNhNubj)}(hhh](j)}(h srpt_ioctxh]j")}(hstruct srpt_ioctxh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj~hhhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj~hhhjhKubj)}(h srpt_ioctxh]jN)}(hj|h]h srpt_ioctx}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhj~hhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjzhhhjhKubah}(h]juah ](jjeh"]h$]h&]jj)jhuh1jhjhKhjwhhubj)}(hhh]h)}(h#shared SRPT I/O context informationh]h#shared SRPT I/O context information}(hjĺhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jhjwhhhjhKubeh}(h]h ](jestructeh"]h$]h&]jjejjܺjjܺjjjuh1jhhhj#hNhNubj)}(hX**Definition**:: struct srpt_ioctx { struct ib_cqe cqe; void *buf; dma_addr_t dma; uint32_t offset; uint32_t index; }; **Members** ``cqe`` Completion queue element. ``buf`` Pointer to the buffer. ``dma`` DMA address of the buffer. ``offset`` Offset of the first byte in **buf** and **dma** that is actually used. ``index`` Index of the I/O context in its ioctx_ring array.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)i)}(hstruct srpt_ioctx { struct ib_cqe cqe; void *buf; dma_addr_t dma; uint32_t offset; uint32_t index; };h]hstruct srpt_ioctx { struct ib_cqe cqe; void *buf; dma_addr_t dma; uint32_t offset; uint32_t index; };}hjsbah}(h]h ]h"]h$]h&]jjuh1j(ihk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh](j)}(h"``cqe`` Completion queue element. h](j)}(h``cqe``h]j )}(hj1h]hcqe}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhj+ubj)}(hhh]h)}(hCompletion queue element.h]hCompletion queue element.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhKhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhKhj(ubj)}(h``buf`` Pointer to the buffer. h](j)}(h``buf``h]j )}(hjjh]hbuf}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjdubj)}(hhh]h)}(hPointer to the buffer.h]hPointer to the buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhKhj(ubj)}(h#``dma`` DMA address of the buffer. h](j)}(h``dma``h]j )}(hjh]hdma}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh]h)}(hDMA address of the buffer.h]hDMA address of the buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj(ubj)}(hR``offset`` Offset of the first byte in **buf** and **dma** that is actually used. h](j)}(h ``offset``h]j )}(hjܻh]hoffset}(hj޻hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڻubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjֻubj)}(hhh]h)}(hFOffset of the first byte in **buf** and **dma** that is actually used.h](hOffset of the first byte in }(hjhhhNhNubj)}(h**buf**h]hbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**dma**h]hdma}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh that is actually used.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjֻubeh}(h]h ]h"]h$]h&]uh1jhjhKhj(ubj)}(h;``index`` Index of the I/O context in its ioctx_ring array.h](j)}(h ``index``h]j )}(hj9h]hindex}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhj3ubj)}(hhh]h)}(h1Index of the I/O context in its ioctx_ring array.h]h1Index of the I/O context in its ioctx_ring array.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhKhj(ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_recv_ioctx (C struct)c.srpt_recv_ioctxhNtauh1jhj#hhhNhNubj)}(hhh](j)}(hsrpt_recv_ioctxh]j")}(hstruct srpt_recv_ioctxh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhKubj)}(hsrpt_recv_ioctxh]jN)}(hjh]hsrpt_recv_ioctx}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhKhjhhubj)}(hhh]h)}(hSRPT receive I/O contexth]hSRPT receive I/O context}(hjռhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjҼhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jestructeh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(hX-**Definition**:: struct srpt_recv_ioctx { struct srpt_ioctx ioctx; struct list_head wait_list; int byte_len; }; **Members** ``ioctx`` See above. ``wait_list`` Node for insertion in srpt_rdma_ch.cmd_wait_list. ``byte_len`` Number of bytes in **ioctx.buf**.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)i)}(hwstruct srpt_recv_ioctx { struct srpt_ioctx ioctx; struct list_head wait_list; int byte_len; };h]hwstruct srpt_recv_ioctx { struct srpt_ioctx ioctx; struct list_head wait_list; int byte_len; };}hjsbah}(h]h ]h"]h$]h&]jjuh1j(ihk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubh)}(h **Members**h]j)}(hj#h]hMembers}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh](j)}(h``ioctx`` See above. h](j)}(h ``ioctx``h]j )}(hjBh]hioctx}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhj<ubj)}(hhh]h)}(h See above.h]h See above.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhKhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhKhj9ubj)}(h@``wait_list`` Node for insertion in srpt_rdma_ch.cmd_wait_list. h](j)}(h ``wait_list``h]j )}(hj{h]h wait_list}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjuubj)}(hhh]h)}(h1Node for insertion in srpt_rdma_ch.cmd_wait_list.h]h1Node for insertion in srpt_rdma_ch.cmd_wait_list.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhKhj9ubj)}(h.``byte_len`` Number of bytes in **ioctx.buf**.h](j)}(h ``byte_len``h]j )}(hjh]hbyte_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh]h)}(h!Number of bytes in **ioctx.buf**.h](hNumber of bytes in }(hjͽhhhNhNubj)}(h **ioctx.buf**h]h ioctx.buf}(hjսhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjͽubh.}(hjͽhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjʽubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɽhKhj9ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_send_ioctx (C struct)c.srpt_send_ioctxhNtauh1jhj#hhhNhNubj)}(hhh](j)}(hsrpt_send_ioctxh]j")}(hstruct srpt_send_ioctxh](j()}(hj+h]hstruct}(hj hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKubj:)}(h h]h }(hj.hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhj-hKubj)}(hsrpt_send_ioctxh]jN)}(hjh]hsrpt_send_ioctx}(hj@hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj<ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhj-hKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhj-hKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhj-hKhjhhubj)}(hhh]h)}(hSRPT send I/O contexth]hSRPT send I/O context}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhj_hhubah}(h]h ]h"]h$]h&]uh1jhjhhhj-hKubeh}(h]h ](jestructeh"]h$]h&]jjejjzjjzjjjuh1jhhhj#hNhNubj)}(hX**Definition**:: struct srpt_send_ioctx { struct srpt_ioctx ioctx; struct srpt_rdma_ch *ch; struct srpt_recv_ioctx *recv_ioctx; struct srpt_rw_ctx s_rw_ctx; struct srpt_rw_ctx *rw_ctxs; struct scatterlist imm_sg; struct ib_cqe rdma_cqe; enum srpt_command_state state; struct se_cmd cmd; u8 n_rdma; u8 n_rw_ctx; bool queue_status_only; u8 sense_data[TRANSPORT_SENSE_BUFFER]; }; **Members** ``ioctx`` See above. ``ch`` Channel pointer. ``recv_ioctx`` Receive I/O context associated with this send I/O context. Only used for processing immediate data. ``s_rw_ctx`` **rw_ctxs** points here if only a single rw_ctx is needed. ``rw_ctxs`` RDMA read/write contexts. ``imm_sg`` Scatterlist for immediate data. ``rdma_cqe`` RDMA completion queue element. ``state`` I/O context state. ``cmd`` Target core command data structure. ``n_rdma`` Number of work requests needed to transfer this ioctx. ``n_rw_ctx`` Size of rw_ctxs array. ``queue_status_only`` Send a SCSI status back to the initiator but no data. ``sense_data`` Sense data to be sent to the initiator.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhj~ubj)i)}(hXstruct srpt_send_ioctx { struct srpt_ioctx ioctx; struct srpt_rdma_ch *ch; struct srpt_recv_ioctx *recv_ioctx; struct srpt_rw_ctx s_rw_ctx; struct srpt_rw_ctx *rw_ctxs; struct scatterlist imm_sg; struct ib_cqe rdma_cqe; enum srpt_command_state state; struct se_cmd cmd; u8 n_rdma; u8 n_rw_ctx; bool queue_status_only; u8 sense_data[TRANSPORT_SENSE_BUFFER]; };h]hXstruct srpt_send_ioctx { struct srpt_ioctx ioctx; struct srpt_rdma_ch *ch; struct srpt_recv_ioctx *recv_ioctx; struct srpt_rw_ctx s_rw_ctx; struct srpt_rw_ctx *rw_ctxs; struct scatterlist imm_sg; struct ib_cqe rdma_cqe; enum srpt_command_state state; struct se_cmd cmd; u8 n_rdma; u8 n_rw_ctx; bool queue_status_only; u8 sense_data[TRANSPORT_SENSE_BUFFER]; };}hjsbah}(h]h ]h"]h$]h&]jjuh1j(ihk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhj~ubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhj~ubj)}(hhh](j)}(h``ioctx`` See above. h](j)}(h ``ioctx``h]j )}(hjϾh]hioctx}(hjѾhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjɾubj)}(hhh]h)}(h See above.h]h See above.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjɾubeh}(h]h ]h"]h$]h&]uh1jhjhKhjƾubj)}(h``ch`` Channel pointer. h](j)}(h``ch``h]j )}(hjh]hch}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh]h)}(hChannel pointer.h]hChannel pointer.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjƾubj)}(hs``recv_ioctx`` Receive I/O context associated with this send I/O context. Only used for processing immediate data. h](j)}(h``recv_ioctx``h]j )}(hjAh]h recv_ioctx}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhj;ubj)}(hhh]h)}(hcReceive I/O context associated with this send I/O context. Only used for processing immediate data.h]hcReceive I/O context associated with this send I/O context. Only used for processing immediate data.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhKhjƾubj)}(hH``s_rw_ctx`` **rw_ctxs** points here if only a single rw_ctx is needed. h](j)}(h ``s_rw_ctx``h]j )}(hj{h]hs_rw_ctx}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjuubj)}(hhh]h)}(h:**rw_ctxs** points here if only a single rw_ctx is needed.h](j)}(h **rw_ctxs**h]hrw_ctxs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ points here if only a single rw_ctx is needed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhKhjƾubj)}(h&``rw_ctxs`` RDMA read/write contexts. h](j)}(h ``rw_ctxs``h]j )}(hj¿h]hrw_ctxs}(hjĿhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh]h)}(hRDMA read/write contexts.h]hRDMA read/write contexts.}(hjۿhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj׿hKhjؿubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj׿hKhjƾubj)}(h+``imm_sg`` Scatterlist for immediate data. h](j)}(h ``imm_sg``h]j )}(hjh]himm_sg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh]h)}(hScatterlist for immediate data.h]hScatterlist for immediate data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjƾubj)}(h,``rdma_cqe`` RDMA completion queue element. h](j)}(h ``rdma_cqe``h]j )}(hj4h]hrdma_cqe}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhj.ubj)}(hhh]h)}(hRDMA completion queue element.h]hRDMA completion queue element.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhKhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhKhjƾubj)}(h``state`` I/O context state. h](j)}(h ``state``h]j )}(hjmh]hstate}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjgubj)}(hhh]h)}(hI/O context state.h]hI/O context state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhKhjƾubj)}(h,``cmd`` Target core command data structure. h](j)}(h``cmd``h]j )}(hjh]hcmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh]h)}(h#Target core command data structure.h]h#Target core command data structure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjƾubj)}(hB``n_rdma`` Number of work requests needed to transfer this ioctx. h](j)}(h ``n_rdma``h]j )}(hjh]hn_rdma}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh]h)}(h6Number of work requests needed to transfer this ioctx.h]h6Number of work requests needed to transfer this ioctx.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjƾubj)}(h$``n_rw_ctx`` Size of rw_ctxs array. h](j)}(h ``n_rw_ctx``h]j )}(hjh]hn_rw_ctx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh]h)}(hSize of rw_ctxs array.h]hSize of rw_ctxs array.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hKhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hKhjƾubj)}(hL``queue_status_only`` Send a SCSI status back to the initiator but no data. h](j)}(h``queue_status_only``h]j )}(hjQh]hqueue_status_only}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjKubj)}(hhh]h)}(h5Send a SCSI status back to the initiator but no data.h]h5Send a SCSI status back to the initiator but no data.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhKhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhKhjƾubj)}(h6``sense_data`` Sense data to be sent to the initiator.h](j)}(h``sense_data``h]j )}(hjh]h sense_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh]h)}(h'Sense data to be sent to the initiator.h]h'Sense data to be sent to the initiator.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjƾubeh}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jrdma_ch_state (C enum)c.rdma_ch_statehNtauh1jhj#hhhNhNubj)}(hhh](j)}(h rdma_ch_stateh]j")}(henum rdma_ch_stateh](j()}(hj%h]henum}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhKubj)}(h rdma_ch_stateh]jN)}(hjh]h rdma_ch_state}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhKhjhhubj)}(hhh]h)}(hSRP channel stateh]hSRP channel state}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhj#hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jeenumeh"]h$]h&]jjejj>jj>jjjuh1jhhhj#hNhNubj)}(hXr**Constants** ``CH_CONNECTING`` QP is in RTR state; waiting for RTU. ``CH_LIVE`` QP is in RTS state. ``CH_DISCONNECTING`` DREQ has been sent and waiting for DREP or DREQ has been received. ``CH_DRAINING`` DREP has been received or waiting for DREP timed out and last work request has been queued. ``CH_DISCONNECTED`` Last completion has been received.h](h)}(h **Constants**h]j)}(hjHh]h Constants}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjBubj)}(hhh](j)}(h7``CH_CONNECTING`` QP is in RTR state; waiting for RTU. h](j)}(h``CH_CONNECTING``h]j )}(hjgh]h CH_CONNECTING}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjaubj)}(hhh]h)}(h$QP is in RTR state; waiting for RTU.h]h$QP is in RTR state; waiting for RTU.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hKhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hKhj^ubj)}(h ``CH_LIVE`` QP is in RTS state. h](j)}(h ``CH_LIVE``h]j )}(hjh]hCH_LIVE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh]h)}(hQP is in RTS state.h]hQP is in RTS state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj^ubj)}(hX``CH_DISCONNECTING`` DREQ has been sent and waiting for DREP or DREQ has been received. h](j)}(h``CH_DISCONNECTING``h]j )}(hjh]hCH_DISCONNECTING}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh]h)}(hBDREQ has been sent and waiting for DREP or DREQ has been received.h]hBDREQ has been sent and waiting for DREP or DREQ has been received.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj^ubj)}(hl``CH_DRAINING`` DREP has been received or waiting for DREP timed out and last work request has been queued. h](j)}(h``CH_DRAINING``h]j )}(hjh]h CH_DRAINING}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhj ubj)}(hhh]h)}(h[DREP has been received or waiting for DREP timed out and last work request has been queued.h]h[DREP has been received or waiting for DREP timed out and last work request has been queued.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hKhj^ubj)}(h6``CH_DISCONNECTED`` Last completion has been received.h](j)}(h``CH_DISCONNECTED``h]j )}(hjMh]hCH_DISCONNECTED}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjGubj)}(hhh]h)}(h"Last completion has been received.h]h"Last completion has been received.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhKhj^ubeh}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_rdma_ch (C struct)c.srpt_rdma_chhNtauh1jhj#hhhNhNubj)}(hhh](j)}(h srpt_rdma_chh]j")}(hstruct srpt_rdma_chh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(h srpt_rdma_chh]jN)}(hjh]h srpt_rdma_ch}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h RDMA channelh]h RDMA channel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jestructeh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(hXL **Definition**:: struct srpt_rdma_ch { struct srpt_nexus *nexus; struct ib_qp *qp; union { struct { struct ib_cm_id *cm_id; } ib_cm; struct { struct rdma_cm_id *cm_id; } rdma_cm; }; struct ib_cq *cq; u32 cq_size; struct ib_cqe zw_cqe; struct rcu_head rcu; struct kref kref; struct completion *closed; int rq_size; u32 max_rsp_size; atomic_t sq_wr_avail; struct srpt_port *sport; int max_ti_iu_len; atomic_t req_lim; atomic_t req_lim_delta; u16 imm_data_offset; spinlock_t spinlock; enum rdma_ch_state state; struct kmem_cache *rsp_buf_cache; struct srpt_send_ioctx **ioctx_ring; struct kmem_cache *req_buf_cache; struct srpt_recv_ioctx **ioctx_recv_ring; struct list_head list; struct list_head cmd_wait_list; uint16_t pkey; bool using_rdma_cm; bool processing_wait_list; struct se_session *sess; u8 sess_name[40]; struct work_struct release_work; }; **Members** ``nexus`` I_T nexus this channel is associated with. ``qp`` IB queue pair used for communicating over this channel. ``{unnamed_union}`` anonymous ``ib_cm`` See below. ``ib_cm.cm_id`` IB CM ID associated with the channel. ``rdma_cm`` See below. ``rdma_cm.cm_id`` RDMA CM ID associated with the channel. ``cq`` IB completion queue for this channel. ``cq_size`` Number of CQEs in **cq**. ``zw_cqe`` Zero-length write CQE. ``rcu`` RCU head. ``kref`` kref for this channel. ``closed`` Completion object that will be signaled as soon as a new channel object with the same identity can be created. ``rq_size`` IB receive queue size. ``max_rsp_size`` Maximum size of an RSP response message in bytes. ``sq_wr_avail`` number of work requests available in the send queue. ``sport`` pointer to the information of the HCA port used by this channel. ``max_ti_iu_len`` maximum target-to-initiator information unit length. ``req_lim`` request limit: maximum number of requests that may be sent by the initiator without having received a response. ``req_lim_delta`` Number of credits not yet sent back to the initiator. ``imm_data_offset`` Offset from start of SRP_CMD for immediate data. ``spinlock`` Protects free_list and state. ``state`` channel state. See also enum rdma_ch_state. ``rsp_buf_cache`` kmem_cache for **ioctx_ring**. ``ioctx_ring`` Send ring. ``req_buf_cache`` kmem_cache for **ioctx_recv_ring**. ``ioctx_recv_ring`` Receive I/O context ring. ``list`` Node in srpt_nexus.ch_list. ``cmd_wait_list`` List of SCSI commands that arrived before the RTU event. This list contains struct srpt_ioctx elements and is protected against concurrent modification by the cm_id spinlock. ``pkey`` P_Key of the IB partition for this SRP channel. ``using_rdma_cm`` Whether the RDMA/CM or IB/CM is used for this channel. ``processing_wait_list`` Whether or not cmd_wait_list is being processed. ``sess`` Session information associated with this SRP channel. ``sess_name`` Session name. ``release_work`` Allows scheduling of srpt_release_channel().h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh:}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)i)}(hXzstruct srpt_rdma_ch { struct srpt_nexus *nexus; struct ib_qp *qp; union { struct { struct ib_cm_id *cm_id; } ib_cm; struct { struct rdma_cm_id *cm_id; } rdma_cm; }; struct ib_cq *cq; u32 cq_size; struct ib_cqe zw_cqe; struct rcu_head rcu; struct kref kref; struct completion *closed; int rq_size; u32 max_rsp_size; atomic_t sq_wr_avail; struct srpt_port *sport; int max_ti_iu_len; atomic_t req_lim; atomic_t req_lim_delta; u16 imm_data_offset; spinlock_t spinlock; enum rdma_ch_state state; struct kmem_cache *rsp_buf_cache; struct srpt_send_ioctx **ioctx_ring; struct kmem_cache *req_buf_cache; struct srpt_recv_ioctx **ioctx_recv_ring; struct list_head list; struct list_head cmd_wait_list; uint16_t pkey; bool using_rdma_cm; bool processing_wait_list; struct se_session *sess; u8 sess_name[40]; struct work_struct release_work; };h]hXzstruct srpt_rdma_ch { struct srpt_nexus *nexus; struct ib_qp *qp; union { struct { struct ib_cm_id *cm_id; } ib_cm; struct { struct rdma_cm_id *cm_id; } rdma_cm; }; struct ib_cq *cq; u32 cq_size; struct ib_cqe zw_cqe; struct rcu_head rcu; struct kref kref; struct completion *closed; int rq_size; u32 max_rsp_size; atomic_t sq_wr_avail; struct srpt_port *sport; int max_ti_iu_len; atomic_t req_lim; atomic_t req_lim_delta; u16 imm_data_offset; spinlock_t spinlock; enum rdma_ch_state state; struct kmem_cache *rsp_buf_cache; struct srpt_send_ioctx **ioctx_ring; struct kmem_cache *req_buf_cache; struct srpt_recv_ioctx **ioctx_recv_ring; struct list_head list; struct list_head cmd_wait_list; uint16_t pkey; bool using_rdma_cm; bool processing_wait_list; struct se_session *sess; u8 sess_name[40]; struct work_struct release_work; };}hj&sbah}(h]h ]h"]h$]h&]jjuh1j(ihk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubh)}(h **Members**h]j)}(hj7h]hMembers}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM*hjubj)}(hhh](j)}(h5``nexus`` I_T nexus this channel is associated with. h](j)}(h ``nexus``h]j )}(hjVh]hnexus}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjPubj)}(hhh]h)}(h*I_T nexus this channel is associated with.h]h*I_T nexus this channel is associated with.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhKhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhKhjMubj)}(h?``qp`` IB queue pair used for communicating over this channel. h](j)}(h``qp``h]j )}(hjh]hqp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh]h)}(h7IB queue pair used for communicating over this channel.h]h7IB queue pair used for communicating over this channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjMubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j )}(hjh]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh]h)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjMubj)}(h``ib_cm`` See below. h](j)}(h ``ib_cm``h]j )}(hjh]hib_cm}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhKhjubj)}(hhh]h)}(h See below.h]h See below.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjMubj)}(h6``ib_cm.cm_id`` IB CM ID associated with the channel. h](j)}(h``ib_cm.cm_id``h]j )}(hj:h]h ib_cm.cm_id}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhj4ubj)}(hhh]h)}(h%IB CM ID associated with the channel.h]h%IB CM ID associated with the channel.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjMubj)}(h``rdma_cm`` See below. h](j)}(h ``rdma_cm``h]j )}(hjsh]hrdma_cm}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjmubj)}(hhh]h)}(h See below.h]h See below.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(h:``rdma_cm.cm_id`` RDMA CM ID associated with the channel. h](j)}(h``rdma_cm.cm_id``h]j )}(hjh]h rdma_cm.cm_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(h'RDMA CM ID associated with the channel.h]h'RDMA CM ID associated with the channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(h-``cq`` IB completion queue for this channel. h](j)}(h``cq``h]j )}(hjh]hcq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(h%IB completion queue for this channel.h]h%IB completion queue for this channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(h&``cq_size`` Number of CQEs in **cq**. h](j)}(h ``cq_size``h]j )}(hjh]hcq_size}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(hNumber of CQEs in **cq**.h](hNumber of CQEs in }(hj7hhhNhNubj)}(h**cq**h]hcq}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjMubj)}(h"``zw_cqe`` Zero-length write CQE. h](j)}(h ``zw_cqe``h]j )}(hjih]hzw_cqe}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjcubj)}(hhh]h)}(hZero-length write CQE.h]hZero-length write CQE.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjMubj)}(h``rcu`` RCU head. h](j)}(h``rcu``h]j )}(hjh]hrcu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(h RCU head.h]h RCU head.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(h ``kref`` kref for this channel. h](j)}(h``kref``h]j )}(hjh]hkref}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(hkref for this channel.h]hkref for this channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(hz``closed`` Completion object that will be signaled as soon as a new channel object with the same identity can be created. h](j)}(h ``closed``h]j )}(hjh]hclosed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM hjubj)}(hhh]h)}(hnCompletion object that will be signaled as soon as a new channel object with the same identity can be created.h]hnCompletion object that will be signaled as soon as a new channel object with the same identity can be created.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hM hjMubj)}(h#``rq_size`` IB receive queue size. h](j)}(h ``rq_size``h]j )}(hjNh]hrq_size}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM hjHubj)}(hhh]h)}(hIB receive queue size.h]hIB receive queue size.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchM hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM hjMubj)}(hC``max_rsp_size`` Maximum size of an RSP response message in bytes. h](j)}(h``max_rsp_size``h]j )}(hjh]h max_rsp_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM hjubj)}(hhh]h)}(h1Maximum size of an RSP response message in bytes.h]h1Maximum size of an RSP response message in bytes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjMubj)}(hE``sq_wr_avail`` number of work requests available in the send queue. h](j)}(h``sq_wr_avail``h]j )}(hjh]h sq_wr_avail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM hjubj)}(hhh]h)}(h4number of work requests available in the send queue.h]h4number of work requests available in the send queue.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjMubj)}(hK``sport`` pointer to the information of the HCA port used by this channel. h](j)}(h ``sport``h]j )}(hjh]hsport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(h@pointer to the information of the HCA port used by this channel.h]h@pointer to the information of the HCA port used by this channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(hG``max_ti_iu_len`` maximum target-to-initiator information unit length. h](j)}(h``max_ti_iu_len``h]j )}(hj3h]h max_ti_iu_len}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhj-ubj)}(hhh]h)}(h4maximum target-to-initiator information unit length.h]h4maximum target-to-initiator information unit length.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjMubj)}(h|``req_lim`` request limit: maximum number of requests that may be sent by the initiator without having received a response. h](j)}(h ``req_lim``h]j )}(hjlh]hreq_lim}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjfubj)}(hhh]h)}(horequest limit: maximum number of requests that may be sent by the initiator without having received a response.h]horequest limit: maximum number of requests that may be sent by the initiator without having received a response.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(hH``req_lim_delta`` Number of credits not yet sent back to the initiator. h](j)}(h``req_lim_delta``h]j )}(hjh]h req_lim_delta}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(h5Number of credits not yet sent back to the initiator.h]h5Number of credits not yet sent back to the initiator.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(hE``imm_data_offset`` Offset from start of SRP_CMD for immediate data. h](j)}(h``imm_data_offset``h]j )}(hjh]himm_data_offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(h0Offset from start of SRP_CMD for immediate data.h]h0Offset from start of SRP_CMD for immediate data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(h+``spinlock`` Protects free_list and state. h](j)}(h ``spinlock``h]j )}(hjh]hspinlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(hProtects free_list and state.h]hProtects free_list and state.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjMubj)}(h6``state`` channel state. See also enum rdma_ch_state. h](j)}(h ``state``h]j )}(hjQh]hstate}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjKubj)}(hhh]h)}(h+channel state. See also enum rdma_ch_state.h]h+channel state. See also enum rdma_ch_state.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjMubj)}(h1``rsp_buf_cache`` kmem_cache for **ioctx_ring**. h](j)}(h``rsp_buf_cache``h]j )}(hjh]h rsp_buf_cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(hkmem_cache for **ioctx_ring**.h](hkmem_cache for }(hjhhhNhNubj)}(h**ioctx_ring**h]h ioctx_ring}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(h``ioctx_ring`` Send ring. h](j)}(h``ioctx_ring``h]j )}(hjh]h ioctx_ring}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(h Send ring.h]h Send ring.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(h6``req_buf_cache`` kmem_cache for **ioctx_recv_ring**. h](j)}(h``req_buf_cache``h]j )}(hjh]h req_buf_cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(h#kmem_cache for **ioctx_recv_ring**.h](hkmem_cache for }(hj'hhhNhNubj)}(h**ioctx_recv_ring**h]hioctx_recv_ring}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh.}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj#hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjMubj)}(h.``ioctx_recv_ring`` Receive I/O context ring. h](j)}(h``ioctx_recv_ring``h]j )}(hjYh]hioctx_recv_ring}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjSubj)}(hhh]h)}(hReceive I/O context ring.h]hReceive I/O context ring.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjMubj)}(h%``list`` Node in srpt_nexus.ch_list. h](j)}(h``list``h]j )}(hjh]hlist}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(hNode in srpt_nexus.ch_list.h]hNode in srpt_nexus.ch_list.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(h``cmd_wait_list`` List of SCSI commands that arrived before the RTU event. This list contains struct srpt_ioctx elements and is protected against concurrent modification by the cm_id spinlock. h](j)}(h``cmd_wait_list``h]j )}(hjh]h cmd_wait_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(hList of SCSI commands that arrived before the RTU event. This list contains struct srpt_ioctx elements and is protected against concurrent modification by the cm_id spinlock.h]hList of SCSI commands that arrived before the RTU event. This list contains struct srpt_ioctx elements and is protected against concurrent modification by the cm_id spinlock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(h9``pkey`` P_Key of the IB partition for this SRP channel. h](j)}(h``pkey``h]j )}(hjh]hpkey}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM hjubj)}(hhh]h)}(h/P_Key of the IB partition for this SRP channel.h]h/P_Key of the IB partition for this SRP channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjMubj)}(hI``using_rdma_cm`` Whether the RDMA/CM or IB/CM is used for this channel. h](j)}(h``using_rdma_cm``h]j )}(hj>h]h using_rdma_cm}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhj8ubj)}(hhh]h)}(h6Whether the RDMA/CM or IB/CM is used for this channel.h]h6Whether the RDMA/CM or IB/CM is used for this channel.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjMubj)}(hJ``processing_wait_list`` Whether or not cmd_wait_list is being processed. h](j)}(h``processing_wait_list``h]j )}(hjwh]hprocessing_wait_list}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjqubj)}(hhh]h)}(h0Whether or not cmd_wait_list is being processed.h]h0Whether or not cmd_wait_list is being processed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(h?``sess`` Session information associated with this SRP channel. h](j)}(h``sess``h]j )}(hjh]hsess}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM!hjubj)}(hhh]h)}(h5Session information associated with this SRP channel.h]h5Session information associated with this SRP channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjMubj)}(h``sess_name`` Session name. h](j)}(h ``sess_name``h]j )}(hjh]h sess_name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM"hjubj)}(hhh]h)}(h Session name.h]h Session name.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjMubj)}(h=``release_work`` Allows scheduling of srpt_release_channel().h](j)}(h``release_work``h]j )}(hj"h]h release_work}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM"hjubj)}(hhh]h)}(h,Allows scheduling of srpt_release_channel().h]h,Allows scheduling of srpt_release_channel().}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM#hj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hM"hjMubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_nexus (C struct) c.srpt_nexushNtauh1jhj#hhhNhNubj)}(hhh](j)}(h srpt_nexush]j")}(hstruct srpt_nexush](j()}(hj+h]hstruct}(hj|hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjxhhhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM)ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjxhhhjhM)ubj)}(h srpt_nexush]jN)}(hjvh]h srpt_nexus}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjxhhhjhM)ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjthhhjhM)ubah}(h]joah ](jjeh"]h$]h&]jj)jhuh1jhjhM)hjqhhubj)}(hhh]h)}(h I_T nexush]h I_T nexus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMNhjhhubah}(h]h ]h"]h$]h&]uh1jhjqhhhjhM)ubeh}(h]h ](jestructeh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(hX**Definition**:: struct srpt_nexus { struct rcu_head rcu; struct list_head entry; struct list_head ch_list; u8 i_port_id[16]; u8 t_port_id[16]; }; **Members** ``rcu`` RCU head for this data structure. ``entry`` srpt_port.nexus_list list node. ``ch_list`` struct srpt_rdma_ch list. Protected by srpt_port.mutex. ``i_port_id`` 128-bit initiator port identifier copied from SRP_LOGIN_REQ. ``t_port_id`` 128-bit target port identifier copied from SRP_LOGIN_REQ.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMRhjubj)i)}(hstruct srpt_nexus { struct rcu_head rcu; struct list_head entry; struct list_head ch_list; u8 i_port_id[16]; u8 t_port_id[16]; };h]hstruct srpt_nexus { struct rcu_head rcu; struct list_head entry; struct list_head ch_list; u8 i_port_id[16]; u8 t_port_id[16]; };}hjsbah}(h]h ]h"]h$]h&]jjuh1j(ihk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMThjubh)}(h **Members**h]j)}(hj h]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM\hjubj)}(hhh](j)}(h*``rcu`` RCU head for this data structure. h](j)}(h``rcu``h]j )}(hj+h]hrcu}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMPhj%ubj)}(hhh]h)}(h!RCU head for this data structure.h]h!RCU head for this data structure.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hMPhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMPhj"ubj)}(h*``entry`` srpt_port.nexus_list list node. h](j)}(h ``entry``h]j )}(hjdh]hentry}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMQhj^ubj)}(hhh]h)}(hsrpt_port.nexus_list list node.h]hsrpt_port.nexus_list list node.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhMQhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMQhj"ubj)}(hD``ch_list`` struct srpt_rdma_ch list. Protected by srpt_port.mutex. h](j)}(h ``ch_list``h]j )}(hjh]hch_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMRhjubj)}(hhh]h)}(h7struct srpt_rdma_ch list. Protected by srpt_port.mutex.h]h7struct srpt_rdma_ch list. Protected by srpt_port.mutex.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhj"ubj)}(hK``i_port_id`` 128-bit initiator port identifier copied from SRP_LOGIN_REQ. h](j)}(h ``i_port_id``h]j )}(hjh]h i_port_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMShjubj)}(hhh]h)}(h<128-bit initiator port identifier copied from SRP_LOGIN_REQ.h]h<128-bit initiator port identifier copied from SRP_LOGIN_REQ.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShj"ubj)}(hG``t_port_id`` 128-bit target port identifier copied from SRP_LOGIN_REQ.h](j)}(h ``t_port_id``h]j )}(hjh]h t_port_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMShj ubj)}(hhh]h)}(h9128-bit target port identifier copied from SRP_LOGIN_REQ.h]h9128-bit target port identifier copied from SRP_LOGIN_REQ.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMThj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMShj"ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_port_attrib (C struct)c.srpt_port_attribhNtauh1jhj#hhhNhNubj)}(hhh](j)}(hsrpt_port_attribh]j")}(hstruct srpt_port_attribh](j()}(hj+h]hstruct}(hjihhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjehhhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMZubj:)}(h h]h }(hjwhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjehhhjvhMZubj)}(hsrpt_port_attribh]jN)}(hjch]hsrpt_port_attrib}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjehhhjvhMZubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjahhhjvhMZubah}(h]j\ah ](jjeh"]h$]h&]jj)jhuh1jhjvhMZhj^hhubj)}(hhh]h)}(hattributes for SRPT porth]hattributes for SRPT port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM^hjhhubah}(h]h ]h"]h$]h&]uh1jhj^hhhjvhMZubeh}(h]h ](jestructeh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(hX**Definition**:: struct srpt_port_attrib { u32 srp_max_rdma_size; u32 srp_max_rsp_size; u32 srp_sq_size; bool use_srq; }; **Members** ``srp_max_rdma_size`` Maximum size of SRP RDMA transfers for new connections. ``srp_max_rsp_size`` Maximum size of SRP response messages in bytes. ``srp_sq_size`` Shared receive queue (SRQ) size. ``use_srq`` Whether or not to use SRQ.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMbhjubj)i)}(hxstruct srpt_port_attrib { u32 srp_max_rdma_size; u32 srp_max_rsp_size; u32 srp_sq_size; bool use_srq; };h]hxstruct srpt_port_attrib { u32 srp_max_rdma_size; u32 srp_max_rsp_size; u32 srp_sq_size; bool use_srq; };}hjsbah}(h]h ]h"]h$]h&]jjuh1j(ihk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMdhjubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMkhjubj)}(hhh](j)}(hN``srp_max_rdma_size`` Maximum size of SRP RDMA transfers for new connections. h](j)}(h``srp_max_rdma_size``h]j )}(hjh]hsrp_max_rdma_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM`hjubj)}(hhh]h)}(h7Maximum size of SRP RDMA transfers for new connections.h]h7Maximum size of SRP RDMA transfers for new connections.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hM`hj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hM`hjubj)}(hE``srp_max_rsp_size`` Maximum size of SRP response messages in bytes. h](j)}(h``srp_max_rsp_size``h]j )}(hjQh]hsrp_max_rsp_size}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMahjKubj)}(hhh]h)}(h/Maximum size of SRP response messages in bytes.h]h/Maximum size of SRP response messages in bytes.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhMahjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMahjubj)}(h1``srp_sq_size`` Shared receive queue (SRQ) size. h](j)}(h``srp_sq_size``h]j )}(hjh]h srp_sq_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMbhjubj)}(hhh]h)}(h Shared receive queue (SRQ) size.h]h Shared receive queue (SRQ) size.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjubj)}(h&``use_srq`` Whether or not to use SRQ.h](j)}(h ``use_srq``h]j )}(hjh]huse_srq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMbhjubj)}(hhh]h)}(hWhether or not to use SRQ.h]hWhether or not to use SRQ.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_tpg (C struct) c.srpt_tpghNtauh1jhj#hhhNhNubj)}(hhh](j)}(hsrpt_tpgh]j")}(hstruct srpt_tpgh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMiubj:)}(h h]h }(hj+hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhj*hMiubj)}(hsrpt_tpgh]jN)}(hjh]hsrpt_tpg}(hj=hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj9ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhj*hMiubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhj*hMiubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhj*hMihjhhubj)}(hhh]h)}(h0information about a single "target portal group"h]h4information about a single “target portal group”}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMlhj\hhubah}(h]h ]h"]h$]h&]uh1jhjhhhj*hMiubeh}(h]h ](jestructeh"]h$]h&]jjejjwjjwjjjuh1jhhhj#hNhNubj)}(hX0**Definition**:: struct srpt_tpg { struct list_head entry; struct srpt_port_id *sport_id; struct se_portal_group tpg; }; **Members** ``entry`` Entry in **sport_id->tpg_list**. ``sport_id`` Port name this TPG is associated with. ``tpg`` LIO TPG data structure.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMphj{ubj)i)}(hstruct srpt_tpg { struct list_head entry; struct srpt_port_id *sport_id; struct se_portal_group tpg; };h]hstruct srpt_tpg { struct list_head entry; struct srpt_port_id *sport_id; struct se_portal_group tpg; };}hjsbah}(h]h ]h"]h$]h&]jjuh1j(ihk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMrhj{ubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMxhj{ubj)}(hhh](j)}(h+``entry`` Entry in **sport_id->tpg_list**. h](j)}(h ``entry``h]j )}(hjh]hentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMnhjubj)}(hhh]h)}(h Entry in **sport_id->tpg_list**.h](h Entry in }(hjhhhNhNubj)}(h**sport_id->tpg_list**h]hsport_id->tpg_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubj)}(h4``sport_id`` Port name this TPG is associated with. h](j)}(h ``sport_id``h]j )}(hjh]hsport_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMohjubj)}(hhh]h)}(h&Port name this TPG is associated with.h]h&Port name this TPG is associated with.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hMohj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMohjubj)}(h``tpg`` LIO TPG data structure.h](j)}(h``tpg``h]j )}(hjPh]htpg}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMohjJubj)}(hhh]h)}(hLIO TPG data structure.h]hLIO TPG data structure.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMphjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMohjubeh}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMshj#hhubh)}(h}Zero or more target portal groups are associated with each port name (srpt_port_id). With each TPG an ACL list is associated.h]h}Zero or more target portal groups are associated with each port name (srpt_port_id). With each TPG an ACL list is associated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMphj#hhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_port_id (C struct)c.srpt_port_idhNtauh1jhj#hhhNhNubj)}(hhh](j)}(h srpt_port_idh]j")}(hstruct srpt_port_idh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMvubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMvubj)}(h srpt_port_idh]jN)}(hjh]h srpt_port_id}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMvubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMvubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMvhjhhubj)}(hhh]h)}(hLIO RDMA port informationh]hLIO RDMA port information}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM{hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMvubeh}(h]h ](jestructeh"]h$]h&]jjejj+jj+jjjuh1jhhhj#hNhNubj)}(hX**Definition**:: struct srpt_port_id { struct mutex mutex; struct list_head tpg_list; struct se_wwn wwn; char name[64]; }; **Members** ``mutex`` Protects **tpg_list** changes. ``tpg_list`` TPGs associated with the RDMA port name. ``wwn`` WWN associated with the RDMA port name. ``name`` ASCII representation of the port name.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh:}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhj/ubj)i)}(hstruct srpt_port_id { struct mutex mutex; struct list_head tpg_list; struct se_wwn wwn; char name[64]; };h]hstruct srpt_port_id { struct mutex mutex; struct list_head tpg_list; struct se_wwn wwn; char name[64]; };}hjPsbah}(h]h ]h"]h$]h&]jjuh1j(ihk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhj/ubh)}(h **Members**h]j)}(hjah]hMembers}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhj/ubj)}(hhh](j)}(h)``mutex`` Protects **tpg_list** changes. h](j)}(h ``mutex``h]j )}(hjh]hmutex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM}hjzubj)}(hhh]h)}(hProtects **tpg_list** changes.h](h Protects }(hjhhhNhNubj)}(h **tpg_list**h]htpg_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh changes.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM}hjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhM}hjwubj)}(h6``tpg_list`` TPGs associated with the RDMA port name. h](j)}(h ``tpg_list``h]j )}(hjh]htpg_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhM~hjubj)}(hhh]h)}(h(TPGs associated with the RDMA port name.h]h(TPGs associated with the RDMA port name.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM~hjwubj)}(h0``wwn`` WWN associated with the RDMA port name. h](j)}(h``wwn``h]j )}(hjh]hwwn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(h'WWN associated with the RDMA port name.h]h'WWN associated with the RDMA port name.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjwubj)}(h/``name`` ASCII representation of the port name.h](j)}(h``name``h]j )}(hj=h]hname}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhj7ubj)}(hhh]h)}(h&ASCII representation of the port name.h]h&ASCII representation of the port name.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjwubeh}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhj#hhubh)}(hMultiple sysfs directories can be associated with a single RDMA port. This data structure represents a single (port, name) pair.h]hMultiple sysfs directories can be associated with a single RDMA port. This data structure represents a single (port, name) pair.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhj#hhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_port (C struct) c.srpt_porthNtauh1jhj#hhhNhNubj)}(hhh](j)}(h srpt_porth]j")}(hstruct srpt_porth](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(h srpt_porth]jN)}(hjh]h srpt_port}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(hSRPT RDMA port informationh]hSRPT RDMA port information}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jestructeh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(hX**Definition**:: struct srpt_port { struct srpt_device *sdev; struct ib_mad_agent *mad_agent; bool enabled; u8 port; u32 sm_lid; u32 lid; union ib_gid gid; struct work_struct work; char guid_name[64]; struct srpt_port_id *guid_id; char gid_name[64]; struct srpt_port_id *gid_id; struct srpt_port_attrib port_attrib; atomic_t refcount; struct completion *freed_channels; struct mutex mutex; struct list_head nexus_list; }; **Members** ``sdev`` backpointer to the HCA information. ``mad_agent`` per-port management datagram processing information. ``enabled`` Whether or not this target port is enabled. ``port`` one-based port number. ``sm_lid`` cached value of the port's sm_lid. ``lid`` cached value of the port's lid. ``gid`` cached value of the port's gid. ``work`` work structure for refreshing the aforementioned cached values. ``guid_name`` port name in GUID format. ``guid_id`` LIO target port information for the port name in GUID format. ``gid_name`` port name in GID format. ``gid_id`` LIO target port information for the port name in GID format. ``port_attrib`` Port attributes that can be accessed through configfs. ``refcount`` Number of objects associated with this port. ``freed_channels`` Completion that will be signaled once **refcount** becomes 0. ``mutex`` Protects nexus_list. ``nexus_list`` Nexus list. See also srpt_nexus.entry.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh:}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)i)}(hXstruct srpt_port { struct srpt_device *sdev; struct ib_mad_agent *mad_agent; bool enabled; u8 port; u32 sm_lid; u32 lid; union ib_gid gid; struct work_struct work; char guid_name[64]; struct srpt_port_id *guid_id; char gid_name[64]; struct srpt_port_id *gid_id; struct srpt_port_attrib port_attrib; atomic_t refcount; struct completion *freed_channels; struct mutex mutex; struct list_head nexus_list; };h]hXstruct srpt_port { struct srpt_device *sdev; struct ib_mad_agent *mad_agent; bool enabled; u8 port; u32 sm_lid; u32 lid; union ib_gid gid; struct work_struct work; char guid_name[64]; struct srpt_port_id *guid_id; char gid_name[64]; struct srpt_port_id *gid_id; struct srpt_port_attrib port_attrib; atomic_t refcount; struct completion *freed_channels; struct mutex mutex; struct list_head nexus_list; };}hj=sbah}(h]h ]h"]h$]h&]jjuh1j(ihk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubh)}(h **Members**h]j)}(hjNh]hMembers}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh](j)}(h-``sdev`` backpointer to the HCA information. h](j)}(h``sdev``h]j )}(hjmh]hsdev}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjgubj)}(hhh]h)}(h#backpointer to the HCA information.h]h#backpointer to the HCA information.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubj)}(hC``mad_agent`` per-port management datagram processing information. h](j)}(h ``mad_agent``h]j )}(hjh]h mad_agent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(h4per-port management datagram processing information.h]h4per-port management datagram processing information.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubj)}(h8``enabled`` Whether or not this target port is enabled. h](j)}(h ``enabled``h]j )}(hjh]henabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(h+Whether or not this target port is enabled.h]h+Whether or not this target port is enabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubj)}(h ``port`` one-based port number. h](j)}(h``port``h]j )}(hjh]hport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(hone-based port number.h]hone-based port number.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjdubj)}(h.``sm_lid`` cached value of the port's sm_lid. h](j)}(h ``sm_lid``h]j )}(hjQh]hsm_lid}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjKubj)}(hhh]h)}(h"cached value of the port's sm_lid.h]h$cached value of the port’s sm_lid.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjdubj)}(h(``lid`` cached value of the port's lid. h](j)}(h``lid``h]j )}(hjh]hlid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(hcached value of the port's lid.h]h!cached value of the port’s lid.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubj)}(h(``gid`` cached value of the port's gid. h](j)}(h``gid``h]j )}(hjh]hgid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(hcached value of the port's gid.h]h!cached value of the port’s gid.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubj)}(hI``work`` work structure for refreshing the aforementioned cached values. h](j)}(h``work``h]j )}(hjh]hwork}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(h?work structure for refreshing the aforementioned cached values.h]h?work structure for refreshing the aforementioned cached values.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubj)}(h(``guid_name`` port name in GUID format. h](j)}(h ``guid_name``h]j )}(hj5h]h guid_name}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhj/ubj)}(hhh]h)}(hport name in GUID format.h]hport name in GUID format.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjdubj)}(hJ``guid_id`` LIO target port information for the port name in GUID format. h](j)}(h ``guid_id``h]j )}(hjnh]hguid_id}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjhubj)}(hhh]h)}(h=LIO target port information for the port name in GUID format.h]h=LIO target port information for the port name in GUID format.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubj)}(h&``gid_name`` port name in GID format. h](j)}(h ``gid_name``h]j )}(hjh]hgid_name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(hport name in GID format.h]hport name in GID format.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubj)}(hH``gid_id`` LIO target port information for the port name in GID format. h](j)}(h ``gid_id``h]j )}(hjh]hgid_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhk/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:98: ./drivers/infiniband/ulp/srpt/ib_srpt.hhMhjubj)}(hhh]h)}(hubj:)}(h h]h }(hjPhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj>ubj)}(hjh]h*}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubjN)}(hctxh]hctx}(hjkhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj>ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhKhjhhubj)}(hhh]h)}(hSRQ event callback functionh]hSRQ event callback function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chKhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(h**Parameters** ``struct ib_event *event`` Description of the event that occurred. ``void *ctx`` Context pointer specified at SRQ creation time.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chKhjubj)}(hhh](j)}(hC``struct ib_event *event`` Description of the event that occurred. h](j)}(h``struct ib_event *event``h]j )}(hjh]hstruct ib_event *event}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chKhjubj)}(hhh]h)}(h'Description of the event that occurred.h]h'Description of the event that occurred.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h=``void *ctx`` Context pointer specified at SRQ creation time.h](j)}(h ``void *ctx``h]j )}(hjh]h void *ctx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chKhj ubj)}(hhh]h)}(h/Context pointer specified at SRQ creation time.h]h/Context pointer specified at SRQ creation time.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chKhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_qp_event (C function)c.srpt_qp_eventhNtauh1jhj#hhhNhNubj)}(hhh](j)}(h6void srpt_qp_event (struct ib_event *event, void *ptr)h]j")}(h5void srpt_qp_event(struct ib_event *event, void *ptr)h](j)}(hvoidh]hvoid}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjehhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hjxhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjehhhjwhMubj)}(h srpt_qp_eventh]jN)}(h srpt_qp_eventh]h srpt_qp_event}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjehhhjwhMubj)}(h#(struct ib_event *event, void *ptr)h](j)}(hstruct ib_event *eventh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_eventh]hib_event}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjsbc.srpt_qp_eventasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(heventh]hevent}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h void *ptrh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hj&hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hptrh]hptr}(hjAhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjehhhjwhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjahhhjwhMubah}(h]j\ah ](jjeh"]h$]h&]jj)jhuh1jhjwhMhj^hhubj)}(hhh]h)}(hQP event callback functionh]hQP event callback function}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjhhhubah}(h]h ]h"]h$]h&]uh1jhj^hhhjwhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(hx**Parameters** ``struct ib_event *event`` Description of the event that occurred. ``void *ptr`` SRPT RDMA channel.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh](j)}(hC``struct ib_event *event`` Description of the event that occurred. h](j)}(h``struct ib_event *event``h]j )}(hjh]hstruct ib_event *event}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(h'Description of the event that occurred.h]h'Description of the event that occurred.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``void *ptr`` SRPT RDMA channel.h](j)}(h ``void *ptr``h]j )}(hjh]h void *ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(hSRPT RDMA channel.h]hSRPT RDMA channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_set_ioc (C function)c.srpt_set_iochNtauh1jhj#hhhNhNubj)}(hhh](j)}(h2void srpt_set_ioc (u8 *c_list, u32 slot, u8 value)h]j")}(h1void srpt_set_ioc(u8 *c_list, u32 slot, u8 value)h](j)}(hvoidh]hvoid}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj;hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM2ubj:)}(h h]h }(hjNhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj;hhhjMhM2ubj)}(h srpt_set_ioch]jN)}(h srpt_set_ioch]h srpt_set_ioc}(hj`hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj\ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj;hhhjMhM2ubj)}(h (u8 *c_list, u32 slot, u8 value)h](j)}(h u8 *c_listh](h)}(hhh]jN)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj|ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjbsbc.srpt_set_iocasbuh1hhjxubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjxubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubjN)}(hc_listh]hc_list}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjxubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjtubj)}(hu32 sloth](h)}(hhh]jN)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.srpt_set_iocasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hsloth]hslot}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjtubj)}(hu8 valueh](h)}(hhh]jN)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj modnameN classnameNjkjn)}jq]jc.srpt_set_iocasbuh1hhjubj:)}(h h]h }(hj<hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hvalueh]hvalue}(hjJhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjtubeh}(h]h ]h"]h$]h&]jjuh1jhj;hhhjMhM2ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj7hhhjMhM2ubah}(h]j2ah ](jjeh"]h$]h&]jj)jhuh1jhjMhM2hj4hhubj)}(hhh]h)}(h!initialize a IOUnitInfo structureh]h!initialize a IOUnitInfo structure}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM2hjqhhubah}(h]h ]h"]h$]h&]uh1jhj4hhhjMhM2ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(hX**Parameters** ``u8 *c_list`` controller list. ``u32 slot`` one-based slot number. ``u8 value`` four-bit value. **Description** Copies the lowest four bits of value in element slot of the array of four bit elements called c_list (controller list). The index slot is one-based.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM6hjubj)}(hhh](j)}(h ``u8 *c_list`` controller list. h](j)}(h``u8 *c_list``h]j )}(hjh]h u8 *c_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM3hjubj)}(hhh]h)}(hcontroller list.h]hcontroller list.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubj)}(h$``u32 slot`` one-based slot number. h](j)}(h ``u32 slot``h]j )}(hjh]hu32 slot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM4hjubj)}(hhh]h)}(hone-based slot number.h]hone-based slot number.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjubj)}(h``u8 value`` four-bit value. h](j)}(h ``u8 value``h]j )}(hj'h]hu8 value}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM5hj!ubj)}(hhh]h)}(hfour-bit value.h]hfour-bit value.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hM5hj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hM5hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjbh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM7hjubh)}(hCopies the lowest four bits of value in element slot of the array of four bit elements called c_list (controller list). The index slot is one-based.h]hCopies the lowest four bits of value in element slot of the array of four bit elements called c_list (controller list). The index slot is one-based.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM6hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j%srpt_get_class_port_info (C function)c.srpt_get_class_port_infohNtauh1jhj#hhhNhNubj)}(hhh](j)}(h5void srpt_get_class_port_info (struct ib_dm_mad *mad)h]j")}(h4void srpt_get_class_port_info(struct ib_dm_mad *mad)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMJubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMJubj)}(hsrpt_get_class_port_infoh]jN)}(hsrpt_get_class_port_infoh]hsrpt_get_class_port_info}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMJubj)}(h(struct ib_dm_mad *mad)h]j)}(hstruct ib_dm_mad *madh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_dm_madh]h ib_dm_mad}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjsbc.srpt_get_class_port_infoasbuh1hhjubj:)}(h h]h }(hj"hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hmadh]hmad}(hj=hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubah}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMJubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMJubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMJhjhhubj)}(hhh]h)}(h+copy ClassPortInfo to a management datagramh]h+copy ClassPortInfo to a management datagram}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMJhjdhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMJubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(h**Parameters** ``struct ib_dm_mad *mad`` Datagram that will be sent as response to DM_ATTR_CLASS_PORT_INFO. **Description** See also section 16.3.3.1 ClassPortInfo in the InfiniBand Architecture Specification.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMNhjubj)}(hhh]j)}(h]``struct ib_dm_mad *mad`` Datagram that will be sent as response to DM_ATTR_CLASS_PORT_INFO. h](j)}(h``struct ib_dm_mad *mad``h]j )}(hjh]hstruct ib_dm_mad *mad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMKhjubj)}(hhh]h)}(hBDatagram that will be sent as response to DM_ATTR_CLASS_PORT_INFO.h]hBDatagram that will be sent as response to DM_ATTR_CLASS_PORT_INFO.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMMhjubh)}(hUSee also section 16.3.3.1 ClassPortInfo in the InfiniBand Architecture Specification.h]hUSee also section 16.3.3.1 ClassPortInfo in the InfiniBand Architecture Specification.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMLhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_get_iou (C function)c.srpt_get_iouhNtauh1jhj#hhhNhNubj)}(hhh](j)}(h)void srpt_get_iou (struct ib_dm_mad *mad)h]j")}(h(void srpt_get_iou(struct ib_dm_mad *mad)h](j)}(hvoidh]hvoid}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj$hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM^ubj:)}(h h]h }(hj7hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj$hhhj6hM^ubj)}(h srpt_get_iouh]jN)}(h srpt_get_iouh]h srpt_get_iou}(hjIhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjEubah}(h]h ](jjeh"]h$]h&]jjuh1jhj$hhhj6hM^ubj)}(h(struct ib_dm_mad *mad)h]j)}(hstruct ib_dm_mad *madh](j()}(hj+h]hstruct}(hjehhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjaubj:)}(h h]h }(hjrhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjaubh)}(hhh]jN)}(h ib_dm_madh]h ib_dm_mad}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjKsbc.srpt_get_iouasbuh1hhjaubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjaubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubjN)}(hmadh]hmad}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjaubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj]ubah}(h]h ]h"]h$]h&]jjuh1jhj$hhhj6hM^ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj hhhj6hM^ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhj6hM^hjhhubj)}(hhh]h)}(h)write IOUnitInfo to a management datagramh]h)write IOUnitInfo to a management datagram}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM^hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhj6hM^ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(hX**Parameters** ``struct ib_dm_mad *mad`` Datagram that will be sent as response to DM_ATTR_IOU_INFO. **Description** See also section 16.3.3.3 IOUnitInfo in the InfiniBand Architecture Specification. See also section B.7, table B.6 in the SRP r16a document.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMbhjubj)}(hhh]j)}(hV``struct ib_dm_mad *mad`` Datagram that will be sent as response to DM_ATTR_IOU_INFO. h](j)}(h``struct ib_dm_mad *mad``h]j )}(hj)h]hstruct ib_dm_mad *mad}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM_hj#ubj)}(hhh]h)}(h;Datagram that will be sent as response to DM_ATTR_IOU_INFO.h]h;Datagram that will be sent as response to DM_ATTR_IOU_INFO.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hM_hj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hM_hj ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjdh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMahjubh)}(hSee also section 16.3.3.3 IOUnitInfo in the InfiniBand Architecture Specification. See also section B.7, table B.6 in the SRP r16a document.h]hSee also section 16.3.3.3 IOUnitInfo in the InfiniBand Architecture Specification. See also section B.7, table B.6 in the SRP r16a document.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM`hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_get_ioc (C function)c.srpt_get_iochNtauh1jhj#hhhNhNubj)}(hhh](j)}(hLvoid srpt_get_ioc (struct srpt_port *sport, u32 slot, struct ib_dm_mad *mad)h]j")}(hKvoid srpt_get_ioc(struct srpt_port *sport, u32 slot, struct ib_dm_mad *mad)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMwubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMwubj)}(h srpt_get_ioch]jN)}(h srpt_get_ioch]h srpt_get_ioc}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMwubj)}(h:(struct srpt_port *sport, u32 slot, struct ib_dm_mad *mad)h](j)}(hstruct srpt_port *sporth](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h srpt_porth]h srpt_port}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjsbc.srpt_get_iocasbuh1hhjubj:)}(h h]h }(hj$hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hsporth]hsport}(hj?hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hu32 sloth](h)}(hhh]jN)}(hu32h]hu32}(hj[hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjXubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj]modnameN classnameNjkjn)}jq]j c.srpt_get_iocasbuh1hhjTubj:)}(h h]h }(hjyhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjTubjN)}(hsloth]hslot}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjTubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ib_dm_mad *madh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_dm_madh]h ib_dm_mad}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j c.srpt_get_iocasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hmadh]hmad}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMwubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMwubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMwhjhhubj)}(hhh]h)}(h2write IOControllerprofile to a management datagramh]h2write IOControllerprofile to a management datagram}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMwhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMwubeh}(h]h ](jefunctioneh"]h$]h&]jjejj9jj9jjjuh1jhhhj#hNhNubj)}(hX**Parameters** ``struct srpt_port *sport`` HCA port through which the MAD has been received. ``u32 slot`` Slot number specified in DM_ATTR_IOC_PROFILE query. ``struct ib_dm_mad *mad`` Datagram that will be sent as response to DM_ATTR_IOC_PROFILE. **Description** See also section 16.3.3.4 IOControllerProfile in the InfiniBand Architecture Specification. See also section B.7, table B.7 in the SRP r16a document.h](h)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM{hj=ubj)}(hhh](j)}(hN``struct srpt_port *sport`` HCA port through which the MAD has been received. h](j)}(h``struct srpt_port *sport``h]j )}(hjbh]hstruct srpt_port *sport}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMxhj\ubj)}(hhh]h)}(h1HCA port through which the MAD has been received.h]h1HCA port through which the MAD has been received.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhMxhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMxhjYubj)}(hA``u32 slot`` Slot number specified in DM_ATTR_IOC_PROFILE query. h](j)}(h ``u32 slot``h]j )}(hjh]hu32 slot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMyhjubj)}(hhh]h)}(h3Slot number specified in DM_ATTR_IOC_PROFILE query.h]h3Slot number specified in DM_ATTR_IOC_PROFILE query.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMyhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMyhjYubj)}(hY``struct ib_dm_mad *mad`` Datagram that will be sent as response to DM_ATTR_IOC_PROFILE. h](j)}(h``struct ib_dm_mad *mad``h]j )}(hjh]hstruct ib_dm_mad *mad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMzhjubj)}(hhh]h)}(h>Datagram that will be sent as response to DM_ATTR_IOC_PROFILE.h]h>Datagram that will be sent as response to DM_ATTR_IOC_PROFILE.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjYubeh}(h]h ]h"]h$]h&]uh1jhj=ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM|hj=ubh)}(hSee also section 16.3.3.4 IOControllerProfile in the InfiniBand Architecture Specification. See also section B.7, table B.7 in the SRP r16a document.h]hSee also section 16.3.3.4 IOControllerProfile in the InfiniBand Architecture Specification. See also section B.7, table B.7 in the SRP r16a document.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM{hj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!srpt_get_svc_entries (C function)c.srpt_get_svc_entrieshNtauh1jhj#hhhNhNubj)}(hhh](j)}(hWvoid srpt_get_svc_entries (u64 ioc_guid, u16 slot, u8 hi, u8 lo, struct ib_dm_mad *mad)h]j")}(hVvoid srpt_get_svc_entries(u64 ioc_guid, u16 slot, u8 hi, u8 lo, struct ib_dm_mad *mad)h](j)}(hvoidh]hvoid}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjPhhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hjchhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjPhhhjbhMubj)}(hsrpt_get_svc_entriesh]jN)}(hsrpt_get_svc_entriesh]hsrpt_get_svc_entries}(hjuhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjqubah}(h]h ](jjeh"]h$]h&]jjuh1jhjPhhhjbhMubj)}(h=(u64 ioc_guid, u16 slot, u8 hi, u8 lo, struct ib_dm_mad *mad)h](j)}(h u64 ioc_guidh](h)}(hhh]jN)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjwsbc.srpt_get_svc_entriesasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hioc_guidh]hioc_guid}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hu16 sloth](h)}(hhh]jN)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.srpt_get_svc_entriesasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hsloth]hslot}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hu8 hih](h)}(hhh]jN)}(hu8h]hu8}(hj&hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj#ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj(modnameN classnameNjkjn)}jq]jc.srpt_get_svc_entriesasbuh1hhjubj:)}(h h]h }(hjDhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hhih]hhi}(hjRhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hu8 loh](h)}(hhh]jN)}(hu8h]hu8}(hjnhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjkubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjpmodnameN classnameNjkjn)}jq]jc.srpt_get_svc_entriesasbuh1hhjgubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjgubjN)}(hloh]hlo}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjgubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ib_dm_mad *madh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_dm_madh]h ib_dm_mad}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.srpt_get_svc_entriesasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hmadh]hmad}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjPhhhjbhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjLhhhjbhMubah}(h]jGah ](jjeh"]h$]h&]jj)jhuh1jhjbhMhjIhhubj)}(hhh]h)}(h-write ServiceEntries to a management datagramh]h-write ServiceEntries to a management datagram}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj1hhubah}(h]h ]h"]h$]h&]uh1jhjIhhhjbhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjLjjLjjjuh1jhhhj#hNhNubj)}(hX**Parameters** ``u64 ioc_guid`` I/O controller GUID to use in reply. ``u16 slot`` I/O controller number. ``u8 hi`` End of the range of service entries to be specified in the reply. ``u8 lo`` Start of the range of service entries to be specified in the reply.. ``struct ib_dm_mad *mad`` Datagram that will be sent as response to DM_ATTR_SVC_ENTRIES. **Description** See also section 16.3.3.5 ServiceEntries in the InfiniBand Architecture Specification. See also section B.7, table B.8 in the SRP r16a document.h](h)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjPubj)}(hhh](j)}(h6``u64 ioc_guid`` I/O controller GUID to use in reply. h](j)}(h``u64 ioc_guid``h]j )}(hjuh]h u64 ioc_guid}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjoubj)}(hhh]h)}(h$I/O controller GUID to use in reply.h]h$I/O controller GUID to use in reply.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubj)}(h$``u16 slot`` I/O controller number. h](j)}(h ``u16 slot``h]j )}(hjh]hu16 slot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(hI/O controller number.h]hI/O controller number.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubj)}(hL``u8 hi`` End of the range of service entries to be specified in the reply. h](j)}(h ``u8 hi``h]j )}(hjh]hu8 hi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(hAEnd of the range of service entries to be specified in the reply.h]hAEnd of the range of service entries to be specified in the reply.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjlubj)}(hO``u8 lo`` Start of the range of service entries to be specified in the reply.. h](j)}(h ``u8 lo``h]j )}(hj h]hu8 lo}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(hDStart of the range of service entries to be specified in the reply..h]hDStart of the range of service entries to be specified in the reply..}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjlubj)}(hY``struct ib_dm_mad *mad`` Datagram that will be sent as response to DM_ATTR_SVC_ENTRIES. h](j)}(h``struct ib_dm_mad *mad``h]j )}(hjYh]hstruct ib_dm_mad *mad}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjSubj)}(hhh]h)}(h>Datagram that will be sent as response to DM_ATTR_SVC_ENTRIES.h]h>Datagram that will be sent as response to DM_ATTR_SVC_ENTRIES.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjlubeh}(h]h ]h"]h$]h&]uh1jhjPubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjPubh)}(hSee also section 16.3.3.5 ServiceEntries in the InfiniBand Architecture Specification. See also section B.7, table B.8 in the SRP r16a document.h]hSee also section 16.3.3.5 ServiceEntries in the InfiniBand Architecture Specification. See also section B.7, table B.8 in the SRP r16a document.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!srpt_mgmt_method_get (C function)c.srpt_mgmt_method_gethNtauh1jhj#hhhNhNubj)}(hhh](j)}(hbvoid srpt_mgmt_method_get (struct srpt_port *sp, struct ib_mad *rq_mad, struct ib_dm_mad *rsp_mad)h]j")}(havoid srpt_mgmt_method_get(struct srpt_port *sp, struct ib_mad *rq_mad, struct ib_dm_mad *rsp_mad)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hsrpt_mgmt_method_geth]jN)}(hsrpt_mgmt_method_geth]hsrpt_mgmt_method_get}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(hH(struct srpt_port *sp, struct ib_mad *rq_mad, struct ib_dm_mad *rsp_mad)h](j)}(hstruct srpt_port *sph](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj#hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h srpt_porth]h srpt_port}(hj4hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj1ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj6modnameN classnameNjkjn)}jq]jt)}jgjsbc.srpt_mgmt_method_getasbuh1hhjubj:)}(h h]h }(hjThhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hsph]hsp}(hjohhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ib_mad *rq_madh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_madh]hib_mad}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jPc.srpt_mgmt_method_getasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hrq_madh]hrq_mad}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ib_dm_mad *rsp_madh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_dm_madh]h ib_dm_mad}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jPc.srpt_mgmt_method_getasbuh1hhjubj:)}(h h]h }(hj4hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hrsp_madh]hrsp_mad}(hjOhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h&process a received management datagramh]h&process a received management datagram}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjvhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(h**Parameters** ``struct srpt_port *sp`` HCA port through which the MAD has been received. ``struct ib_mad *rq_mad`` received MAD. ``struct ib_dm_mad *rsp_mad`` response MAD.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh](j)}(hK``struct srpt_port *sp`` HCA port through which the MAD has been received. h](j)}(h``struct srpt_port *sp``h]j )}(hjh]hstruct srpt_port *sp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(h1HCA port through which the MAD has been received.h]h1HCA port through which the MAD has been received.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``struct ib_mad *rq_mad`` received MAD. h](j)}(h``struct ib_mad *rq_mad``h]j )}(hjh]hstruct ib_mad *rq_mad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(h received MAD.h]h received MAD.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``struct ib_dm_mad *rsp_mad`` response MAD.h](j)}(h``struct ib_dm_mad *rsp_mad``h]j )}(hj,h]hstruct ib_dm_mad *rsp_mad}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj&ubj)}(hhh]h)}(h response MAD.h]h response MAD.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"srpt_mad_send_handler (C function)c.srpt_mad_send_handlerhNtauh1jhj#hhhNhNubj)}(hhh](j)}(hZvoid srpt_mad_send_handler (struct ib_mad_agent *mad_agent, struct ib_mad_send_wc *mad_wc)h]j")}(hYvoid srpt_mad_send_handler(struct ib_mad_agent *mad_agent, struct ib_mad_send_wc *mad_wc)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hsrpt_mad_send_handlerh]jN)}(hsrpt_mad_send_handlerh]hsrpt_mad_send_handler}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(h?(struct ib_mad_agent *mad_agent, struct ib_mad_send_wc *mad_wc)h](j)}(hstruct ib_mad_agent *mad_agenth](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_mad_agenth]h ib_mad_agent}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjsbc.srpt_mad_send_handlerasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(h mad_agenth]h mad_agent}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ib_mad_send_wc *mad_wch](j()}(hj+h]hstruct}(hj5hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj1ubj:)}(h h]h }(hjBhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj1ubh)}(hhh]jN)}(hib_mad_send_wch]hib_mad_send_wc}(hjShhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjPubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjUmodnameN classnameNjkjn)}jq]jc.srpt_mad_send_handlerasbuh1hhj1ubj:)}(h h]h }(hjqhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj1ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubjN)}(hmad_wch]hmad_wc}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj1ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj~hhhjhMubah}(h]jyah ](jjeh"]h$]h&]jj)jhuh1jhjhMhj{hhubj)}(hhh]h)}(hMAD send completion callbackh]hMAD send completion callback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhj{hhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(h**Parameters** ``struct ib_mad_agent *mad_agent`` Return value of ib_register_mad_agent(). ``struct ib_mad_send_wc *mad_wc`` Work completion reporting that the MAD has been sent.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM hjubj)}(hhh](j)}(hL``struct ib_mad_agent *mad_agent`` Return value of ib_register_mad_agent(). h](j)}(h"``struct ib_mad_agent *mad_agent``h]j )}(hjh]hstruct ib_mad_agent *mad_agent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(h(Return value of ib_register_mad_agent().h]h(Return value of ib_register_mad_agent().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hW``struct ib_mad_send_wc *mad_wc`` Work completion reporting that the MAD has been sent.h](j)}(h!``struct ib_mad_send_wc *mad_wc``h]j )}(hj0h]hstruct ib_mad_send_wc *mad_wc}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM hj*ubj)}(hhh]h)}(h5Work completion reporting that the MAD has been sent.h]h5Work completion reporting that the MAD has been sent.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"srpt_mad_recv_handler (C function)c.srpt_mad_recv_handlerhNtauh1jhj#hhhNhNubj)}(hhh](j)}(h|void srpt_mad_recv_handler (struct ib_mad_agent *mad_agent, struct ib_mad_send_buf *send_buf, struct ib_mad_recv_wc *mad_wc)h]j")}(h{void srpt_mad_recv_handler(struct ib_mad_agent *mad_agent, struct ib_mad_send_buf *send_buf, struct ib_mad_recv_wc *mad_wc)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hsrpt_mad_recv_handlerh]jN)}(hsrpt_mad_recv_handlerh]hsrpt_mad_recv_handler}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(ha(struct ib_mad_agent *mad_agent, struct ib_mad_send_buf *send_buf, struct ib_mad_recv_wc *mad_wc)h](j)}(hstruct ib_mad_agent *mad_agenth](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h ib_mad_agenth]h ib_mad_agent}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjsbc.srpt_mad_recv_handlerasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(h mad_agenth]h mad_agent}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h struct ib_mad_send_buf *send_bufh](j()}(hj+h]hstruct}(hj9hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj5ubj:)}(h h]h }(hjFhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj5ubh)}(hhh]jN)}(hib_mad_send_bufh]hib_mad_send_buf}(hjWhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjTubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjYmodnameN classnameNjkjn)}jq]jc.srpt_mad_recv_handlerasbuh1hhj5ubj:)}(h h]h }(hjuhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj5ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubjN)}(hsend_bufh]hsend_buf}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj5ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ib_mad_recv_wc *mad_wch](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_mad_recv_wch]hib_mad_recv_wc}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.srpt_mad_recv_handlerasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hmad_wch]hmad_wc}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]j}ah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(hMAD reception callback functionh]hMAD reception callback function}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj'hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjBjjBjjjuh1jhhhj#hNhNubj)}(h**Parameters** ``struct ib_mad_agent *mad_agent`` Return value of ib_register_mad_agent(). ``struct ib_mad_send_buf *send_buf`` Not used. ``struct ib_mad_recv_wc *mad_wc`` Work completion reporting that a MAD has been received.h](h)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjFubj)}(hhh](j)}(hL``struct ib_mad_agent *mad_agent`` Return value of ib_register_mad_agent(). h](j)}(h"``struct ib_mad_agent *mad_agent``h]j )}(hjkh]hstruct ib_mad_agent *mad_agent}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjeubj)}(hhh]h)}(h(Return value of ib_register_mad_agent().h]h(Return value of ib_register_mad_agent().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhjbubj)}(h/``struct ib_mad_send_buf *send_buf`` Not used. h](j)}(h$``struct ib_mad_send_buf *send_buf``h]j )}(hjh]h struct ib_mad_send_buf *send_buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(h Not used.h]h Not used.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjbubj)}(hY``struct ib_mad_recv_wc *mad_wc`` Work completion reporting that a MAD has been received.h](j)}(h!``struct ib_mad_recv_wc *mad_wc``h]j )}(hjh]hstruct ib_mad_recv_wc *mad_wc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(h7Work completion reporting that a MAD has been received.h]h7Work completion reporting that a MAD has been received.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjbubeh}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_refresh_port (C function)c.srpt_refresh_porthNtauh1jhj#hhhNhNubj)}(hhh](j)}(h/int srpt_refresh_port (struct srpt_port *sport)h]j")}(h.int srpt_refresh_port(struct srpt_port *sport)h](j)}(hinth]hint}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj3hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM_ubj:)}(h h]h }(hjFhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj3hhhjEhM_ubj)}(hsrpt_refresh_porth]jN)}(hsrpt_refresh_porth]hsrpt_refresh_port}(hjXhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjTubah}(h]h ](jjeh"]h$]h&]jjuh1jhj3hhhjEhM_ubj)}(h(struct srpt_port *sport)h]j)}(hstruct srpt_port *sporth](j()}(hj+h]hstruct}(hjthhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjpubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjpubh)}(hhh]jN)}(h srpt_porth]h srpt_port}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjZsbc.srpt_refresh_portasbuh1hhjpubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjpubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubjN)}(hsporth]hsport}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjpubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjlubah}(h]h ]h"]h$]h&]jjuh1jhj3hhhjEhM_ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj/hhhjEhM_ubah}(h]j*ah ](jjeh"]h$]h&]jj)jhuh1jhjEhM_hj,hhubj)}(hhh]h)}(hconfigure a HCA porth]hconfigure a HCA port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM_hjhhubah}(h]h ]h"]h$]h&]uh1jhj,hhhjEhM_ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(hXH**Parameters** ``struct srpt_port *sport`` SRPT HCA port. **Description** Enable InfiniBand management datagram processing, update the cached sm_lid, lid and gid values, and register a callback function for processing MADs on the specified port. **Note** It is safe to call this function more than once for the same port.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMchjubj)}(hhh]j)}(h+``struct srpt_port *sport`` SRPT HCA port. h](j)}(h``struct srpt_port *sport``h]j )}(hj8h]hstruct srpt_port *sport}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM`hj2ubj)}(hhh]h)}(hSRPT HCA port.h]hSRPT HCA port.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhM`hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhM`hj/ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjsh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMbhjubh)}(hEnable InfiniBand management datagram processing, update the cached sm_lid, lid and gid values, and register a callback function for processing MADs on the specified port.h]hEnable InfiniBand management datagram processing, update the cached sm_lid, lid and gid values, and register a callback function for processing MADs on the specified port.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMahjubh)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMehjubh)}(hBIt is safe to call this function more than once for the same port.h]hBIt is safe to call this function more than once for the same port.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMfhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j&srpt_unregister_mad_agent (C function)c.srpt_unregister_mad_agenthNtauh1jhj#hhhNhNubj)}(hhh](j)}(hGvoid srpt_unregister_mad_agent (struct srpt_device *sdev, int port_cnt)h]j")}(hFvoid srpt_unregister_mad_agent(struct srpt_device *sdev, int port_cnt)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hsrpt_unregister_mad_agenth]jN)}(hsrpt_unregister_mad_agenth]hsrpt_unregister_mad_agent}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(h((struct srpt_device *sdev, int port_cnt)h](j)}(hstruct srpt_device *sdevh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj)hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h srpt_deviceh]h srpt_device}(hj:hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj7ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj<modnameN classnameNjkjn)}jq]jt)}jgjsbc.srpt_unregister_mad_agentasbuh1hhjubj:)}(h h]h }(hjZhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hsdevh]hsdev}(hjuhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h int port_cnth](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hport_cnth]hport_cnt}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h!unregister MAD callback functionsh]h!unregister MAD callback functions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(h**Parameters** ``struct srpt_device *sdev`` SRPT HCA pointer. ``int port_cnt`` number of ports with registered MAD **Note** It is safe to call this function more than once for the same device.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh](j)}(h/``struct srpt_device *sdev`` SRPT HCA pointer. h](j)}(h``struct srpt_device *sdev``h]j )}(hjh]hstruct srpt_device *sdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(hSRPT HCA pointer.h]hSRPT HCA pointer.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj ubj)}(h5``int port_cnt`` number of ports with registered MAD h](j)}(h``int port_cnt``h]j )}(hjNh]h int port_cnt}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjHubj)}(hhh]h)}(h#number of ports with registered MADh]h#number of ports with registered MAD}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubh)}(hDIt is safe to call this function more than once for the same device.h]hDIt is safe to call this function more than once for the same device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_alloc_ioctx (C function)c.srpt_alloc_ioctxhNtauh1jhj#hhhNhNubj)}(hhh](j)}(hstruct srpt_ioctx * srpt_alloc_ioctx (struct srpt_device *sdev, int ioctx_size, struct kmem_cache *buf_cache, enum dma_data_direction dir)h]j")}(hstruct srpt_ioctx *srpt_alloc_ioctx(struct srpt_device *sdev, int ioctx_size, struct kmem_cache *buf_cache, enum dma_data_direction dir)h](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubh)}(hhh]jN)}(h srpt_ioctxh]h srpt_ioctx}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgsrpt_alloc_ioctxsbc.srpt_alloc_ioctxasbuh1hhjhhhjhMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj)}(hsrpt_alloc_ioctxh]jN)}(hj h]hsrpt_alloc_ioctx}(hj-hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj)ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(he(struct srpt_device *sdev, int ioctx_size, struct kmem_cache *buf_cache, enum dma_data_direction dir)h](j)}(hstruct srpt_device *sdevh](j()}(hj+h]hstruct}(hjHhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjDubj:)}(h h]h }(hjUhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjDubh)}(hhh]jN)}(h srpt_deviceh]h srpt_device}(hjfhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjcubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjhmodnameN classnameNjkjn)}jq]j c.srpt_alloc_ioctxasbuh1hhjDubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjDubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubjN)}(hsdevh]hsdev}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjDubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj@ubj)}(hint ioctx_sizeh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h ioctx_sizeh]h ioctx_size}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj@ubj)}(hstruct kmem_cache *buf_cacheh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h kmem_cacheh]h kmem_cache}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj modnameN classnameNjkjn)}jq]j c.srpt_alloc_ioctxasbuh1hhjubj:)}(h h]h }(hj)hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(h buf_cacheh]h buf_cache}(hjDhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj@ubj)}(henum dma_data_direction dirh](j()}(hj%h]henum}(hj]hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjYubj:)}(h h]h }(hjjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjYubh)}(hhh]jN)}(hdma_data_directionh]hdma_data_direction}(hj{hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjxubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj}modnameN classnameNjkjn)}jq]j c.srpt_alloc_ioctxasbuh1hhjYubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjYubjN)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjYubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj@ubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h%allocate a SRPT I/O context structureh]h%allocate a SRPT I/O context structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(h**Parameters** ``struct srpt_device *sdev`` SRPT HCA pointer. ``int ioctx_size`` I/O context size. ``struct kmem_cache *buf_cache`` I/O buffer cache. ``enum dma_data_direction dir`` DMA data direction.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh](j)}(h/``struct srpt_device *sdev`` SRPT HCA pointer. h](j)}(h``struct srpt_device *sdev``h]j )}(hjh]hstruct srpt_device *sdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj ubj)}(hhh]h)}(hSRPT HCA pointer.h]hSRPT HCA pointer.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhj ubj)}(h%``int ioctx_size`` I/O context size. h](j)}(h``int ioctx_size``h]j )}(hjKh]hint ioctx_size}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjEubj)}(hhh]h)}(hI/O context size.h]hI/O context size.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj ubj)}(h3``struct kmem_cache *buf_cache`` I/O buffer cache. h](j)}(h ``struct kmem_cache *buf_cache``h]j )}(hjh]hstruct kmem_cache *buf_cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj~ubj)}(hhh]h)}(hI/O buffer cache.h]hI/O buffer cache.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h3``enum dma_data_direction dir`` DMA data direction.h](j)}(h``enum dma_data_direction dir``h]j )}(hjh]henum dma_data_direction dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(hDMA data direction.h]hDMA data direction.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_free_ioctx (C function)c.srpt_free_ioctxhNtauh1jhj#hhhNhNubj)}(hhh](j)}(hvoid srpt_free_ioctx (struct srpt_device *sdev, struct srpt_ioctx *ioctx, struct kmem_cache *buf_cache, enum dma_data_direction dir)h]j")}(hvoid srpt_free_ioctx(struct srpt_device *sdev, struct srpt_ioctx *ioctx, struct kmem_cache *buf_cache, enum dma_data_direction dir)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hj&hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhj%hMubj)}(hsrpt_free_ioctxh]jN)}(hsrpt_free_ioctxh]hsrpt_free_ioctx}(hj8hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj4ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhj%hMubj)}(ho(struct srpt_device *sdev, struct srpt_ioctx *ioctx, struct kmem_cache *buf_cache, enum dma_data_direction dir)h](j)}(hstruct srpt_device *sdevh](j()}(hj+h]hstruct}(hjThhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjPubj:)}(h h]h }(hjahhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjPubh)}(hhh]jN)}(h srpt_deviceh]h srpt_device}(hjrhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjoubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjtmodnameN classnameNjkjn)}jq]jt)}jgj:sbc.srpt_free_ioctxasbuh1hhjPubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjPubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubjN)}(hsdevh]hsdev}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjPubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjLubj)}(hstruct srpt_ioctx *ioctxh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h srpt_ioctxh]h srpt_ioctx}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.srpt_free_ioctxasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hioctxh]hioctx}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjLubj)}(hstruct kmem_cache *buf_cacheh](j()}(hj+h]hstruct}(hj6hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj2ubj:)}(h h]h }(hjChhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj2ubh)}(hhh]jN)}(h kmem_cacheh]h kmem_cache}(hjThhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjQubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjVmodnameN classnameNjkjn)}jq]jc.srpt_free_ioctxasbuh1hhj2ubj:)}(h h]h }(hjrhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj2ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubjN)}(h buf_cacheh]h buf_cache}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj2ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjLubj)}(henum dma_data_direction dirh](j()}(hj%h]henum}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hdma_data_directionh]hdma_data_direction}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.srpt_free_ioctxasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjLubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhj%hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhj%hMubah}(h]j ah ](jjeh"]h$]h&]jj)jhuh1jhj%hMhj hhubj)}(hhh]h)}(h!free a SRPT I/O context structureh]h!free a SRPT I/O context structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhj hhhj%hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj2jj2jjjuh1jhhhj#hNhNubj)}(h**Parameters** ``struct srpt_device *sdev`` SRPT HCA pointer. ``struct srpt_ioctx *ioctx`` I/O context pointer. ``struct kmem_cache *buf_cache`` I/O buffer cache. ``enum dma_data_direction dir`` DMA data direction.h](h)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj6ubj)}(hhh](j)}(h/``struct srpt_device *sdev`` SRPT HCA pointer. h](j)}(h``struct srpt_device *sdev``h]j )}(hj[h]hstruct srpt_device *sdev}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjUubj)}(hhh]h)}(hSRPT HCA pointer.h]hSRPT HCA pointer.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjRubj)}(h2``struct srpt_ioctx *ioctx`` I/O context pointer. h](j)}(h``struct srpt_ioctx *ioctx``h]j )}(hjh]hstruct srpt_ioctx *ioctx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(hI/O context pointer.h]hI/O context pointer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjRubj)}(h3``struct kmem_cache *buf_cache`` I/O buffer cache. h](j)}(h ``struct kmem_cache *buf_cache``h]j )}(hjh]hstruct kmem_cache *buf_cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(hI/O buffer cache.h]hI/O buffer cache.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjRubj)}(h3``enum dma_data_direction dir`` DMA data direction.h](j)}(h``enum dma_data_direction dir``h]j )}(hjh]henum dma_data_direction dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(hDMA data direction.h]hDMA data direction.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjRubeh}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"srpt_alloc_ioctx_ring (C function)c.srpt_alloc_ioctx_ringhNtauh1jhj#hhhNhNubj)}(hhh](j)}(hstruct srpt_ioctx ** srpt_alloc_ioctx_ring (struct srpt_device *sdev, int ring_size, int ioctx_size, struct kmem_cache *buf_cache, int alignment_offset, enum dma_data_direction dir)h]j")}(hstruct srpt_ioctx **srpt_alloc_ioctx_ring(struct srpt_device *sdev, int ring_size, int ioctx_size, struct kmem_cache *buf_cache, int alignment_offset, enum dma_data_direction dir)h](j()}(hj+h]hstruct}(hj`hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj\hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hjnhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj\hhhjmhMubh)}(hhh]jN)}(h srpt_ioctxh]h srpt_ioctx}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj|ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgsrpt_alloc_ioctx_ringsbc.srpt_alloc_ioctx_ringasbuh1hhj\hhhjmhMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj\hhhjmhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\hhhjmhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\hhhjmhMubj)}(hsrpt_alloc_ioctx_ringh]jN)}(hjh]hsrpt_alloc_ioctx_ring}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhj\hhhjmhMubj)}(h(struct srpt_device *sdev, int ring_size, int ioctx_size, struct kmem_cache *buf_cache, int alignment_offset, enum dma_data_direction dir)h](j)}(hstruct srpt_device *sdevh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h srpt_deviceh]h srpt_device}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.srpt_alloc_ioctx_ringasbuh1hhjubj:)}(h h]h }(hj#hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hsdevh]hsdev}(hj>hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h int ring_sizeh](j)}(hinth]hint}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjSubj:)}(h h]h }(hjehhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjSubjN)}(h ring_sizeh]h ring_size}(hjshhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjSubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hint ioctx_sizeh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h ioctx_sizeh]h ioctx_size}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct kmem_cache *buf_cacheh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h kmem_cacheh]h kmem_cache}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.srpt_alloc_ioctx_ringasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(h buf_cacheh]h buf_cache}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hint alignment_offseth](j)}(hinth]hint}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj-ubj:)}(h h]h }(hj?hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj-ubjN)}(halignment_offseth]halignment_offset}(hjMhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj-ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(henum dma_data_direction dirh](j()}(hj%h]henum}(hjfhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjbubj:)}(h h]h }(hjshhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjbubh)}(hhh]jN)}(hdma_data_directionh]hdma_data_direction}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.srpt_alloc_ioctx_ringasbuh1hhjbubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjbubjN)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjbubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhj\hhhjmhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjXhhhjmhMubah}(h]jSah ](jjeh"]h$]h&]jj)jhuh1jhjmhMhjUhhubj)}(hhh]h)}(h.allocate a ring of SRPT I/O context structuresh]h.allocate a ring of SRPT I/O context structures}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjUhhhjmhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(hX**Parameters** ``struct srpt_device *sdev`` Device to allocate the I/O context ring for. ``int ring_size`` Number of elements in the I/O context ring. ``int ioctx_size`` I/O context size. ``struct kmem_cache *buf_cache`` I/O buffer cache. ``int alignment_offset`` Offset in each ring buffer at which the SRP information unit starts. ``enum dma_data_direction dir`` DMA data direction.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh](j)}(hJ``struct srpt_device *sdev`` Device to allocate the I/O context ring for. h](j)}(h``struct srpt_device *sdev``h]j )}(hjh]hstruct srpt_device *sdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(h,Device to allocate the I/O context ring for.h]h,Device to allocate the I/O context ring for.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjubj)}(h>``int ring_size`` Number of elements in the I/O context ring. h](j)}(h``int ring_size``h]j )}(hjTh]h int ring_size}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjNubj)}(hhh]h)}(h+Number of elements in the I/O context ring.h]h+Number of elements in the I/O context ring.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjubj)}(h%``int ioctx_size`` I/O context size. h](j)}(h``int ioctx_size``h]j )}(hjh]hint ioctx_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(hI/O context size.h]hI/O context size.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``struct kmem_cache *buf_cache`` I/O buffer cache. h](j)}(h ``struct kmem_cache *buf_cache``h]j )}(hjh]hstruct kmem_cache *buf_cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(hI/O buffer cache.h]hI/O buffer cache.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h^``int alignment_offset`` Offset in each ring buffer at which the SRP information unit starts. h](j)}(h``int alignment_offset``h]j )}(hjh]hint alignment_offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM hjubj)}(hhh]h)}(hDOffset in each ring buffer at which the SRP information unit starts.h]hDOffset in each ring buffer at which the SRP information unit starts.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h3``enum dma_data_direction dir`` DMA data direction.h](j)}(h``enum dma_data_direction dir``h]j )}(hj9h]henum dma_data_direction dir}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM hj3ubj)}(hhh]h)}(hDMA data direction.h]hDMA data direction.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!srpt_free_ioctx_ring (C function)c.srpt_free_ioctx_ringhNtauh1jhj#hhhNhNubj)}(hhh](j)}(hvoid srpt_free_ioctx_ring (struct srpt_ioctx **ioctx_ring, struct srpt_device *sdev, int ring_size, struct kmem_cache *buf_cache, enum dma_data_direction dir)h]j")}(hvoid srpt_free_ioctx_ring(struct srpt_ioctx **ioctx_ring, struct srpt_device *sdev, int ring_size, struct kmem_cache *buf_cache, enum dma_data_direction dir)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM/ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhM/ubj)}(hsrpt_free_ioctx_ringh]jN)}(hsrpt_free_ioctx_ringh]hsrpt_free_ioctx_ring}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhM/ubj)}(h(struct srpt_ioctx **ioctx_ring, struct srpt_device *sdev, int ring_size, struct kmem_cache *buf_cache, enum dma_data_direction dir)h](j)}(hstruct srpt_ioctx **ioctx_ringh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h srpt_ioctxh]h srpt_ioctx}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjsbc.srpt_free_ioctx_ringasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(h ioctx_ringh]h ioctx_ring}(hj6hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct srpt_device *sdevh](j()}(hj+h]hstruct}(hjOhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjKubj:)}(h h]h }(hj\hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjKubh)}(hhh]jN)}(h srpt_deviceh]h srpt_device}(hjmhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjomodnameN classnameNjkjn)}jq]j c.srpt_free_ioctx_ringasbuh1hhjKubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjKubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubjN)}(hsdevh]hsdev}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjKubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h int ring_sizeh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(h ring_sizeh]h ring_size}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct kmem_cache *buf_cacheh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h kmem_cacheh]h kmem_cache}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j c.srpt_free_ioctx_ringasbuh1hhjubj:)}(h h]h }(hj0hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(h buf_cacheh]h buf_cache}(hjKhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(henum dma_data_direction dirh](j()}(hj%h]henum}(hjdhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj`ubj:)}(h h]h }(hjqhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj`ubh)}(hhh]jN)}(hdma_data_directionh]hdma_data_direction}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j c.srpt_free_ioctx_ringasbuh1hhj`ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj`ubjN)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj`ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhM/ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhM/ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhM/hjhhubj)}(hhh]h)}(h,free the ring of SRPT I/O context structuresh]h,free the ring of SRPT I/O context structures}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM/hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM/ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(hX**Parameters** ``struct srpt_ioctx **ioctx_ring`` I/O context ring to be freed. ``struct srpt_device *sdev`` SRPT HCA pointer. ``int ring_size`` Number of ring elements. ``struct kmem_cache *buf_cache`` I/O buffer cache. ``enum dma_data_direction dir`` DMA data direction.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM3hjubj)}(hhh](j)}(hA``struct srpt_ioctx **ioctx_ring`` I/O context ring to be freed. h](j)}(h"``struct srpt_ioctx **ioctx_ring``h]j )}(hjh]hstruct srpt_ioctx **ioctx_ring}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM0hjubj)}(hhh]h)}(hI/O context ring to be freed.h]hI/O context ring to be freed.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hM0hj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hM0hjubj)}(h/``struct srpt_device *sdev`` SRPT HCA pointer. h](j)}(h``struct srpt_device *sdev``h]j )}(hjRh]hstruct srpt_device *sdev}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM1hjLubj)}(hhh]h)}(hSRPT HCA pointer.h]hSRPT HCA pointer.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghM1hjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghM1hjubj)}(h+``int ring_size`` Number of ring elements. h](j)}(h``int ring_size``h]j )}(hjh]h int ring_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM2hjubj)}(hhh]h)}(hNumber of ring elements.h]hNumber of ring elements.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubj)}(h3``struct kmem_cache *buf_cache`` I/O buffer cache. h](j)}(h ``struct kmem_cache *buf_cache``h]j )}(hjh]hstruct kmem_cache *buf_cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM3hjubj)}(hhh]h)}(hI/O buffer cache.h]hI/O buffer cache.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubj)}(h3``enum dma_data_direction dir`` DMA data direction.h](j)}(h``enum dma_data_direction dir``h]j )}(hjh]henum dma_data_direction dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM5hjubj)}(hhh]h)}(hDMA data direction.h]hDMA data direction.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_set_cmd_state (C function)c.srpt_set_cmd_statehNtauh1jhj#hhhNhNubj)}(hhh](j)}(hgenum srpt_command_state srpt_set_cmd_state (struct srpt_send_ioctx *ioctx, enum srpt_command_state new)h]j")}(hfenum srpt_command_state srpt_set_cmd_state(struct srpt_send_ioctx *ioctx, enum srpt_command_state new)h](j()}(hj%h]henum}(hjWhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjShhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMFubj:)}(h h]h }(hjehhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjShhhjdhMFubh)}(hhh]jN)}(hsrpt_command_stateh]hsrpt_command_state}(hjvhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjsubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjxmodnameN classnameNjkjn)}jq]jt)}jgsrpt_set_cmd_statesbc.srpt_set_cmd_stateasbuh1hhjShhhjdhMFubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjShhhjdhMFubj)}(hsrpt_set_cmd_stateh]jN)}(hjh]hsrpt_set_cmd_state}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjShhhjdhMFubj)}(h<(struct srpt_send_ioctx *ioctx, enum srpt_command_state new)h](j)}(hstruct srpt_send_ioctx *ioctxh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hsrpt_send_ioctxh]hsrpt_send_ioctx}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.srpt_set_cmd_stateasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hioctxh]hioctx}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(henum srpt_command_state newh](j()}(hj%h]henum}(hj4hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj0ubj:)}(h h]h }(hjAhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj0ubh)}(hhh]jN)}(hsrpt_command_stateh]hsrpt_command_state}(hjRhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjOubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjTmodnameN classnameNjkjn)}jq]jc.srpt_set_cmd_stateasbuh1hhj0ubj:)}(h h]h }(hjphhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj0ubjN)}(hnewh]hnew}(hj~hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj0ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjShhhjdhMFubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjOhhhjdhMFubah}(h]jJah ](jjeh"]h$]h&]jj)jhuh1jhjdhMFhjLhhubj)}(hhh]h)}(hset the state of a SCSI commandh]hset the state of a SCSI command}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMFhjhhubah}(h]h ]h"]h$]h&]uh1jhjLhhhjdhMFubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(h**Parameters** ``struct srpt_send_ioctx *ioctx`` Send I/O context. ``enum srpt_command_state new`` New I/O context state. **Description** Does not modify the state of aborted commands. Returns the previous command state.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMJhjubj)}(hhh](j)}(h4``struct srpt_send_ioctx *ioctx`` Send I/O context. h](j)}(h!``struct srpt_send_ioctx *ioctx``h]j )}(hjh]hstruct srpt_send_ioctx *ioctx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMGhjubj)}(hhh]h)}(hSend I/O context.h]hSend I/O context.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjubj)}(h7``enum srpt_command_state new`` New I/O context state. h](j)}(h``enum srpt_command_state new``h]j )}(hj" h]henum srpt_command_state new}(hj$ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMHhj ubj)}(hhh]h)}(hNew I/O context state.h]hNew I/O context state.}(hj; hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7 hMHhj8 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj7 hMHhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj] h]h Description}(hj_ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMJhjubh)}(hRDoes not modify the state of aborted commands. Returns the previous command state.h]hRDoes not modify the state of aborted commands. Returns the previous command state.}(hjs hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMIhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j(srpt_test_and_set_cmd_state (C function)c.srpt_test_and_set_cmd_statehNtauh1jhj#hhhNhNubj)}(hhh](j)}(hzbool srpt_test_and_set_cmd_state (struct srpt_send_ioctx *ioctx, enum srpt_command_state old, enum srpt_command_state new)h]j")}(hybool srpt_test_and_set_cmd_state(struct srpt_send_ioctx *ioctx, enum srpt_command_state old, enum srpt_command_state new)h](j)}(hjjh]hbool}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMZubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj hhhj hMZubj)}(hsrpt_test_and_set_cmd_stateh]jN)}(hsrpt_test_and_set_cmd_stateh]hsrpt_test_and_set_cmd_state}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj hhhj hMZubj)}(hY(struct srpt_send_ioctx *ioctx, enum srpt_command_state old, enum srpt_command_state new)h](j)}(hstruct srpt_send_ioctx *ioctxh](j()}(hj+h]hstruct}(hj hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubh)}(hhh]jN)}(hsrpt_send_ioctxh]hsrpt_send_ioctx}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj modnameN classnameNjkjn)}jq]jt)}jgj sbc.srpt_test_and_set_cmd_stateasbuh1hhj ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubj)}(hjh]h*}(hj* hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjN)}(hioctxh]hioctx}(hj7 hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubj)}(henum srpt_command_state oldh](j()}(hj%h]henum}(hjP hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjL ubj:)}(h h]h }(hj] hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjL ubh)}(hhh]jN)}(hsrpt_command_stateh]hsrpt_command_state}(hjn hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjk ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjp modnameN classnameNjkjn)}jq]j c.srpt_test_and_set_cmd_stateasbuh1hhjL ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjL ubjN)}(holdh]hold}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjL ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubj)}(henum srpt_command_state newh](j()}(hj%h]henum}(hj hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubh)}(hhh]jN)}(hsrpt_command_stateh]hsrpt_command_state}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj modnameN classnameNjkjn)}jq]j c.srpt_test_and_set_cmd_stateasbuh1hhj ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubjN)}(hnewh]hnew}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubeh}(h]h ]h"]h$]h&]jjuh1jhj hhhj hMZubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj hhhj hMZubah}(h]j ah ](jjeh"]h$]h&]jj)jhuh1jhj hMZhj hhubj)}(hhh]h)}(h#test and set the state of a commandh]h#test and set the state of a command}(hj' hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMZhj$ hhubah}(h]h ]h"]h$]h&]uh1jhj hhhj hMZubeh}(h]h ](jefunctioneh"]h$]h&]jjejj? jj? jjjuh1jhhhj#hNhNubj)}(hX**Parameters** ``struct srpt_send_ioctx *ioctx`` Send I/O context. ``enum srpt_command_state old`` Current I/O context state. ``enum srpt_command_state new`` New I/O context state. **Description** Returns true if and only if the previous command state was equal to 'old'.h](h)}(h**Parameters**h]j)}(hjI h]h Parameters}(hjK hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM^hjC ubj)}(hhh](j)}(h4``struct srpt_send_ioctx *ioctx`` Send I/O context. h](j)}(h!``struct srpt_send_ioctx *ioctx``h]j )}(hjh h]hstruct srpt_send_ioctx *ioctx}(hjj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM[hjb ubj)}(hhh]h)}(hSend I/O context.h]hSend I/O context.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj} hM[hj~ ubah}(h]h ]h"]h$]h&]uh1jhjb ubeh}(h]h ]h"]h$]h&]uh1jhj} hM[hj_ ubj)}(h;``enum srpt_command_state old`` Current I/O context state. h](j)}(h``enum srpt_command_state old``h]j )}(hj h]henum srpt_command_state old}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM\hj ubj)}(hhh]h)}(hCurrent I/O context state.h]hCurrent I/O context state.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM\hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM\hj_ ubj)}(h7``enum srpt_command_state new`` New I/O context state. h](j)}(h``enum srpt_command_state new``h]j )}(hj h]henum srpt_command_state new}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM]hj ubj)}(hhh]h)}(hNew I/O context state.h]hNew I/O context state.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM]hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM]hj_ ubeh}(h]h ]h"]h$]h&]uh1jhjC ubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM_hjC ubh)}(hJReturns true if and only if the previous command state was equal to 'old'.h]hNReturns true if and only if the previous command state was equal to ‘old’.}(hj+ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM^hjC ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_post_recv (C function)c.srpt_post_recvhNtauh1jhj#hhhNhNubj)}(hhh](j)}(heint srpt_post_recv (struct srpt_device *sdev, struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *ioctx)h]j")}(hdint srpt_post_recv(struct srpt_device *sdev, struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *ioctx)h](j)}(hinth]hint}(hjZ hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjV hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMsubj:)}(h h]h }(hji hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjV hhhjh hMsubj)}(hsrpt_post_recvh]jN)}(hsrpt_post_recvh]hsrpt_post_recv}(hj{ hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjw ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjV hhhjh hMsubj)}(hR(struct srpt_device *sdev, struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *ioctx)h](j)}(hstruct srpt_device *sdevh](j()}(hj+h]hstruct}(hj hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubh)}(hhh]jN)}(h srpt_deviceh]h srpt_device}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj modnameN classnameNjkjn)}jq]jt)}jgj} sbc.srpt_post_recvasbuh1hhj ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjN)}(hsdevh]hsdev}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubj)}(hstruct srpt_rdma_ch *chh](j()}(hj+h]hstruct}(hj hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubh)}(hhh]jN)}(h srpt_rdma_chh]h srpt_rdma_ch}(hj' hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj$ ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj) modnameN classnameNjkjn)}jq]j c.srpt_post_recvasbuh1hhj ubj:)}(h h]h }(hjE hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubj)}(hjh]h*}(hjS hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjN)}(hchh]hch}(hj` hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubj)}(hstruct srpt_recv_ioctx *ioctxh](j()}(hj+h]hstruct}(hjy hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hju ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hju ubh)}(hhh]jN)}(hsrpt_recv_ioctxh]hsrpt_recv_ioctx}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj modnameN classnameNjkjn)}jq]j c.srpt_post_recvasbuh1hhju ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hju ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhju ubjN)}(hioctxh]hioctx}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhju ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubeh}(h]h ]h"]h$]h&]jjuh1jhjV hhhjh hMsubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjR hhhjh hMsubah}(h]jM ah ](jjeh"]h$]h&]jj)jhuh1jhjh hMshjO hhubj)}(hhh]h)}(hpost an IB receive requesth]hpost an IB receive request}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMshj hhubah}(h]h ]h"]h$]h&]uh1jhjO hhhjh hMsubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(h**Parameters** ``struct srpt_device *sdev`` SRPT HCA pointer. ``struct srpt_rdma_ch *ch`` SRPT RDMA channel. ``struct srpt_recv_ioctx *ioctx`` Receive I/O context pointer.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMwhjubj)}(hhh](j)}(h/``struct srpt_device *sdev`` SRPT HCA pointer. h](j)}(h``struct srpt_device *sdev``h]j )}(hj;h]hstruct srpt_device *sdev}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMthj5ubj)}(hhh]h)}(hSRPT HCA pointer.h]hSRPT HCA pointer.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMthjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMthj2ubj)}(h/``struct srpt_rdma_ch *ch`` SRPT RDMA channel. h](j)}(h``struct srpt_rdma_ch *ch``h]j )}(hjth]hstruct srpt_rdma_ch *ch}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMuhjnubj)}(hhh]h)}(hSRPT RDMA channel.h]hSRPT RDMA channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMuhj2ubj)}(h>``struct srpt_recv_ioctx *ioctx`` Receive I/O context pointer.h](j)}(h!``struct srpt_recv_ioctx *ioctx``h]j )}(hjh]hstruct srpt_recv_ioctx *ioctx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMwhjubj)}(hhh]h)}(hReceive I/O context pointer.h]hReceive I/O context pointer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhj2ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"srpt_zerolength_write (C function)c.srpt_zerolength_writehNtauh1jhj#hhhNhNubj)}(hhh](j)}(h3int srpt_zerolength_write (struct srpt_rdma_ch *ch)h]j")}(h2int srpt_zerolength_write(struct srpt_rdma_ch *ch)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hsrpt_zerolength_writeh]jN)}(hsrpt_zerolength_writeh]hsrpt_zerolength_write}(hj(hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj$ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(h(struct srpt_rdma_ch *ch)h]j)}(hstruct srpt_rdma_ch *chh](j()}(hj+h]hstruct}(hjDhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj@ubj:)}(h h]h }(hjQhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj@ubh)}(hhh]jN)}(h srpt_rdma_chh]h srpt_rdma_ch}(hjbhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj_ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjdmodnameN classnameNjkjn)}jq]jt)}jgj*sbc.srpt_zerolength_writeasbuh1hhj@ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj@ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubjN)}(hchh]hch}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj@ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj<ubah}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h perform a zero-length RDMA writeh]h perform a zero-length RDMA write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(hX<**Parameters** ``struct srpt_rdma_ch *ch`` SRPT RDMA channel. **Description** A quote from the InfiniBand specification: C9-88: For an HCA responder using Reliable Connection service, for each zero-length RDMA READ or WRITE request, the R_Key shall not be validated, even if the request includes Immediate data.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]j)}(h/``struct srpt_rdma_ch *ch`` SRPT RDMA channel. h](j)}(h``struct srpt_rdma_ch *ch``h]j )}(hjh]hstruct srpt_rdma_ch *ch}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(hSRPT RDMA channel.h]hSRPT RDMA channel.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjCh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubh)}(hA quote from the InfiniBand specification: C9-88: For an HCA responder using Reliable Connection service, for each zero-length RDMA READ or WRITE request, the R_Key shall not be validated, even if the request includes Immediate data.h]hA quote from the InfiniBand specification: C9-88: For an HCA responder using Reliable Connection service, for each zero-length RDMA READ or WRITE request, the R_Key shall not be validated, even if the request includes Immediate data.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_get_desc_tbl (C function)c.srpt_get_desc_tblhNtauh1jhj#hhhNhNubj)}(hhh](j)}(hint srpt_get_desc_tbl (struct srpt_recv_ioctx *recv_ioctx, struct srpt_send_ioctx *ioctx, struct srp_cmd *srp_cmd, enum dma_data_direction *dir, struct scatterlist **sg, unsigned int *sg_cnt, u64 *data_len, u16 imm_data_offset)h]j")}(hint srpt_get_desc_tbl(struct srpt_recv_ioctx *recv_ioctx, struct srpt_send_ioctx *ioctx, struct srp_cmd *srp_cmd, enum dma_data_direction *dir, struct scatterlist **sg, unsigned int *sg_cnt, u64 *data_len, u16 imm_data_offset)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM#ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhM#ubj)}(hsrpt_get_desc_tblh]jN)}(hsrpt_get_desc_tblh]hsrpt_get_desc_tbl}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhM#ubj)}(h(struct srpt_recv_ioctx *recv_ioctx, struct srpt_send_ioctx *ioctx, struct srp_cmd *srp_cmd, enum dma_data_direction *dir, struct scatterlist **sg, unsigned int *sg_cnt, u64 *data_len, u16 imm_data_offset)h](j)}(h"struct srpt_recv_ioctx *recv_ioctxh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hsrpt_recv_ioctxh]hsrpt_recv_ioctx}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjsbc.srpt_get_desc_tblasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(h recv_ioctxh]h recv_ioctx}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct srpt_send_ioctx *ioctxh](j()}(hj+h]hstruct}(hj7hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj3ubj:)}(h h]h }(hjDhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj3ubh)}(hhh]jN)}(hsrpt_send_ioctxh]hsrpt_send_ioctx}(hjUhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjRubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjWmodnameN classnameNjkjn)}jq]jc.srpt_get_desc_tblasbuh1hhj3ubj:)}(h h]h }(hjshhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj3ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubjN)}(hioctxh]hioctx}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj3ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct srp_cmd *srp_cmdh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hsrp_cmdh]hsrp_cmd}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.srpt_get_desc_tblasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hsrp_cmdh]hsrp_cmd}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(henum dma_data_direction *dirh](j()}(hj%h]henum}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj$hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hdma_data_directionh]hdma_data_direction}(hj5hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj2ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj7modnameN classnameNjkjn)}jq]jc.srpt_get_desc_tblasbuh1hhjubj:)}(h h]h }(hjShhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hdirh]hdir}(hjnhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct scatterlist **sgh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h scatterlisth]h scatterlist}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.srpt_get_desc_tblasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hsgh]hsg}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hunsigned int *sg_cnth](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj:)}(h h]h }(hj.hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hsg_cnth]hsg_cnt}(hjIhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h u64 *data_lenh](h)}(hhh]jN)}(hu64h]hu64}(hjehhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjbubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjgmodnameN classnameNjkjn)}jq]jc.srpt_get_desc_tblasbuh1hhj^ubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj^ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubjN)}(hdata_lenh]hdata_len}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj^ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hu16 imm_data_offseth](h)}(hhh]jN)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.srpt_get_desc_tblasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubjN)}(himm_data_offseth]himm_data_offset}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhM#ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhM#ubah}(h]j{ah ](jjeh"]h$]h&]jj)jhuh1jhjhM#hj}hhubj)}(hhh]h)}(h/parse the data descriptors of a SRP_CMD requesth]h/parse the data descriptors of a SRP_CMD request}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM#hj hhubah}(h]h ]h"]h$]h&]uh1jhj}hhhjhM#ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj(jj(jjjuh1jhhhj#hNhNubj)}(hX**Parameters** ``struct srpt_recv_ioctx *recv_ioctx`` I/O context associated with the received command **srp_cmd**. ``struct srpt_send_ioctx *ioctx`` I/O context that will be used for responding to the initiator. ``struct srp_cmd *srp_cmd`` Pointer to the SRP_CMD request data. ``enum dma_data_direction *dir`` Pointer to the variable to which the transfer direction will be written. ``struct scatterlist **sg`` [out] scatterlist for the parsed SRP_CMD. ``unsigned int *sg_cnt`` [out] length of **sg**. ``u64 *data_len`` Pointer to the variable to which the total data length of all descriptors in the SRP_CMD request will be written. ``u16 imm_data_offset`` [in] Offset in SRP_CMD requests at which immediate data starts. **Description** This function initializes ioctx->nrbuf and ioctx->r_bufs. Returns -EINVAL when the SRP_CMD request contains inconsistent descriptors; -ENOMEM when memory allocation fails and zero upon success.h](h)}(h**Parameters**h]j)}(hj2h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM'hj,ubj)}(hhh](j)}(he``struct srpt_recv_ioctx *recv_ioctx`` I/O context associated with the received command **srp_cmd**. h](j)}(h&``struct srpt_recv_ioctx *recv_ioctx``h]j )}(hjQh]h"struct srpt_recv_ioctx *recv_ioctx}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM$hjKubj)}(hhh]h)}(h=I/O context associated with the received command **srp_cmd**.h](h1I/O context associated with the received command }(hjjhhhNhNubj)}(h **srp_cmd**h]hsrp_cmd}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjfhM$hjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhM$hjHubj)}(ha``struct srpt_send_ioctx *ioctx`` I/O context that will be used for responding to the initiator. h](j)}(h!``struct srpt_send_ioctx *ioctx``h]j )}(hjh]hstruct srpt_send_ioctx *ioctx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM%hjubj)}(hhh]h)}(h>I/O context that will be used for responding to the initiator.h]h>I/O context that will be used for responding to the initiator.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjHubj)}(hA``struct srp_cmd *srp_cmd`` Pointer to the SRP_CMD request data. h](j)}(h``struct srp_cmd *srp_cmd``h]j )}(hjh]hstruct srp_cmd *srp_cmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM&hjubj)}(hhh]h)}(h$Pointer to the SRP_CMD request data.h]h$Pointer to the SRP_CMD request data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjHubj)}(hj``enum dma_data_direction *dir`` Pointer to the variable to which the transfer direction will be written. h](j)}(h ``enum dma_data_direction *dir``h]j )}(hjh]henum dma_data_direction *dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM(hjubj)}(hhh]h)}(hHPointer to the variable to which the transfer direction will be written.h]hHPointer to the variable to which the transfer direction will be written.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM'hj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hM(hjHubj)}(hF``struct scatterlist **sg`` [out] scatterlist for the parsed SRP_CMD. h](j)}(h``struct scatterlist **sg``h]j )}(hjHh]hstruct scatterlist **sg}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM)hjBubj)}(hhh]h)}(h)[out] scatterlist for the parsed SRP_CMD.h]h)[out] scatterlist for the parsed SRP_CMD.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hM)hj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hM)hjHubj)}(h1``unsigned int *sg_cnt`` [out] length of **sg**. h](j)}(h``unsigned int *sg_cnt``h]j )}(hjh]hunsigned int *sg_cnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM*hj{ubj)}(hhh]h)}(h[out] length of **sg**.h](h[out] length of }(hjhhhNhNubj)}(h**sg**h]hsg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM*hjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhM*hjHubj)}(h``u64 *data_len`` Pointer to the variable to which the total data length of all descriptors in the SRP_CMD request will be written. h](j)}(h``u64 *data_len``h]j )}(hjh]h u64 *data_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM,hjubj)}(hhh]h)}(hqPointer to the variable to which the total data length of all descriptors in the SRP_CMD request will be written.h]hqPointer to the variable to which the total data length of all descriptors in the SRP_CMD request will be written.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjHubj)}(hX``u16 imm_data_offset`` [in] Offset in SRP_CMD requests at which immediate data starts. h](j)}(h``u16 imm_data_offset``h]j )}(hjh]hu16 imm_data_offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM.hjubj)}(hhh]h)}(h?[in] Offset in SRP_CMD requests at which immediate data starts.h]h?[in] Offset in SRP_CMD requests at which immediate data starts.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjHubeh}(h]h ]h"]h$]h&]uh1jhj,ubh)}(h**Description**h]j)}(hjBh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM0hj,ubh)}(h9This function initializes ioctx->nrbuf and ioctx->r_bufs.h]h9This function initializes ioctx->nrbuf and ioctx->r_bufs.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM/hj,ubh)}(hReturns -EINVAL when the SRP_CMD request contains inconsistent descriptors; -ENOMEM when memory allocation fails and zero upon success.h]hReturns -EINVAL when the SRP_CMD request contains inconsistent descriptors; -ENOMEM when memory allocation fails and zero upon success.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM1hj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_init_ch_qp (C function)c.srpt_init_ch_qphNtauh1jhj#hhhNhNubj)}(hhh](j)}(h?int srpt_init_ch_qp (struct srpt_rdma_ch *ch, struct ib_qp *qp)h]j")}(h>int srpt_init_ch_qp(struct srpt_rdma_ch *ch, struct ib_qp *qp)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hsrpt_init_ch_qph]jN)}(hsrpt_init_ch_qph]hsrpt_init_ch_qp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(h+(struct srpt_rdma_ch *ch, struct ib_qp *qp)h](j)}(hstruct srpt_rdma_ch *chh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h srpt_rdma_chh]h srpt_rdma_ch}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjsbc.srpt_init_ch_qpasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hchh]hch}(hj,hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ib_qp *qph](j()}(hj+h]hstruct}(hjEhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjAubj:)}(h h]h }(hjRhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjAubh)}(hhh]jN)}(hib_qph]hib_qp}(hjchhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj`ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjemodnameN classnameNjkjn)}jq]j c.srpt_init_ch_qpasbuh1hhjAubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjAubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubjN)}(hqph]hqp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjAubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h initialize queue pair attributesh]h initialize queue pair attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(hX**Parameters** ``struct srpt_rdma_ch *ch`` SRPT RDMA channel. ``struct ib_qp *qp`` Queue pair pointer. **Description** Initialized the attributes of queue pair 'qp' by allowing local write, remote read and remote write. Also transitions 'qp' to state IB_QPS_INIT.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh](j)}(h/``struct srpt_rdma_ch *ch`` SRPT RDMA channel. h](j)}(h``struct srpt_rdma_ch *ch``h]j )}(hjh]hstruct srpt_rdma_ch *ch}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(hSRPT RDMA channel.h]hSRPT RDMA channel.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``struct ib_qp *qp`` Queue pair pointer. h](j)}(h``struct ib_qp *qp``h]j )}(hj@h]hstruct ib_qp *qp}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj:ubj)}(hhh]h)}(hQueue pair pointer.h]hQueue pair pointer.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj{h]h Description}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubh)}(hInitialized the attributes of queue pair 'qp' by allowing local write, remote read and remote write. Also transitions 'qp' to state IB_QPS_INIT.h]hInitialized the attributes of queue pair ‘qp’ by allowing local write, remote read and remote write. Also transitions ‘qp’ to state IB_QPS_INIT.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_ch_qp_rtr (C function)c.srpt_ch_qp_rtrhNtauh1jhj#hhhNhNubj)}(hhh](j)}(h>int srpt_ch_qp_rtr (struct srpt_rdma_ch *ch, struct ib_qp *qp)h]j")}(h=int srpt_ch_qp_rtr(struct srpt_rdma_ch *ch, struct ib_qp *qp)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hsrpt_ch_qp_rtrh]jN)}(hsrpt_ch_qp_rtrh]hsrpt_ch_qp_rtr}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(h+(struct srpt_rdma_ch *ch, struct ib_qp *qp)h](j)}(hstruct srpt_rdma_ch *chh](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(h srpt_rdma_chh]h srpt_rdma_ch}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgjsbc.srpt_ch_qp_rtrasbuh1hhjubj:)}(h h]h }(hj;hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hchh]hch}(hjVhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hstruct ib_qp *qph](j()}(hj+h]hstruct}(hjohhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjkubj:)}(h h]h }(hj|hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjkubh)}(hhh]jN)}(hib_qph]hib_qp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]j7c.srpt_ch_qp_rtrasbuh1hhjkubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjkubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubjN)}(hqph]hqp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjkubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h9change the state of a channel to 'ready to receive' (RTR)h]h=change the state of a channel to ‘ready to receive’ (RTR)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(hX**Parameters** ``struct srpt_rdma_ch *ch`` channel of the queue pair. ``struct ib_qp *qp`` queue pair to change the state of. **Description** Returns zero upon success and a negative value upon failure. **Note** currently a struct ib_qp_attr takes 136 bytes on a 64-bit system. If this structure ever becomes larger, it might be necessary to allocate it dynamically instead of on the stack.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj ubj)}(hhh](j)}(h7``struct srpt_rdma_ch *ch`` channel of the queue pair. h](j)}(h``struct srpt_rdma_ch *ch``h]j )}(hj1h]hstruct srpt_rdma_ch *ch}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj+ubj)}(hhh]h)}(hchannel of the queue pair.h]hchannel of the queue pair.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj(ubj)}(h8``struct ib_qp *qp`` queue pair to change the state of. h](j)}(h``struct ib_qp *qp``h]j )}(hjjh]hstruct ib_qp *qp}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjdubj)}(hhh]h)}(h"queue pair to change the state of.h]h"queue pair to change the state of.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhj(ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj ubh)}(hint srpt_ch_qp_rts (struct srpt_rdma_ch *ch, struct ib_qp *qp)h]j")}(h=int srpt_ch_qp_rts(struct srpt_rdma_ch *ch, struct ib_qp *qp)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj hhhjhMubj)}(hsrpt_ch_qp_rtsh]jN)}(hsrpt_ch_qp_rtsh]hsrpt_ch_qp_rts}(hj2hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj.ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj hhhjhMubj)}(h+(struct srpt_rdma_ch *ch, struct ib_qp *qp)h](j)}(hstruct srpt_rdma_ch *chh](j()}(hj+h]hstruct}(hjNhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjJubj:)}(h h]h }(hj[hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjJubh)}(hhh]jN)}(h srpt_rdma_chh]h srpt_rdma_ch}(hjlhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjiubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjnmodnameN classnameNjkjn)}jq]jt)}jgj4sbc.srpt_ch_qp_rtsasbuh1hhjJubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjJubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubjN)}(hchh]hch}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjJubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjFubj)}(hstruct ib_qp *qph](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubh)}(hhh]jN)}(hib_qph]hib_qp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jc.srpt_ch_qp_rtsasbuh1hhjubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjN)}(hqph]hqp}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjFubeh}(h]h ]h"]h$]h&]jjuh1jhj hhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj hhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h6change the state of a channel to 'ready to send' (RTS)h]h:change the state of a channel to ‘ready to send’ (RTS)}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj>hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjYjjYjjjuh1jhhhj#hNhNubj)}(hX**Parameters** ``struct srpt_rdma_ch *ch`` channel of the queue pair. ``struct ib_qp *qp`` queue pair to change the state of. **Description** Returns zero upon success and a negative value upon failure. **Note** currently a struct ib_qp_attr takes 136 bytes on a 64-bit system. If this structure ever becomes larger, it might be necessary to allocate it dynamically instead of on the stack.h](h)}(h**Parameters**h]j)}(hjch]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj]ubj)}(hhh](j)}(h7``struct srpt_rdma_ch *ch`` channel of the queue pair. h](j)}(h``struct srpt_rdma_ch *ch``h]j )}(hjh]hstruct srpt_rdma_ch *ch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj|ubj)}(hhh]h)}(hchannel of the queue pair.h]hchannel of the queue pair.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjyubj)}(h8``struct ib_qp *qp`` queue pair to change the state of. h](j)}(h``struct ib_qp *qp``h]j )}(hjh]hstruct ib_qp *qp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(h"queue pair to change the state of.h]h"queue pair to change the state of.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjyubeh}(h]h ]h"]h$]h&]uh1jhj]ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj]ubh)}(hubj)}(hhh]j)}(h.``struct srpt_rdma_ch *ch`` SRPT RDMA channel.h](j)}(h``struct srpt_rdma_ch *ch``h]j )}(hjch]hstruct srpt_rdma_ch *ch}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj]ubj)}(hhh]h)}(hSRPT RDMA channel.h]hSRPT RDMA channel.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j srpt_get_send_ioctx (C function)c.srpt_get_send_ioctxhNtauh1jhj#hhhNhNubj)}(hhh](j)}(hFstruct srpt_send_ioctx * srpt_get_send_ioctx (struct srpt_rdma_ch *ch)h]j")}(hDstruct srpt_send_ioctx *srpt_get_send_ioctx(struct srpt_rdma_ch *ch)h](j()}(hj+h]hstruct}(hjhhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjhhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubh)}(hhh]jN)}(hsrpt_send_ioctxh]hsrpt_send_ioctx}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjmodnameN classnameNjkjn)}jq]jt)}jgsrpt_get_send_ioctxsbc.srpt_get_send_ioctxasbuh1hhjhhhjhMubj:)}(h h]h }(hjhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjhhhjhMubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj)}(hsrpt_get_send_ioctxh]jN)}(hjh]hsrpt_get_send_ioctx}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjubah}(h]h ](jjeh"]h$]h&]jjuh1jhjhhhjhMubj)}(h(struct srpt_rdma_ch *ch)h]j)}(hstruct srpt_rdma_ch *chh](j()}(hj+h]hstruct}(hj7hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj3ubj:)}(h h]h }(hjDhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj3ubh)}(hhh]jN)}(h srpt_rdma_chh]h srpt_rdma_ch}(hjUhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjRubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjWmodnameN classnameNjkjn)}jq]jc.srpt_get_send_ioctxasbuh1hhj3ubj:)}(h h]h }(hjshhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj3ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubjN)}(hchh]hch}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj3ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj/ubah}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1jhjhMhjhhubj)}(hhh]h)}(h2obtain an I/O context for sending to the initiatorh]h2obtain an I/O context for sending to the initiator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jefunctioneh"]h$]h&]jjejjjjjjjuh1jhhhj#hNhNubj)}(h@**Parameters** ``struct srpt_rdma_ch *ch`` SRPT RDMA channel.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]j)}(h.``struct srpt_rdma_ch *ch`` SRPT RDMA channel.h](j)}(h``struct srpt_rdma_ch *ch``h]j )}(hjh]hstruct srpt_rdma_ch *ch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjubj)}(hhh]h)}(hSRPT RDMA channel.h]hSRPT RDMA channel.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_abort_cmd (C function)c.srpt_abort_cmdhNtauh1jhj#hhhNhNubj)}(hhh](j)}(h2int srpt_abort_cmd (struct srpt_send_ioctx *ioctx)h]j")}(h1int srpt_abort_cmd(struct srpt_send_ioctx *ioctx)h](j)}(hinth]hint}(hjS hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjO hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM"ubj:)}(h h]h }(hjb hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjO hhhja hM"ubj)}(hsrpt_abort_cmdh]jN)}(hsrpt_abort_cmdh]hsrpt_abort_cmd}(hjt hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjp ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjO hhhja hM"ubj)}(h(struct srpt_send_ioctx *ioctx)h]j)}(hstruct srpt_send_ioctx *ioctxh](j()}(hj+h]hstruct}(hj hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubh)}(hhh]jN)}(hsrpt_send_ioctxh]hsrpt_send_ioctx}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj modnameN classnameNjkjn)}jq]jt)}jgjv sbc.srpt_abort_cmdasbuh1hhj ubj:)}(h h]h }(hj hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjN)}(hioctxh]hioctx}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj ubah}(h]h ]h"]h$]h&]jjuh1jhjO hhhja hM"ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjK hhhja hM"ubah}(h]jF ah ](jjeh"]h$]h&]jj)jhuh1jhja hM"hjH hhubj)}(hhh]h)}(habort a SCSI commandh]habort a SCSI command}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM"hj!hhubah}(h]h ]h"]h$]h&]uh1jhjH hhhja hM"ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj+!jj+!jjjuh1jhhhj#hNhNubj)}(ha**Parameters** ``struct srpt_send_ioctx *ioctx`` I/O context associated with the SCSI command.h](h)}(h**Parameters**h]j)}(hj5!h]h Parameters}(hj7!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3!ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM&hj/!ubj)}(hhh]j)}(hO``struct srpt_send_ioctx *ioctx`` I/O context associated with the SCSI command.h](j)}(h!``struct srpt_send_ioctx *ioctx``h]j )}(hjT!h]hstruct srpt_send_ioctx *ioctx}(hjV!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR!ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM(hjN!ubj)}(hhh]h)}(h-I/O context associated with the SCSI command.h]h-I/O context associated with the SCSI command.}(hjm!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM#hjj!ubah}(h]h ]h"]h$]h&]uh1jhjN!ubeh}(h]h ]h"]h$]h&]uh1jhji!hM(hjK!ubah}(h]h ]h"]h$]h&]uh1jhj/!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j srpt_rdma_read_done (C function)c.srpt_rdma_read_donehNtauh1jhj#hhhNhNubj)}(hhh](j)}(h=void srpt_rdma_read_done (struct ib_cq *cq, struct ib_wc *wc)h]j")}(hbuf points at and hence this function will overwrite the request data. ``u64 tag`` tag of the request for which this response is being generated. ``int status`` value for the STATUS field of the SRP_RSP information unit. **Description** Returns the size in bytes of the SRP_RSP response. An SRP_RSP response contains a SCSI status or service response. See also section 6.9 in the SRP r16a document for the format of an SRP_RSP response. See also SPC-2 for more information about sense data.h](h)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj%ubj)}(hhh](j)}(hV``struct srpt_rdma_ch *ch`` RDMA channel through which the request has been received. h](j)}(h``struct srpt_rdma_ch *ch``h]j )}(hj%h]hstruct srpt_rdma_ch *ch}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj%ubj)}(hhh]h)}(h9RDMA channel through which the request has been received.h]h9RDMA channel through which the request has been received.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj%ubj)}(h``struct srpt_send_ioctx *ioctx`` I/O context associated with the SRP_CMD request. The response will be built in the buffer ioctx->buf points at and hence this function will overwrite the request data. h](j)}(h!``struct srpt_send_ioctx *ioctx``h]j )}(hj%h]hstruct srpt_send_ioctx *ioctx}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj%ubj)}(hhh]h)}(hI/O context associated with the SRP_CMD request. The response will be built in the buffer ioctx->buf points at and hence this function will overwrite the request data.h]hI/O context associated with the SRP_CMD request. The response will be built in the buffer ioctx->buf points at and hence this function will overwrite the request data.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj&ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhj%ubj)}(hK``u64 tag`` tag of the request for which this response is being generated. h](j)}(h ``u64 tag``h]j )}(hj9&h]hu64 tag}(hj;&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7&ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj3&ubj)}(hhh]h)}(h>tag of the request for which this response is being generated.h]h>tag of the request for which this response is being generated.}(hjR&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjN&hMhjO&ubah}(h]h ]h"]h$]h&]uh1jhj3&ubeh}(h]h ]h"]h$]h&]uh1jhjN&hMhj%ubj)}(hK``int status`` value for the STATUS field of the SRP_RSP information unit. h](j)}(h``int status``h]j )}(hjr&h]h int status}(hjt&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp&ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjl&ubj)}(hhh]h)}(h;value for the STATUS field of the SRP_RSP information unit.h]h;value for the STATUS field of the SRP_RSP information unit.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hMhj&ubah}(h]h ]h"]h$]h&]uh1jhjl&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%ubh)}(h**Description**h]j)}(hj&h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj%ubh)}(h2Returns the size in bytes of the SRP_RSP response.h]h2Returns the size in bytes of the SRP_RSP response.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj%ubh)}(hAn SRP_RSP response contains a SCSI status or service response. See also section 6.9 in the SRP r16a document for the format of an SRP_RSP response. See also SPC-2 for more information about sense data.h]hAn SRP_RSP response contains a SCSI status or service response. See also section 6.9 in the SRP r16a document for the format of an SRP_RSP response. See also SPC-2 for more information about sense data.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j#srpt_build_tskmgmt_rsp (C function)c.srpt_build_tskmgmt_rsphNtauh1jhj#hhhNhNubj)}(hhh](j)}(hiint srpt_build_tskmgmt_rsp (struct srpt_rdma_ch *ch, struct srpt_send_ioctx *ioctx, u8 rsp_code, u64 tag)h]j")}(hhint srpt_build_tskmgmt_rsp(struct srpt_rdma_ch *ch, struct srpt_send_ioctx *ioctx, u8 rsp_code, u64 tag)h](j)}(hinth]hint}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj&hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hj'hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj&hhhj'hMubj)}(hsrpt_build_tskmgmt_rsph]jN)}(hsrpt_build_tskmgmt_rsph]hsrpt_build_tskmgmt_rsp}(hj"'hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj'ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj&hhhj'hMubj)}(hN(struct srpt_rdma_ch *ch, struct srpt_send_ioctx *ioctx, u8 rsp_code, u64 tag)h](j)}(hstruct srpt_rdma_ch *chh](j()}(hj+h]hstruct}(hj>'hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj:'ubj:)}(h h]h }(hjK'hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj:'ubh)}(hhh]jN)}(h srpt_rdma_chh]h srpt_rdma_ch}(hj\'hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjY'ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj^'modnameN classnameNjkjn)}jq]jt)}jgj$'sbc.srpt_build_tskmgmt_rspasbuh1hhj:'ubj:)}(h h]h }(hj|'hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj:'ubj)}(hjh]h*}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:'ubjN)}(hchh]hch}(hj'hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj:'ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj6'ubj)}(hstruct srpt_send_ioctx *ioctxh](j()}(hj+h]hstruct}(hj'hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj'ubj:)}(h h]h }(hj'hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj'ubh)}(hhh]jN)}(hsrpt_send_ioctxh]hsrpt_send_ioctx}(hj'hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj'ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj'modnameN classnameNjkjn)}jq]jx'c.srpt_build_tskmgmt_rspasbuh1hhj'ubj:)}(h h]h }(hj'hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj'ubj)}(hjh]h*}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubjN)}(hioctxh]hioctx}(hj(hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj'ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj6'ubj)}(h u8 rsp_codeh](h)}(hhh]jN)}(hu8h]hu8}(hj#(hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj (ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj%(modnameN classnameNjkjn)}jq]jx'c.srpt_build_tskmgmt_rspasbuh1hhj(ubj:)}(h h]h }(hjA(hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj(ubjN)}(hrsp_codeh]hrsp_code}(hjO(hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj(ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj6'ubj)}(hu64 tagh](h)}(hhh]jN)}(hu64h]hu64}(hjk(hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjh(ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjm(modnameN classnameNjkjn)}jq]jx'c.srpt_build_tskmgmt_rspasbuh1hhjd(ubj:)}(h h]h }(hj(hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjd(ubjN)}(htagh]htag}(hj(hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjd(ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj6'ubeh}(h]h ]h"]h$]h&]jjuh1jhj&hhhj'hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj&hhhj'hMubah}(h]j&ah ](jjeh"]h$]h&]jj)jhuh1jhj'hMhj&hhubj)}(hhh]h)}(h build a task management responseh]h build a task management response}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj(hhubah}(h]h ]h"]h$]h&]uh1jhj&hhhj'hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj(jj(jjjuh1jhhhj#hNhNubj)}(hX/**Parameters** ``struct srpt_rdma_ch *ch`` RDMA channel through which the request has been received. ``struct srpt_send_ioctx *ioctx`` I/O context in which the SRP_RSP response will be built. ``u8 rsp_code`` RSP_CODE that will be stored in the response. ``u64 tag`` Tag of the request for which this response is being generated. **Description** Returns the size in bytes of the SRP_RSP response. An SRP_RSP response contains a SCSI status or service response. See also section 6.9 in the SRP r16a document for the format of an SRP_RSP response.h](h)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj(ubj)}(hhh](j)}(hV``struct srpt_rdma_ch *ch`` RDMA channel through which the request has been received. h](j)}(h``struct srpt_rdma_ch *ch``h]j )}(hj)h]hstruct srpt_rdma_ch *ch}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj(ubj)}(hhh]h)}(h9RDMA channel through which the request has been received.h]h9RDMA channel through which the request has been received.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj(ubj)}(h[``struct srpt_send_ioctx *ioctx`` I/O context in which the SRP_RSP response will be built. h](j)}(h!``struct srpt_send_ioctx *ioctx``h]j )}(hj;)h]hstruct srpt_send_ioctx *ioctx}(hj=)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9)ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj5)ubj)}(hhh]h)}(h8I/O context in which the SRP_RSP response will be built.h]h8I/O context in which the SRP_RSP response will be built.}(hjT)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjP)hMhjQ)ubah}(h]h ]h"]h$]h&]uh1jhj5)ubeh}(h]h ]h"]h$]h&]uh1jhjP)hMhj(ubj)}(h>``u8 rsp_code`` RSP_CODE that will be stored in the response. h](j)}(h``u8 rsp_code``h]j )}(hjt)h]h u8 rsp_code}(hjv)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr)ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjn)ubj)}(hhh]h)}(h-RSP_CODE that will be stored in the response.h]h-RSP_CODE that will be stored in the response.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhjn)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj(ubj)}(hK``u64 tag`` Tag of the request for which this response is being generated. h](j)}(h ``u64 tag``h]j )}(hj)h]hu64 tag}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj)ubj)}(hhh]h)}(h>Tag of the request for which this response is being generated.h]h>Tag of the request for which this response is being generated.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(ubh)}(h**Description**h]j)}(hj)h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj(ubh)}(h2Returns the size in bytes of the SRP_RSP response.h]h2Returns the size in bytes of the SRP_RSP response.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj(ubh)}(hAn SRP_RSP response contains a SCSI status or service response. See also section 6.9 in the SRP r16a document for the format of an SRP_RSP response.h]hAn SRP_RSP response contains a SCSI status or service response. See also section 6.9 in the SRP r16a document for the format of an SRP_RSP response.}(hj *hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_handle_cmd (C function)c.srpt_handle_cmdhNtauh1jhj#hhhNhNubj)}(hhh](j)}(hvvoid srpt_handle_cmd (struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *recv_ioctx, struct srpt_send_ioctx *send_ioctx)h]j")}(huvoid srpt_handle_cmd(struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *recv_ioctx, struct srpt_send_ioctx *send_ioctx)h](j)}(hvoidh]hvoid}(hj<*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj8*hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM ubj:)}(h h]h }(hjK*hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8*hhhjJ*hM ubj)}(hsrpt_handle_cmdh]jN)}(hsrpt_handle_cmdh]hsrpt_handle_cmd}(hj]*hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjY*ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj8*hhhjJ*hM ubj)}(ha(struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *recv_ioctx, struct srpt_send_ioctx *send_ioctx)h](j)}(hstruct srpt_rdma_ch *chh](j()}(hj+h]hstruct}(hjy*hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hju*ubj:)}(h h]h }(hj*hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hju*ubh)}(hhh]jN)}(h srpt_rdma_chh]h srpt_rdma_ch}(hj*hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj*ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj*modnameN classnameNjkjn)}jq]jt)}jgj_*sbc.srpt_handle_cmdasbuh1hhju*ubj:)}(h h]h }(hj*hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hju*ubj)}(hjh]h*}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhju*ubjN)}(hchh]hch}(hj*hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhju*ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjq*ubj)}(h"struct srpt_recv_ioctx *recv_ioctxh](j()}(hj+h]hstruct}(hj*hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj*ubj:)}(h h]h }(hj*hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj*ubh)}(hhh]jN)}(hsrpt_recv_ioctxh]hsrpt_recv_ioctx}(hj +hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj+ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj +modnameN classnameNjkjn)}jq]j*c.srpt_handle_cmdasbuh1hhj*ubj:)}(h h]h }(hj'+hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj*ubj)}(hjh]h*}(hj5+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubjN)}(h recv_ioctxh]h recv_ioctx}(hjB+hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj*ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjq*ubj)}(h"struct srpt_send_ioctx *send_ioctxh](j()}(hj+h]hstruct}(hj[+hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjW+ubj:)}(h h]h }(hjh+hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjW+ubh)}(hhh]jN)}(hsrpt_send_ioctxh]hsrpt_send_ioctx}(hjy+hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjv+ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj{+modnameN classnameNjkjn)}jq]j*c.srpt_handle_cmdasbuh1hhjW+ubj:)}(h h]h }(hj+hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjW+ubj)}(hjh]h*}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjW+ubjN)}(h send_ioctxh]h send_ioctx}(hj+hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjW+ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjq*ubeh}(h]h ]h"]h$]h&]jjuh1jhj8*hhhjJ*hM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj4*hhhjJ*hM ubah}(h]j/*ah ](jjeh"]h$]h&]jj)jhuh1jhjJ*hM hj1*hhubj)}(hhh]h)}(h"process a SRP_CMD information unith]h"process a SRP_CMD information unit}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM hj+hhubah}(h]h ]h"]h$]h&]uh1jhj1*hhhjJ*hM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj+jj+jjjuh1jhhhj#hNhNubj)}(h**Parameters** ``struct srpt_rdma_ch *ch`` SRPT RDMA channel. ``struct srpt_recv_ioctx *recv_ioctx`` Receive I/O context. ``struct srpt_send_ioctx *send_ioctx`` Send I/O context.h](h)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj+ubj)}(hhh](j)}(h/``struct srpt_rdma_ch *ch`` SRPT RDMA channel. h](j)}(h``struct srpt_rdma_ch *ch``h]j )}(hj,h]hstruct srpt_rdma_ch *ch}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM hj,ubj)}(hhh]h)}(hSRPT RDMA channel.h]hSRPT RDMA channel.}(hj6,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2,hM hj3,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj2,hM hj,ubj)}(h<``struct srpt_recv_ioctx *recv_ioctx`` Receive I/O context. h](j)}(h&``struct srpt_recv_ioctx *recv_ioctx``h]j )}(hjV,h]h"struct srpt_recv_ioctx *recv_ioctx}(hjX,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT,ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM hjP,ubj)}(hhh]h)}(hReceive I/O context.h]hReceive I/O context.}(hjo,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjk,hM hjl,ubah}(h]h ]h"]h$]h&]uh1jhjP,ubeh}(h]h ]h"]h$]h&]uh1jhjk,hM hj,ubj)}(h8``struct srpt_send_ioctx *send_ioctx`` Send I/O context.h](j)}(h&``struct srpt_send_ioctx *send_ioctx``h]j )}(hj,h]h"struct srpt_send_ioctx *send_ioctx}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj,ubj)}(hhh]h)}(hSend I/O context.h]hSend I/O context.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj,ubeh}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!srpt_handle_tsk_mgmt (C function)c.srpt_handle_tsk_mgmthNtauh1jhj#hhhNhNubj)}(hhh](j)}(h{void srpt_handle_tsk_mgmt (struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *recv_ioctx, struct srpt_send_ioctx *send_ioctx)h]j")}(hzvoid srpt_handle_tsk_mgmt(struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *recv_ioctx, struct srpt_send_ioctx *send_ioctx)h](j)}(hvoidh]hvoid}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj,hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMcubj:)}(h h]h }(hj,hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj,hhhj,hMcubj)}(hsrpt_handle_tsk_mgmth]jN)}(hsrpt_handle_tsk_mgmth]hsrpt_handle_tsk_mgmt}(hj -hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj-ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj,hhhj,hMcubj)}(ha(struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *recv_ioctx, struct srpt_send_ioctx *send_ioctx)h](j)}(hstruct srpt_rdma_ch *chh](j()}(hj+h]hstruct}(hj&-hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj"-ubj:)}(h h]h }(hj3-hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj"-ubh)}(hhh]jN)}(h srpt_rdma_chh]h srpt_rdma_ch}(hjD-hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjA-ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjF-modnameN classnameNjkjn)}jq]jt)}jgj -sbc.srpt_handle_tsk_mgmtasbuh1hhj"-ubj:)}(h h]h }(hjd-hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj"-ubj)}(hjh]h*}(hjr-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"-ubjN)}(hchh]hch}(hj-hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj"-ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj-ubj)}(h"struct srpt_recv_ioctx *recv_ioctxh](j()}(hj+h]hstruct}(hj-hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj-ubj:)}(h h]h }(hj-hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj-ubh)}(hhh]jN)}(hsrpt_recv_ioctxh]hsrpt_recv_ioctx}(hj-hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj-ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj-modnameN classnameNjkjn)}jq]j`-c.srpt_handle_tsk_mgmtasbuh1hhj-ubj:)}(h h]h }(hj-hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj-ubj)}(hjh]h*}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubjN)}(h recv_ioctxh]h recv_ioctx}(hj-hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj-ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj-ubj)}(h"struct srpt_send_ioctx *send_ioctxh](j()}(hj+h]hstruct}(hj.hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj.ubj:)}(h h]h }(hj.hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj.ubh)}(hhh]jN)}(hsrpt_send_ioctxh]hsrpt_send_ioctx}(hj&.hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj#.ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj(.modnameN classnameNjkjn)}jq]j`-c.srpt_handle_tsk_mgmtasbuh1hhj.ubj:)}(h h]h }(hjD.hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj.ubj)}(hjh]h*}(hjR.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubjN)}(h send_ioctxh]h send_ioctx}(hj_.hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj.ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj-ubeh}(h]h ]h"]h$]h&]jjuh1jhj,hhhj,hMcubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj,hhhj,hMcubah}(h]j,ah ](jjeh"]h$]h&]jj)jhuh1jhj,hMchj,hhubj)}(hhh]h)}(h'process a SRP_TSK_MGMT information unith]h'process a SRP_TSK_MGMT information unit}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMchj.hhubah}(h]h ]h"]h$]h&]uh1jhj,hhhj,hMcubeh}(h]h ](jefunctioneh"]h$]h&]jjejj.jj.jjjuh1jhhhj#hNhNubj)}(hX**Parameters** ``struct srpt_rdma_ch *ch`` SRPT RDMA channel. ``struct srpt_recv_ioctx *recv_ioctx`` Receive I/O context. ``struct srpt_send_ioctx *send_ioctx`` Send I/O context. **Description** Returns 0 if and only if the request will be processed by the target core. For more information about SRP_TSK_MGMT information units, see also section 6.7 in the SRP r16a document.h](h)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMghj.ubj)}(hhh](j)}(h/``struct srpt_rdma_ch *ch`` SRPT RDMA channel. h](j)}(h``struct srpt_rdma_ch *ch``h]j )}(hj.h]hstruct srpt_rdma_ch *ch}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMdhj.ubj)}(hhh]h)}(hSRPT RDMA channel.h]hSRPT RDMA channel.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hMdhj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMdhj.ubj)}(h<``struct srpt_recv_ioctx *recv_ioctx`` Receive I/O context. h](j)}(h&``struct srpt_recv_ioctx *recv_ioctx``h]j )}(hj/h]h"struct srpt_recv_ioctx *recv_ioctx}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMehj.ubj)}(hhh]h)}(hReceive I/O context.h]hReceive I/O context.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMehj/ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj/hMehj.ubj)}(h9``struct srpt_send_ioctx *send_ioctx`` Send I/O context. h](j)}(h&``struct srpt_send_ioctx *send_ioctx``h]j )}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:/ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMfhj6/ubj)}(hhh]h)}(hSend I/O context.h]hSend I/O context.}(hjU/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQ/hMfhjR/ubah}(h]h ]h"]h$]h&]uh1jhj6/ubeh}(h]h ]h"]h$]h&]uh1jhjQ/hMfhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.ubh)}(h**Description**h]j)}(hjw/h]h Description}(hjy/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju/ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhhj.ubh)}(hJReturns 0 if and only if the request will be processed by the target core.h]hJReturns 0 if and only if the request will be processed by the target core.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMghj.ubh)}(hiFor more information about SRP_TSK_MGMT information units, see also section 6.7 in the SRP r16a document.h]hiFor more information about SRP_TSK_MGMT information units, see also section 6.7 in the SRP r16a document.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMihj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_handle_new_iu (C function)c.srpt_handle_new_iuhNtauh1jhj#hhhNhNubj)}(hhh](j)}(hUbool srpt_handle_new_iu (struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *recv_ioctx)h]j")}(hTbool srpt_handle_new_iu(struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *recv_ioctx)h](j)}(hjjh]hbool}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj/hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hj/hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj/hhhj/hMubj)}(hsrpt_handle_new_iuh]jN)}(hsrpt_handle_new_iuh]hsrpt_handle_new_iu}(hj/hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj/ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj/hhhj/hMubj)}(h=(struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *recv_ioctx)h](j)}(hstruct srpt_rdma_ch *chh](j()}(hj+h]hstruct}(hj0hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj0ubj:)}(h h]h }(hj0hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj0ubh)}(hhh]jN)}(h srpt_rdma_chh]h srpt_rdma_ch}(hj%0hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj"0ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj'0modnameN classnameNjkjn)}jq]jt)}jgj/sbc.srpt_handle_new_iuasbuh1hhj0ubj:)}(h h]h }(hjE0hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj0ubj)}(hjh]h*}(hjS0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubjN)}(hchh]hch}(hj`0hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj0ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj/ubj)}(h"struct srpt_recv_ioctx *recv_ioctxh](j()}(hj+h]hstruct}(hjy0hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hju0ubj:)}(h h]h }(hj0hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hju0ubh)}(hhh]jN)}(hsrpt_recv_ioctxh]hsrpt_recv_ioctx}(hj0hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj0ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj0modnameN classnameNjkjn)}jq]jA0c.srpt_handle_new_iuasbuh1hhju0ubj:)}(h h]h }(hj0hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hju0ubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhju0ubjN)}(h recv_ioctxh]h recv_ioctx}(hj0hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhju0ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj/ubeh}(h]h ]h"]h$]h&]jjuh1jhj/hhhj/hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj/hhhj/hMubah}(h]j/ah ](jjeh"]h$]h&]jj)jhuh1jhj/hMhj/hhubj)}(hhh]h)}(h)process a newly received information unith]h)process a newly received information unit}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj0hhubah}(h]h ]h"]h$]h&]uh1jhj/hhhj/hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj1jj1jjjuh1jhhhj#hNhNubj)}(h**Parameters** ``struct srpt_rdma_ch *ch`` RDMA channel through which the information unit has been received. ``struct srpt_recv_ioctx *recv_ioctx`` Receive I/O context associated with the information unit.h](h)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj1ubj)}(hhh](j)}(h_``struct srpt_rdma_ch *ch`` RDMA channel through which the information unit has been received. h](j)}(h``struct srpt_rdma_ch *ch``h]j )}(hj;1h]hstruct srpt_rdma_ch *ch}(hj=1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj91ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj51ubj)}(hhh]h)}(hBRDMA channel through which the information unit has been received.h]hBRDMA channel through which the information unit has been received.}(hjT1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjP1hMhjQ1ubah}(h]h ]h"]h$]h&]uh1jhj51ubeh}(h]h ]h"]h$]h&]uh1jhjP1hMhj21ubj)}(h```struct srpt_recv_ioctx *recv_ioctx`` Receive I/O context associated with the information unit.h](j)}(h&``struct srpt_recv_ioctx *recv_ioctx``h]j )}(hjt1h]h"struct srpt_recv_ioctx *recv_ioctx}(hjv1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr1ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjn1ubj)}(hhh]h)}(h9Receive I/O context associated with the information unit.h]h9Receive I/O context associated with the information unit.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj1ubah}(h]h ]h"]h$]h&]uh1jhjn1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj21ubeh}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_send_done (C function)c.srpt_send_donehNtauh1jhj#hhhNhNubj)}(hhh](j)}(h8void srpt_send_done (struct ib_cq *cq, struct ib_wc *wc)h]j")}(h7void srpt_send_done(struct ib_cq *cq, struct ib_wc *wc)h](j)}(hvoidh]hvoid}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj1hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hj1hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj1hhhj1hMubj)}(hsrpt_send_doneh]jN)}(hsrpt_send_doneh]hsrpt_send_done}(hj1hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj1ubah}(h]h ]( jjeh"]h$]h&]jjuh1jhj1hhhj1hMubj)}(h$(struct ib_cq *cq, struct ib_wc *wc)h](j)}(hstruct ib_cq *cqh](j()}(hj+h]hstruct}(hj 2hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj2ubj:)}(h h]h }(hj2hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj2ubh)}(hhh]jN)}(hib_cqh]hib_cq}(hj)2hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj&2ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj+2modnameN classnameNjkjn)}jq]jt)}jgj1sbc.srpt_send_doneasbuh1hhj2ubj:)}(h h]h }(hjI2hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj2ubj)}(hjh]h*}(hjW2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubjN)}(hcqh]hcq}(hjd2hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj2ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj2ubj)}(hstruct ib_wc *wch](j()}(hj+h]hstruct}(hj}2hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjy2ubj:)}(h h]h }(hj2hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjy2ubh)}(hhh]jN)}(hib_wch]hib_wc}(hj2hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj2ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj2modnameN classnameNjkjn)}jq]jE2c.srpt_send_doneasbuh1hhjy2ubj:)}(h h]h }(hj2hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjy2ubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjy2ubjN)}(hwch]hwc}(hj2hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjy2ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj2ubeh}(h]h ]h"]h$]h&]jjuh1jhj1hhhj1hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj1hhhj1hMubah}(h]j1ah ](jjeh"]h$]h&]jj)jhuh1jhj1hMhj1hhubj)}(hhh]h)}(hsend completion callbackh]hsend completion callback}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj2hhubah}(h]h ]h"]h$]h&]uh1jhj1hhhj1hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj3jj3jjjuh1jhhhj#hNhNubj)}(hXI**Parameters** ``struct ib_cq *cq`` Completion queue. ``struct ib_wc *wc`` Work completion. **Note** Although this has not yet been observed during tests, at least in theory it is possible that the srpt_get_send_ioctx() call invoked by srpt_handle_new_iu() fails. This is possible because the req_lim_delta value in each response is set to one, and it is possible that this response makes the initiator send a new request before the send completion for that response has been processed. This could e.g. happen if the call to srpt_put_send_iotcx() is delayed because of a higher priority interrupt or if IB retransmission causes generation of the send completion to be delayed. Incoming information units for which srpt_get_send_ioctx() fails are queued on cmd_wait_list. The code below processes these delayed requests one at a time.h](h)}(h**Parameters**h]j)}(hj 3h]h Parameters}(hj"3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM hj3ubj)}(hhh](j)}(h'``struct ib_cq *cq`` Completion queue. h](j)}(h``struct ib_cq *cq``h]j )}(hj?3h]hstruct ib_cq *cq}(hjA3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=3ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj93ubj)}(hhh]h)}(hCompletion queue.h]hCompletion queue.}(hjX3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjT3hMhjU3ubah}(h]h ]h"]h$]h&]uh1jhj93ubeh}(h]h ]h"]h$]h&]uh1jhjT3hMhj63ubj)}(h&``struct ib_wc *wc`` Work completion. h](j)}(h``struct ib_wc *wc``h]j )}(hjx3h]hstruct ib_wc *wc}(hjz3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv3ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM hjr3ubj)}(hhh]h)}(hWork completion.h]hWork completion.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hM hj3ubah}(h]h ]h"]h$]h&]uh1jhjr3ubeh}(h]h ]h"]h$]h&]uh1jhj3hM hj63ubeh}(h]h ]h"]h$]h&]uh1jhj3ubh)}(h**Note**h]j)}(hj3h]hNote}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM hj3ubh)}(hXAlthough this has not yet been observed during tests, at least in theory it is possible that the srpt_get_send_ioctx() call invoked by srpt_handle_new_iu() fails. This is possible because the req_lim_delta value in each response is set to one, and it is possible that this response makes the initiator send a new request before the send completion for that response has been processed. This could e.g. happen if the call to srpt_put_send_iotcx() is delayed because of a higher priority interrupt or if IB retransmission causes generation of the send completion to be delayed. Incoming information units for which srpt_get_send_ioctx() fails are queued on cmd_wait_list. The code below processes these delayed requests one at a time.h]hXAlthough this has not yet been observed during tests, at least in theory it is possible that the srpt_get_send_ioctx() call invoked by srpt_handle_new_iu() fails. This is possible because the req_lim_delta value in each response is set to one, and it is possible that this response makes the initiator send a new request before the send completion for that response has been processed. This could e.g. happen if the call to srpt_put_send_iotcx() is delayed because of a higher priority interrupt or if IB retransmission causes generation of the send completion to be delayed. Incoming information units for which srpt_get_send_ioctx() fails are queued on cmd_wait_list. The code below processes these delayed requests one at a time.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM hj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_create_ch_ib (C function)c.srpt_create_ch_ibhNtauh1jhj#hhhNhNubj)}(hhh](j)}(h/int srpt_create_ch_ib (struct srpt_rdma_ch *ch)h]j")}(h.int srpt_create_ch_ib(struct srpt_rdma_ch *ch)h](j)}(hinth]hint}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj3hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM4ubj:)}(h h]h }(hj4hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj3hhhj4hM4ubj)}(hsrpt_create_ch_ibh]jN)}(hsrpt_create_ch_ibh]hsrpt_create_ch_ib}(hj4hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj4ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj3hhhj4hM4ubj)}(h(struct srpt_rdma_ch *ch)h]j)}(hstruct srpt_rdma_ch *chh](j()}(hj+h]hstruct}(hj54hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj14ubj:)}(h h]h }(hjB4hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj14ubh)}(hhh]jN)}(h srpt_rdma_chh]h srpt_rdma_ch}(hjS4hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjP4ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjU4modnameN classnameNjkjn)}jq]jt)}jgj4sbc.srpt_create_ch_ibasbuh1hhj14ubj:)}(h h]h }(hjs4hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj14ubj)}(hjh]h*}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj14ubjN)}(hchh]hch}(hj4hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj14ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj-4ubah}(h]h ]h"]h$]h&]jjuh1jhj3hhhj4hM4ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj3hhhj4hM4ubah}(h]j3ah ](jjeh"]h$]h&]jj)jhuh1jhj4hM4hj3hhubj)}(hhh]h)}(h)create receive and send completion queuesh]h)create receive and send completion queues}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM4hj4hhubah}(h]h ]h"]h$]h&]uh1jhj3hhhj4hM4ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj4jj4jjjuh1jhhhj#hNhNubj)}(h@**Parameters** ``struct srpt_rdma_ch *ch`` SRPT RDMA channel.h](h)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM8hj4ubj)}(hhh]j)}(h.``struct srpt_rdma_ch *ch`` SRPT RDMA channel.h](j)}(h``struct srpt_rdma_ch *ch``h]j )}(hj4h]hstruct srpt_rdma_ch *ch}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM:hj4ubj)}(hhh]h)}(hSRPT RDMA channel.h]hSRPT RDMA channel.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM5hj5ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj5hM:hj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_close_ch (C function)c.srpt_close_chhNtauh1jhj#hhhNhNubj)}(hhh](j)}(h,bool srpt_close_ch (struct srpt_rdma_ch *ch)h]j")}(h+bool srpt_close_ch(struct srpt_rdma_ch *ch)h](j)}(hjjh]hbool}(hjS5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjO5hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hja5hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjO5hhhj`5hMubj)}(h srpt_close_chh]jN)}(h srpt_close_chh]h srpt_close_ch}(hjs5hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjo5ubah}(h]h ](jjeh"]h$]h&]jjuh1jhjO5hhhj`5hMubj)}(h(struct srpt_rdma_ch *ch)h]j)}(hstruct srpt_rdma_ch *chh](j()}(hj+h]hstruct}(hj5hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj5ubj:)}(h h]h }(hj5hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj5ubh)}(hhh]jN)}(h srpt_rdma_chh]h srpt_rdma_ch}(hj5hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj5ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj5modnameN classnameNjkjn)}jq]jt)}jgju5sbc.srpt_close_chasbuh1hhj5ubj:)}(h h]h }(hj5hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj5ubj)}(hjh]h*}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubjN)}(hchh]hch}(hj5hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj5ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj5ubah}(h]h ]h"]h$]h&]jjuh1jhjO5hhhj`5hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjK5hhhj`5hMubah}(h]jF5ah ](jjeh"]h$]h&]jj)jhuh1jhj`5hMhjH5hhubj)}(hhh]h)}(hclose a RDMA channelh]hclose a RDMA channel}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj6hhubah}(h]h ]h"]h$]h&]uh1jhjH5hhhj`5hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj*6jj*6jjjuh1jhhhj#hNhNubj)}(hX**Parameters** ``struct srpt_rdma_ch *ch`` SRPT RDMA channel. **Description** Make sure all resources associated with the channel will be deallocated at an appropriate time. Returns true if and only if the channel state has been modified into CH_DRAINING.h](h)}(h**Parameters**h]j)}(hj46h]h Parameters}(hj66hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj26ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj.6ubj)}(hhh]j)}(h/``struct srpt_rdma_ch *ch`` SRPT RDMA channel. h](j)}(h``struct srpt_rdma_ch *ch``h]j )}(hjS6h]hstruct srpt_rdma_ch *ch}(hjU6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ6ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjM6ubj)}(hhh]h)}(hSRPT RDMA channel.h]hSRPT RDMA channel.}(hjl6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjh6hMhji6ubah}(h]h ]h"]h$]h&]uh1jhjM6ubeh}(h]h ]h"]h$]h&]uh1jhjh6hMhjJ6ubah}(h]h ]h"]h$]h&]uh1jhj.6ubh)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj.6ubh)}(h_Make sure all resources associated with the channel will be deallocated at an appropriate time.h]h_Make sure all resources associated with the channel will be deallocated at an appropriate time.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj.6ubh)}(hQReturns true if and only if the channel state has been modified into CH_DRAINING.h]hQReturns true if and only if the channel state has been modified into CH_DRAINING.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj.6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_cm_req_recv (C function)c.srpt_cm_req_recvhNtauh1jhj#hhhNhNubj)}(hhh](j)}(hint srpt_cm_req_recv (struct srpt_device *const sdev, struct ib_cm_id *ib_cm_id, struct rdma_cm_id *rdma_cm_id, u8 port_num, __be16 pkey, const struct srp_login_req *req, const char *src_addr)h]j")}(hint srpt_cm_req_recv(struct srpt_device *const sdev, struct ib_cm_id *ib_cm_id, struct rdma_cm_id *rdma_cm_id, u8 port_num, __be16 pkey, const struct srp_login_req *req, const char *src_addr)h](j)}(hinth]hint}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj6hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMubj:)}(h h]h }(hj6hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj6hhhj6hMubj)}(hsrpt_cm_req_recvh]jN)}(hsrpt_cm_req_recvh]hsrpt_cm_req_recv}(hj7hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj6ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj6hhhj6hMubj)}(h(struct srpt_device *const sdev, struct ib_cm_id *ib_cm_id, struct rdma_cm_id *rdma_cm_id, u8 port_num, __be16 pkey, const struct srp_login_req *req, const char *src_addr)h](j)}(hstruct srpt_device *const sdevh](j()}(hj+h]hstruct}(hj7hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj7ubj:)}(h h]h }(hj,7hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj7ubh)}(hhh]jN)}(h srpt_deviceh]h srpt_device}(hj=7hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj:7ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj?7modnameN classnameNjkjn)}jq]jt)}jgj7sbc.srpt_cm_req_recvasbuh1hhj7ubj:)}(h h]h }(hj]7hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj7ubj)}(hjh]h*}(hjk7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj()}(hjh]hconst}(hjx7hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj7ubj:)}(h h]h }(hj7hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj7ubjN)}(hsdevh]hsdev}(hj7hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj7ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj7ubj)}(hstruct ib_cm_id *ib_cm_idh](j()}(hj+h]hstruct}(hj7hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj7ubj:)}(h h]h }(hj7hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj7ubh)}(hhh]jN)}(hib_cm_idh]hib_cm_id}(hj7hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj7ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj7modnameN classnameNjkjn)}jq]jY7c.srpt_cm_req_recvasbuh1hhj7ubj:)}(h h]h }(hj7hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj7ubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubjN)}(hib_cm_idh]hib_cm_id}(hj8hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj7ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj7ubj)}(hstruct rdma_cm_id *rdma_cm_idh](j()}(hj+h]hstruct}(hj8hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj8ubj:)}(h h]h }(hj)8hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8ubh)}(hhh]jN)}(h rdma_cm_idh]h rdma_cm_id}(hj:8hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj78ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj<8modnameN classnameNjkjn)}jq]jY7c.srpt_cm_req_recvasbuh1hhj8ubj:)}(h h]h }(hjX8hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8ubj)}(hjh]h*}(hjf8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubjN)}(h rdma_cm_idh]h rdma_cm_id}(hjs8hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj7ubj)}(h u8 port_numh](h)}(hhh]jN)}(hu8h]hu8}(hj8hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj8modnameN classnameNjkjn)}jq]jY7c.srpt_cm_req_recvasbuh1hhj8ubj:)}(h h]h }(hj8hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8ubjN)}(hport_numh]hport_num}(hj8hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj7ubj)}(h __be16 pkeyh](h)}(hhh]jN)}(h__be16h]h__be16}(hj8hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj8modnameN classnameNjkjn)}jq]jY7c.srpt_cm_req_recvasbuh1hhj8ubj:)}(h h]h }(hj8hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj8ubjN)}(hpkeyh]hpkey}(hj9hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj8ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj7ubj)}(hconst struct srp_login_req *reqh](j()}(hjh]hconst}(hj9hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj9ubj:)}(h h]h }(hj)9hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj9ubj()}(hj+h]hstruct}(hj79hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj9ubj:)}(h h]h }(hjD9hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj9ubh)}(hhh]jN)}(h srp_login_reqh]h srp_login_req}(hjU9hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjR9ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjW9modnameN classnameNjkjn)}jq]jY7c.srpt_cm_req_recvasbuh1hhj9ubj:)}(h h]h }(hjs9hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj9ubj)}(hjh]h*}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubjN)}(hreqh]hreq}(hj9hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj9ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj7ubj)}(hconst char *src_addrh](j()}(hjh]hconst}(hj9hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj9ubj:)}(h h]h }(hj9hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj9ubj)}(hcharh]hchar}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj9ubj:)}(h h]h }(hj9hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj9ubj)}(hjh]h*}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubjN)}(hsrc_addrh]hsrc_addr}(hj9hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj9ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj7ubeh}(h]h ]h"]h$]h&]jjuh1jhj6hhhj6hMubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj6hhhj6hMubah}(h]j6ah ](jjeh"]h$]h&]jj)jhuh1jhj6hMhj6hhubj)}(hhh]h)}(h$process the event IB_CM_REQ_RECEIVEDh]h$process the event IB_CM_REQ_RECEIVED}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj:hhubah}(h]h ]h"]h$]h&]uh1jhj6hhhj6hMubeh}(h]h ](jefunctioneh"]h$]h&]jjejj-:jj-:jjjuh1jhhhj#hNhNubj)}(hX**Parameters** ``struct srpt_device *const sdev`` HCA through which the login request was received. ``struct ib_cm_id *ib_cm_id`` IB/CM connection identifier in case of IB/CM. ``struct rdma_cm_id *rdma_cm_id`` RDMA/CM connection identifier in case of RDMA/CM. ``u8 port_num`` Port through which the REQ message was received. ``__be16 pkey`` P_Key of the incoming connection. ``const struct srp_login_req *req`` SRP login request. ``const char *src_addr`` GID (IB/CM) or IP address (RDMA/CM) of the port that submitted the login request. **Description** Ownership of the cm_id is transferred to the target session if this function returns zero. Otherwise the caller remains the owner of cm_id.h](h)}(h**Parameters**h]j)}(hj7:h]h Parameters}(hj9:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5:ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj1:ubj)}(hhh](j)}(hU``struct srpt_device *const sdev`` HCA through which the login request was received. h](j)}(h"``struct srpt_device *const sdev``h]j )}(hjV:h]hstruct srpt_device *const sdev}(hjX:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT:ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjP:ubj)}(hhh]h)}(h1HCA through which the login request was received.h]h1HCA through which the login request was received.}(hjo:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjk:hMhjl:ubah}(h]h ]h"]h$]h&]uh1jhjP:ubeh}(h]h ]h"]h$]h&]uh1jhjk:hMhjM:ubj)}(hL``struct ib_cm_id *ib_cm_id`` IB/CM connection identifier in case of IB/CM. h](j)}(h``struct ib_cm_id *ib_cm_id``h]j )}(hj:h]hstruct ib_cm_id *ib_cm_id}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj:ubj)}(hhh]h)}(h-IB/CM connection identifier in case of IB/CM.h]h-IB/CM connection identifier in case of IB/CM.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjM:ubj)}(hT``struct rdma_cm_id *rdma_cm_id`` RDMA/CM connection identifier in case of RDMA/CM. h](j)}(h!``struct rdma_cm_id *rdma_cm_id``h]j )}(hj:h]hstruct rdma_cm_id *rdma_cm_id}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj:ubj)}(hhh]h)}(h1RDMA/CM connection identifier in case of RDMA/CM.h]h1RDMA/CM connection identifier in case of RDMA/CM.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjM:ubj)}(hA``u8 port_num`` Port through which the REQ message was received. h](j)}(h``u8 port_num``h]j )}(hj;h]h u8 port_num}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj:ubj)}(hhh]h)}(h0Port through which the REQ message was received.h]h0Port through which the REQ message was received.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMhj;ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjM:ubj)}(h2``__be16 pkey`` P_Key of the incoming connection. h](j)}(h``__be16 pkey``h]j )}(hj:;h]h __be16 pkey}(hj<;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8;ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj4;ubj)}(hhh]h)}(h!P_Key of the incoming connection.h]h!P_Key of the incoming connection.}(hjS;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjO;hMhjP;ubah}(h]h ]h"]h$]h&]uh1jhj4;ubeh}(h]h ]h"]h$]h&]uh1jhjO;hMhjM:ubj)}(h7``const struct srp_login_req *req`` SRP login request. h](j)}(h#``const struct srp_login_req *req``h]j )}(hjs;h]hconst struct srp_login_req *req}(hju;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq;ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhjm;ubj)}(hhh]h)}(hSRP login request.h]hSRP login request.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjm;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjM:ubj)}(hk``const char *src_addr`` GID (IB/CM) or IP address (RDMA/CM) of the port that submitted the login request. h](j)}(h``const char *src_addr``h]j )}(hj;h]hconst char *src_addr}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj;ubj)}(hhh]h)}(hQGID (IB/CM) or IP address (RDMA/CM) of the port that submitted the login request.h]hQGID (IB/CM) or IP address (RDMA/CM) of the port that submitted the login request.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjM:ubeh}(h]h ]h"]h$]h&]uh1jhj1:ubh)}(h**Description**h]j)}(hj;h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj1:ubh)}(hOwnership of the cm_id is transferred to the target session if this function returns zero. Otherwise the caller remains the owner of cm_id.h]hOwnership of the cm_id is transferred to the target session if this function returns zero. Otherwise the caller remains the owner of cm_id.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMhj1:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_cm_rtu_recv (C function)c.srpt_cm_rtu_recvhNtauh1jhj#hhhNhNubj)}(hhh](j)}(h/void srpt_cm_rtu_recv (struct srpt_rdma_ch *ch)h]j")}(h.void srpt_cm_rtu_recv(struct srpt_rdma_ch *ch)h](j)}(hvoidh]hvoid}(hj-<hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj)<hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMb ubj:)}(h h]h }(hj<<hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj)<hhhj;<hMb ubj)}(hsrpt_cm_rtu_recvh]jN)}(hsrpt_cm_rtu_recvh]hsrpt_cm_rtu_recv}(hjN<hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjJ<ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj)<hhhj;<hMb ubj)}(h(struct srpt_rdma_ch *ch)h]j)}(hstruct srpt_rdma_ch *chh](j()}(hj+h]hstruct}(hjj<hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjf<ubj:)}(h h]h }(hjw<hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjf<ubh)}(hhh]jN)}(h srpt_rdma_chh]h srpt_rdma_ch}(hj<hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj<ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj<modnameN classnameNjkjn)}jq]jt)}jgjP<sbc.srpt_cm_rtu_recvasbuh1hhjf<ubj:)}(h h]h }(hj<hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjf<ubj)}(hjh]h*}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf<ubjN)}(hchh]hch}(hj<hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjf<ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjb<ubah}(h]h ]h"]h$]h&]jjuh1jhj)<hhhj;<hMb ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj%<hhhj;<hMb ubah}(h]j <ah ](jjeh"]h$]h&]jj)jhuh1jhj;<hMb hj"<hhubj)}(hhh]h)}(h7process an IB_CM_RTU_RECEIVED or USER_ESTABLISHED eventh]h7process an IB_CM_RTU_RECEIVED or USER_ESTABLISHED event}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMb hj<hhubah}(h]h ]h"]h$]h&]uh1jhj"<hhhj;<hMb ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj=jj=jjjuh1jhhhj#hNhNubj)}(h**Parameters** ``struct srpt_rdma_ch *ch`` SRPT RDMA channel. **Description** An RTU (ready to use) message indicates that the connection has been established and that the recipient may begin transmitting.h](h)}(h**Parameters**h]j)}(hj=h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj =ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMf hj =ubj)}(hhh]j)}(h/``struct srpt_rdma_ch *ch`` SRPT RDMA channel. h](j)}(h``struct srpt_rdma_ch *ch``h]j )}(hj.=h]hstruct srpt_rdma_ch *ch}(hj0=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,=ubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMc hj(=ubj)}(hhh]h)}(hSRPT RDMA channel.h]hSRPT RDMA channel.}(hjG=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjC=hMc hjD=ubah}(h]h ]h"]h$]h&]uh1jhj(=ubeh}(h]h ]h"]h$]h&]uh1jhjC=hMc hj%=ubah}(h]h ]h"]h$]h&]uh1jhj =ubh)}(h**Description**h]j)}(hji=h]h Description}(hjk=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg=ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMe hj =ubh)}(hAn RTU (ready to use) message indicates that the connection has been established and that the recipient may begin transmitting.h]hAn RTU (ready to use) message indicates that the connection has been established and that the recipient may begin transmitting.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMd hj =ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jsrpt_cm_handler (C function)c.srpt_cm_handlerhNtauh1jhj#hhhNhNubj)}(hhh](j)}(hMint srpt_cm_handler (struct ib_cm_id *cm_id, const struct ib_cm_event *event)h]j")}(hLint srpt_cm_handler(struct ib_cm_id *cm_id, const struct ib_cm_event *event)h](j)}(hinth]hint}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj=hhhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM ubj:)}(h h]h }(hj=hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj=hhhj=hM ubj)}(hsrpt_cm_handlerh]jN)}(hsrpt_cm_handlerh]hsrpt_cm_handler}(hj=hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj=ubah}(h]h ](jjeh"]h$]h&]jjuh1jhj=hhhj=hM ubj)}(h9(struct ib_cm_id *cm_id, const struct ib_cm_event *event)h](j)}(hstruct ib_cm_id *cm_idh](j()}(hj+h]hstruct}(hj=hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hj=ubj:)}(h h]h }(hj=hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj=ubh)}(hhh]jN)}(hib_cm_idh]hib_cm_id}(hj >hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj>ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj >modnameN classnameNjkjn)}jq]jt)}jgj=sbc.srpt_cm_handlerasbuh1hhj=ubj:)}(h h]h }(hj)>hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hj=ubj)}(hjh]h*}(hj7>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubjN)}(hcm_idh]hcm_id}(hjD>hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj=ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj=ubj)}(hconst struct ib_cm_event *eventh](j()}(hjh]hconst}(hj]>hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjY>ubj:)}(h h]h }(hjj>hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjY>ubj()}(hj+h]hstruct}(hjx>hhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjY>ubj:)}(h h]h }(hj>hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjY>ubh)}(hhh]jN)}(h ib_cm_eventh]h ib_cm_event}(hj>hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj>ubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetj>modnameN classnameNjkjn)}jq]j%>c.srpt_cm_handlerasbuh1hhjY>ubj:)}(h h]h }(hj>hhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjY>ubj)}(hjh]h*}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjY>ubjN)}(heventh]hevent}(hj>hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjY>ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj=ubeh}(h]h ]h"]h$]h&]jjuh1jhj=hhhj=hM ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj=hhhj=hM ubah}(h]j=ah ](jjeh"]h$]h&]jj)jhuh1jhj=hM hj=hhubj)}(hhh]h)}(h'IB connection manager callback functionh]h'IB connection manager callback function}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM hj>hhubah}(h]h ]h"]h$]h&]uh1jhj=hhhj=hM ubeh}(h]h ](jefunctioneh"]h$]h&]jjejj?jj?jjjuh1jhhhj#hNhNubj)}(hX**Parameters** ``struct ib_cm_id *cm_id`` IB/CM connection identifier. ``const struct ib_cm_event *event`` IB/CM event. **Description** A non-zero return value will cause the caller destroy the CM ID. **Note** srpt_cm_handler() must only return a non-zero value when transferring ownership of the cm_id to a channel by srpt_cm_req_recv() failed. Returning a non-zero value in any other case will trigger a race with the ib_destroy_cm_id() call in srpt_release_channel().h](h)}(h**Parameters**h]j)}(hj?h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM hj?ubj)}(hhh](j)}(h8``struct ib_cm_id *cm_id`` IB/CM connection identifier. h](j)}(h``struct ib_cm_id *cm_id``h]j )}(hj:?h]hstruct ib_cm_id *cm_id}(hjHhhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjGubj)}(hjh]h*}(hjLHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubjN)}(hse_sessh]hse_sess}(hjYHhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjGubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjGubah}(h]h ]h"]h$]h&]jjuh1jhjGhhhjGhMZ ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhjGhhhjGhMZ ubah}(h]jGah ](jjeh"]h$]h&]jj)jhuh1jhjGhMZ hjGhhubj)}(hhh]h)}(hforcibly close a sessionh]hforcibly close a session}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chMZ hjHhhubah}(h]h ]h"]h$]h&]uh1jhjGhhhjGhMZ ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjHjjHjjjuh1jhhhj#hNhNubj)}(hX **Parameters** ``struct se_session *se_sess`` SCSI target session. **Description** Callback function invoked by the TCM core to clean up sessions associated with a node ACL when the user invokes rmdir /sys/kernel/config/target/$driver/$port/$tpg/acls/$i_port_idh](h)}(h**Parameters**h]j)}(hjHh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM^ hjHubj)}(hhh]j)}(h4``struct se_session *se_sess`` SCSI target session. h](j)}(h``struct se_session *se_sess``h]j )}(hjHh]hstruct se_session *se_sess}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM[ hjHubj)}(hhh]h)}(hSCSI target session.h]hSCSI target session.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhM[ hjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhM[ hjHubah}(h]h ]h"]h$]h&]uh1jhjHubh)}(h**Description**h]j)}(hjHh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM] hjHubh)}(hCallback function invoked by the TCM core to clean up sessions associated with a node ACL when the user invokes rmdir /sys/kernel/config/target/$driver/$port/$tpg/acls/$i_port_idh]hCallback function invoked by the TCM core to clean up sessions associated with a node ACL when the user invokes rmdir /sys/kernel/config/target/$driver/$port/$tpg/acls/$i_port_id}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhl/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:101: ./drivers/infiniband/ulp/srpt/ib_srpt.chM\ hjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj#hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j!srpt_parse_i_port_id (C function)c.srpt_parse_i_port_idhNtauh1jhj#hhhNhNubj)}(hhh](j)}(h=int srpt_parse_i_port_id (u8 i_port_id[16], const char *name)h]j")}(hThM8ubj)}(hisert_conn_terminateh]jN)}(hisert_conn_terminateh]hisert_conn_terminate}(hjQThhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjMTubah}(h]h ](jjeh"]h$]h&]jjuh1jhj,Thhhj>ThM8ubj)}(h(struct isert_conn *isert_conn)h]j)}(hstruct isert_conn *isert_connh](j()}(hj+h]hstruct}(hjmThhhNhNubah}(h]h ]j4ah"]h$]h&]uh1j'hjiTubj:)}(h h]h }(hjzThhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjiTubh)}(hhh]jN)}(h isert_connh]h isert_conn}(hjThhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjTubah}(h]h ]h"]h$]h&] refdomainjereftypejg reftargetjTmodnameN classnameNjkjn)}jq]jt)}jgjSTsbc.isert_conn_terminateasbuh1hhjiTubj:)}(h h]h }(hjThhhNhNubah}(h]h ]jFah"]h$]h&]uh1j9hjiTubj)}(hjh]h*}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiTubjN)}(h isert_connh]h isert_conn}(hjThhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjiTubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjeTubah}(h]h ]h"]h$]h&]jjuh1jhj,Thhhj>ThM8ubeh}(h]h ]h"]h$]h&]jjjuh1j!jjhj(Thhhj>ThM8ubah}(h]j#Tah ](jjeh"]h$]h&]jj)jhuh1jhj>ThM8hj%Thhubj)}(hhh]h)}(hInitiate connection terminationh]hInitiate connection termination}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:107: ./drivers/infiniband/ulp/isert/ib_isert.chM8hjThhubah}(h]h ]h"]h$]h&]uh1jhj%Thhhj>ThM8ubeh}(h]h ](jefunctioneh"]h$]h&]jjejjUjjUjjjuh1jhhhjThNhNubj)}(hXX**Parameters** ``struct isert_conn *isert_conn`` isert connection struct **Notes** In case the connection state is BOUND, move state to TEMINATING and start teardown sequence (rdma_disconnect). In case the connection state is UP, complete flush as well. This routine must be called with mutex held. Thus it is safe to call multiple times.h](h)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:107: ./drivers/infiniband/ulp/isert/ib_isert.chM<hj Uubj)}(hhh]j)}(h:``struct isert_conn *isert_conn`` isert connection struct h](j)}(h!``struct isert_conn *isert_conn``h]j )}(hj1Uh]hstruct isert_conn *isert_conn}(hj3UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Uubah}(h]h ]h"]h$]h&]uh1jhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:107: ./drivers/infiniband/ulp/isert/ib_isert.chM9hj+Uubj)}(hhh]h)}(hisert connection structh]hisert connection struct}(hjJUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFUhM9hjGUubah}(h]h ]h"]h$]h&]uh1jhj+Uubeh}(h]h ]h"]h$]h&]uh1jhjFUhM9hj(Uubah}(h]h ]h"]h$]h&]uh1jhj Uubh)}(h **Notes**h]j)}(hjlUh]hNotes}(hjnUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjUubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:107: ./drivers/infiniband/ulp/isert/ib_isert.chM;hj Uubh)}(hIn case the connection state is BOUND, move state to TEMINATING and start teardown sequence (rdma_disconnect). In case the connection state is UP, complete flush as well.h]hIn case the connection state is BOUND, move state to TEMINATING and start teardown sequence (rdma_disconnect). In case the connection state is UP, complete flush as well.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:107: ./drivers/infiniband/ulp/isert/ib_isert.chM;hj Uubh)}(hTThis routine must be called with mutex held. Thus it is safe to call multiple times.h]hTThis routine must be called with mutex held. Thus it is safe to call multiple times.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhn/var/lib/git/docbuild/linux/Documentation/driver-api/infiniband:107: ./drivers/infiniband/ulp/isert/ib_isert.chM?hj Uubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j)isert_put_unsol_pending_cmds (C function)c.isert_put_unsol_pending_cmdshNtauh1jhjThhhNhNubj)}(hhh](j)}(h,jC,j-j-j 1j%1j3j 3j4j4j7j7j=j=jCEjHEjLjLjWQj\QjUjUjZjZj&_j+_jdjdjgjgjjjjj:j<j<jH?jM?jAjAjCjCjDjDjFj Fj_IjdIj.Lj3LjrNjwNjoPjtPjQjQjSjSjUjUj[Vj`Vj~ZjZj5\j:\j_j_jcjcj>ejCej2WjnhjjhjhjhjRjjWjjkjkjojojpqjuqjsjsjujujvjvjyxj~xj-zj2zj|j|jҁjׁjjjjjjˆjjjjjÎjȎjDjIjjjAjFj~jjjjBjGj\jajݞjjj!jjj,j1jjjjj^jcjׯjܯj2j7j!j&j|jjjjTj#j@jEjujzjjjjjjjjjojtj\jajjjjjjj\jaj\jajjj\jaj2j7jjjj jjjGjLjjjyj~j}jj*j/jjjjj jjSjXjjjJjOj j jM jR jjj{jjjjjjj jUjZjjjF jK j!j!j#j#j&j&j/*j4*j,j,j/j/j1j1j3j3jF5jK5j6j6j <j%<j=j=j @j@jAjAjBjBjDjDjEjEjGjGj7Ij