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/networking/kapimodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/zh_TW/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/it_IT/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/ja_JP/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/ko_KR/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/pt_BR/networking/kapimodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget#/translations/sp_SP/networking/kapimodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(h)Linux Networking and Network Devices APIsh]h)Linux Networking and Network Devices APIs}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhh=/var/lib/git/docbuild/linux/Documentation/networking/kapi.rsthKubh)}(hhh](h)}(hLinux Networkingh]hLinux Networking}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNetworking Base Typesh]hNetworking Base Types}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](singlesockopt (C struct) c.sockopthNtauh1hhhhhhNhNubhdesc)}(hhh](hdesc_signature)}(hsockopth]hdesc_signature_line)}(hstruct sockopth](hdesc_sig_keyword)}(hstructh]hstruct}(hjhhhNhNubah}(h]h ]kah"]h$]h&]uh1jhj hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKubhdesc_sig_space)}(h h]h }(hj#hhhNhNubah}(h]h ]wah"]h$]h&]uh1j!hj hhhj hKubh desc_name)}(hsockopth]h desc_sig_name)}(hjh]hsockopt}(hj:hhhNhNubah}(h]h ]nah"]h$]h&]uh1j8hj4ubah}(h]h ](sig-namedescnameeh"]h$]h&] xml:spacepreserveuh1j2hj hhhj hKubeh}(h]h ]h"]h$]h&]jPjQ add_permalinkuh1j sphinx_line_type declaratorhjhhhj hKubah}(h]hah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1jhj hKhjhhubh desc_content)}(hhh]h paragraph)}(hsocket option value containerh]hsocket option value container}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjhhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hKubeh}(h]h ](cstructeh"]h$]h&]domainjobjtypejdesctypejnoindex noindexentrynocontentsentryuh1hhhhhhNhNubh container)}(hX**Definition**:: struct sockopt { struct iov_iter iter_in; struct iov_iter iter_out; int optlen; }; **Members** ``iter_in`` iov_iter for reading optval with the content from the caller. Use copy_from_iter() given this iov direction is ITER_SOURCE ``iter_out`` iov_iter for protocols to update optval data to userspace Use _copy_to_iter() given iov direction is ITER_DEST ``optlen`` serves as both input (buffer size) and output (returned data size).h](jl)}(h**Definition**::h](hstrong)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK#hjubh literal_block)}(h^struct sockopt { struct iov_iter iter_in; struct iov_iter iter_out; int optlen; };h]h^struct sockopt { struct iov_iter iter_in; struct iov_iter iter_out; int optlen; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK%hjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK+hjubhdefinition_list)}(hhh](hdefinition_list_item)}(h``iter_in`` iov_iter for reading optval with the content from the caller. Use copy_from_iter() given this iov direction is ITER_SOURCE h](hterm)}(h ``iter_in``h]hliteral)}(hjh]hiter_in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK"hjubh definition)}(hhh]jl)}(hziov_iter for reading optval with the content from the caller. Use copy_from_iter() given this iov direction is ITER_SOURCEh]hziov_iter for reading optval with the content from the caller. Use copy_from_iter() given this iov direction is ITER_SOURCE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK"hjubj)}(h|``iter_out`` iov_iter for protocols to update optval data to userspace Use _copy_to_iter() given iov direction is ITER_DEST h](j)}(h ``iter_out``h]j)}(hj+h]hiter_out}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK$hj%ubj)}(hhh]jl)}(hniov_iter for protocols to update optval data to userspace Use _copy_to_iter() given iov direction is ITER_DESTh]hniov_iter for protocols to update optval data to userspace Use _copy_to_iter() given iov direction is ITER_DEST}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK#hjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hK$hjubj)}(hN``optlen`` serves as both input (buffer size) and output (returned data size).h](j)}(h ``optlen``h]j)}(hjeh]hoptlen}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK$hj_ubj)}(hhh]jl)}(hCserves as both input (buffer size) and output (returned data size).h]hCserves as both input (buffer size) and output (returned data size).}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK%hj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhK$hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK(hhhhubjl)}(hVType-safe wrapper for socket option data that works with both user and kernel buffers.h]hVType-safe wrapper for socket option data that works with both user and kernel buffers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK%hhhhubjl)}(hxThe optlen field allows callbacks to return a specific length value independent of the bytes written via copy_to_iter().h]hxThe optlen field allows callbacks to return a specific length value independent of the bytes written via copy_to_iter().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK(hhhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_type (C enum) c.sock_typehNtauh1hhhhhhNhNubh)}(hhh](j)}(h sock_typeh]j )}(henum sock_typeh](j)}(henumh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK.ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhK.ubj3)}(h sock_typeh]j9)}(hjh]h sock_type}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhK.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhK.ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhK.hjhhubjg)}(hhh]jl)}(h Socket typesh]h Socket types}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhK]hj5hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhK.ubeh}(h]h ](jenumeh"]h$]h&]jjjjPjjPjjjuh1hhhhhhNhNubj)}(hX**Constants** ``SOCK_STREAM`` stream (connection) socket ``SOCK_DGRAM`` datagram (conn.less) socket ``SOCK_RAW`` raw socket ``SOCK_RDM`` reliably-delivered message ``SOCK_SEQPACKET`` sequential packet socket ``SOCK_DCCP`` Datagram Congestion Control Protocol socket ``SOCK_PACKET`` linux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.h](jl)}(h **Constants**h]j)}(hjZh]h Constants}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKahjTubj)}(hhh](j)}(h+``SOCK_STREAM`` stream (connection) socket h](j)}(h``SOCK_STREAM``h]j)}(hjyh]h SOCK_STREAM}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKdhjsubj)}(hhh]jl)}(hstream (connection) socketh]hstream (connection) socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKdhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhKdhjpubj)}(h+``SOCK_DGRAM`` datagram (conn.less) socket h](j)}(h``SOCK_DGRAM``h]j)}(hjh]h SOCK_DGRAM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKghjubj)}(hhh]jl)}(hdatagram (conn.less) socketh]hdatagram (conn.less) socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKghjpubj)}(h``SOCK_RAW`` raw socket h](j)}(h ``SOCK_RAW``h]j)}(hjh]hSOCK_RAW}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKjhjubj)}(hhh]jl)}(h raw socketh]h raw socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKjhjpubj)}(h(``SOCK_RDM`` reliably-delivered message h](j)}(h ``SOCK_RDM``h]j)}(hj$h]hSOCK_RDM}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKmhjubj)}(hhh]jl)}(hreliably-delivered messageh]hreliably-delivered message}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hKmhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hKmhjpubj)}(h,``SOCK_SEQPACKET`` sequential packet socket h](j)}(h``SOCK_SEQPACKET``h]j)}(hj]h]hSOCK_SEQPACKET}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKphjWubj)}(hhh]jl)}(hsequential packet socketh]hsequential packet socket}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhKphjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhKphjpubj)}(h:``SOCK_DCCP`` Datagram Congestion Control Protocol socket h](j)}(h ``SOCK_DCCP``h]j)}(hjh]h SOCK_DCCP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKshjubj)}(hhh]jl)}(h+Datagram Congestion Control Protocol socketh]h+Datagram Congestion Control Protocol socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKshjpubj)}(h``SOCK_PACKET`` linux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.h](j)}(h``SOCK_PACKET``h]j)}(hjh]h SOCK_PACKET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKvhjubj)}(hhh]jl)}(htlinux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.h]htlinux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKvhjpubeh}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKyhhhhubjl)}(hWhen adding some new socket type please grep ARCH_HAS_SOCKET_TYPE include/asm-* /socket.h, at least MIPS overrides this enum for binary compat reasons.h]hWhen adding some new socket type please grep ARCH_HAS_SOCKET_TYPE include/asm-* /socket.h, at least MIPS overrides this enum for binary compat reasons.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKfhhhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_shutdown_cmd (C enum)c.sock_shutdown_cmdhNtauh1hhhhhhNhNubh)}(hhh](j)}(hsock_shutdown_cmdh]j )}(henum sock_shutdown_cmdh](j)}(hjh]henum}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKmubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhj\hKmubj3)}(hsock_shutdown_cmdh]j9)}(hjIh]hsock_shutdown_cmd}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhj\hKmubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjGhhhj\hKmubah}(h]jBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj\hKmhjDhhubjg)}(hhh]jl)}(hShutdown typesh]hShutdown types}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjDhhhj\hKmubeh}(h]h ](jenumeh"]h$]h&]jjjjjjjjjuh1hhhhhhNhNubj)}(h**Constants** ``SHUT_RD`` shutdown receptions ``SHUT_WR`` shutdown transmissions ``SHUT_RDWR`` shutdown receptions/transmissionsh](jl)}(h **Constants**h]j)}(hjh]h Constants}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubj)}(hhh](j)}(h ``SHUT_RD`` shutdown receptions h](j)}(h ``SHUT_RD``h]j)}(hjh]hSHUT_RD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubj)}(hhh]jl)}(hshutdown receptionsh]hshutdown receptions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h#``SHUT_WR`` shutdown transmissions h](j)}(h ``SHUT_WR``h]j)}(hj h]hSHUT_WR}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubj)}(hhh]jl)}(hshutdown transmissionsh]hshutdown transmissions}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubj)}(h/``SHUT_RDWR`` shutdown receptions/transmissionsh](j)}(h ``SHUT_RDWR``h]j)}(hjDh]h SHUT_RDWR}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhj>ubj)}(hhh]jl)}(h!shutdown receptions/transmissionsh]h!shutdown receptions/transmissions}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsocket (C struct)c.sockethNtauh1hhhhhhNhNubh)}(hhh](j)}(hsocketh]j )}(h struct socketh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hsocketh]j9)}(hjh]hsocket}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(hgeneral BSD socketh]hgeneral BSD socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhhhNhNubj)}(hXg**Definition**:: struct socket { socket_state state; short type; unsigned long flags; struct file *file; struct sock *sk; const struct proto_ops *ops; struct socket_wq wq; }; **Members** ``state`` socket state (``SS_CONNECTED``, etc) ``type`` socket type (``SOCK_STREAM``, etc) ``flags`` socket flags (``SOCK_NOSPACE``, etc) ``file`` File back pointer for gc ``sk`` internal networking protocol agnostic socket representation ``ops`` protocol specific socket operations ``wq`` wait queue for several usesh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubj)}(hstruct socket { socket_state state; short type; unsigned long flags; struct file *file; struct sock *sk; const struct proto_ops *ops; struct socket_wq wq; };h]hstruct socket { socket_state state; short type; unsigned long flags; struct file *file; struct sock *sk; const struct proto_ops *ops; struct socket_wq wq; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubjl)}(h **Members**h]j)}(hj.h]hMembers}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubj)}(hhh](j)}(h/``state`` socket state (``SS_CONNECTED``, etc) h](j)}(h ``state``h]j)}(hjMh]hstate}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjGubj)}(hhh]jl)}(h$socket state (``SS_CONNECTED``, etc)h](hsocket state (}(hjfhhhNhNubj)}(h``SS_CONNECTED``h]h SS_CONNECTED}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh, etc)}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjbhKhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhKhjDubj)}(h,``type`` socket type (``SOCK_STREAM``, etc) h](j)}(h``type``h]j)}(hjh]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubj)}(hhh]jl)}(h"socket type (``SOCK_STREAM``, etc)h](h socket type (}(hjhhhNhNubj)}(h``SOCK_STREAM``h]h SOCK_STREAM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, etc)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjDubj)}(h/``flags`` socket flags (``SOCK_NOSPACE``, etc) h](j)}(h ``flags``h]j)}(hjh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubj)}(hhh]jl)}(h$socket flags (``SOCK_NOSPACE``, etc)h](hsocket flags (}(hjhhhNhNubj)}(h``SOCK_NOSPACE``h]h SOCK_NOSPACE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, etc)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjDubj)}(h"``file`` File back pointer for gc h](j)}(h``file``h]j)}(hj.h]hfile}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhj(ubj)}(hhh]jl)}(hFile back pointer for gch]hFile back pointer for gc}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChKhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChKhjDubj)}(hC``sk`` internal networking protocol agnostic socket representation h](j)}(h``sk``h]j)}(hjgh]hsk}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjaubj)}(hhh]jl)}(h;internal networking protocol agnostic socket representationh]h;internal networking protocol agnostic socket representation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hKhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hKhjDubj)}(h,``ops`` protocol specific socket operations h](j)}(h``ops``h]j)}(hjh]hops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubj)}(hhh]jl)}(h#protocol specific socket operationsh]h#protocol specific socket operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjDubj)}(h"``wq`` wait queue for several usesh](j)}(h``wq``h]j)}(hjh]hwq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubj)}(hhh]jl)}(hwait queue for several usesh]hwait queue for several uses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:11: ./include/linux/net.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjDubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubeh}(h]networking-base-typesah ]h"]networking base typesah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(hSocket Buffer Functionsh]hSocket Buffer Functions}(hj% hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj" hhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_size (C function)c.skb_frag_sizehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h3unsigned int skb_frag_size (const skb_frag_t *frag)h]j )}(h2unsigned int skb_frag_size(const skb_frag_t *frag)h](hdesc_sig_keyword_type)}(hunsignedh]hunsigned}(hjN hhhNhNubah}(h]h ]ktah"]h$]h&]uh1jL hjH hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMpubj")}(h h]h }(hj^ hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjH hhhj] hMpubjM )}(hinth]hint}(hjl hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjH hhhj] hMpubj")}(h h]h }(hjz hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjH hhhj] hMpubj3)}(h skb_frag_sizeh]j9)}(h skb_frag_sizeh]h skb_frag_size}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjH hhhj] hMpubhdesc_parameterlist)}(h(const skb_frag_t *frag)h]hdesc_parameter)}(hconst skb_frag_t *fragh](j)}(hconsth]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftype identifier reftargetj modnameN classnameN c:parent_keysphinx.domains.c LookupKey)}data]j ASTIdentifier)}j j sbc.skb_frag_sizeasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubhdesc_sig_punctuation)}(h*h]h*}(hj hhhNhNubah}(h]h ]pah"]h$]h&]uh1j hj ubj9)}(hfragh]hfrag}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hjH hhhj] hMpubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjD hhhj] hMpubah}(h]j? ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj] hMphjA hhubjg)}(hhh]jl)}(h"Returns the size of a skb fragmenth]h"Returns the size of a skb fragment}(hj< hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMphj9 hhubah}(h]h ]h"]h$]h&]uh1jfhjA hhhj] hMpubeh}(h]h ](jfunctioneh"]h$]h&]jjjjT jjT jjjuh1hhhhj" hNhNubj)}(h9**Parameters** ``const skb_frag_t *frag`` skb fragmenth](jl)}(h**Parameters**h]j)}(hj^ h]h Parameters}(hj` hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMthjX ubj)}(hhh]j)}(h'``const skb_frag_t *frag`` skb fragmenth](j)}(h``const skb_frag_t *frag``h]j)}(hj} h]hconst skb_frag_t *frag}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMvhjw ubj)}(hhh]jl)}(h skb fragmenth]h skb fragment}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMqhj ubah}(h]h ]h"]h$]h&]uh1jhjw ubeh}(h]h ]h"]h$]h&]uh1jhj hMvhjt ubah}(h]h ]h"]h$]h&]uh1jhjX ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_size_set (C function)c.skb_frag_size_sethNtauh1hhj" hhhNhNubh)}(hhh](j)}(hnetmem ``f_len`` length from f_off to loop over ``p`` (temp var) current page ``p_off`` (temp var) offset from start of current page, non-zero only on first page. ``p_len`` (temp var) length in current page, < PAGE_SIZE only on first and last page. ``copied`` (temp var) length so far, excluding current p_len. **Description** A fragment can hold a compound page, in which case per-page operations, notably kmap_atomic, must be called for each regular page.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h``f`` skb frag to operate on h](j)}(h``f``h]j)}(hjh]hf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh]jl)}(hskb frag to operate onh]hskb frag to operate on}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubj)}(h)``f_off`` offset from start of f->netmem h](j)}(h ``f_off``h]j)}(hjJh]hf_off}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjDubj)}(hhh]jl)}(hoffset from start of f->netmemh]hoffset from start of f->netmem}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjubj)}(h)``f_len`` length from f_off to loop over h](j)}(h ``f_len``h]j)}(hjh]hf_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj}ubj)}(hhh]jl)}(hlength from f_off to loop overh]hlength from f_off to loop over}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``p`` (temp var) current page h](j)}(h``p``h]j)}(hjh]hp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h(temp var) current pageh]h(temp var) current page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hU``p_off`` (temp var) offset from start of current page, non-zero only on first page. h](j)}(h ``p_off``h]j)}(hjh]hp_off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hJ(temp var) offset from start of current page, non-zero only on first page.h]hJ(temp var) offset from start of current page, non-zero only on first page.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hV``p_len`` (temp var) length in current page, < PAGE_SIZE only on first and last page. h](j)}(h ``p_len``h]j)}(hj/h]hp_len}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj)ubj)}(hhh]jl)}(hK(temp var) length in current page, < PAGE_SIZE only on first and last page.h]hK(temp var) length in current page, < PAGE_SIZE only on first and last page.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjubj)}(h>``copied`` (temp var) length so far, excluding current p_len. h](j)}(h ``copied``h]j)}(hjih]hcopied}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjcubj)}(hhh]jl)}(h2(temp var) length so far, excluding current p_len.h]h2(temp var) length so far, excluding current p_len.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hA fragment can hold a compound page, in which case per-page operations, notably kmap_atomic, must be called for each regular page.h]jl)}(hA fragment can hold a compound page, in which case per-page operations, notably kmap_atomic, must be called for each regular page.h]hA fragment can hold a compound page, in which case per-page operations, notably kmap_atomic, must be called for each regular page.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_shared_hwtstamps (C struct)c.skb_shared_hwtstampshNtauh1hhj" hhhNhNubh)}(hhh](j)}(hskb_shared_hwtstampsh]j )}(hstruct skb_shared_hwtstampsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_shared_hwtstampsh]j9)}(hjh]hskb_shared_hwtstamps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hhardware time stampsh]hhardware time stamps}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj2hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjMjjMjjjuh1hhhhj" hNhNubj)}(hX**Definition**:: struct skb_shared_hwtstamps { union { ktime_t hwtstamp; void *netdev_data; }; }; **Members** ``{unnamed_union}`` anonymous ``hwtstamp`` hardware time stamp transformed into duration since arbitrary point in time ``netdev_data`` address/cookie of network device driver used as reference to actual hardware time stamph](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh:}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjQubj)}(hhstruct skb_shared_hwtstamps { union { ktime_t hwtstamp; void *netdev_data; }; };h]hhstruct skb_shared_hwtstamps { union { ktime_t hwtstamp; void *netdev_data; }; };}hjrsbah}(h]h ]h"]h$]h&]jPjQuh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjQubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjQubj)}(hhh](j)}(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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hY``hwtstamp`` hardware time stamp transformed into duration since arbitrary point in time h](j)}(h ``hwtstamp``h]j)}(hjh]hhwtstamp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hKhardware time stamp transformed into duration since arbitrary point in timeh]hKhardware time stamp transformed into duration since arbitrary point in time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hg``netdev_data`` address/cookie of network device driver used as reference to actual hardware time stamph](j)}(h``netdev_data``h]j)}(hjh]h netdev_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hWaddress/cookie of network device driver used as reference to actual hardware time stamph]hWaddress/cookie of network device driver used as reference to actual hardware time stamp}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjubeh}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubjl)}(h**Description**h]j)}(hjWh]h Description}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj" hhubjl)}(hMSoftware time stamps generated by ktime_get_real() are stored in skb->tstamp.h]hMSoftware time stamps generated by ktime_get_real() are stored in skb->tstamp.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj" hhubjl)}(hLhwtstamps can only be compared against other hwtstamps from the same device.h]hLhwtstamps can only be compared against other hwtstamps from the same device.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj" hhubjl)}(huThis structure is attached to packets as part of the :c:type:`skb_shared_info`. Use skb_hwtstamps() to get a pointer.h](h5This structure is attached to packets as part of the }(hjhhhNhNubh)}(h:c:type:`skb_shared_info`h]j)}(hjh]hskb_shared_info}(hjhhhNhNubah}(h]h ](xrefjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocnetworking/kapi refdomainjreftypetype refexplicitrefwarnj j )}j ]sb reftargetskb_shared_infouh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubh'. Use skb_hwtstamps() to get a pointer.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhj" hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_buff (C struct) c.sk_buffhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hsk_buffh]j )}(hstruct sk_buffh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hsk_buffh]j9)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h socket bufferh]h socket buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjj6jj6jjjuh1hhhhj" hNhNubj)}(hX(**Definition**:: struct sk_buff { union { struct { struct sk_buff *next; struct sk_buff *prev; union { struct net_device *dev; unsigned long dev_scratch; }; }; struct rb_node rbnode; struct list_head list; struct llist_node ll_node; }; struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; }; char cb[48]; union { struct { unsigned long _skb_refdst; void (*destructor)(struct sk_buff *skb); }; struct list_head tcp_tsorted_anchor; #ifdef CONFIG_NET_SOCK_MSG; unsigned long _sk_redir; #endif; }; #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE); unsigned long _nfct; #endif; unsigned int len, data_len; __u16 mac_len, hdr_len; __u16 queue_mapping; #ifdef __BIG_ENDIAN_BITFIELD; #define CLONED_MASK (1 << 7); #else; #define CLONED_MASK 1; #endif; #define CLONED_OFFSET offsetof(struct sk_buff, __cloned_offset); __u8 cloned:1, nohdr:1, fclone:2, peeked:1, head_frag:1, pfmemalloc:1, pp_recycle:1; #ifdef CONFIG_SKB_EXTENSIONS; __u8 active_extensions; #endif; struct { __u8 pkt_type:3; __u8 ignore_df:1; __u8 dst_pending_confirm:1; __u8 ip_summed:2; __u8 ooo_okay:1; __u8 tstamp_type:2; #ifdef CONFIG_NET_XGRESS; __u8 tc_at_ingress:1; __u8 tc_skip_classify:1; #endif; __u8 remcsum_offload:1; __u8 csum_complete_sw:1; __u8 csum_level:2; __u8 inner_protocol_type:1; __u8 l4_hash:1; __u8 sw_hash:1; #ifdef CONFIG_WIRELESS; __u8 wifi_acked_valid:1; __u8 wifi_acked:1; #endif; __u8 no_fcs:1; __u8 encapsulation:1; __u8 encap_hdr_csum:1; __u8 csum_valid:1; #ifdef CONFIG_IPV6_NDISC_NODETYPE; __u8 ndisc_nodetype:2; #endif; #if IS_ENABLED(CONFIG_IP_VS); __u8 ipvs_property:1; #endif; #if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || IS_ENABLED(CONFIG_NF_TABLES); __u8 nf_trace:1; #endif; #ifdef CONFIG_NET_SWITCHDEV; __u8 offload_fwd_mark:1; __u8 offload_l3_fwd_mark:1; #endif; __u8 redirected:1; #ifdef CONFIG_NET_REDIRECT; __u8 from_ingress:1; #endif; #ifdef CONFIG_NETFILTER_SKIP_EGRESS; __u8 nf_skip_egress:1; #endif; #ifdef CONFIG_SKB_DECRYPTED; __u8 decrypted:1; #endif; __u8 slow_gro:1; #if IS_ENABLED(CONFIG_IP_SCTP); __u8 csum_not_inet:1; #endif; __u8 unreadable:1; __u8 tc_depth:2; #if defined(CONFIG_NET_SCHED) || defined(CONFIG_NET_XGRESS); __u16 tc_index; #endif; u16 alloc_cpu; union { __wsum csum; struct { __u16 csum_start; __u16 csum_offset; }; }; __u32 priority; int skb_iif; __u32 hash; union { u32 vlan_all; struct { __be16 vlan_proto; __u16 vlan_tci; }; }; #if defined(CONFIG_NET_RX_BUSY_POLL) || defined(CONFIG_XPS); union { unsigned int napi_id; unsigned int sender_cpu; }; #endif; #ifdef CONFIG_NETWORK_SECMARK; __u32 secmark; #endif; union { __u32 mark; __u32 reserved_tailroom; }; union { __be16 inner_protocol; __u8 inner_ipproto; }; __u16 inner_transport_header; __u16 inner_network_header; __u16 inner_mac_header; __be16 protocol; __u16 transport_header; __u16 network_header; __u16 mac_header; struct kcov_common_handle_id kcov_handle; }; sk_buff_data_t tail; sk_buff_data_t end; unsigned char *head, *data; unsigned int truesize; refcount_t users; #ifdef CONFIG_SKB_EXTENSIONS; struct skb_ext *extensions; #endif; }; **Members** ``{unnamed_union}`` anonymous ``{unnamed_struct}`` anonymous ``next`` Next buffer in list ``prev`` Previous buffer in list ``{unnamed_union}`` anonymous ``dev`` Device we arrived on/are leaving by ``dev_scratch`` (aka **dev**) alternate use of **dev** when **dev** would be ``NULL`` ``rbnode`` RB tree node, alternative to next/prev for netem/tcp ``list`` queue head ``ll_node`` anchor in an llist (eg socket defer_list) ``sk`` Socket we are owned by ``{unnamed_union}`` anonymous ``tstamp`` Time we arrived/left ``skb_mstamp_ns`` (aka **tstamp**) earliest departure time; start point for retransmit timer ``cb`` Control buffer. Free for use by every layer. Put private vars here ``{unnamed_union}`` anonymous ``{unnamed_struct}`` anonymous ``_skb_refdst`` destination entry (with norefcount bit) ``destructor`` Destruct function ``tcp_tsorted_anchor`` list structure for TCP (tp->tsorted_sent_queue) ``_sk_redir`` socket redirection information for skmsg ``_nfct`` Associated connection, if any (with nfctinfo bits) ``len`` Length of actual data ``data_len`` Data length ``mac_len`` Length of link layer header ``hdr_len`` writable header length of cloned skb ``queue_mapping`` Queue mapping for multiqueue devices ``cloned`` Head may be cloned (check refcnt to be sure) ``nohdr`` Payload reference only, must not modify header ``fclone`` skbuff clone status ``peeked`` this packet has been seen already, so stats have been done for it, don't do them again ``head_frag`` skb was allocated from page fragments, not allocated by kmalloc() or vmalloc(). ``pfmemalloc`` skbuff was allocated from PFMEMALLOC reserves ``pp_recycle`` mark the packet for recycling instead of freeing (implies page_pool support on driver) ``active_extensions`` active extensions (skb_ext_id types) ``{unnamed_struct}`` anonymous ``pkt_type`` Packet class ``ignore_df`` allow local fragmentation ``dst_pending_confirm`` need to confirm neighbour ``ip_summed`` Driver fed us an IP checksum ``ooo_okay`` allow the mapping of a socket to a queue to be changed ``tstamp_type`` When set, skb->tstamp has the delivery_time clock base of skb->tstamp. ``tc_at_ingress`` used within tc_classify to distinguish in/egress ``tc_skip_classify`` do not classify packet. set by IFB device ``remcsum_offload`` remote checksum offload is enabled ``csum_complete_sw`` checksum was completed by software ``csum_level`` indicates the number of consecutive checksums found in the packet minus one that have been verified as CHECKSUM_UNNECESSARY (max 3) ``inner_protocol_type`` whether the inner protocol is ENCAP_TYPE_ETHER or ENCAP_TYPE_IPPROTO ``l4_hash`` indicate hash is a canonical 4-tuple hash over transport ports. ``sw_hash`` indicates hash was computed in software stack ``wifi_acked_valid`` wifi_acked was set ``wifi_acked`` whether frame was acked on wifi or not ``no_fcs`` Request NIC to treat last 4 bytes as Ethernet FCS ``encapsulation`` indicates the inner headers in the skbuff are valid ``encap_hdr_csum`` software checksum is needed ``csum_valid`` checksum is already valid ``ndisc_nodetype`` router type (from link layer) ``ipvs_property`` skbuff is owned by ipvs ``nf_trace`` netfilter packet trace flag ``offload_fwd_mark`` Packet was L2-forwarded in hardware ``offload_l3_fwd_mark`` Packet was L3-forwarded in hardware ``redirected`` packet was redirected by packet classifier ``from_ingress`` packet was redirected from the ingress path ``nf_skip_egress`` packet shall skip nf egress - see netfilter_netdev.h ``decrypted`` Decrypted SKB ``slow_gro`` state present at GRO time, slower prepare step required ``csum_not_inet`` use CRC32c to resolve CHECKSUM_PARTIAL ``unreadable`` indicates that at least 1 of the fragments in this skb is unreadable. ``tc_depth`` counter for packet duplication ``tc_index`` Traffic control index ``alloc_cpu`` CPU which did the skb allocation. ``{unnamed_union}`` anonymous ``csum`` Checksum (must include start/offset pair) ``{unnamed_struct}`` anonymous ``csum_start`` Offset from skb->head where checksumming should start ``csum_offset`` Offset from csum_start where checksum should be stored ``priority`` Packet queueing priority ``skb_iif`` ifindex of device we arrived on ``hash`` the packet hash ``{unnamed_union}`` anonymous ``vlan_all`` vlan fields (proto & tci) ``{unnamed_struct}`` anonymous ``vlan_proto`` vlan encapsulation protocol ``vlan_tci`` vlan tag control information ``{unnamed_union}`` anonymous ``napi_id`` id of the NAPI struct this skb came from ``sender_cpu`` (aka **napi_id**) source CPU in XPS ``secmark`` security marking ``{unnamed_union}`` anonymous ``mark`` Generic packet mark ``reserved_tailroom`` (aka **mark**) number of bytes of free space available at the tail of an sk_buff ``{unnamed_union}`` anonymous ``inner_protocol`` Protocol (encapsulation) ``inner_ipproto`` (aka **inner_protocol**) stores ipproto when skb->inner_protocol_type == ENCAP_TYPE_IPPROTO; ``inner_transport_header`` Inner transport layer header (encapsulation) ``inner_network_header`` Network layer header (encapsulation) ``inner_mac_header`` Link layer header (encapsulation) ``protocol`` Packet protocol from driver ``transport_header`` Transport layer header ``network_header`` Network layer header ``mac_header`` Link layer header ``kcov_handle`` KCOV remote handle for remote coverage collection ``tail`` Tail pointer ``end`` End pointer ``head`` Head of buffer ``data`` Data head pointer ``truesize`` Buffer size ``users`` User count - see {datagram,tcp}.c ``extensions`` allocated extensions, valid if active_extensions is nonzeroh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh:}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj:ubj)}(hX?struct sk_buff { union { struct { struct sk_buff *next; struct sk_buff *prev; union { struct net_device *dev; unsigned long dev_scratch; }; }; struct rb_node rbnode; struct list_head list; struct llist_node ll_node; }; struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; }; char cb[48]; union { struct { unsigned long _skb_refdst; void (*destructor)(struct sk_buff *skb); }; struct list_head tcp_tsorted_anchor; #ifdef CONFIG_NET_SOCK_MSG; unsigned long _sk_redir; #endif; }; #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE); unsigned long _nfct; #endif; unsigned int len, data_len; __u16 mac_len, hdr_len; __u16 queue_mapping; #ifdef __BIG_ENDIAN_BITFIELD; #define CLONED_MASK (1 << 7); #else; #define CLONED_MASK 1; #endif; #define CLONED_OFFSET offsetof(struct sk_buff, __cloned_offset); __u8 cloned:1, nohdr:1, fclone:2, peeked:1, head_frag:1, pfmemalloc:1, pp_recycle:1; #ifdef CONFIG_SKB_EXTENSIONS; __u8 active_extensions; #endif; struct { __u8 pkt_type:3; __u8 ignore_df:1; __u8 dst_pending_confirm:1; __u8 ip_summed:2; __u8 ooo_okay:1; __u8 tstamp_type:2; #ifdef CONFIG_NET_XGRESS; __u8 tc_at_ingress:1; __u8 tc_skip_classify:1; #endif; __u8 remcsum_offload:1; __u8 csum_complete_sw:1; __u8 csum_level:2; __u8 inner_protocol_type:1; __u8 l4_hash:1; __u8 sw_hash:1; #ifdef CONFIG_WIRELESS; __u8 wifi_acked_valid:1; __u8 wifi_acked:1; #endif; __u8 no_fcs:1; __u8 encapsulation:1; __u8 encap_hdr_csum:1; __u8 csum_valid:1; #ifdef CONFIG_IPV6_NDISC_NODETYPE; __u8 ndisc_nodetype:2; #endif; #if IS_ENABLED(CONFIG_IP_VS); __u8 ipvs_property:1; #endif; #if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || IS_ENABLED(CONFIG_NF_TABLES); __u8 nf_trace:1; #endif; #ifdef CONFIG_NET_SWITCHDEV; __u8 offload_fwd_mark:1; __u8 offload_l3_fwd_mark:1; #endif; __u8 redirected:1; #ifdef CONFIG_NET_REDIRECT; __u8 from_ingress:1; #endif; #ifdef CONFIG_NETFILTER_SKIP_EGRESS; __u8 nf_skip_egress:1; #endif; #ifdef CONFIG_SKB_DECRYPTED; __u8 decrypted:1; #endif; __u8 slow_gro:1; #if IS_ENABLED(CONFIG_IP_SCTP); __u8 csum_not_inet:1; #endif; __u8 unreadable:1; __u8 tc_depth:2; #if defined(CONFIG_NET_SCHED) || defined(CONFIG_NET_XGRESS); __u16 tc_index; #endif; u16 alloc_cpu; union { __wsum csum; struct { __u16 csum_start; __u16 csum_offset; }; }; __u32 priority; int skb_iif; __u32 hash; union { u32 vlan_all; struct { __be16 vlan_proto; __u16 vlan_tci; }; }; #if defined(CONFIG_NET_RX_BUSY_POLL) || defined(CONFIG_XPS); union { unsigned int napi_id; unsigned int sender_cpu; }; #endif; #ifdef CONFIG_NETWORK_SECMARK; __u32 secmark; #endif; union { __u32 mark; __u32 reserved_tailroom; }; union { __be16 inner_protocol; __u8 inner_ipproto; }; __u16 inner_transport_header; __u16 inner_network_header; __u16 inner_mac_header; __be16 protocol; __u16 transport_header; __u16 network_header; __u16 mac_header; struct kcov_common_handle_id kcov_handle; }; sk_buff_data_t tail; sk_buff_data_t end; unsigned char *head, *data; unsigned int truesize; refcount_t users; #ifdef CONFIG_SKB_EXTENSIONS; struct skb_ext *extensions; #endif; };h]hX?struct sk_buff { union { struct { struct sk_buff *next; struct sk_buff *prev; union { struct net_device *dev; unsigned long dev_scratch; }; }; struct rb_node rbnode; struct list_head list; struct llist_node ll_node; }; struct sock *sk; union { ktime_t tstamp; u64 skb_mstamp_ns; }; char cb[48]; union { struct { unsigned long _skb_refdst; void (*destructor)(struct sk_buff *skb); }; struct list_head tcp_tsorted_anchor; #ifdef CONFIG_NET_SOCK_MSG; unsigned long _sk_redir; #endif; }; #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE); unsigned long _nfct; #endif; unsigned int len, data_len; __u16 mac_len, hdr_len; __u16 queue_mapping; #ifdef __BIG_ENDIAN_BITFIELD; #define CLONED_MASK (1 << 7); #else; #define CLONED_MASK 1; #endif; #define CLONED_OFFSET offsetof(struct sk_buff, __cloned_offset); __u8 cloned:1, nohdr:1, fclone:2, peeked:1, head_frag:1, pfmemalloc:1, pp_recycle:1; #ifdef CONFIG_SKB_EXTENSIONS; __u8 active_extensions; #endif; struct { __u8 pkt_type:3; __u8 ignore_df:1; __u8 dst_pending_confirm:1; __u8 ip_summed:2; __u8 ooo_okay:1; __u8 tstamp_type:2; #ifdef CONFIG_NET_XGRESS; __u8 tc_at_ingress:1; __u8 tc_skip_classify:1; #endif; __u8 remcsum_offload:1; __u8 csum_complete_sw:1; __u8 csum_level:2; __u8 inner_protocol_type:1; __u8 l4_hash:1; __u8 sw_hash:1; #ifdef CONFIG_WIRELESS; __u8 wifi_acked_valid:1; __u8 wifi_acked:1; #endif; __u8 no_fcs:1; __u8 encapsulation:1; __u8 encap_hdr_csum:1; __u8 csum_valid:1; #ifdef CONFIG_IPV6_NDISC_NODETYPE; __u8 ndisc_nodetype:2; #endif; #if IS_ENABLED(CONFIG_IP_VS); __u8 ipvs_property:1; #endif; #if IS_ENABLED(CONFIG_NETFILTER_XT_TARGET_TRACE) || IS_ENABLED(CONFIG_NF_TABLES); __u8 nf_trace:1; #endif; #ifdef CONFIG_NET_SWITCHDEV; __u8 offload_fwd_mark:1; __u8 offload_l3_fwd_mark:1; #endif; __u8 redirected:1; #ifdef CONFIG_NET_REDIRECT; __u8 from_ingress:1; #endif; #ifdef CONFIG_NETFILTER_SKIP_EGRESS; __u8 nf_skip_egress:1; #endif; #ifdef CONFIG_SKB_DECRYPTED; __u8 decrypted:1; #endif; __u8 slow_gro:1; #if IS_ENABLED(CONFIG_IP_SCTP); __u8 csum_not_inet:1; #endif; __u8 unreadable:1; __u8 tc_depth:2; #if defined(CONFIG_NET_SCHED) || defined(CONFIG_NET_XGRESS); __u16 tc_index; #endif; u16 alloc_cpu; union { __wsum csum; struct { __u16 csum_start; __u16 csum_offset; }; }; __u32 priority; int skb_iif; __u32 hash; union { u32 vlan_all; struct { __be16 vlan_proto; __u16 vlan_tci; }; }; #if defined(CONFIG_NET_RX_BUSY_POLL) || defined(CONFIG_XPS); union { unsigned int napi_id; unsigned int sender_cpu; }; #endif; #ifdef CONFIG_NETWORK_SECMARK; __u32 secmark; #endif; union { __u32 mark; __u32 reserved_tailroom; }; union { __be16 inner_protocol; __u8 inner_ipproto; }; __u16 inner_transport_header; __u16 inner_network_header; __u16 inner_mac_header; __be16 protocol; __u16 transport_header; __u16 network_header; __u16 mac_header; struct kcov_common_handle_id kcov_handle; }; sk_buff_data_t tail; sk_buff_data_t end; unsigned char *head, *data; unsigned int truesize; refcount_t users; #ifdef CONFIG_SKB_EXTENSIONS; struct skb_ext *extensions; #endif; };}hj[sbah}(h]h ]h"]h$]h&]jPjQuh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj:ubjl)}(h **Members**h]j)}(hjlh]hMembers}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj:ubj)}(hhh](j)}(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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``next`` Next buffer in list h](j)}(h``next``h]j)}(hjh]hnext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(hNext buffer in listh]hNext buffer in list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h!``prev`` Previous buffer in list h](j)}(h``prev``h]j)}(hj6h]hprev}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj0ubj)}(hhh]jl)}(hPrevious buffer in listh]hPrevious buffer in list}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhM hjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhM hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjoh]h{unnamed_union}}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjiubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h,``dev`` Device we arrived on/are leaving by h](j)}(h``dev``h]j)}(hjh]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h#Device we arrived on/are leaving byh]h#Device we arrived on/are leaving by}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hV``dev_scratch`` (aka **dev**) alternate use of **dev** when **dev** would be ``NULL`` h](j)}(h``dev_scratch``h]j)}(hjh]h dev_scratch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hE(aka **dev**) alternate use of **dev** when **dev** would be ``NULL``h](h(aka }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) alternate use of }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh when }(hjhhhNhNubj)}(h**dev**h]hdev}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh would be }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h@``rbnode`` RB tree node, alternative to next/prev for netem/tcp h](j)}(h ``rbnode``h]j)}(hj^h]hrbnode}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjXubj)}(hhh]jl)}(h4RB tree node, alternative to next/prev for netem/tcph]h4RB tree node, alternative to next/prev for netem/tcp}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubj)}(h``list`` queue head h](j)}(h``list``h]j)}(hjh]hlist}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h queue headh]h queue head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``ll_node`` anchor in an llist (eg socket defer_list) h](j)}(h ``ll_node``h]j)}(hjh]hll_node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h)anchor in an llist (eg socket defer_list)h]h)anchor in an llist (eg socket defer_list)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``sk`` Socket we are owned by h](j)}(h``sk``h]j)}(hj h]hsk}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hSocket we are owned byh]hSocket we are owned by}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjBh]h{unnamed_union}}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj<ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhKhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhKhjubj)}(h ``tstamp`` Time we arrived/left h](j)}(h ``tstamp``h]j)}(hj{h]htstamp}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjuubj)}(hhh]jl)}(hTime we arrived/lefth]hTime we arrived/left}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h]``skb_mstamp_ns`` (aka **tstamp**) earliest departure time; start point for retransmit timer h](j)}(h``skb_mstamp_ns``h]j)}(hjh]h skb_mstamp_ns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hJ(aka **tstamp**) earliest departure time; start point for retransmit timerh](h(aka }(hjhhhNhNubj)}(h **tstamp**h]htstamp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh;) earliest departure time; start point for retransmit timer}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hJ``cb`` Control buffer. Free for use by every layer. Put private vars here h](j)}(h``cb``h]j)}(hjh]hcb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hBControl buffer. Free for use by every layer. Put private vars hereh]hBControl buffer. Free for use by every layer. Put private vars here}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj9h]h{unnamed_union}}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj3ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhKhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhKhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjrh]h{unnamed_struct}}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjlubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h8``_skb_refdst`` destination entry (with norefcount bit) h](j)}(h``_skb_refdst``h]j)}(hjh]h _skb_refdst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h'destination entry (with norefcount bit)h]h'destination entry (with norefcount bit)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``destructor`` Destruct function h](j)}(h``destructor``h]j)}(hjh]h destructor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM4hjubj)}(hhh]jl)}(hDestruct functionh]hDestruct function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjubj)}(hG``tcp_tsorted_anchor`` list structure for TCP (tp->tsorted_sent_queue) h](j)}(h``tcp_tsorted_anchor``h]j)}(hjh]htcp_tsorted_anchor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM5hjubj)}(hhh]jl)}(h/list structure for TCP (tp->tsorted_sent_queue)h]h/list structure for TCP (tp->tsorted_sent_queue)}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hM5hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hM5hjubj)}(h7``_sk_redir`` socket redirection information for skmsg h](j)}(h ``_sk_redir``h]j)}(hjVh]h _sk_redir}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM6hjPubj)}(hhh]jl)}(h(socket redirection information for skmsgh]h(socket redirection information for skmsg}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhM6hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM6hjubj)}(h=``_nfct`` Associated connection, if any (with nfctinfo bits) h](j)}(h ``_nfct``h]j)}(hjh]h_nfct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM7hjubj)}(hhh]jl)}(h2Associated connection, if any (with nfctinfo bits)h]h2Associated connection, if any (with nfctinfo bits)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubj)}(h``len`` Length of actual data h](j)}(h``len``h]j)}(hjh]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hLength of actual datah]hLength of actual data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``data_len`` Data length h](j)}(h ``data_len``h]j)}(hjh]hdata_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h Data lengthh]h Data length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``mac_len`` Length of link layer header h](j)}(h ``mac_len``h]j)}(hj:h]hmac_len}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj4ubj)}(hhh]jl)}(hLength of link layer headerh]hLength of link layer header}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubj)}(h1``hdr_len`` writable header length of cloned skb h](j)}(h ``hdr_len``h]j)}(hjsh]hhdr_len}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjmubj)}(hhh]jl)}(h$writable header length of cloned skbh]h$writable header length of cloned skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``queue_mapping`` Queue mapping for multiqueue devices h](j)}(h``queue_mapping``h]j)}(hjh]h queue_mapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM<hjubj)}(hhh]jl)}(h$Queue mapping for multiqueue devicesh]h$Queue mapping for multiqueue devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjubj)}(h8``cloned`` Head may be cloned (check refcnt to be sure) h](j)}(h ``cloned``h]j)}(hjh]hcloned}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(h,Head may be cloned (check refcnt to be sure)h]h,Head may be cloned (check refcnt to be sure)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h9``nohdr`` Payload reference only, must not modify header h](j)}(h ``nohdr``h]j)}(hjh]hnohdr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM"hjubj)}(hhh]jl)}(h.Payload reference only, must not modify headerh]h.Payload reference only, must not modify header}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hM"hj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hM"hjubj)}(h``fclone`` skbuff clone status h](j)}(h ``fclone``h]j)}(hjWh]hfclone}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM$hjQubj)}(hhh]jl)}(hskbuff clone statush]hskbuff clone status}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhM$hjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM$hjubj)}(hb``peeked`` this packet has been seen already, so stats have been done for it, don't do them again h](j)}(h ``peeked``h]j)}(hjh]hpeeked}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1hjubj)}(hhh]jl)}(hVthis packet has been seen already, so stats have been done for it, don't do them againh]hXthis packet has been seen already, so stats have been done for it, don’t do them again}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubj)}(h^``head_frag`` skb was allocated from page fragments, not allocated by kmalloc() or vmalloc(). h](j)}(h ``head_frag``h]j)}(hjh]h head_frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM>hjubj)}(hhh]jl)}(hOskb was allocated from page fragments, not allocated by kmalloc() or vmalloc().h]hOskb was allocated from page fragments, not allocated by kmalloc() or vmalloc().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(h=``pfmemalloc`` skbuff was allocated from PFMEMALLOC reserves h](j)}(h``pfmemalloc``h]j)}(hjh]h pfmemalloc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM?hjubj)}(hhh]jl)}(h-skbuff was allocated from PFMEMALLOC reservesh]h-skbuff was allocated from PFMEMALLOC reserves}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubj)}(hf``pp_recycle`` mark the packet for recycling instead of freeing (implies page_pool support on driver) h](j)}(h``pp_recycle``h]j)}(hj=h]h pp_recycle}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMAhj7ubj)}(hhh]jl)}(hVmark the packet for recycling instead of freeing (implies page_pool support on driver)h]hVmark the packet for recycling instead of freeing (implies page_pool support on driver)}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMAhjubj)}(h;``active_extensions`` active extensions (skb_ext_id types) h](j)}(h``active_extensions``h]j)}(hjwh]hactive_extensions}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMBhjqubj)}(hhh]jl)}(h$active extensions (skb_ext_id types)h]h$active extensions (skb_ext_id types)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``pkt_type`` Packet class h](j)}(h ``pkt_type``h]j)}(hjh]hpkt_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM#hjubj)}(hhh]jl)}(h Packet classh]h Packet class}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(h(``ignore_df`` allow local fragmentation h](j)}(h ``ignore_df``h]j)}(hj"h]h ignore_df}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hallow local fragmentationh]hallow local fragmentation}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(h2``dst_pending_confirm`` need to confirm neighbour h](j)}(h``dst_pending_confirm``h]j)}(hj[h]hdst_pending_confirm}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMUhjUubj)}(hhh]jl)}(hneed to confirm neighbourh]hneed to confirm neighbour}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMUhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMUhjubj)}(h+``ip_summed`` Driver fed us an IP checksum h](j)}(h ``ip_summed``h]j)}(hjh]h ip_summed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM!hjubj)}(hhh]jl)}(hDriver fed us an IP checksumh]hDriver fed us an IP checksum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjubj)}(hD``ooo_okay`` allow the mapping of a socket to a queue to be changed h](j)}(h ``ooo_okay``h]j)}(hjh]hooo_okay}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMDhjubj)}(hhh]jl)}(h6allow the mapping of a socket to a queue to be changedh]h6allow the mapping of a socket to a queue to be changed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(hW``tstamp_type`` When set, skb->tstamp has the delivery_time clock base of skb->tstamp. h](j)}(h``tstamp_type``h]j)}(hj h]h tstamp_type}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMYhj ubj)}(hhh]jl)}(hFWhen set, skb->tstamp has the delivery_time clock base of skb->tstamp.h]hFWhen set, skb->tstamp has the delivery_time clock base of skb->tstamp.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMXhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMYhjubj)}(hC``tc_at_ingress`` used within tc_classify to distinguish in/egress h](j)}(h``tc_at_ingress``h]j)}(hj@ h]h tc_at_ingress}(hjB hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj> ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM,hj: ubj)}(hhh]jl)}(h0used within tc_classify to distinguish in/egressh]h0used within tc_classify to distinguish in/egress}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjU hM,hjV ubah}(h]h ]h"]h$]h&]uh1jhj: ubeh}(h]h ]h"]h$]h&]uh1jhjU hM,hjubj)}(h?``tc_skip_classify`` do not classify packet. set by IFB device h](j)}(h``tc_skip_classify``h]j)}(hjy h]htc_skip_classify}(hj{ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM+hjs ubj)}(hhh]jl)}(h)do not classify packet. set by IFB deviceh]h)do not classify packet. set by IFB device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM+hj ubah}(h]h ]h"]h$]h&]uh1jhjs ubeh}(h]h ]h"]h$]h&]uh1jhj hM+hjubj)}(h7``remcsum_offload`` remote checksum offload is enabled h](j)}(h``remcsum_offload``h]j)}(hj h]hremcsum_offload}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM(hj ubj)}(hhh]jl)}(h"remote checksum offload is enabledh]h"remote checksum offload is enabled}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM(hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM(hjubj)}(h8``csum_complete_sw`` checksum was completed by software h](j)}(h``csum_complete_sw``h]j)}(hj h]hcsum_complete_sw}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMOhj ubj)}(hhh]jl)}(h"checksum was completed by softwareh]h"checksum was completed by software}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMOhj!ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj!hMOhjubj)}(h``csum_level`` indicates the number of consecutive checksums found in the packet minus one that have been verified as CHECKSUM_UNNECESSARY (max 3) h](j)}(h``csum_level``h]j)}(hj$!h]h csum_level}(hj&!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"!ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMRhj!ubj)}(hhh]jl)}(hindicates the number of consecutive checksums found in the packet minus one that have been verified as CHECKSUM_UNNECESSARY (max 3)h]hindicates the number of consecutive checksums found in the packet minus one that have been verified as CHECKSUM_UNNECESSARY (max 3)}(hj=!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMPhj:!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj9!hMRhjubj)}(h]``inner_protocol_type`` whether the inner protocol is ENCAP_TYPE_ETHER or ENCAP_TYPE_IPPROTO h](j)}(h``inner_protocol_type``h]j)}(hj^!h]hinner_protocol_type}(hj`!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\!ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM'hjX!ubj)}(hhh]jl)}(hDwhether the inner protocol is ENCAP_TYPE_ETHER or ENCAP_TYPE_IPPROTOh]hDwhether the inner protocol is ENCAP_TYPE_ETHER or ENCAP_TYPE_IPPROTO}(hjw!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM&hjt!ubah}(h]h ]h"]h$]h&]uh1jhjX!ubeh}(h]h ]h"]h$]h&]uh1jhjs!hM'hjubj)}(hL``l4_hash`` indicate hash is a canonical 4-tuple hash over transport ports. h](j)}(h ``l4_hash``h]j)}(hj!h]hl4_hash}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMFhj!ubj)}(hhh]jl)}(h?indicate hash is a canonical 4-tuple hash over transport ports.h]h?indicate hash is a canonical 4-tuple hash over transport ports.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMEhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMFhjubj)}(h:``sw_hash`` indicates hash was computed in software stack h](j)}(h ``sw_hash``h]j)}(hj!h]hsw_hash}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMGhj!ubj)}(hhh]jl)}(h-indicates hash was computed in software stackh]h-indicates hash was computed in software stack}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMGhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMGhjubj)}(h(``wifi_acked_valid`` wifi_acked was set h](j)}(h``wifi_acked_valid``h]j)}(hj "h]hwifi_acked_valid}(hj "hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj "ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMHhj"ubj)}(hhh]jl)}(hwifi_acked was seth]hwifi_acked was set}(hj$"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj "hMHhj!"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj "hMHhjubj)}(h6``wifi_acked`` whether frame was acked on wifi or not h](j)}(h``wifi_acked``h]j)}(hjD"h]h wifi_acked}(hjF"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMIhj>"ubj)}(hhh]jl)}(h&whether frame was acked on wifi or noth]h&whether frame was acked on wifi or not}(hj]"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjY"hMIhjZ"ubah}(h]h ]h"]h$]h&]uh1jhj>"ubeh}(h]h ]h"]h$]h&]uh1jhjY"hMIhjubj)}(h=``no_fcs`` Request NIC to treat last 4 bytes as Ethernet FCS h](j)}(h ``no_fcs``h]j)}(hj}"h]hno_fcs}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMJhjw"ubj)}(hhh]jl)}(h1Request NIC to treat last 4 bytes as Ethernet FCSh]h1Request NIC to treat last 4 bytes as Ethernet FCS}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMJhj"ubah}(h]h ]h"]h$]h&]uh1jhjw"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMJhjubj)}(hF``encapsulation`` indicates the inner headers in the skbuff are valid h](j)}(h``encapsulation``h]j)}(hj"h]h encapsulation}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMKhj"ubj)}(hhh]jl)}(h3indicates the inner headers in the skbuff are validh]h3indicates the inner headers in the skbuff are valid}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMKhj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMKhjubj)}(h/``encap_hdr_csum`` software checksum is needed h](j)}(h``encap_hdr_csum``h]j)}(hj"h]hencap_hdr_csum}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMLhj"ubj)}(hhh]jl)}(hsoftware checksum is neededh]hsoftware checksum is needed}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMLhj#ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj#hMLhjubj)}(h)``csum_valid`` checksum is already valid h](j)}(h``csum_valid``h]j)}(hj(#h]h csum_valid}(hj*#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMMhj"#ubj)}(hhh]jl)}(hchecksum is already validh]hchecksum is already valid}(hjA#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=#hMMhj>#ubah}(h]h ]h"]h$]h&]uh1jhj"#ubeh}(h]h ]h"]h$]h&]uh1jhj=#hMMhjubj)}(h1``ndisc_nodetype`` router type (from link layer) h](j)}(h``ndisc_nodetype``h]j)}(hja#h]hndisc_nodetype}(hjc#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMChj[#ubj)}(hhh]jl)}(hrouter type (from link layer)h]hrouter type (from link layer)}(hjz#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjv#hMChjw#ubah}(h]h ]h"]h$]h&]uh1jhj[#ubeh}(h]h ]h"]h$]h&]uh1jhjv#hMChjubj)}(h*``ipvs_property`` skbuff is owned by ipvs h](j)}(h``ipvs_property``h]j)}(hj#h]h ipvs_property}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM%hj#ubj)}(hhh]jl)}(hskbuff is owned by ipvsh]hskbuff is owned by ipvs}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hM%hj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hM%hjubj)}(h)``nf_trace`` netfilter packet trace flag h](j)}(h ``nf_trace``h]j)}(hj#h]hnf_trace}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM2hj#ubj)}(hhh]jl)}(hnetfilter packet trace flagh]hnetfilter packet trace flag}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hM2hj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hM2hjubj)}(h9``offload_fwd_mark`` Packet was L2-forwarded in hardware h](j)}(h``offload_fwd_mark``h]j)}(hj $h]hoffload_fwd_mark}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj $ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM)hj$ubj)}(hhh]jl)}(h#Packet was L2-forwarded in hardwareh]h#Packet was L2-forwarded in hardware}(hj%$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!$hM)hj"$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj!$hM)hjubj)}(h<``offload_l3_fwd_mark`` Packet was L3-forwarded in hardware h](j)}(h``offload_l3_fwd_mark``h]j)}(hjE$h]hoffload_l3_fwd_mark}(hjG$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC$ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM*hj?$ubj)}(hhh]jl)}(h#Packet was L3-forwarded in hardwareh]h#Packet was L3-forwarded in hardware}(hj^$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZ$hM*hj[$ubah}(h]h ]h"]h$]h&]uh1jhj?$ubeh}(h]h ]h"]h$]h&]uh1jhjZ$hM*hjubj)}(h:``redirected`` packet was redirected by packet classifier h](j)}(h``redirected``h]j)}(hj~$h]h redirected}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|$ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM-hjx$ubj)}(hhh]jl)}(h*packet was redirected by packet classifierh]h*packet was redirected by packet classifier}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hM-hj$ubah}(h]h ]h"]h$]h&]uh1jhjx$ubeh}(h]h ]h"]h$]h&]uh1jhj$hM-hjubj)}(h=``from_ingress`` packet was redirected from the ingress path h](j)}(h``from_ingress``h]j)}(hj$h]h from_ingress}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM.hj$ubj)}(hhh]jl)}(h+packet was redirected from the ingress pathh]h+packet was redirected from the ingress path}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hM.hj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hM.hjubj)}(hH``nf_skip_egress`` packet shall skip nf egress - see netfilter_netdev.h h](j)}(h``nf_skip_egress``h]j)}(hj$h]hnf_skip_egress}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/hj$ubj)}(hhh]jl)}(h4packet shall skip nf egress - see netfilter_netdev.hh]h4packet shall skip nf egress - see netfilter_netdev.h}(hj %hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hM/hj%ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj%hM/hjubj)}(h``decrypted`` Decrypted SKB h](j)}(h ``decrypted``h]j)}(hj)%h]h decrypted}(hj+%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMVhj#%ubj)}(hhh]jl)}(h Decrypted SKBh]h Decrypted SKB}(hjB%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>%hMVhj?%ubah}(h]h ]h"]h$]h&]uh1jhj#%ubeh}(h]h ]h"]h$]h&]uh1jhj>%hMVhjubj)}(hE``slow_gro`` state present at GRO time, slower prepare step required h](j)}(h ``slow_gro``h]j)}(hjb%h]hslow_gro}(hjd%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMWhj\%ubj)}(hhh]jl)}(h7state present at GRO time, slower prepare step requiredh]h7state present at GRO time, slower prepare step required}(hj{%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjw%hMWhjx%ubah}(h]h ]h"]h$]h&]uh1jhj\%ubeh}(h]h ]h"]h$]h&]uh1jhjw%hMWhjubj)}(h9``csum_not_inet`` use CRC32c to resolve CHECKSUM_PARTIAL h](j)}(h``csum_not_inet``h]j)}(hj%h]h csum_not_inet}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMNhj%ubj)}(hhh]jl)}(h&use CRC32c to resolve CHECKSUM_PARTIALh]h&use CRC32c to resolve CHECKSUM_PARTIAL}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hMNhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMNhjubj)}(hU``unreadable`` indicates that at least 1 of the fragments in this skb is unreadable. h](j)}(h``unreadable``h]j)}(hj%h]h unreadable}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMThj%ubj)}(hhh]jl)}(hEindicates that at least 1 of the fragments in this skb is unreadable.h]hEindicates that at least 1 of the fragments in this skb is unreadable.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMShj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMThjubj)}(h,``tc_depth`` counter for packet duplication h](j)}(h ``tc_depth``h]j)}(hj&h]htc_depth}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj &ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9hj&ubj)}(hhh]jl)}(hcounter for packet duplicationh]hcounter for packet duplication}(hj'&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#&hM9hj$&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj#&hM9hjubj)}(h#``tc_index`` Traffic control index h](j)}(h ``tc_index``h]j)}(hjG&h]htc_index}(hjI&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE&ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM:hjA&ubj)}(hhh]jl)}(hTraffic control indexh]hTraffic control index}(hj`&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\&hM:hj]&ubah}(h]h ]h"]h$]h&]uh1jhjA&ubeh}(h]h ]h"]h$]h&]uh1jhj\&hM:hjubj)}(h0``alloc_cpu`` CPU which did the skb allocation. h](j)}(h ``alloc_cpu``h]j)}(hj&h]h alloc_cpu}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~&ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\hjz&ubj)}(hhh]jl)}(h!CPU which did the skb allocation.h]h!CPU which did the skb allocation.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hM\hj&ubah}(h]h ]h"]h$]h&]uh1jhjz&ubeh}(h]h ]h"]h$]h&]uh1jhj&hM\hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj&h]h{unnamed_union}}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj&ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hKhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hKhjubj)}(h3``csum`` Checksum (must include start/offset pair) h](j)}(h``csum``h]j)}(hj&h]hcsum}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj&ubj)}(hhh]jl)}(h)Checksum (must include start/offset pair)h]h)Checksum (must include start/offset pair)}(hj 'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hj+'h]h{unnamed_struct}}(hj-'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)'ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj%'ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjD'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@'hKhjA'ubah}(h]h ]h"]h$]h&]uh1jhj%'ubeh}(h]h ]h"]h$]h&]uh1jhj@'hKhjubj)}(hE``csum_start`` Offset from skb->head where checksumming should start h](j)}(h``csum_start``h]j)}(hjd'h]h csum_start}(hjf'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb'ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj^'ubj)}(hhh]jl)}(h5Offset from skb->head where checksumming should starth]h5Offset from skb->head where checksumming should start}(hj}'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjy'hMhjz'ubah}(h]h ]h"]h$]h&]uh1jhj^'ubeh}(h]h ]h"]h$]h&]uh1jhjy'hMhjubj)}(hG``csum_offset`` Offset from csum_start where checksum should be stored h](j)}(h``csum_offset``h]j)}(hj'h]h csum_offset}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj'ubj)}(hhh]jl)}(h6Offset from csum_start where checksum should be storedh]h6Offset from csum_start where checksum should be stored}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjubj)}(h&``priority`` Packet queueing priority h](j)}(h ``priority``h]j)}(hj'h]hpriority}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj'ubj)}(hhh]jl)}(hPacket queueing priorityh]hPacket queueing priority}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjubj)}(h,``skb_iif`` ifindex of device we arrived on h](j)}(h ``skb_iif``h]j)}(hj(h]hskb_iif}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj (ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8hj (ubj)}(hhh]jl)}(hifindex of device we arrived onh]hifindex of device we arrived on}(hj((hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$(hM8hj%(ubah}(h]h ]h"]h$]h&]uh1jhj (ubeh}(h]h ]h"]h$]h&]uh1jhj$(hM8hjubj)}(h``hash`` the packet hash h](j)}(h``hash``h]j)}(hjH(h]hhash}(hjJ(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF(ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM;hjB(ubj)}(hhh]jl)}(hthe packet hashh]hthe packet hash}(hja(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj](hM;hj^(ubah}(h]h ]h"]h$]h&]uh1jhjB(ubeh}(h]h ]h"]h$]h&]uh1jhj](hM;hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj(h]h{unnamed_union}}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj{(ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hKhj(ubah}(h]h ]h"]h$]h&]uh1jhj{(ubeh}(h]h ]h"]h$]h&]uh1jhj(hKhjubj)}(h'``vlan_all`` vlan fields (proto & tci) h](j)}(h ``vlan_all``h]j)}(hj(h]hvlan_all}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMahj(ubj)}(hhh]jl)}(hvlan fields (proto & tci)h]hvlan fields (proto & tci)}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMahj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMahjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hj(h]h{unnamed_struct}}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj(ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj )hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hKhj )ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj)hKhjubj)}(h+``vlan_proto`` vlan encapsulation protocol h](j)}(h``vlan_proto``h]j)}(hj,)h]h vlan_proto}(hj.)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*)ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMbhj&)ubj)}(hhh]jl)}(hvlan encapsulation protocolh]hvlan encapsulation protocol}(hjE)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjA)hMbhjB)ubah}(h]h ]h"]h$]h&]uh1jhj&)ubeh}(h]h ]h"]h$]h&]uh1jhjA)hMbhjubj)}(h*``vlan_tci`` vlan tag control information h](j)}(h ``vlan_tci``h]j)}(hje)h]hvlan_tci}(hjg)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc)ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMchj_)ubj)}(hhh]jl)}(hvlan tag control informationh]hvlan tag control information}(hj~)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjz)hMchj{)ubah}(h]h ]h"]h$]h&]uh1jhj_)ubeh}(h]h ]h"]h$]h&]uh1jhjz)hMchjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj)h]h{unnamed_union}}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj)ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hKhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hKhjubj)}(h5``napi_id`` id of the NAPI struct this skb came from h](j)}(h ``napi_id``h]j)}(hj)h]hnapi_id}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMZhj)ubj)}(hhh]jl)}(h(id of the NAPI struct this skb came fromh]h(id of the NAPI struct this skb came from}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMZhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMZhjubj)}(h3``sender_cpu`` (aka **napi_id**) source CPU in XPS h](j)}(h``sender_cpu``h]j)}(hj*h]h sender_cpu}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[hj *ubj)}(hhh]jl)}(h#(aka **napi_id**) source CPU in XPSh](h(aka }(hj)*hhhNhNubj)}(h **napi_id**h]hnapi_id}(hj1*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)*ubh) source CPU in XPS}(hj)*hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj%*hM[hj&*ubah}(h]h ]h"]h$]h&]uh1jhj *ubeh}(h]h ]h"]h$]h&]uh1jhj%*hM[hjubj)}(h``secmark`` security marking h](j)}(h ``secmark``h]j)}(hj[*h]hsecmark}(hj]*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM]hjU*ubj)}(hhh]jl)}(hsecurity markingh]hsecurity marking}(hjt*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjp*hM]hjq*ubah}(h]h ]h"]h$]h&]uh1jhjU*ubeh}(h]h ]h"]h$]h&]uh1jhjp*hM]hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj*h]h{unnamed_union}}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhj*ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hKhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hKhjubj)}(h``mark`` Generic packet mark h](j)}(h``mark``h]j)}(hj*h]hmark}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^hj*ubj)}(hhh]jl)}(hGeneric packet markh]hGeneric packet mark}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hM^hj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hM^hjubj)}(hg``reserved_tailroom`` (aka **mark**) number of bytes of free space available at the tail of an sk_buff h](j)}(h``reserved_tailroom``h]j)}(hj+h]hreserved_tailroom}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM`hj+ubj)}(hhh]jl)}(hP(aka **mark**) number of bytes of free space available at the tail of an sk_buffh](h(aka }(hj+hhhNhNubj)}(h**mark**h]hmark}(hj'+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubhC) number of bytes of free space available at the tail of an sk_buff}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM`hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjR+h]h{unnamed_union}}(hjT+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP+ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhKhjL+ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjk+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjg+hKhjh+ubah}(h]h ]h"]h$]h&]uh1jhjL+ubeh}(h]h ]h"]h$]h&]uh1jhjg+hKhjubj)}(h,``inner_protocol`` Protocol (encapsulation) h](j)}(h``inner_protocol``h]j)}(hj+h]hinner_protocol}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMdhj+ubj)}(hhh]jl)}(hProtocol (encapsulation)h]hProtocol (encapsulation)}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMdhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMdhjubj)}(ho``inner_ipproto`` (aka **inner_protocol**) stores ipproto when skb->inner_protocol_type == ENCAP_TYPE_IPPROTO; h](j)}(h``inner_ipproto``h]j)}(hj+h]h inner_ipproto}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMfhj+ubj)}(hhh]jl)}(h\(aka **inner_protocol**) stores ipproto when skb->inner_protocol_type == ENCAP_TYPE_IPPROTO;h](h(aka }(hj+hhhNhNubj)}(h**inner_protocol**h]hinner_protocol}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubhE) stores ipproto when skb->inner_protocol_type == ENCAP_TYPE_IPPROTO;}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMehj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMfhjubj)}(hH``inner_transport_header`` Inner transport layer header (encapsulation) h](j)}(h``inner_transport_header``h]j)}(hj,h]hinner_transport_header}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMghj ,ubj)}(hhh]jl)}(h,Inner transport layer header (encapsulation)h]h,Inner transport layer header (encapsulation)}(hj),hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%,hMghj&,ubah}(h]h ]h"]h$]h&]uh1jhj ,ubeh}(h]h ]h"]h$]h&]uh1jhj%,hMghjubj)}(h>``inner_network_header`` Network layer header (encapsulation) h](j)}(h``inner_network_header``h]j)}(hjI,h]hinner_network_header}(hjK,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhhjC,ubj)}(hhh]jl)}(h$Network layer header (encapsulation)h]h$Network layer header (encapsulation)}(hjb,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^,hMhhj_,ubah}(h]h ]h"]h$]h&]uh1jhjC,ubeh}(h]h ]h"]h$]h&]uh1jhj^,hMhhjubj)}(h7``inner_mac_header`` Link layer header (encapsulation) h](j)}(h``inner_mac_header``h]j)}(hj,h]hinner_mac_header}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMihj|,ubj)}(hhh]jl)}(h!Link layer header (encapsulation)h]h!Link layer header (encapsulation)}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hMihj,ubah}(h]h ]h"]h$]h&]uh1jhj|,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMihjubj)}(h)``protocol`` Packet protocol from driver h](j)}(h ``protocol``h]j)}(hj,h]hprotocol}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM3hj,ubj)}(hhh]jl)}(hPacket protocol from driverh]hPacket protocol from driver}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hM3hj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hM3hjubj)}(h,``transport_header`` Transport layer header h](j)}(h``transport_header``h]j)}(hj,h]htransport_header}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMjhj,ubj)}(hhh]jl)}(hTransport layer headerh]hTransport layer header}(hj -hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj -hMjhj -ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj -hMjhjubj)}(h(``network_header`` Network layer header h](j)}(h``network_header``h]j)}(hj--h]hnetwork_header}(hj/-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+-ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMkhj'-ubj)}(hhh]jl)}(hNetwork layer headerh]hNetwork layer header}(hjF-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjB-hMkhjC-ubah}(h]h ]h"]h$]h&]uh1jhj'-ubeh}(h]h ]h"]h$]h&]uh1jhjB-hMkhjubj)}(h!``mac_header`` Link layer header h](j)}(h``mac_header``h]j)}(hjf-h]h mac_header}(hjh-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd-ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMlhj`-ubj)}(hhh]jl)}(hLink layer headerh]hLink layer header}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{-hMlhj|-ubah}(h]h ]h"]h$]h&]uh1jhj`-ubeh}(h]h ]h"]h$]h&]uh1jhj{-hMlhjubj)}(hB``kcov_handle`` KCOV remote handle for remote coverage collection h](j)}(h``kcov_handle``h]j)}(hj-h]h kcov_handle}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMmhj-ubj)}(hhh]jl)}(h1KCOV remote handle for remote coverage collectionh]h1KCOV remote handle for remote coverage collection}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMmhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMmhjubj)}(h``tail`` Tail pointer h](j)}(h``tail``h]j)}(hj-h]htail}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMnhj-ubj)}(hhh]jl)}(h Tail pointerh]h Tail pointer}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMnhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMnhjubj)}(h``end`` End pointer h](j)}(h``end``h]j)}(hj.h]hend}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMohj .ubj)}(hhh]jl)}(h End pointerh]h End pointer}(hj*.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&.hMohj'.ubah}(h]h ]h"]h$]h&]uh1jhj .ubeh}(h]h ]h"]h$]h&]uh1jhj&.hMohjubj)}(h``head`` Head of buffer h](j)}(h``head``h]j)}(hjJ.h]hhead}(hjL.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH.ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMphjD.ubj)}(hhh]jl)}(hHead of bufferh]hHead of buffer}(hjc.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_.hMphj`.ubah}(h]h ]h"]h$]h&]uh1jhjD.ubeh}(h]h ]h"]h$]h&]uh1jhj_.hMphjubj)}(h``data`` Data head pointer h](j)}(h``data``h]j)}(hj.h]hdata}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMqhj}.ubj)}(hhh]jl)}(hData head pointerh]hData head pointer}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hMqhj.ubah}(h]h ]h"]h$]h&]uh1jhj}.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMqhjubj)}(h``truesize`` Buffer size h](j)}(h ``truesize``h]j)}(hj.h]htruesize}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMrhj.ubj)}(hhh]jl)}(h Buffer sizeh]h Buffer size}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hMrhj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMrhjubj)}(h,``users`` User count - see {datagram,tcp}.c h](j)}(h ``users``h]j)}(hj.h]husers}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMshj.ubj)}(hhh]jl)}(h!User count - see {datagram,tcp}.ch]h!User count - see {datagram,tcp}.c}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj /hMshj /ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj /hMshjubj)}(hJ``extensions`` allocated extensions, valid if active_extensions is nonzeroh](j)}(h``extensions``h]j)}(hj./h]h extensions}(hj0/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,/ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMshj(/ubj)}(hhh]jl)}(h;allocated extensions, valid if active_extensions is nonzeroh]h;allocated extensions, valid if active_extensions is nonzero}(hjG/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMthjD/ubah}(h]h ]h"]h$]h&]uh1jhj(/ubeh}(h]h ]h"]h$]h&]uh1jhjC/hMshjubeh}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pfmemalloc (C function)c.skb_pfmemallochNtauh1hhj" hhhNhNubh)}(hhh](j)}(h/bool skb_pfmemalloc (const struct sk_buff *skb)h]j )}(h.bool skb_pfmemalloc(const struct sk_buff *skb)h](jM )}(hjh]hbool}(hj/hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj/hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMpubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/hhhj/hMpubj3)}(hskb_pfmemalloch]j9)}(hskb_pfmemalloch]hskb_pfmemalloc}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/hhhj/hMpubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNj j )}j ]j )}j j/sbc.skb_pfmemallocasbuh1hhj/ubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hj+0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(hskbh]hskb}(hj80hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubah}(h]h ]h"]h$]h&]jPjQuh1j hj/hhhj/hMpubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj/hhhj/hMpubah}(h]j{/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj/hMphj}/hhubjg)}(hhh]jl)}(h6Test if the skb was allocated from PFMEMALLOC reservesh]h6Test if the skb was allocated from PFMEMALLOC reserves}(hjb0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMphj_0hhubah}(h]h ]h"]h$]h&]uh1jfhj}/hhhj/hMpubeh}(h]h ](jfunctioneh"]h$]h&]jjjjz0jjz0jjjuh1hhhhj" hNhNubj)}(h6**Parameters** ``const struct sk_buff *skb`` bufferh](jl)}(h**Parameters**h]j)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMthj~0ubj)}(hhh]j)}(h$``const struct sk_buff *skb`` bufferh](j)}(h``const struct sk_buff *skb``h]j)}(hj0h]hconst struct sk_buff *skb}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMvhj0ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMqhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMvhj0ubah}(h]h ]h"]h$]h&]uh1jhj~0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dst (C function) c.skb_dsthNtauh1hhj" hhhNhNubh)}(hhh](j)}(h6struct dst_entry * skb_dst (const struct sk_buff *skb)h]j )}(h4struct dst_entry *skb_dst(const struct sk_buff *skb)h](j)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj 1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhj 1hMubh)}(hhh]j9)}(h dst_entryh]h dst_entry}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j skb_dstsb c.skb_dstasbuh1hhj0hhhj 1hMubj")}(h h]h }(hj=1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhj 1hMubj )}(hj h]h*}(hjK1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0hhhj 1hMubj3)}(hskb_dsth]j9)}(hj:1h]hskb_dst}(hj\1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjX1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhj 1hMubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjw1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjs1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs1ubj)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjs1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs1ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j81 c.skb_dstasbuh1hhjs1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs1ubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjs1ubj9)}(hskbh]hskb}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjs1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjo1ubah}(h]h ]h"]h$]h&]jPjQuh1j hj0hhhj 1hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0hhhj 1hMubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj 1hMhj0hhubjg)}(hhh]jl)}(hreturns skb dst_entryh]hreturns skb dst_entry}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj2hhubah}(h]h ]h"]h$]h&]uh1jfhj0hhhj 1hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+2jj+2jjjuh1hhhhj" hNhNubj)}(hx**Parameters** ``const struct sk_buff *skb`` buffer **Return** skb dst_entry, regardless of reference taken or not.h](jl)}(h**Parameters**h]j)}(hj52h]h Parameters}(hj72hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj32ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj/2ubj)}(hhh]j)}(h%``const struct sk_buff *skb`` buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjT2h]hconst struct sk_buff *skb}(hjV2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR2ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjN2ubj)}(hhh]jl)}(hbufferh]hbuffer}(hjm2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhji2hMhjj2ubah}(h]h ]h"]h$]h&]uh1jhjN2ubeh}(h]h ]h"]h$]h&]uh1jhji2hMhjK2ubah}(h]h ]h"]h$]h&]uh1jhj/2ubjl)}(h **Return**h]j)}(hj2h]hReturn}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj/2ubjl)}(h4skb dst_entry, regardless of reference taken or not.h]h4skb dst_entry, regardless of reference taken or not.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj/2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dstref_steal (C function)c.skb_dstref_stealhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h4unsigned long skb_dstref_steal (struct sk_buff *skb)h]j )}(h3unsigned long skb_dstref_steal(struct sk_buff *skb)h](jM )}(hunsignedh]hunsigned}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhj2hMubjM )}(hlongh]hlong}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhj2hMubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhj2hMubj3)}(hskb_dstref_stealh]j9)}(hskb_dstref_stealh]hskb_dstref_steal}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 3ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhj2hMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj-3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)3ubj")}(h h]h }(hj:3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)3ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjK3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjH3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjM3modnameN classnameNj j )}j ]j )}j j3sbc.skb_dstref_stealasbuh1hhj)3ubj")}(h h]h }(hjk3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)3ubj )}(hj h]h*}(hjy3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)3ubj9)}(hskbh]hskb}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%3ubah}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhj2hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhj2hMubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2hMhj2hhubjg)}(hhh]jl)}(h+return current dst_entry value and clear ith]h+return current dst_entry value and clear it}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3hhubah}(h]h ]h"]h$]h&]uh1jfhj2hhhj2hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer **Description** Resets skb dst_entry without adjusting its reference count. Useful in cases where dst_entry needs to be temporarily reset and restored. Note that the returned value cannot be used directly because it might contain SKB_DST_NOREF bit. When in doubt, prefer skb_dst_drop() over skb_dstref_steal() to correctly handle dst_entry reference counting. **Return** original skb dst_entry.h](jl)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj3h]hstruct sk_buff *skb}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj 4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h**Description**h]j)}(hj,4h]h Description}(hj.4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*4ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubjl)}(hResets skb dst_entry without adjusting its reference count. Useful in cases where dst_entry needs to be temporarily reset and restored. Note that the returned value cannot be used directly because it might contain SKB_DST_NOREF bit.h]hResets skb dst_entry without adjusting its reference count. Useful in cases where dst_entry needs to be temporarily reset and restored. Note that the returned value cannot be used directly because it might contain SKB_DST_NOREF bit.}(hjB4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubjl)}(hnWhen in doubt, prefer skb_dst_drop() over skb_dstref_steal() to correctly handle dst_entry reference counting.h]hnWhen in doubt, prefer skb_dst_drop() over skb_dstref_steal() to correctly handle dst_entry reference counting.}(hjQ4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubjl)}(h **Return**h]j)}(hjb4h]hReturn}(hjd4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`4ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubjl)}(horiginal skb dst_entry.h]horiginal skb dst_entry.}(hjx4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dstref_restore (C function)c.skb_dstref_restorehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hCvoid skb_dstref_restore (struct sk_buff *skb, unsigned long refdst)h]j )}(hBvoid skb_dstref_restore(struct sk_buff *skb, unsigned long refdst)h](jM )}(hvoidh]hvoid}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhj4hMubj3)}(hskb_dstref_restoreh]j9)}(hskb_dstref_restoreh]hskb_dstref_restore}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhj4hMubj )}(h+(struct sk_buff *skb, unsigned long refdst)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]j )}j j4sbc.skb_dstref_restoreasbuh1hhj4ubj")}(h h]h }(hj"5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hj05hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hskbh]hskb}(hj=5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(hunsigned long refdsth](jM )}(hunsignedh]hunsigned}(hjV5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjR5ubj")}(h h]h }(hjd5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjR5ubjM )}(hlongh]hlong}(hjr5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjR5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjR5ubj9)}(hrefdsth]hrefdst}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjR5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj4hhhj4hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhj4hMubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj4hMhj4hhubjg)}(hhh]jl)}(h4restore skb dst_entry removed via skb_dstref_steal()h]h4restore skb dst_entry removed via skb_dstref_steal()}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5hhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhj4hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhj" hNhNubj)}(hx**Parameters** ``struct sk_buff *skb`` buffer ``unsigned long refdst`` dst entry from a call to skb_dstref_steal()h](jl)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj5h]hstruct sk_buff *skb}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj5ubj)}(hD``unsigned long refdst`` dst entry from a call to skb_dstref_steal()h](j)}(h``unsigned long refdst``h]j)}(hj26h]hunsigned long refdst}(hj46hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj06ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj,6ubj)}(hhh]jl)}(h+dst entry from a call to skb_dstref_steal()h]h+dst entry from a call to skb_dstref_steal()}(hjK6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjH6ubah}(h]h ]h"]h$]h&]uh1jhj,6ubeh}(h]h ]h"]h$]h&]uh1jhjG6hMhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dst_set (C function) c.skb_dst_sethNtauh1hhj" hhhNhNubh)}(hhh](j)}(h=void skb_dst_set (struct sk_buff *skb, struct dst_entry *dst)h]j )}(hhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhj=hMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj#>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj")}(h h]h }(hj0>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjA>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjC>modnameN classnameNj j )}j ]j )}j j >sb c.skb_unrefasbuh1hhj>ubj")}(h h]h }(hja>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubj )}(hj h]h*}(hjo>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj>ubj9)}(hskbh]hskb}(hj|>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubah}(h]h ]h"]h$]h&]jPjQuh1j hj=hhhj=hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj=hhhj=hMubah}(h]j=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj=hMhj=hhubjg)}(hhh]jl)}(h#decrement the skb's reference counth]h%decrement the skb’s reference count}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj>hhubah}(h]h ]h"]h$]h&]uh1jfhj=hhhj=hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhj" hNhNubj)}(hZ**Parameters** ``struct sk_buff *skb`` buffer **Return** true if we can free the skb.h](jl)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj>ubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj>h]hstruct sk_buff *skb}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj>ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubjl)}(h **Return**h]j)}(hj"?h]hReturn}(hj$?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ?ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj>ubjl)}(htrue if we can free the skb.h]htrue if we can free the skb.}(hj8?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkfree_skb (C function) c.kfree_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h$void kfree_skb (struct sk_buff *skb)h]j )}(h#void kfree_skb(struct sk_buff *skb)h](jM )}(hvoidh]hvoid}(hjg?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjc?hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/ubj")}(h h]h }(hjv?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc?hhhju?hM/ubj3)}(h kfree_skbh]j9)}(h kfree_skbh]h kfree_skb}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjc?hhhju?hM/ubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNj j )}j ]j )}j j?sb c.kfree_skbasbuh1hhj?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubj )}(hj h]h*}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?ubj9)}(hskbh]hskb}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubah}(h]h ]h"]h$]h&]jPjQuh1j hjc?hhhju?hM/ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj_?hhhju?hM/ubah}(h]jZ?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhju?hM/hj\?hhubjg)}(hhh]jl)}(h+free an sk_buff with 'NOT_SPECIFIED' reasonh]h/free an sk_buff with ‘NOT_SPECIFIED’ reason}(hj'@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/hj$@hhubah}(h]h ]h"]h$]h&]uh1jfhj\?hhhju?hM/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?@jj?@jjjuh1hhhhj" hNhNubj)}(h8**Parameters** ``struct sk_buff *skb`` buffer to freeh](jl)}(h**Parameters**h]j)}(hjI@h]h Parameters}(hjK@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG@ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM3hjC@ubj)}(hhh]j)}(h&``struct sk_buff *skb`` buffer to freeh](j)}(h``struct sk_buff *skb``h]j)}(hjh@h]hstruct sk_buff *skb}(hjj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf@ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM5hjb@ubj)}(hhh]jl)}(hbuffer to freeh]hbuffer to free}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0hj~@ubah}(h]h ]h"]h$]h&]uh1jhjb@ubeh}(h]h ]h"]h$]h&]uh1jhj}@hM5hj_@ubah}(h]h ]h"]h$]h&]uh1jhjC@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_skb (C function) c.alloc_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h>struct sk_buff * alloc_skb (unsigned int size, gfp_t priority)h]j )}(hbool skb_queue_empty_lockless(const struct sk_buff_head *list)h](jM )}(hjh]hbool}(hj KhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhjKhMubj3)}(hskb_queue_empty_locklessh]j9)}(hskb_queue_empty_locklessh]hskb_queue_empty_lockless}(hj*KhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&Kubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhjKhMubj )}(h!(const struct sk_buff_head *list)h]j )}(hconst struct sk_buff_head *listh](j)}(hj h]hconst}(hjFKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBKubj")}(h h]h }(hjSKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBKubj)}(hjh]hstruct}(hjaKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBKubj")}(h h]h }(hjnKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBKubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|Kubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j )}j j,Ksbc.skb_queue_empty_locklessasbuh1hhjBKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBKubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBKubj9)}(hlisth]hlist}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>Kubah}(h]h ]h"]h$]h&]jPjQuh1j hjKhhhjKhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjKhhhjKhMubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjKhMhjJhhubjg)}(hhh]jl)}(hcheck if a queue is emptyh]hcheck if a queue is empty}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjKhhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjKhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKjjKjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff_head *list`` queue head **Description** Returns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.h](jl)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjLubj)}(hhh]j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hj%Lh]hconst struct sk_buff_head *list}(hj'LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Lubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjLubj)}(hhh]jl)}(h queue headh]h queue head}(hj>LhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:LhMhj;Lubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhj:LhMhjLubah}(h]h ]h"]h$]h&]uh1jhjLubjl)}(h**Description**h]j)}(hj`Lh]h Description}(hjbLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Lubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjLubj)}(hcReturns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.h]jl)}(hcReturns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.h]hcReturns true if the queue is empty, false otherwise. This variant can be used in lockless contexts.}(hjzLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjvLubah}(h]h ]h"]h$]h&]uh1jhjLhMhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_is_last (C function)c.skb_queue_is_lasthNtauh1hhj" hhhNhNubh)}(hhh](j)}(hSbool skb_queue_is_last (const struct sk_buff_head *list, const struct sk_buff *skb)h]j )}(hRbool skb_queue_is_last(const struct sk_buff_head *list, const struct sk_buff *skb)h](jM )}(hjh]hbool}(hjLhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhjLhMubj3)}(hskb_queue_is_lasth]j9)}(hskb_queue_is_lasth]hskb_queue_is_last}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjLhhhjLhMubj )}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j )}(hconst struct sk_buff_head *listh](j)}(hj h]hconst}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj$MhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!Mubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&MmodnameN classnameNj j )}j ]j )}j jLsbc.skb_queue_is_lastasbuh1hhjLubj")}(h h]h }(hjDMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjRMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hlisth]hlist}(hj_MhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubj )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjxMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtMubj)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]j@Mc.skb_queue_is_lastasbuh1hhjtMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtMubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtMubj9)}(hskbh]hskb}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubeh}(h]h ]h"]h$]h&]jPjQuh1j hjLhhhjLhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjLhhhjLhMubah}(h]jLah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjLhMhjLhhubjg)}(hhh]jl)}(h+check if skb is the last entry in the queueh]h+check if skb is the last entry in the queue}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjNhhubah}(h]h ]h"]h$]h&]uh1jfhjLhhhjLhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,Njj,Njjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` buffer **Description** Returns true if **skb** is the last buffer on the list.h](jl)}(h**Parameters**h]j)}(hj6Nh]h Parameters}(hj8NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Nubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj0Nubj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjUNh]hconst struct sk_buff_head *list}(hjWNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjONubj)}(hhh]jl)}(h queue headh]h queue head}(hjnNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjNhMhjkNubah}(h]h ]h"]h$]h&]uh1jhjONubeh}(h]h ]h"]h$]h&]uh1jhjjNhMhjLNubj)}(h%``const struct sk_buff *skb`` buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjNh]hconst struct sk_buff *skb}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjNubj)}(hhh]jl)}(hbufferh]hbuffer}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjLNubeh}(h]h ]h"]h$]h&]uh1jhj0Nubjl)}(h**Description**h]j)}(hjNh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj0Nubj)}(h7Returns true if **skb** is the last buffer on the list.h]jl)}(hjNh](hReturns true if }(hjNhhhNhNubj)}(h**skb**h]hskb}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh is the last buffer on the list.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjNubah}(h]h ]h"]h$]h&]uh1jhjOhMhj0Nubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_is_first (C function)c.skb_queue_is_firsthNtauh1hhj" hhhNhNubh)}(hhh](j)}(hTbool skb_queue_is_first (const struct sk_buff_head *list, const struct sk_buff *skb)h]j )}(hSbool skb_queue_is_first(const struct sk_buff_head *list, const struct sk_buff *skb)h](jM )}(hjh]hbool}(hj)OhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%OhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj7OhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%Ohhhj6OhMubj3)}(hskb_queue_is_firsth]j9)}(hskb_queue_is_firsth]hskb_queue_is_first}(hjIOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%Ohhhj6OhMubj )}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j )}(hconst struct sk_buff_head *listh](j)}(hj h]hconst}(hjeOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaOubj")}(h h]h }(hjrOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaOubj)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaOubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaOubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j jKOsbc.skb_queue_is_firstasbuh1hhjaOubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaOubj )}(hj h]h*}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaOubj9)}(hlisth]hlist}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]Oubj )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj)}(hjh]hstruct}(hj PhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj+PhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(Pubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-PmodnameN classnameNj j )}j ]jOc.skb_queue_is_firstasbuh1hhjOubj")}(h h]h }(hjIPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj )}(hj h]h*}(hjWPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj9)}(hskbh]hskb}(hjdPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]Oubeh}(h]h ]h"]h$]h&]jPjQuh1j hj%Ohhhj6OhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj!Ohhhj6OhMubah}(h]jOah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6OhMhjOhhubjg)}(hhh]jl)}(h,check if skb is the first entry in the queueh]h,check if skb is the first entry in the queue}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjPhhubah}(h]h ]h"]h$]h&]uh1jfhjOhhhj6OhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` buffer **Description** Returns true if **skb** is the first buffer on the list.h](jl)}(h**Parameters**h]j)}(hjPh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjPubj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjPh]hconst struct sk_buff_head *list}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjPubj)}(hhh]jl)}(h queue headh]h queue head}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjPubj)}(h%``const struct sk_buff *skb`` buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjQh]hconst struct sk_buff *skb}(hj QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjQubj)}(hhh]jl)}(hbufferh]hbuffer}(hj!QhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjPubeh}(h]h ]h"]h$]h&]uh1jhjPubjl)}(h**Description**h]j)}(hjCQh]h Description}(hjEQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAQubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjPubj)}(h8Returns true if **skb** is the first buffer on the list.h]jl)}(hj[Qh](hReturns true if }(hj]QhhhNhNubj)}(h**skb**h]hskb}(hjdQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]Qubh! is the first buffer on the list.}(hj]QhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjYQubah}(h]h ]h"]h$]h&]uh1jhj|QhMhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_next (C function)c.skb_queue_nexthNtauh1hhj" hhhNhNubh)}(hhh](j)}(h\struct sk_buff * skb_queue_next (const struct sk_buff_head *list, const struct sk_buff *skb)h]j )}(hZstruct sk_buff *skb_queue_next(const struct sk_buff_head *list, const struct sk_buff *skb)h](j)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQhhhjQhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j )}j skb_queue_nextsbc.skb_queue_nextasbuh1hhjQhhhjQhMubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQhhhjQhMubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQhhhjQhMubj3)}(hskb_queue_nexth]j9)}(hjQh]hskb_queue_next}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQhhhjQhMubj )}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j )}(hconst struct sk_buff_head *listh](j)}(hj h]hconst}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hj*RhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj)}(hjh]hstruct}(hj8RhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hjERhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjVRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXRmodnameN classnameNj j )}j ]jQc.skb_queue_nextasbuh1hhjRubj")}(h h]h }(hjtRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj )}(hj h]h*}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRubj9)}(hlisth]hlist}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubj )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNj j )}j ]jQc.skb_queue_nextasbuh1hhjRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj )}(hj h]h*}(hj ShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRubj9)}(hskbh]hskb}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubeh}(h]h ]h"]h$]h&]jPjQuh1j hjQhhhjQhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjQhhhjQhMubah}(h]jQah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjQhMhjQhhubjg)}(hhh]jl)}(h#return the next packet in the queueh]h#return the next packet in the queue}(hjDShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjAShhubah}(h]h ]h"]h$]h&]uh1jfhjQhhhjQhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\Sjj\Sjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` current buffer **Description** Return the next packet in **list** after **skb**. It is only valid to call this if skb_queue_is_last() evaluates to false.h](jl)}(h**Parameters**h]j)}(hjfSh]h Parameters}(hjhShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdSubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj`Subj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjSh]hconst struct sk_buff_head *list}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjSubj)}(hhh]jl)}(h queue headh]h queue head}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMhj|Subj)}(h-``const struct sk_buff *skb`` current buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjSh]hconst struct sk_buff *skb}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjSubj)}(hhh]jl)}(hcurrent bufferh]hcurrent buffer}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMhj|Subeh}(h]h ]h"]h$]h&]uh1jhj`Subjl)}(h**Description**h]j)}(hjSh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj`Subj)}(h{Return the next packet in **list** after **skb**. It is only valid to call this if skb_queue_is_last() evaluates to false.h]jl)}(h{Return the next packet in **list** after **skb**. It is only valid to call this if skb_queue_is_last() evaluates to false.h](hReturn the next packet in }(hjThhhNhNubj)}(h**list**h]hlist}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh after }(hjThhhNhNubj)}(h**skb**h]hskb}(hj-ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubhK. It is only valid to call this if skb_queue_is_last() evaluates to false.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjTubah}(h]h ]h"]h$]h&]uh1jhjEThMhj`Subeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_prev (C function)c.skb_queue_prevhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h\struct sk_buff * skb_queue_prev (const struct sk_buff_head *list, const struct sk_buff *skb)h]j )}(hZstruct sk_buff *skb_queue_prev(const struct sk_buff_head *list, const struct sk_buff *skb)h](j)}(hjh]hstruct}(hjlThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhThhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjzThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhThhhjyThMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNj j )}j ]j )}j skb_queue_prevsbc.skb_queue_prevasbuh1hhjhThhhjyThMubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhThhhjyThMubj )}(hj h]h*}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhThhhjyThMubj3)}(hskb_queue_prevh]j9)}(hjTh]hskb_queue_prev}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhThhhjyThMubj )}(h<(const struct sk_buff_head *list, const struct sk_buff *skb)h](j )}(hconst struct sk_buff_head *listh](j)}(hj h]hconst}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!UmodnameN classnameNj j )}j ]jTc.skb_queue_prevasbuh1hhjTubj")}(h h]h }(hj=UhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjKUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hlisth]hlist}(hjXUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjqUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmUubj")}(h h]h }(hj~UhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmUubj)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmUubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]jTc.skb_queue_prevasbuh1hhjmUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmUubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmUubj9)}(hskbh]hskb}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhThhhjyThMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdThhhjyThMubah}(h]j_Tah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyThMhjaThhubjg)}(hhh]jl)}(h#return the prev packet in the queueh]h#return the prev packet in the queue}(hj VhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj Vhhubah}(h]h ]h"]h$]h&]uh1jfhjaThhhjyThMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%Vjj%Vjjjuh1hhhhj" hNhNubj)}(hX **Parameters** ``const struct sk_buff_head *list`` queue head ``const struct sk_buff *skb`` current buffer **Description** Return the prev packet in **list** before **skb**. It is only valid to call this if skb_queue_is_first() evaluates to false.h](jl)}(h**Parameters**h]j)}(hj/Vh]h Parameters}(hj1VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-Vubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj)Vubj)}(hhh](j)}(h/``const struct sk_buff_head *list`` queue head h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjNVh]hconst struct sk_buff_head *list}(hjPVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLVubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjHVubj)}(hhh]jl)}(h queue headh]h queue head}(hjgVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjcVhMhjdVubah}(h]h ]h"]h$]h&]uh1jhjHVubeh}(h]h ]h"]h$]h&]uh1jhjcVhMhjEVubj)}(h-``const struct sk_buff *skb`` current buffer h](j)}(h``const struct sk_buff *skb``h]j)}(hjVh]hconst struct sk_buff *skb}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjVubj)}(hhh]jl)}(hcurrent bufferh]hcurrent buffer}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjEVubeh}(h]h ]h"]h$]h&]uh1jhj)Vubjl)}(h**Description**h]j)}(hjVh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj)Vubj)}(h}Return the prev packet in **list** before **skb**. It is only valid to call this if skb_queue_is_first() evaluates to false.h]jl)}(h}Return the prev packet in **list** before **skb**. It is only valid to call this if skb_queue_is_first() evaluates to false.h](hReturn the prev packet in }(hjVhhhNhNubj)}(h**list**h]hlist}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh before }(hjVhhhNhNubj)}(h**skb**h]hskb}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubhL. It is only valid to call this if skb_queue_is_first() evaluates to false.}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjVubah}(h]h ]h"]h$]h&]uh1jhjWhMhj)Vubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_get (C function) c.skb_gethNtauh1hhj" hhhNhNubh)}(hhh](j)}(h.struct sk_buff * skb_get (struct sk_buff *skb)h]j )}(h,struct sk_buff *skb_get(struct sk_buff *skb)h](j)}(hjh]hstruct}(hj5WhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1WhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjCWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1WhhhjBWhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjTWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVWmodnameN classnameNj j )}j ]j )}j skb_getsb c.skb_getasbuh1hhj1WhhhjBWhMubj")}(h h]h }(hjuWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1WhhhjBWhMubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1WhhhjBWhMubj3)}(hskb_geth]j9)}(hjrWh]hskb_get}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1WhhhjBWhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]jpW c.skb_getasbuh1hhjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(hskbh]hskb}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubah}(h]h ]h"]h$]h&]jPjQuh1j hj1WhhhjBWhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj-WhhhjBWhMubah}(h]j(Wah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjBWhMhj*Whhubjg)}(hhh]jl)}(hreference bufferh]hreference buffer}(hj0XhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj-Xhhubah}(h]h ]h"]h$]h&]uh1jfhj*WhhhjBWhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHXjjHXjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` buffer to reference **Description** Makes another reference to a socket buffer and returns a pointer to the buffer.h](jl)}(h**Parameters**h]j)}(hjRXh]h Parameters}(hjTXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPXubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjLXubj)}(hhh]j)}(h,``struct sk_buff *skb`` buffer to reference h](j)}(h``struct sk_buff *skb``h]j)}(hjqXh]hstruct sk_buff *skb}(hjsXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoXubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjkXubj)}(hhh]jl)}(hbuffer to referenceh]hbuffer to reference}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjkXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjhXubah}(h]h ]h"]h$]h&]uh1jhjLXubjl)}(h**Description**h]j)}(hjXh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjLXubj)}(hOMakes another reference to a socket buffer and returns a pointer to the buffer.h]jl)}(hOMakes another reference to a socket buffer and returns a pointer to the buffer.h]hOMakes another reference to a socket buffer and returns a pointer to the buffer.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjXubah}(h]h ]h"]h$]h&]uh1jhjXhMhjLXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_cloned (C function) c.skb_clonedhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h*int skb_cloned (const struct sk_buff *skb)h]j )}(h)int skb_cloned(const struct sk_buff *skb)h](jM )}(hinth]hint}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj YhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXhhhj YhMubj3)}(h skb_clonedh]j9)}(h skb_clonedh]h skb_cloned}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhj YhMubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj8YhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4Yubj")}(h h]h }(hjEYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4Yubj)}(hjh]hstruct}(hjSYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4Yubj")}(h h]h }(hj`YhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4Yubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjqYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsYmodnameN classnameNj j )}j ]j )}j jYsb c.skb_clonedasbuh1hhj4Yubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4Yubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4Yubj9)}(hskbh]hskb}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4Yubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0Yubah}(h]h ]h"]h$]h&]jPjQuh1j hjXhhhj YhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhj YhMubah}(h]jXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj YhMhjXhhubjg)}(hhh]jl)}(his the buffer a cloneh]his the buffer a clone}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjYhhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhj YhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhj" hNhNubj)}(hX#**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Returns true if the buffer was generated with skb_clone() and is one of multiple shared copies of the buffer. Cloned buffers are shared data so must not be written to under normal circumstances.h](jl)}(h**Parameters**h]j)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjYubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjZh]hconst struct sk_buff *skb}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjZubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hj0ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,ZhMhj-Zubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj,ZhMhjZubah}(h]h ]h"]h$]h&]uh1jhjYubjl)}(h**Description**h]j)}(hjRZh]h Description}(hjTZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPZubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjYubj)}(hReturns true if the buffer was generated with skb_clone() and is one of multiple shared copies of the buffer. Cloned buffers are shared data so must not be written to under normal circumstances.h]jl)}(hReturns true if the buffer was generated with skb_clone() and is one of multiple shared copies of the buffer. Cloned buffers are shared data so must not be written to under normal circumstances.h]hReturns true if the buffer was generated with skb_clone() and is one of multiple shared copies of the buffer. Cloned buffers are shared data so must not be written to under normal circumstances.}(hjlZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhZubah}(h]h ]h"]h$]h&]uh1jhjzZhMhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_header_cloned (C function)c.skb_header_clonedhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h1int skb_header_cloned (const struct sk_buff *skb)h]j )}(h0int skb_header_cloned(const struct sk_buff *skb)h](jM )}(hinth]hint}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZhhhjZhMubj3)}(hskb_header_clonedh]j9)}(hskb_header_clonedh]hskb_header_cloned}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZhhhjZhMubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNj j )}j ]j )}j jZsbc.skb_header_clonedasbuh1hhjZubj")}(h h]h }(hj7[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj )}(hj h]h*}(hjE[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj9)}(hskbh]hskb}(hjR[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubah}(h]h ]h"]h$]h&]jPjQuh1j hjZhhhjZhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjZhhhjZhMubah}(h]jZah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjZhMhjZhhubjg)}(hhh]jl)}(his the header a cloneh]his the header a clone}(hj|[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjy[hhubah}(h]h ]h"]h$]h&]uh1jfhjZhhhjZhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Returns true if modifying the header part of the buffer requires the data to be copied.h](jl)}(h**Parameters**h]j)}(hj[h]h Parameters}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj[ubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hj[h]hconst struct sk_buff *skb}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj[ubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[hMhj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubjl)}(h**Description**h]j)}(hj[h]h Description}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj[ubj)}(hWReturns true if modifying the header part of the buffer requires the data to be copied.h]jl)}(hWReturns true if modifying the header part of the buffer requires the data to be copied.h]hWReturns true if modifying the header part of the buffer requires the data to be copied.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj\ubah}(h]h ]h"]h$]h&]uh1jhj \hMhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__skb_header_release (C function)c.__skb_header_releasehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h/void __skb_header_release (struct sk_buff *skb)h]j )}(h.void __skb_header_release(struct sk_buff *skb)h](jM )}(hvoidh]hvoid}(hjG\hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjC\hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM,ubj")}(h h]h }(hjV\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjC\hhhjU\hM,ubj3)}(h__skb_header_releaseh]j9)}(h__skb_header_releaseh]h__skb_header_release}(hjh\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjd\ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjC\hhhjU\hM,ubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNj j )}j ]j )}j jj\sbc.__skb_header_releaseasbuh1hhj\ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj )}(hj h]h*}(hj\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\ubj9)}(hskbh]hskb}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|\ubah}(h]h ]h"]h$]h&]jPjQuh1j hjC\hhhjU\hM,ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?\hhhjU\hM,ubah}(h]j:\ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjU\hM,hj<\hhubjg)}(hhh]jl)}(h allow clones to use the headroomh]h allow clones to use the headroom}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM,hj]hhubah}(h]h ]h"]h$]h&]uh1jfhj<\hhhjU\hM,ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhj" hNhNubj)}(hx**Parameters** ``struct sk_buff *skb`` buffer to operate on **Description** See "DOC: dataref and headerless skbs".h](jl)}(h**Parameters**h]j)}(hj)]h]h Parameters}(hj+]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj']ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0hj#]ubj)}(hhh]j)}(h-``struct sk_buff *skb`` buffer to operate on h](j)}(h``struct sk_buff *skb``h]j)}(hjH]h]hstruct sk_buff *skb}(hjJ]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF]ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM-hjB]ubj)}(hhh]jl)}(hbuffer to operate onh]hbuffer to operate on}(hja]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]]hM-hj^]ubah}(h]h ]h"]h$]h&]uh1jhjB]ubeh}(h]h ]h"]h$]h&]uh1jhj]]hM-hj?]ubah}(h]h ]h"]h$]h&]uh1jhj#]ubjl)}(h**Description**h]j)}(hj]h]h Description}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/hj#]ubjl)}(h'See "DOC: dataref and headerless skbs".h]h+See “DOC: dataref and headerless skbs”.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM.hj#]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_shared (C function) c.skb_sharedhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h*int skb_shared (const struct sk_buff *skb)h]j )}(h)int skb_shared(const struct sk_buff *skb)h](jM )}(hinth]hint}(hj]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9ubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]hhhj]hM9ubj3)}(h skb_sharedh]j9)}(h skb_sharedh]h skb_shared}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj]hhhj]hM9ubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubj)}(hjh]hstruct}(hj ^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj")}(h h]h }(hj-^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj>^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@^modnameN classnameNj j )}j ]j )}j j]sb c.skb_sharedasbuh1hhj^ubj")}(h h]h }(hj^^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubj )}(hj h]h*}(hjl^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj^ubj9)}(hskbh]hskb}(hjy^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubah}(h]h ]h"]h$]h&]jPjQuh1j hj]hhhj]hM9ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj]hhhj]hM9ubah}(h]j]ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hM9hj]hhubjg)}(hhh]jl)}(his the buffer sharedh]his the buffer shared}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9hj^hhubah}(h]h ]h"]h$]h&]uh1jfhj]hhhj]hM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Returns true if more than one person has a reference to this buffer.h](jl)}(h**Parameters**h]j)}(hj^h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM=hj^ubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hj^h]hconst struct sk_buff *skb}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM:hj^ubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hM:hj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hM:hj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubjl)}(h**Description**h]j)}(hj_h]h Description}(hj!_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM<hj^ubj)}(hDReturns true if more than one person has a reference to this buffer.h]jl)}(hDReturns true if more than one person has a reference to this buffer.h]hDReturns true if more than one person has a reference to this buffer.}(hj9_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM;hj5_ubah}(h]h ]h"]h$]h&]uh1jhjG_hM;hj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_share_check (C function)c.skb_share_checkhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hAstruct sk_buff * skb_share_check (struct sk_buff *skb, gfp_t pri)h]j )}(h?struct sk_buff *skb_share_check(struct sk_buff *skb, gfp_t pri)h](j)}(hjh]hstruct}(hjn_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj_hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMEubj")}(h h]h }(hj|_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjj_hhhj{_hMEubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]j )}j skb_share_checksbc.skb_share_checkasbuh1hhjj_hhhj{_hMEubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjj_hhhj{_hMEubj )}(hj h]h*}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjj_hhhj{_hMEubj3)}(hskb_share_checkh]j9)}(hj_h]hskb_share_check}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjj_hhhj{_hMEubj )}(h (struct sk_buff *skb, gfp_t pri)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNj j )}j ]j_c.skb_share_checkasbuh1hhj_ubj")}(h h]h }(hj$`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubj )}(hj h]h*}(hj2`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_ubj9)}(hskbh]hskb}(hj?`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_ubj )}(h gfp_t prih](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj[`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjX`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]`modnameN classnameNj j )}j ]j_c.skb_share_checkasbuh1hhjT`ubj")}(h h]h }(hjy`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjT`ubj9)}(hprih]hpri}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjT`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjj_hhhj{_hMEubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjf_hhhj{_hMEubah}(h]ja_ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj{_hMEhjc_hhubjg)}(hhh]jl)}(h,check if buffer is shared and if so clone ith]h,check if buffer is shared and if so clone it}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMEhj`hhubah}(h]h ]h"]h$]h&]uh1jfhjc_hhhj{_hMEubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to check ``gfp_t pri`` priority for memory allocation **Description** If the buffer is shared the buffer is cloned and the old copy drops a reference. A new clone with a single reference is returned. If the buffer is not shared the original buffer is returned. When being called from interrupt status or with spinlocks held pri must be GFP_ATOMIC. NULL is returned on a memory allocation failure.h](jl)}(h**Parameters**h]j)}(hj`h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMIhj`ubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to check h](j)}(h``struct sk_buff *skb``h]j)}(hj`h]hstruct sk_buff *skb}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMFhj`ubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hj ahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMFhjaubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhjahMFhj`ubj)}(h-``gfp_t pri`` priority for memory allocation h](j)}(h ``gfp_t pri``h]j)}(hj+ah]h gfp_t pri}(hj-ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)aubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMGhj%aubj)}(hhh]jl)}(hpriority for memory allocationh]hpriority for memory allocation}(hjDahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@ahMGhjAaubah}(h]h ]h"]h$]h&]uh1jhj%aubeh}(h]h ]h"]h$]h&]uh1jhj@ahMGhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`ubjl)}(h**Description**h]j)}(hjfah]h Description}(hjhahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdaubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMIhj`ubj)}(hXGIf the buffer is shared the buffer is cloned and the old copy drops a reference. A new clone with a single reference is returned. If the buffer is not shared the original buffer is returned. When being called from interrupt status or with spinlocks held pri must be GFP_ATOMIC. NULL is returned on a memory allocation failure.h](jl)}(hXIf the buffer is shared the buffer is cloned and the old copy drops a reference. A new clone with a single reference is returned. If the buffer is not shared the original buffer is returned. When being called from interrupt status or with spinlocks held pri must be GFP_ATOMIC.h]hXIf the buffer is shared the buffer is cloned and the old copy drops a reference. A new clone with a single reference is returned. If the buffer is not shared the original buffer is returned. When being called from interrupt status or with spinlocks held pri must be GFP_ATOMIC.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMHhj|aubjl)}(h0NULL is returned on a memory allocation failure.h]h0NULL is returned on a memory allocation failure.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMNhj|aubeh}(h]h ]h"]h$]h&]uh1jhjahMHhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_unshare (C function) c.skb_unsharehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h=struct sk_buff * skb_unshare (struct sk_buff *skb, gfp_t pri)h]j )}(h;struct sk_buff *skb_unshare(struct sk_buff *skb, gfp_t pri)h](j)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjahhhjahMhubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNj j )}j ]j )}j skb_unsharesb c.skb_unshareasbuh1hhjahhhjahMhubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjahhhjahMhubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjahhhjahMhubj3)}(h skb_unshareh]j9)}(hjbh]h skb_unshare}(hj#bhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjahhhjahMhubj )}(h (struct sk_buff *skb, gfp_t pri)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj>bhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:bubj")}(h h]h }(hjKbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:bubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj\bhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^bmodnameN classnameNj j )}j ]ja c.skb_unshareasbuh1hhj:bubj")}(h h]h }(hjzbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:bubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:bubj9)}(hskbh]hskb}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:bubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6bubj )}(h gfp_t prih](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]ja c.skb_unshareasbuh1hhjbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj9)}(hprih]hpri}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6bubeh}(h]h ]h"]h$]h&]jPjQuh1j hjahhhjahMhubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjahhhjahMhubah}(h]jaah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjahMhhjahhubjg)}(hhh]jl)}(hmake a copy of a shared bufferh]hmake a copy of a shared buffer}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhhjchhubah}(h]h ]h"]h$]h&]uh1jfhjahhhjahMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to check ``gfp_t pri`` priority for memory allocation **Description** If the socket buffer is a clone then this function creates a new copy of the data, drops a reference count on the old copy and returns the new copy with the reference count at 1. If the buffer is not a clone the original buffer is returned. When called with a spinlock held or from interrupt state **pri** must be ``GFP_ATOMIC`` ``NULL`` is returned on a memory allocation failure.h](jl)}(h**Parameters**h]j)}(hj)ch]h Parameters}(hj+chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'cubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMlhj#cubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to check h](j)}(h``struct sk_buff *skb``h]j)}(hjHch]hstruct sk_buff *skb}(hjJchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFcubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMihjBcubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hjachhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]chMihj^cubah}(h]h ]h"]h$]h&]uh1jhjBcubeh}(h]h ]h"]h$]h&]uh1jhj]chMihj?cubj)}(h-``gfp_t pri`` priority for memory allocation h](j)}(h ``gfp_t pri``h]j)}(hjch]h gfp_t pri}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMjhj{cubj)}(hhh]jl)}(hpriority for memory allocationh]hpriority for memory allocation}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMjhjcubah}(h]h ]h"]h$]h&]uh1jhj{cubeh}(h]h ]h"]h$]h&]uh1jhjchMjhj?cubeh}(h]h ]h"]h$]h&]uh1jhj#cubjl)}(h**Description**h]j)}(hjch]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMlhj#cubj)}(hX~If the socket buffer is a clone then this function creates a new copy of the data, drops a reference count on the old copy and returns the new copy with the reference count at 1. If the buffer is not a clone the original buffer is returned. When called with a spinlock held or from interrupt state **pri** must be ``GFP_ATOMIC`` ``NULL`` is returned on a memory allocation failure.h](jl)}(hXHIf the socket buffer is a clone then this function creates a new copy of the data, drops a reference count on the old copy and returns the new copy with the reference count at 1. If the buffer is not a clone the original buffer is returned. When called with a spinlock held or from interrupt state **pri** must be ``GFP_ATOMIC``h](hX*If the socket buffer is a clone then this function creates a new copy of the data, drops a reference count on the old copy and returns the new copy with the reference count at 1. If the buffer is not a clone the original buffer is returned. When called with a spinlock held or from interrupt state }(hjchhhNhNubj)}(h**pri**h]hpri}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh must be }(hjchhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMkhjcubjl)}(h4``NULL`` is returned on a memory allocation failure.h](j)}(h``NULL``h]hNULL}(hj dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh, is returned on a memory allocation failure.}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMqhjcubeh}(h]h ]h"]h$]h&]uh1jhjdhMkhj#cubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_peek (C function) c.skb_peekhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hstruct sk_buff * __skb_peek (const struct sk_buff_head *list_)h]j )}(hkhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjPkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRkmodnameN classnameNj j )}j ]j )}j skb_peek_tailsbc.skb_peek_tailasbuh1hhj-khhhj>khMubj")}(h h]h }(hjqkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-khhhj>khMubj )}(hj h]h*}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj-khhhj>khMubj3)}(h skb_peek_tailh]j9)}(hjnkh]h skb_peek_tail}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-khhhj>khMubj )}(h"(const struct sk_buff_head *list_)h]j )}(h const struct sk_buff_head *list_h](j)}(hj h]hconst}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNj j )}j ]jlkc.skb_peek_tailasbuh1hhjkubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hlist_h]hlist_}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubah}(h]h ]h"]h$]h&]jPjQuh1j hj-khhhj>khMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj)khhhj>khMubah}(h]j$kah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj>khMhj&khhubjg)}(hhh]jl)}(h-peek at the tail of an :c:type:`sk_buff_head`h](hpeek at the tail of an }(hjGlhhhNhNubh)}(h:c:type:`sk_buff_head`h]j)}(hjQlh]h sk_buff_head}(hjSlhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjOlubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]jlkc.skb_peek_tailasbj sk_buff_headuh1hhj] hMphjGlubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjDlhhubah}(h]h ]h"]h$]h&]uh1jfhj&khhhj>khMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``const struct sk_buff_head *list_`` list to peek at **Description** Peek an :c:type:`sk_buff`. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this. Returns ``NULL`` for an empty list or a pointer to the tail element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](jl)}(h**Parameters**h]j)}(hjlh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjlubj)}(hhh]j)}(h5``const struct sk_buff_head *list_`` list to peek at h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hjlh]h const struct sk_buff_head *list_}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjlubj)}(hhh]jl)}(hlist to peek ath]hlist to peek at}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjlubjl)}(h**Description**h]j)}(hjlh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjlubj)}(hXPeek an :c:type:`sk_buff`. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this. Returns ``NULL`` for an empty list or a pointer to the tail element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](jl)}(hPeek an :c:type:`sk_buff`. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this.h](hPeek an }(hjmhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj mh]hsk_buff}(hj mhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj mubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjmubh. Unlike most other operations you _MUST_ be careful with this one. A peek leaves the buffer on the list and someone else may run off with it. You must hold the appropriate locks or have a private queue to do this.}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj(mhMhjlubjl)}(hReturns ``NULL`` for an empty list or a pointer to the tail element. The reference count is not incremented and the reference is therefore volatile. Use with caution.h](hReturns }(hj3mhhhNhNubj)}(h``NULL``h]hNULL}(hj;mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3mubh for an empty list or a pointer to the tail element. The reference count is not incremented and the reference is therefore volatile. Use with caution.}(hj3mhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjlubeh}(h]h ]h"]h$]h&]uh1jhj(mhMhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_len (C function)c.skb_queue_lenhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h6__u32 skb_queue_len (const struct sk_buff_head *list_)h]j )}(h5__u32 skb_queue_len(const struct sk_buff_head *list_)h](h)}(hhh]j9)}(h__u32h]h__u32}(hj}mhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]j )}j skb_queue_lensbc.skb_queue_lenasbuh1hhjvmhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvmhhhjmhMubj3)}(h skb_queue_lenh]j9)}(hjmh]h skb_queue_len}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjvmhhhjmhMubj )}(h"(const struct sk_buff_head *list_)h]j )}(h const struct sk_buff_head *list_h](j)}(hj h]hconst}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNj j )}j ]jmc.skb_queue_lenasbuh1hhjmubj")}(h h]h }(hj#nhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hj1nhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hlist_h]hlist_}(hj>nhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubah}(h]h ]h"]h$]h&]jPjQuh1j hjvmhhhjmhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjrmhhhjmhMubah}(h]jmmah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhMhjomhhubjg)}(hhh]jl)}(hget queue lengthh]hget queue length}(hjhnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjenhhubah}(h]h ]h"]h$]h&]uh1jfhjomhhhjmhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff_head *list_`` list to measure **Description** Return the length of an :c:type:`sk_buff` queue.h](jl)}(h**Parameters**h]j)}(hjnh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjnubj)}(hhh]j)}(h5``const struct sk_buff_head *list_`` list to measure h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hjnh]h const struct sk_buff_head *list_}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjnubj)}(hhh]jl)}(hlist to measureh]hlist to measure}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubjl)}(h**Description**h]j)}(hjnh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjnubj)}(h0Return the length of an :c:type:`sk_buff` queue.h]jl)}(hjnh](hReturn the length of an }(hjnhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjoh]hsk_buff}(hj ohhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjnubh queue.}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj$ohMhjnubah}(h]h ]h"]h$]h&]uh1jhj$ohMhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#skb_queue_len_lockless (C function)c.skb_queue_len_locklesshNtauh1hhj" hhhNhNubh)}(hhh](j)}(h?__u32 skb_queue_len_lockless (const struct sk_buff_head *list_)h]j )}(h>__u32 skb_queue_len_lockless(const struct sk_buff_head *list_)h](h)}(hhh]j9)}(h__u32h]h__u32}(hjXohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZomodnameN classnameNj j )}j ]j )}j skb_queue_len_locklesssbc.skb_queue_len_locklessasbuh1hhjQohhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjzohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQohhhjyohMubj3)}(hskb_queue_len_locklessh]j9)}(hjvoh]hskb_queue_len_lockless}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQohhhjyohMubj )}(h"(const struct sk_buff_head *list_)h]j )}(h const struct sk_buff_head *list_h](j)}(hj h]hconst}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]jtoc.skb_queue_len_locklessasbuh1hhjoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hj h]h*}(hj phhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hlist_h]hlist_}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubah}(h]h ]h"]h$]h&]jPjQuh1j hjQohhhjyohMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjMohhhjyohMubah}(h]jHoah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyohMhjJohhubjg)}(hhh]jl)}(hget queue lengthh]hget queue length}(hjCphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj@phhubah}(h]h ]h"]h$]h&]uh1jfhjJohhhjyohMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[pjj[pjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff_head *list_`` list to measure **Description** Return the length of an :c:type:`sk_buff` queue. This variant can be used in lockless contexts.h](jl)}(h**Parameters**h]j)}(hjeph]h Parameters}(hjgphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcpubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj_pubj)}(hhh]j)}(h5``const struct sk_buff_head *list_`` list to measure h](j)}(h$``const struct sk_buff_head *list_``h]j)}(hjph]h const struct sk_buff_head *list_}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj~pubj)}(hhh]jl)}(hlist to measureh]hlist to measure}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhj~pubeh}(h]h ]h"]h$]h&]uh1jhjphMhj{pubah}(h]h ]h"]h$]h&]uh1jhj_pubjl)}(h**Description**h]j)}(hjph]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj_pubj)}(h_Return the length of an :c:type:`sk_buff` queue. This variant can be used in lockless contexts.h]jl)}(h_Return the length of an :c:type:`sk_buff` queue. This variant can be used in lockless contexts.h](hReturn the length of an }(hjphhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjph]hsk_buff}(hjphhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjpubh6 queue. This variant can be used in lockless contexts.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjqhMhjpubah}(h]h ]h"]h$]h&]uh1jhjqhMhj_pubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"__skb_queue_head_init (C function)c.__skb_queue_head_inithNtauh1hhj" hhhNhNubh)}(hhh](j)}(h6void __skb_queue_head_init (struct sk_buff_head *list)h]j )}(h5void __skb_queue_head_init(struct sk_buff_head *list)h](jM )}(hvoidh]hvoid}(hj1qhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj-qhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj@qhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-qhhhj?qhMubj3)}(h__skb_queue_head_inith]j9)}(h__skb_queue_head_inith]h__skb_queue_head_init}(hjRqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-qhhhj?qhMubj )}(h(struct sk_buff_head *list)h]j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjnqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjqubj")}(h h]h }(hj{qhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjqubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNj j )}j ]j )}j jTqsbc.__skb_queue_head_initasbuh1hhjjqubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjqubj )}(hj h]h*}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjqubj9)}(hlisth]hlist}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfqubah}(h]h ]h"]h$]h&]jPjQuh1j hj-qhhhj?qhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj)qhhhj?qhMubah}(h]j$qah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj?qhMhj&qhhubjg)}(hhh]jl)}(h0initialize non-spinlock portions of sk_buff_headh]h0initialize non-spinlock portions of sk_buff_head}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjqhhubah}(h]h ]h"]h$]h&]uh1jfhj&qhhhj?qhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj rjj rjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff_head *list`` queue to initialize **Description** This initializes only the list and queue length aspects of an sk_buff_head object. This allows to initialize the list aspects of an sk_buff_head without reinitializing things like the spinlock. It can also be used for on-stack sk_buff_head objects where the spinlock is known to not be used.h](jl)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj rubj)}(hhh]j)}(h2``struct sk_buff_head *list`` queue to initialize h](j)}(h``struct sk_buff_head *list``h]j)}(hj2rh]hstruct sk_buff_head *list}(hj4rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0rubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj,rubj)}(hhh]jl)}(hqueue to initializeh]hqueue to initialize}(hjKrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGrhMhjHrubah}(h]h ]h"]h$]h&]uh1jhj,rubeh}(h]h ]h"]h$]h&]uh1jhjGrhMhj)rubah}(h]h ]h"]h$]h&]uh1jhj rubjl)}(h**Description**h]j)}(hjmrh]h Description}(hjorhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkrubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj rubj)}(hX%This initializes only the list and queue length aspects of an sk_buff_head object. This allows to initialize the list aspects of an sk_buff_head without reinitializing things like the spinlock. It can also be used for on-stack sk_buff_head objects where the spinlock is known to not be used.h]jl)}(hX%This initializes only the list and queue length aspects of an sk_buff_head object. This allows to initialize the list aspects of an sk_buff_head without reinitializing things like the spinlock. It can also be used for on-stack sk_buff_head objects where the spinlock is known to not be used.h]hX%This initializes only the list and queue length aspects of an sk_buff_head object. This allows to initialize the list aspects of an sk_buff_head without reinitializing things like the spinlock. It can also be used for on-stack sk_buff_head objects where the spinlock is known to not be used.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjrubah}(h]h ]h"]h$]h&]uh1jhjrhMhj rubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_splice (C function)c.skb_queue_splicehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hRvoid skb_queue_splice (const struct sk_buff_head *list, struct sk_buff_head *head)h]j )}(hQvoid skb_queue_splice(const struct sk_buff_head *list, struct sk_buff_head *head)h](jM )}(hvoidh]hvoid}(hjrhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/ ubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrhhhjrhM/ ubj3)}(hskb_queue_spliceh]j9)}(hskb_queue_spliceh]hskb_queue_splice}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjrhhhjrhM/ ubj )}(h<(const struct sk_buff_head *list, struct sk_buff_head *head)h](j )}(hconst struct sk_buff_head *listh](j)}(hj h]hconst}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj")}(h h]h }(hj!shhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj2shhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/subah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4smodnameN classnameNj j )}j ]j )}j jrsbc.skb_queue_spliceasbuh1hhjrubj")}(h h]h }(hjRshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj )}(hj h]h*}(hj`shhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj9)}(hlisth]hlist}(hjmshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubj )}(hstruct sk_buff_head *headh](j)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]jNsc.skb_queue_spliceasbuh1hhjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h*}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(hheadh]hhead}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubeh}(h]h ]h"]h$]h&]jPjQuh1j hjrhhhjrhM/ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjrhhhjrhM/ ubah}(h]jrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjrhM/ hjrhhubjg)}(hhh]jl)}(h/join two skb lists, this is designed for stacksh]h/join two skb lists, this is designed for stacks}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM/ hjthhubah}(h]h ]h"]h$]h&]uh1jfhjrhhhjrhM/ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff_head *list`` the new list to add ``struct sk_buff_head *head`` the place to add it in the first listh](jl)}(h**Parameters**h]j)}(hj)th]h Parameters}(hj+thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'tubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM3 hj#tubj)}(hhh](j)}(h8``const struct sk_buff_head *list`` the new list to add h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjHth]hconst struct sk_buff_head *list}(hjJthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFtubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM0 hjBtubj)}(hhh]jl)}(hthe new list to addh]hthe new list to add}(hjathhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]thM0 hj^tubah}(h]h ]h"]h$]h&]uh1jhjBtubeh}(h]h ]h"]h$]h&]uh1jhj]thM0 hj?tubj)}(hC``struct sk_buff_head *head`` the place to add it in the first listh](j)}(h``struct sk_buff_head *head``h]j)}(hjth]hstruct sk_buff_head *head}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM2 hj{tubj)}(hhh]jl)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1 hjtubah}(h]h ]h"]h$]h&]uh1jhj{tubeh}(h]h ]h"]h$]h&]uh1jhjthM2 hj?tubeh}(h]h ]h"]h$]h&]uh1jhj#tubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"skb_queue_splice_init (C function)c.skb_queue_splice_inithNtauh1hhj" hhhNhNubh)}(hhh](j)}(hQvoid skb_queue_splice_init (struct sk_buff_head *list, struct sk_buff_head *head)h]j )}(hPvoid skb_queue_splice_init(struct sk_buff_head *list, struct sk_buff_head *head)h](jM )}(hvoidh]hvoid}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjthhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM= ubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjthhhjthM= ubj3)}(hskb_queue_splice_inith]j9)}(hskb_queue_splice_inith]hskb_queue_splice_init}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjthhhjthM= ubj )}(h6(struct sk_buff_head *list, struct sk_buff_head *head)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hj%uhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj6uhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3uubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8umodnameN classnameNj j )}j ]j )}j jtsbc.skb_queue_splice_initasbuh1hhjuubj")}(h h]h }(hjVuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hjduhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(hlisth]hlist}(hjquhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(hstruct sk_buff_head *headh](j)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]jRuc.skb_queue_splice_initasbuh1hhjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(hheadh]hhead}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubeh}(h]h ]h"]h$]h&]jPjQuh1j hjthhhjthM= ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjthhhjthM= ubah}(h]jtah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjthM= hjthhubjg)}(hhh]jl)}(h4join two skb lists and reinitialise the emptied listh]h4join two skb lists and reinitialise the emptied list}(hj vhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM= hjvhhubah}(h]h ]h"]h$]h&]uh1jfhjthhhjthM= ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#vjj#vjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff_head *list`` the new list to add ``struct sk_buff_head *head`` the place to add it in the first list **Description** The list at **list** is reinitialisedh](jl)}(h**Parameters**h]j)}(hj-vh]h Parameters}(hj/vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+vubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMA hj'vubj)}(hhh](j)}(h2``struct sk_buff_head *list`` the new list to add h](j)}(h``struct sk_buff_head *list``h]j)}(hjLvh]hstruct sk_buff_head *list}(hjNvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJvubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM> hjFvubj)}(hhh]jl)}(hthe new list to addh]hthe new list to add}(hjevhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjavhM> hjbvubah}(h]h ]h"]h$]h&]uh1jhjFvubeh}(h]h ]h"]h$]h&]uh1jhjavhM> hjCvubj)}(hD``struct sk_buff_head *head`` the place to add it in the first list h](j)}(h``struct sk_buff_head *head``h]j)}(hjvh]hstruct sk_buff_head *head}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM? hjvubj)}(hhh]jl)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhM? hjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhM? hjCvubeh}(h]h ]h"]h$]h&]uh1jhj'vubjl)}(h**Description**h]j)}(hjvh]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMA hj'vubj)}(h%The list at **list** is reinitialisedh]jl)}(hjvh](h The list at }(hjvhhhNhNubj)}(h**list**h]hlist}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh is reinitialised}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@ hjvubah}(h]h ]h"]h$]h&]uh1jhjvhM@ hj'vubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"skb_queue_splice_tail (C function)c.skb_queue_splice_tailhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hWvoid skb_queue_splice_tail (const struct sk_buff_head *list, struct sk_buff_head *head)h]j )}(hVvoid skb_queue_splice_tail(const struct sk_buff_head *list, struct sk_buff_head *head)h](jM )}(hvoidh]hvoid}(hj whhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMN ubj")}(h h]h }(hj/whhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwhhhj.whMN ubj3)}(hskb_queue_splice_tailh]j9)}(hskb_queue_splice_tailh]hskb_queue_splice_tail}(hjAwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=wubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjwhhhj.whMN ubj )}(h<(const struct sk_buff_head *list, struct sk_buff_head *head)h](j )}(hconst struct sk_buff_head *listh](j)}(hj h]hconst}(hj]whhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYwubj")}(h h]h }(hjjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYwubj)}(hjh]hstruct}(hjxwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYwubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]j )}j jCwsbc.skb_queue_splice_tailasbuh1hhjYwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYwubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYwubj9)}(hlisth]hlist}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUwubj )}(hstruct sk_buff_head *headh](j)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj xmodnameN classnameNj j )}j ]jwc.skb_queue_splice_tailasbuh1hhjwubj")}(h h]h }(hj&xhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj )}(hj h]h*}(hj4xhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj9)}(hheadh]hhead}(hjAxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUwubeh}(h]h ]h"]h$]h&]jPjQuh1j hjwhhhj.whMN ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwhhhj.whMN ubah}(h]jwah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.whMN hjwhhubjg)}(hhh]jl)}(h+join two skb lists, each list being a queueh]h+join two skb lists, each list being a queue}(hjkxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMN hjhxhhubah}(h]h ]h"]h$]h&]uh1jfhjwhhhj.whMN ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxjjxjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff_head *list`` the new list to add ``struct sk_buff_head *head`` the place to add it in the first listh](jl)}(h**Parameters**h]j)}(hjxh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMR hjxubj)}(hhh](j)}(h8``const struct sk_buff_head *list`` the new list to add h](j)}(h#``const struct sk_buff_head *list``h]j)}(hjxh]hconst struct sk_buff_head *list}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMO hjxubj)}(hhh]jl)}(hthe new list to addh]hthe new list to add}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMO hjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMO hjxubj)}(hC``struct sk_buff_head *head`` the place to add it in the first listh](j)}(h``struct sk_buff_head *head``h]j)}(hjxh]hstruct sk_buff_head *head}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMQ hjxubj)}(hhh]jl)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMP hjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMQ hjxubeh}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'skb_queue_splice_tail_init (C function)c.skb_queue_splice_tail_inithNtauh1hhj" hhhNhNubh)}(hhh](j)}(hVvoid skb_queue_splice_tail_init (struct sk_buff_head *list, struct sk_buff_head *head)h]j )}(hUvoid skb_queue_splice_tail_init(struct sk_buff_head *list, struct sk_buff_head *head)h](jM )}(hvoidh]hvoid}(hj?yhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;yhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\ ubj")}(h h]h }(hjNyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;yhhhjMyhM\ ubj3)}(hskb_queue_splice_tail_inith]j9)}(hskb_queue_splice_tail_inith]hskb_queue_splice_tail_init}(hj`yhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\yubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;yhhhjMyhM\ ubj )}(h6(struct sk_buff_head *list, struct sk_buff_head *head)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hj|yhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxyubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]j )}j jbysbc.skb_queue_splice_tail_initasbuh1hhjxyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxyubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxyubj9)}(hlisth]hlist}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtyubj )}(hstruct sk_buff_head *headh](j)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj zhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj zubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]jyc.skb_queue_splice_tail_initasbuh1hhjyubj")}(h h]h }(hj*zhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hj h]h*}(hj8zhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(hheadh]hhead}(hjEzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtyubeh}(h]h ]h"]h$]h&]jPjQuh1j hj;yhhhjMyhM\ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7yhhhjMyhM\ ubah}(h]j2yah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjMyhM\ hj4yhhubjg)}(hhh]jl)}(h4join two skb lists and reinitialise the emptied listh]h4join two skb lists and reinitialise the emptied list}(hjozhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\ hjlzhhubah}(h]h ]h"]h$]h&]uh1jfhj4yhhhjMyhM\ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff_head *list`` the new list to add ``struct sk_buff_head *head`` the place to add it in the first list **Description** Each of the lists is a queue. The list at **list** is reinitialisedh](jl)}(h**Parameters**h]j)}(hjzh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM` hjzubj)}(hhh](j)}(h2``struct sk_buff_head *list`` the new list to add h](j)}(h``struct sk_buff_head *list``h]j)}(hjzh]hstruct sk_buff_head *list}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM] hjzubj)}(hhh]jl)}(hthe new list to addh]hthe new list to add}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhM] hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhM] hjzubj)}(hD``struct sk_buff_head *head`` the place to add it in the first list h](j)}(h``struct sk_buff_head *head``h]j)}(hjzh]hstruct sk_buff_head *head}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^ hjzubj)}(hhh]jl)}(h%the place to add it in the first listh]h%the place to add it in the first list}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhM^ hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhM^ hjzubeh}(h]h ]h"]h$]h&]uh1jhjzubjl)}(h**Description**h]j)}(hj${h]h Description}(hj&{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"{ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM` hjzubj)}(hCEach of the lists is a queue. The list at **list** is reinitialisedh]jl)}(hCEach of the lists is a queue. The list at **list** is reinitialisedh](h*Each of the lists is a queue. The list at }(hj>{hhhNhNubj)}(h**list**h]hlist}(hjF{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>{ubh is reinitialised}(hj>{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_ hj:{ubah}(h]h ]h"]h$]h&]uh1jhj^{hM_ hjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_queue_after (C function)c.__skb_queue_afterhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h_void __skb_queue_after (struct sk_buff_head *list, struct sk_buff *prev, struct sk_buff *newsk)h]j )}(h^void __skb_queue_after(struct sk_buff_head *list, struct sk_buff *prev, struct sk_buff *newsk)h](jM )}(hvoidh]hvoid}(hj{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMn ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhj{hMn ubj3)}(h__skb_queue_afterh]j9)}(h__skb_queue_afterh]h__skb_queue_after}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{hhhj{hMn ubj )}(hH(struct sk_buff_head *list, struct sk_buff *prev, struct sk_buff *newsk)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j )}j j{sbc.__skb_queue_afterasbuh1hhj{ubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubj )}(hj h]h*}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj{ubj9)}(hlisth]hlist}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hstruct sk_buff *prevh](j)}(hjh]hstruct}(hj4|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0|ubj")}(h h]h }(hjA|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0|ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjR|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjO|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjT|modnameN classnameNj j )}j ]j{c.__skb_queue_afterasbuh1hhj0|ubj")}(h h]h }(hjp|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0|ubj )}(hj h]h*}(hj~|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0|ubj9)}(hprevh]hprev}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hstruct sk_buff *newskh](j)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNj j )}j ]j{c.__skb_queue_afterasbuh1hhj|ubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubj )}(hj h]h*}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj|ubj9)}(hnewskh]hnewsk}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj{hhhj{hMn ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}{hhhj{hMn ubah}(h]jx{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj{hMn hjz{hhubjg)}(hhh]jl)}(hqueue a buffer at the list headh]hqueue a buffer at the list head}(hj%}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMn hj"}hhubah}(h]h ]h"]h$]h&]uh1jfhjz{hhhj{hMn ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=}jj=}jjjuh1hhhhj" hNhNubj)}(hX{**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *prev`` place after this buffer ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer int the middle of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jl)}(h**Parameters**h]j)}(hjG}h]h Parameters}(hjI}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE}ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMr hjA}ubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjf}h]hstruct sk_buff_head *list}(hjh}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd}ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMo hj`}ubj)}(hhh]jl)}(h list to useh]h list to use}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{}hMo hj|}ubah}(h]h ]h"]h$]h&]uh1jhj`}ubeh}(h]h ]h"]h$]h&]uh1jhj{}hMo hj]}ubj)}(h1``struct sk_buff *prev`` place after this buffer h](j)}(h``struct sk_buff *prev``h]j)}(hj}h]hstruct sk_buff *prev}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMp hj}ubj)}(hhh]jl)}(hplace after this bufferh]hplace after this buffer}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hMp hj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hMp hj]}ubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hj}h]hstruct sk_buff *newsk}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMq hj}ubj)}(hhh]jl)}(hbuffer to queueh]hbuffer to queue}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hMq hj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hMq hj]}ubeh}(h]h ]h"]h$]h&]uh1jhjA}ubjl)}(h**Description**h]j)}(hj~h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMs hjA}ubj)}(hQueue a buffer int the middle of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jl)}(hQueue a buffer int the middle of a list. This function takes no locks and you must therefore hold required locks before calling it.h]hQueue a buffer int the middle of a list. This function takes no locks and you must therefore hold required locks before calling it.}(hj-~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMr hj)~ubjl)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hj<~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMu hj)~ubeh}(h]h ]h"]h$]h&]uh1jhj;~hMr hjA}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_queue_head (C function)c.__skb_queue_headhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hHvoid __skb_queue_head (struct sk_buff_head *list, struct sk_buff *newsk)h]j )}(hGvoid __skb_queue_head(struct sk_buff_head *list, struct sk_buff *newsk)h](jM )}(hvoidh]hvoid}(hjq~hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjm~hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjm~hhhj~hM ubj3)}(h__skb_queue_headh]j9)}(h__skb_queue_headh]h__skb_queue_head}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjm~hhhj~hM ubj )}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNj j )}j ]j )}j j~sbc.__skb_queue_headasbuh1hhj~ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubj )}(hj h]h*}(hj~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj~ubj9)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~ubj )}(hstruct sk_buff *newskh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNj j )}j ]j~c.__skb_queue_headasbuh1hhjubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnewskh]hnewsk}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjm~hhhj~hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhji~hhhj~hM ubah}(h]jd~ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj~hM hjf~hhubjg)}(hhh]jl)}(hqueue a buffer at the list headh]hqueue a buffer at the list head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjf~hhhj~hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hXE**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer at the start of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjh hhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(h list to useh]h list to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hjh]hstruct sk_buff *newsk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(hbuffer to queueh]hbuffer to queue}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hM hj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjVh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hQueue a buffer at the start of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jl)}(hQueue a buffer at the start of a list. This function takes no locks and you must therefore hold required locks before calling it.h]hQueue a buffer at the start of a list. This function takes no locks and you must therefore hold required locks before calling it.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjlubjl)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjlubeh}(h]h ]h"]h$]h&]uh1jhj~hM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_queue_tail (C function)c.__skb_queue_tailhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hHvoid __skb_queue_tail (struct sk_buff_head *list, struct sk_buff *newsk)h]j )}(hGvoid __skb_queue_tail(struct sk_buff_head *list, struct sk_buff *newsk)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hjÀhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj€hM ubj3)}(h__skb_queue_tailh]j9)}(h__skb_queue_tailh]h__skb_queue_tail}(hjՀhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjрubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj€hM ubj )}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j׀sbc.__skb_queue_tailasbuh1hhjubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hlisth]hlist}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *newskh](j)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j+c.__skb_queue_tailasbuh1hhj_ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_ubj9)}(hnewskh]hnewsk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj€hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj€hM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj€hM hjhhubjg)}(hhh]jl)}(hqueue a buffer at the list tailh]hqueue a buffer at the list tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj€hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hXC**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer at the end of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hj%h]hstruct sk_buff_head *list}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(h list to useh]h list to use}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hM hj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hM hjubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hj^h]hstruct sk_buff *newsk}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjXubj)}(hhh]jl)}(hbuffer to queueh]hbuffer to queue}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshM hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hQueue a buffer at the end of a list. This function takes no locks and you must therefore hold required locks before calling it. A buffer cannot be placed on two lists at the same time.h](jl)}(hQueue a buffer at the end of a list. This function takes no locks and you must therefore hold required locks before calling it.h]hQueue a buffer at the end of a list. This function takes no locks and you must therefore hold required locks before calling it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubjl)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hj‚hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_dequeue (C function)c.__skb_dequeuehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h:struct sk_buff * __skb_dequeue (struct sk_buff_head *list)h]j )}(h8struct sk_buff *__skb_dequeue(struct sk_buff_head *list)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __skb_dequeuesbc.__skb_dequeueasbuh1hhjhhhjhM ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj )}(hj h]h*}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM ubj3)}(h __skb_dequeueh]j9)}(hj4h]h __skb_dequeue}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h(struct sk_buff_head *list)h]j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j2c.__skb_dequeueasbuh1hhjmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hlisth]hlist}(hjȃhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h!remove from the head of the queueh]h!remove from the head of the queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the head of the list. This function does not take any locks so must be used with appropriate locks held only. The head item is returned or ``NULL`` if the list is empty.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(hj3h]hstruct sk_buff_head *list}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj-ubj)}(hhh]jl)}(hlist to dequeue fromh]hlist to dequeue from}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhM hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM hj*ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjnh]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hRemove the head of the list. This function does not take any locks so must be used with appropriate locks held only. The head item is returned or ``NULL`` if the list is empty.h]jl)}(hRemove the head of the list. This function does not take any locks so must be used with appropriate locks held only. The head item is returned or ``NULL`` if the list is empty.h](hRemove the head of the list. This function does not take any locks so must be used with appropriate locks held only. The head item is returned or }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if the list is empty.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_dequeue_tail (C function)c.__skb_dequeue_tailhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h?struct sk_buff * __skb_dequeue_tail (struct sk_buff_head *list)h]j )}(h=struct sk_buff *__skb_dequeue_tail(struct sk_buff_head *list)h](j)}(hjh]hstruct}(hjτhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj˄hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hj݄hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj˄hhhj܄hM ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __skb_dequeue_tailsbc.__skb_dequeue_tailasbuh1hhj˄hhhj܄hM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj˄hhhj܄hM ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj˄hhhj܄hM ubj3)}(h__skb_dequeue_tailh]j9)}(hj h]h__skb_dequeue_tail}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj˄hhhj܄hM ubj )}(h(struct sk_buff_head *list)h]j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNj j )}j ]j c.__skb_dequeue_tailasbuh1hhjEubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubah}(h]h ]h"]h$]h&]jPjQuh1j hj˄hhhj܄hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjDŽhhhj܄hM ubah}(h]j„ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj܄hM hjĄhhubjg)}(hhh]jl)}(h!remove from the tail of the queueh]h!remove from the tail of the queue}(hjʅhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjDžhhubah}(h]h ]h"]h$]h&]uh1jfhjĄhhhj܄hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the tail of the list. This function does not take any locks so must be used with appropriate locks held only. The tail item is returned or ``NULL`` if the list is empty.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(hj h]hstruct sk_buff_head *list}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(hlist to dequeue fromh]hlist to dequeue from}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjFh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hRemove the tail of the list. This function does not take any locks so must be used with appropriate locks held only. The tail item is returned or ``NULL`` if the list is empty.h]jl)}(hRemove the tail of the list. This function does not take any locks so must be used with appropriate locks held only. The tail item is returned or ``NULL`` if the list is empty.h](hRemove the tail of the list. This function does not take any locks so must be used with appropriate locks held only. The tail item is returned or }(hj`hhhNhNubj)}(h``NULL``h]hNULL}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubh if the list is empty.}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj\ubah}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_len_add (C function) c.skb_len_addhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h1void skb_len_add (struct sk_buff *skb, int delta)h]j )}(h0void skb_len_add(struct sk_buff *skb, int delta)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(h skb_len_addh]j9)}(h skb_len_addh]h skb_len_add}(hjȆhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjĆubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h (struct sk_buff *skb, int delta)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jʆsb c.skb_len_addasbuh1hhjubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj܆ubj )}(h int deltah](jM )}(hinth]hint}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj9)}(hdeltah]hdelta}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj܆ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h"adds a number to len fields of skbh]h"adds a number to len fields of skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hf**Parameters** ``struct sk_buff *skb`` buffer to add len to ``int delta`` number of bytes to addh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to add len to h](j)}(h``struct sk_buff *skb``h]j)}(hj݇h]hstruct sk_buff *skb}(hj߇hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۇubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjׇubj)}(hhh]jl)}(hbuffer to add len toh]hbuffer to add len to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjׇubeh}(h]h ]h"]h$]h&]uh1jhjhM hjԇubj)}(h$``int delta`` number of bytes to addh](j)}(h ``int delta``h]j)}(hjh]h int delta}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(hnumber of bytes to addh]hnumber of bytes to add}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hM hjԇubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#__skb_fill_netmem_desc (C function)c.__skb_fill_netmem_deschNtauh1hhj" hhhNhNubh)}(hhh](j)}(h^void __skb_fill_netmem_desc (struct sk_buff *skb, int i, netmem_ref netmem, int off, int size)h]j )}(h]void __skb_fill_netmem_desc(struct sk_buff *skb, int i, netmem_ref netmem, int off, int size)h](jM )}(hvoidh]hvoid}(hjphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjlhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM% ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlhhhj~hM% ubj3)}(h__skb_fill_netmem_desch]j9)}(h__skb_fill_netmem_desch]h__skb_fill_netmem_desc}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlhhhj~hM% ubj )}(hB(struct sk_buff *skb, int i, netmem_ref netmem, int off, int size)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjˈhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjȈubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj͈modnameN classnameNj j )}j ]j )}j jsbc.__skb_fill_netmem_descasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint ih](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hih]hi}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hnetmem_ref netmemh](h)}(hhh]j9)}(h netmem_refh]h netmem_ref}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]jc.__skb_fill_netmem_descasbuh1hhjPubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj9)}(hnetmemh]hnetmem}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint offh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint sizeh](jM )}(hinth]hint}(hjщhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj͉ubj")}(h h]h }(hj߉hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj͉ubj9)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj͉ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjlhhhj~hM% ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhhj~hM% ubah}(h]jcah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj~hM% hjehhubjg)}(hhh]jl)}(hinitialise a fragment in an skbh]hinitialise a fragment in an skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM% hjhhubah}(h]h ]h"]h$]h&]uh1jfhjehhhj~hM% ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer containing fragment to be initialised ``int i`` fragment index to initialise ``netmem_ref netmem`` the netmem to use for this fragment ``int off`` the offset to the data with **page** ``int size`` the length of the data **Description** Initialises the **i**'th fragment of **skb** to point to :c:type:`size` bytes at offset **off** within **page**. Does not take any additional reference on the fragment.h](jl)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM) hj3ubj)}(hhh](j)}(hE``struct sk_buff *skb`` buffer containing fragment to be initialised h](j)}(h``struct sk_buff *skb``h]j)}(hjXh]hstruct sk_buff *skb}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM& hjRubj)}(hhh]jl)}(h,buffer containing fragment to be initialisedh]h,buffer containing fragment to be initialised}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhM& hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM& hjOubj)}(h'``int i`` fragment index to initialise h](j)}(h ``int i``h]j)}(hjh]hint i}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM' hjubj)}(hhh]jl)}(hfragment index to initialiseh]hfragment index to initialise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM' hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM' hjOubj)}(h:``netmem_ref netmem`` the netmem to use for this fragment h](j)}(h``netmem_ref netmem``h]j)}(hjʊh]hnetmem_ref netmem}(hj̊hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȊubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM( hjĊubj)}(hhh]jl)}(h#the netmem to use for this fragmenth]h#the netmem to use for this fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjߊhM( hjubah}(h]h ]h"]h$]h&]uh1jhjĊubeh}(h]h ]h"]h$]h&]uh1jhjߊhM( hjOubj)}(h1``int off`` the offset to the data with **page** h](j)}(h ``int off``h]j)}(hjh]hint off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM) hjubj)}(hhh]jl)}(h$the offset to the data with **page**h](hthe offset to the data with }(hjhhhNhNubj)}(h**page**h]hpage}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhM) hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM) hjOubj)}(h$``int size`` the length of the data h](j)}(h ``int size``h]j)}(hjJh]hint size}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM* hjDubj)}(hhh]jl)}(hthe length of the datah]hthe length of the data}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hM* hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hM* hjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM, hj3ubjl)}(hpInitialises the **i**'th fragment of **skb** to point to :c:type:`size` bytes at offset **off** within **page**.h](hInitialises the }(hjhhhNhNubj)}(h**i**h]hi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh’th fragment of }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to point to }(hjhhhNhNubh)}(h:c:type:`size`h]j)}(hjɋh]hsize}(hjˋhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjNjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsizeuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM+ hjubh bytes at offset }(hjhhhNhNubj)}(h**off**h]hoff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh within }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM+ hj3ubjl)}(h7Does not take any additional reference on the fragment.h]h7Does not take any additional reference on the fragment.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM. hj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_fill_page_desc (C function)c.skb_fill_page_deschNtauh1hhj" hhhNhNubh)}(hhh](j)}(hZvoid skb_fill_page_desc (struct sk_buff *skb, int i, struct page *page, int off, int size)h]j )}(hYvoid skb_fill_page_desc(struct sk_buff *skb, int i, struct page *page, int off, int size)h](jM )}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMY ubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@hhhjRhMY ubj3)}(hskb_fill_page_desch]j9)}(hskb_fill_page_desch]hskb_fill_page_desc}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@hhhjRhMY ubj )}(hB(struct sk_buff *skb, int i, struct page *page, int off, int size)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jgsbc.skb_fill_page_descasbuh1hhj}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubj )}(hj h]h*}(hj͌hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}ubj9)}(hskbh]hskb}(hjڌhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(hint ih](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hj=h]hi}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(hstruct page *pageh](j)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubh)}(hhh]j9)}(hpageh]hpage}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]jc.skb_fill_page_descasbuh1hhj#ubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj )}(hj h]h*}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj9)}(hpageh]hpage}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(hint offh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(hint sizeh](jM )}(hinth]hint}(hj̍hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjȍubj")}(h h]h }(hjڍhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjȍubj9)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjȍubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubeh}(h]h ]h"]h$]h&]jPjQuh1j hj@hhhjRhMY ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj<hhhjRhMY ubah}(h]j7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjRhMY hj9hhubjg)}(hhh]jl)}(h%initialise a paged fragment in an skbh]h%initialise a paged fragment in an skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMY hjhhubah}(h]h ]h"]h$]h&]uh1jfhj9hhhjRhMY ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhj" hNhNubj)}(hX5**Parameters** ``struct sk_buff *skb`` buffer containing fragment to be initialised ``int i`` paged fragment index to initialise ``struct page *page`` the page to use for this fragment ``int off`` the offset to the data with **page** ``int size`` the length of the data **Description** As per __skb_fill_page_desc() -- initialises the **i**'th fragment of **skb** to point to **size** bytes at offset **off** within **page**. In addition updates **skb** such that **i** is the last fragment. Does not take any additional reference on the fragment.h](jl)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM] hj.ubj)}(hhh](j)}(hE``struct sk_buff *skb`` buffer containing fragment to be initialised h](j)}(h``struct sk_buff *skb``h]j)}(hjSh]hstruct sk_buff *skb}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMZ hjMubj)}(hhh]jl)}(h,buffer containing fragment to be initialisedh]h,buffer containing fragment to be initialised}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMZ hjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMZ hjJubj)}(h-``int i`` paged fragment index to initialise h](j)}(h ``int i``h]j)}(hjh]hint i}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[ hjubj)}(hhh]jl)}(h"paged fragment index to initialiseh]h"paged fragment index to initialise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM[ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[ hjJubj)}(h8``struct page *page`` the page to use for this fragment h](j)}(h``struct page *page``h]j)}(hjŎh]hstruct page *page}(hjǎhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjÎubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\ hjubj)}(hhh]jl)}(h!the page to use for this fragmenth]h!the page to use for this fragment}(hjގhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjڎhM\ hjێubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڎhM\ hjJubj)}(h1``int off`` the offset to the data with **page** h](j)}(h ``int off``h]j)}(hjh]hint off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM] hjubj)}(hhh]jl)}(h$the offset to the data with **page**h](hthe offset to the data with }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhM] hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM] hjJubj)}(h$``int size`` the length of the data h](j)}(h ``int size``h]j)}(hjEh]hint size}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^ hj?ubj)}(hhh]jl)}(hthe length of the datah]hthe length of the data}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhM^ hj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhM^ hjJubeh}(h]h ]h"]h$]h&]uh1jhj.ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM` hj.ubjl)}(hAs per __skb_fill_page_desc() -- initialises the **i**'th fragment of **skb** to point to **size** bytes at offset **off** within **page**. In addition updates **skb** such that **i** is the last fragment.h](h1As per __skb_fill_page_desc() -- initialises the }(hjhhhNhNubj)}(h**i**h]hi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh’th fragment of }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to point to }(hjhhhNhNubj)}(h**size**h]hsize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes at offset }(hjhhhNhNubj)}(h**off**h]hoff}(hjԏhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh within }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. In addition updates }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh such that }(hjhhhNhNubj)}(h**i**h]hi}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is the last fragment.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_ hj.ubjl)}(h7Does not take any additional reference on the fragment.h]h7Does not take any additional reference on the fragment.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMc hj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%skb_fill_page_desc_noacc (C function)c.skb_fill_page_desc_noacchNtauh1hhj" hhhNhNubh)}(hhh](j)}(h`void skb_fill_page_desc_noacc (struct sk_buff *skb, int i, struct page *page, int off, int size)h]j )}(h_void skb_fill_page_desc_noacc(struct sk_buff *skb, int i, struct page *page, int off, int size)h](jM )}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMn ubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNhhhj`hMn ubj3)}(hskb_fill_page_desc_noacch]j9)}(hskb_fill_page_desc_noacch]hskb_fill_page_desc_noacc}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjNhhhj`hMn ubj )}(hB(struct sk_buff *skb, int i, struct page *page, int off, int size)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jusbc.skb_fill_page_desc_noaccasbuh1hhjubj")}(h h]h }(hj͐hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjېhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint ih](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hj=h]hi}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct page *pageh](j)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(hpageh]hpage}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]jɐc.skb_fill_page_desc_noaccasbuh1hhj1ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint offh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint sizeh](jM )}(hinth]hint}(hjڑhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj֑ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj֑ubj9)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj֑ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjNhhhj`hMn ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjJhhhj`hMn ubah}(h]jEah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj`hMn hjGhhubjg)}(hhh]jl)}(h%initialise a paged fragment in an skbh]h%initialise a paged fragment in an skb}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMn hjhhubah}(h]h ]h"]h$]h&]uh1jfhjGhhhj`hMn ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer containing fragment to be initialised ``int i`` paged fragment index to initialise ``struct page *page`` the page to use for this fragment ``int off`` the offset to the data with **page** ``int size`` the length of the data **Description** Variant of skb_fill_page_desc() which does not deal with pfmemalloc, if page is not owned by us.h](jl)}(h**Parameters**h]j)}(hjBh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMr hj<ubj)}(hhh](j)}(hE``struct sk_buff *skb`` buffer containing fragment to be initialised h](j)}(h``struct sk_buff *skb``h]j)}(hjah]hstruct sk_buff *skb}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMo hj[ubj)}(hhh]jl)}(h,buffer containing fragment to be initialisedh]h,buffer containing fragment to be initialised}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMo hjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMo hjXubj)}(h-``int i`` paged fragment index to initialise h](j)}(h ``int i``h]j)}(hjh]hint i}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMp hjubj)}(hhh]jl)}(h"paged fragment index to initialiseh]h"paged fragment index to initialise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMp hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMp hjXubj)}(h8``struct page *page`` the page to use for this fragment h](j)}(h``struct page *page``h]j)}(hjӒh]hstruct page *page}(hjՒhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjђubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMq hj͒ubj)}(hhh]jl)}(h!the page to use for this fragmenth]h!the page to use for this fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMq hjubah}(h]h ]h"]h$]h&]uh1jhj͒ubeh}(h]h ]h"]h$]h&]uh1jhjhMq hjXubj)}(h1``int off`` the offset to the data with **page** h](j)}(h ``int off``h]j)}(hj h]hint off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMr hjubj)}(hhh]jl)}(h$the offset to the data with **page**h](hthe offset to the data with }(hj%hhhNhNubj)}(h**page**h]hpage}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jkhj!hMr hj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMr hjXubj)}(h$``int size`` the length of the data h](j)}(h ``int size``h]j)}(hjSh]hint size}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMs hjMubj)}(hhh]jl)}(hthe length of the datah]hthe length of the data}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMs hjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMs hjXubeh}(h]h ]h"]h$]h&]uh1jhj<ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMu hj<ubjl)}(h`Variant of skb_fill_page_desc() which does not deal with pfmemalloc, if page is not owned by us.h]h`Variant of skb_fill_page_desc() which does not deal with pfmemalloc, if page is not owned by us.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMt hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_headroom (C function)c.skb_headroomhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h5unsigned int skb_headroom (const struct sk_buff *skb)h]j )}(h4unsigned int skb_headroom(const struct sk_buff *skb)h](jM )}(hunsignedh]hunsigned}(hjӓhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjϓhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMQ ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjϓhhhjhMQ ubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjϓhhhjhMQ ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjϓhhhjhMQ ubj3)}(h skb_headroomh]j9)}(h skb_headroomh]h skb_headroom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjϓhhhjhMQ ubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]j )}j jsbc.skb_headroomasbuh1hhj(ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubah}(h]h ]h"]h$]h&]jPjQuh1j hjϓhhhjhMQ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj˓hhhjhMQ ubah}(h]jƓah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMQ hjȓhhubjg)}(hhh]jl)}(hbytes at buffer headh]hbytes at buffer head}(hjʔhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMQ hjǔhhubah}(h]h ]h"]h$]h&]uh1jfhjȓhhhjhMQ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Return the number of bytes of free space at the head of an :c:type:`sk_buff`.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMU hjubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hj h]hconst struct sk_buff *skb}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMR hjubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMR hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMR hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjFh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMT hjubj)}(hMReturn the number of bytes of free space at the head of an :c:type:`sk_buff`.h]jl)}(hj^h](h;Return the number of bytes of free space at the head of an }(hj`hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjih]hsk_buff}(hjkhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMS hj`ubh.}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMS hj\ubah}(h]h ]h"]h$]h&]uh1jhjhMS hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_tailroom (C function)c.skb_tailroomhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h,int skb_tailroom (const struct sk_buff *skb)h]j )}(h+int skb_tailroom(const struct sk_buff *skb)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\ ubj")}(h h]h }(hjƕhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjŕhM\ ubj3)}(h skb_tailroomh]j9)}(h skb_tailroomh]h skb_tailroom}(hjؕhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjԕubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjŕhM\ ubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNj j )}j ]j )}j jڕsbc.skb_tailroomasbuh1hhjubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjŕhM\ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjŕhM\ ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjŕhM\ hjhhubjg)}(hhh]jl)}(hbytes at buffer endh]hbytes at buffer end}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\ hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjŕhM\ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Return the number of bytes of free space at the tail of an sk_buffh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM` hjubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjӖh]hconst struct sk_buff *skb}(hjՖhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjіubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM] hj͖ubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM] hjubah}(h]h ]h"]h$]h&]uh1jhj͖ubeh}(h]h ]h"]h$]h&]uh1jhjhM] hjʖubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM_ hjubj)}(hBReturn the number of bytes of free space at the tail of an sk_buffh]jl)}(hj&h]hBReturn the number of bytes of free space at the tail of an sk_buff}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM^ hj$ubah}(h]h ]h"]h$]h&]uh1jhj5hM^ hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_availroom (C function)c.skb_availroomhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h-int skb_availroom (const struct sk_buff *skb)h]j )}(h,int skb_availroom(const struct sk_buff *skb)h](jM )}(hinth]hint}(hj\hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMg ubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXhhhjjhMg ubj3)}(h skb_availroomh]j9)}(h skb_availroomh]h skb_availroom}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhjjhMg ubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjҗhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjϗubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjԗmodnameN classnameNj j )}j ]j )}j jsbc.skb_availroomasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjXhhhjjhMg ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjThhhjjhMg ubah}(h]jOah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjjhMg hjQhhubjg)}(hhh]jl)}(hbytes at buffer endh]hbytes at buffer end}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMg hj4hhubah}(h]h ]h"]h$]h&]uh1jfhjQhhhjjhMg ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff *skb`` buffer to check **Description** Return the number of bytes of free space at the tail of an sk_buff allocated by sk_stream_alloc()h](jl)}(h**Parameters**h]j)}(hjYh]h Parameters}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMk hjSubj)}(hhh]j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjxh]hconst struct sk_buff *skb}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMh hjrubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMh hjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMh hjoubah}(h]h ]h"]h$]h&]uh1jhjSubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMj hjSubj)}(haReturn the number of bytes of free space at the tail of an sk_buff allocated by sk_stream_alloc()h]jl)}(haReturn the number of bytes of free space at the tail of an sk_buff allocated by sk_stream_alloc()h]haReturn the number of bytes of free space at the tail of an sk_buff allocated by sk_stream_alloc()}(hj͘hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMi hjɘubah}(h]h ]h"]h$]h&]uh1jhjۘhMi hjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_reserve (C function) c.skb_reservehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h/void skb_reserve (struct sk_buff *skb, int len)h]j )}(h.void skb_reserve(struct sk_buff *skb, int len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMv ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMv ubj3)}(h skb_reserveh]j9)}(h skb_reserveh]h skb_reserve}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMv ubj )}(h(struct sk_buff *skb, int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]j )}j j%sb c.skb_reserveasbuh1hhj;ubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj;ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hint lenh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hj͙hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMv ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMv ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMv hjhhubjg)}(hhh]jl)}(hadjust headroomh]hadjust headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMv hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMv ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` buffer to alter ``int len`` bytes to move **Description** Increase the headroom of an empty :c:type:`sk_buff` by reducing the tail room. This is only allowed for an empty buffer.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMz hjubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hj8h]hstruct sk_buff *skb}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMw hj2ubj)}(hhh]jl)}(hbuffer to alterh]hbuffer to alter}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhMw hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMw hj/ubj)}(h``int len`` bytes to move h](j)}(h ``int len``h]j)}(hjqh]hint len}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMx hjkubj)}(hhh]jl)}(h bytes to moveh]h bytes to move}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMx hjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMx hj/ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMz hjubj)}(hxIncrease the headroom of an empty :c:type:`sk_buff` by reducing the tail room. This is only allowed for an empty buffer.h]jl)}(hxIncrease the headroom of an empty :c:type:`sk_buff` by reducing the tail room. This is only allowed for an empty buffer.h](h"Increase the headroom of an empty }(hjƚhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjКh]hsk_buff}(hjҚhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjΚubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMy hjƚubhE by reducing the tail room. This is only allowed for an empty buffer.}(hjƚhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMy hjšubah}(h]h ]h"]h$]h&]uh1jhjhMy hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_tailroom_reserve (C function)c.skb_tailroom_reservehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h_void skb_tailroom_reserve (struct sk_buff *skb, unsigned int mtu, unsigned int needed_tailroom)h]j )}(h^void skb_tailroom_reserve(struct sk_buff *skb, unsigned int mtu, unsigned int needed_tailroom)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj,hM ubj3)}(hskb_tailroom_reserveh]j9)}(hskb_tailroom_reserveh]hskb_tailroom_reserve}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj,hM ubj )}(hE(struct sk_buff *skb, unsigned int mtu, unsigned int needed_tailroom)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j )}j jAsbc.skb_tailroom_reserveasbuh1hhjWubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSubj )}(hunsigned int mtuh](jM )}(hunsignedh]hunsigned}(hj͛hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjɛubj")}(h h]h }(hjۛhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjɛubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjɛubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjɛubj9)}(hmtuh]hmtu}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjɛubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSubj )}(hunsigned int needed_tailroomh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hneeded_tailroomh]hneeded_tailroom}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj,hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj,hM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,hM hjhhubjg)}(hhh]jl)}(hadjust reserved_tailroomh]hadjust reserved_tailroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj}hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj,hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to alter ``unsigned int mtu`` maximum amount of headlen permitted ``unsigned int needed_tailroom`` minimum amount of reserved_tailroom **Description** Set reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom. The required headroom should already have been reserved before using this function.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjÜhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(hbuffer to alterh]hbuffer to alter}(hjڜhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj֜hM hjלubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj֜hM hjubj)}(h9``unsigned int mtu`` maximum amount of headlen permitted h](j)}(h``unsigned int mtu``h]j)}(hjh]hunsigned int mtu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(h#maximum amount of headlen permittedh]h#maximum amount of headlen permitted}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hE``unsigned int needed_tailroom`` minimum amount of reserved_tailroom h](j)}(h ``unsigned int needed_tailroom``h]j)}(hj3h]hunsigned int needed_tailroom}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj-ubj)}(hhh]jl)}(h#minimum amount of reserved_tailroomh]h#minimum amount of reserved_tailroom}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhM hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjnh]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hSet reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom. The required headroom should already have been reserved before using this function.h]jl)}(hSet reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom. The required headroom should already have been reserved before using this function.h]hSet reserved_tailroom so that headlen can be as large as possible but not larger than mtu and tailroom cannot be smaller than needed_tailroom. The required headroom should already have been reserved before using this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h/skb_reset_transport_header_careful (C function)$c.skb_reset_transport_header_carefulhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h=bool skb_reset_transport_header_careful (struct sk_buff *skb)h]j )}(hdata **Description** Hardened version of skb_set_transport_header(). **Return** true if the operation was a success.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM> hjubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM; hjubj)}(hhh]jl)}(hbuffer to alterh]hbuffer to alter}(hj͠hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjɠhM; hjʠubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɠhM; hjubj)}(h0``const int offset`` offset to add to skb->data h](j)}(h``const int offset``h]j)}(hjh]hconst int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM< hjubj)}(hhh]jl)}(hoffset to add to skb->datah]hoffset to add to skb->data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM< hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM< hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj(h]h Description}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM> hjubjl)}(h/Hardened version of skb_set_transport_header().h]h/Hardened version of skb_set_transport_header().}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM= hjubjl)}(h **Return**h]j)}(hjOh]hReturn}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM? hjubjl)}(h$true if the operation was a success.h]h$true if the operation was a success.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM@ hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpskb_trim_unique (C function)c.pskb_trim_uniquehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h=void pskb_trim_unique (struct sk_buff *skb, unsigned int len)h]j )}(hhhhjThMa ubah}(h]j9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjThMa hj;hhubjg)}(hhh]jl)}(h&orphan the frags contained in a bufferh]h&orphan the frags contained in a buffer}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMa hjKhhubah}(h]h ]h"]h$]h&]uh1jfhj;hhhjThMa ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhj" hNhNubj)}(hX<**Parameters** ``struct sk_buff *skb`` buffer to orphan frags from ``gfp_t gfp_mask`` allocation mask for replacement pages **Description** For each frag in the SKB which needs a destructor (i.e. has an owner) create a copy of that frag and release the original page by calling the destructor.h](jl)}(h**Parameters**h]j)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMe hjjubj)}(hhh](j)}(h4``struct sk_buff *skb`` buffer to orphan frags from h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMb hjubj)}(hhh]jl)}(hbuffer to orphan frags fromh]hbuffer to orphan frags from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMb hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMb hjubj)}(h9``gfp_t gfp_mask`` allocation mask for replacement pages 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMc hj¦ubj)}(hhh]jl)}(h%allocation mask for replacement pagesh]h%allocation mask for replacement pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjݦhMc hjަubah}(h]h ]h"]h$]h&]uh1jhj¦ubeh}(h]h ]h"]h$]h&]uh1jhjݦhMc hjubeh}(h]h ]h"]h$]h&]uh1jhjjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMe hjjubj)}(hFor each frag in the SKB which needs a destructor (i.e. has an owner) create a copy of that frag and release the original page by calling the destructor.h]jl)}(hFor each frag in the SKB which needs a destructor (i.e. has an owner) create a copy of that frag and release the original page by calling the destructor.h]hFor each frag in the SKB which needs a destructor (i.e. has an owner) create a copy of that frag and release the original page by calling the destructor.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMd hjubah}(h]h ]h"]h$]h&]uh1jhj+hMd hjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__skb_queue_purge_reason (C function)c.__skb_queue_purge_reasonhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hVvoid __skb_queue_purge_reason (struct sk_buff_head *list, enum skb_drop_reason reason)h]j )}(hUvoid __skb_queue_purge_reason(struct sk_buff_head *list, enum skb_drop_reason reason)h](jM )}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM{ ubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNhhhj`hM{ ubj3)}(h__skb_queue_purge_reasonh]j9)}(h__skb_queue_purge_reasonh]h__skb_queue_purge_reason}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjNhhhj`hM{ ubj )}(h8(struct sk_buff_head *list, enum skb_drop_reason reason)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jusbc.__skb_queue_purge_reasonasbuh1hhjubj")}(h h]h }(hjͧhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjۧhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(henum skb_drop_reason reasonh](j)}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hskb_drop_reasonh]hskb_drop_reason}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNj j )}j ]jɧc.__skb_queue_purge_reasonasbuh1hhjubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hreasonh]hreason}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjNhhhj`hM{ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjJhhhj`hM{ ubah}(h]jEah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj`hM{ hjGhhubjg)}(hhh]jl)}(h empty a listh]h empty a list}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM{ hjrhhubah}(h]h ]h"]h$]h&]uh1jfhjGhhhj`hM{ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX_**Parameters** ``struct sk_buff_head *list`` list to empty ``enum skb_drop_reason reason`` drop reason **Description** Delete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function does not take the list lock and the caller must hold the relevant locks to use it.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh](j)}(h,``struct sk_buff_head *list`` list to empty h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM| hjubj)}(hhh]jl)}(h list to emptyh]h list to empty}(hjϨhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj˨hM| hj̨ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˨hM| hjubj)}(h,``enum skb_drop_reason reason`` drop reason h](j)}(h``enum skb_drop_reason reason``h]j)}(hjh]henum skb_drop_reason reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM} hjubj)}(hhh]jl)}(h drop reasonh]h drop reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM} hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM} hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj*h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hDelete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function does not take the list lock and the caller must hold the relevant locks to use it.h]jl)}(hDelete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function does not take the list lock and the caller must hold the relevant locks to use it.h](hDelete all buffers on an }(hjDhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjNh]hsk_buff}(hjPhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM~ hjDubh list. Each buffer is removed from the list and one reference dropped. This function does not take the list lock and the caller must hold the relevant locks to use it.}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjkhM~ hj@ubah}(h]h ]h"]h$]h&]uh1jhjkhM~ hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_alloc_frag (C function)c.netdev_alloc_fraghNtauh1hhj" hhhNhNubh)}(hhh](j)}(h.void * netdev_alloc_frag (unsigned int fragsz)h]j )}(h,void *netdev_alloc_frag(unsigned int fragsz)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM ubj3)}(hnetdev_alloc_fragh]j9)}(hnetdev_alloc_fragh]hnetdev_alloc_frag}(hjʩhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjƩubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h(unsigned int fragsz)h]j )}(hunsigned int fragszh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hfragszh]hfragsz}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjީubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(hallocate a page fragmenth]hallocate a page fragment}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjEhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``unsigned int fragsz`` fragment size **Description** Allocates a frag from a page for receive buffer. Uses GFP_ATOMIC allocations.h](jl)}(h**Parameters**h]j)}(hjjh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjdubj)}(hhh]j)}(h&``unsigned int fragsz`` fragment size h](j)}(h``unsigned int fragsz``h]j)}(hjh]hunsigned int fragsz}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(h fragment sizeh]h fragment size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjdubjl)}(h**Description**h]j)}(hjĪh]h Description}(hjƪhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjªubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjdubjl)}(hMAllocates a frag from a page for receive buffer. Uses GFP_ATOMIC allocations.h]hMAllocates a frag from a page for receive buffer. Uses GFP_ATOMIC allocations.}(hjڪhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_alloc_skb (C function)c.netdev_alloc_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hOstruct sk_buff * netdev_alloc_skb (struct net_device *dev, unsigned int length)h]j )}(hMstruct sk_buff *netdev_alloc_skb(struct net_device *dev, unsigned int length)h](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNj j )}j ]j )}j netdev_alloc_skbsbc.netdev_alloc_skbasbuh1hhjhhhjhM ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM ubj3)}(hnetdev_alloc_skbh]j9)}(hjFh]hnetdev_alloc_skb}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h-(struct net_device *dev, unsigned int length)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jDc.netdev_alloc_skbasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjͫhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjګhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hunsigned int lengthh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlengthh]hlength}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h.allocate an skbuff for rx on a specific deviceh]h.allocate an skbuff for rx on a specific device}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjRhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhj" hNhNubj)}(hX)**Parameters** ``struct net_device *dev`` network device to receive on ``unsigned int length`` length to allocate **Description** Allocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has unspecified headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory. Although this function allocates memory it can be called from an interrupt.h](jl)}(h**Parameters**h]j)}(hjwh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjqubj)}(hhh](j)}(h8``struct net_device *dev`` network device to receive on h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(hnetwork device to receive onh]hnetwork device to receive on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h+``unsigned int length`` length to allocate h](j)}(h``unsigned int length``h]j)}(hjϬh]hunsigned int length}(hjѬhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjͬubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjɬubj)}(hhh]jl)}(hlength to allocateh]hlength to allocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjɬubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjqubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjqubj)}(hXAllocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has unspecified headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory. Although this function allocates memory it can be called from an interrupt.h](jl)}(hXAllocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has unspecified headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.h](hAllocate a new }(hj$hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj.h]hsk_buff}(hj0hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj$ubh and assign it a usage count of one. The buffer has unspecified headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjKhM hj ubjl)}(h|``NULL`` is returned if there is no free memory. Although this function allocates memory it can be called from an interrupt.h](j)}(h``NULL``h]hNULL}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubht is returned if there is no free memory. Although this function allocates memory it can be called from an interrupt.}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj ubeh}(h]h ]h"]h$]h&]uh1jhjKhM hjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_alloc_pages (C function)c.__dev_alloc_pageshNtauh1hhj" hhhNhNubh)}(hhh](j)}(hDstruct page * __dev_alloc_pages (gfp_t gfp_mask, unsigned int order)h]j )}(hBstruct page *__dev_alloc_pages(gfp_t gfp_mask, unsigned int order)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubh)}(hhh]j9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __dev_alloc_pagessbc.__dev_alloc_pagesasbuh1hhjhhhjhM ubj")}(h h]h }(hj٭hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM ubj3)}(h__dev_alloc_pagesh]j9)}(hj֭h]h__dev_alloc_pages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h$(gfp_t gfp_mask, unsigned int order)h](j )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jԭc.__dev_alloc_pagesasbuh1hhjubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfp_maskh]hgfp_mask}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hunsigned int orderh](jM )}(hunsignedh]hunsigned}(hj[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjWubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubjM )}(hinth]hint}(hjwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjWubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj9)}(horderh]horder}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(hallocate page for network Rxh]hallocate page for network Rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjծjjծjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``gfp_t gfp_mask`` allocation priority. Set __GFP_NOMEMALLOC if not for network Rx ``unsigned int order`` size of the allocation **Description** Allocate a new page. ``NULL`` is returned if there is no free memory.h](jl)}(h**Parameters**h]j)}(hj߮h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݮubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjٮubj)}(hhh](j)}(hS``gfp_t gfp_mask`` allocation priority. Set __GFP_NOMEMALLOC if not for network Rx 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rxh]h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h.``unsigned int order`` size of the allocation h](j)}(h``unsigned int order``h]j)}(hj7h]hunsigned int order}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj1ubj)}(hhh]jl)}(hsize of the allocationh]hsize of the allocation}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubeh}(h]h ]h"]h$]h&]uh1jhjٮubjl)}(h**Description**h]j)}(hjrh]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjٮubjl)}(hAllocate a new page.h]hAllocate a new page.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjٮubjl)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( is returned if there is no free memory.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjٮubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_alloc_page (C function)c.__dev_alloc_pagehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h/struct page * __dev_alloc_page (gfp_t gfp_mask)h]j )}(h-struct page *__dev_alloc_page(gfp_t gfp_mask)h](j)}(hjh]hstruct}(hjԯhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjЯhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjЯhhhjhMubh)}(hhh]j9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __dev_alloc_pagesbc.__dev_alloc_pageasbuh1hhjЯhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjЯhhhjhMubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjЯhhhjhMubj3)}(h__dev_alloc_pageh]j9)}(hjh]h__dev_alloc_page}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjЯhhhjhMubj )}(h(gfp_t gfp_mask)h]j )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]jc.__dev_alloc_pageasbuh1hhjJubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj9)}(hgfp_maskh]hgfp_mask}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjFubah}(h]h ]h"]h$]h&]jPjQuh1j hjЯhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj̯hhhjhMubah}(h]jǯah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjɯhhubjg)}(hhh]jl)}(hallocate a page for network Rxh]hallocate a page for network Rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjɯhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``gfp_t gfp_mask`` allocation priority. Set __GFP_NOMEMALLOC if not for network Rx **Description** Allocate a new page. ``NULL`` is returned if there is no free memory.h](jl)}(h**Parameters**h]j)}(hjɰh]h Parameters}(hj˰hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǰubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM#hjðubj)}(hhh]j)}(hS``gfp_t gfp_mask`` allocation priority. Set __GFP_NOMEMALLOC if not for network Rx 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rxh]h?allocation priority. Set __GFP_NOMEMALLOC if not for network Rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj߰ubah}(h]h ]h"]h$]h&]uh1jhjðubjl)}(h**Description**h]j)}(hj#h]h Description}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM"hjðubjl)}(hAllocate a new page.h]hAllocate a new page.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM!hjðubjl)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh( is returned if there is no free memory.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM#hjðubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!dev_page_is_reusable (C function)c.dev_page_is_reusablehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h3bool dev_page_is_reusable (const struct page *page)h]j )}(h2bool dev_page_is_reusable(const struct page *page)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM3ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM3ubj3)}(hdev_page_is_reusableh]j9)}(hdev_page_is_reusableh]hdev_page_is_reusable}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM3ubj )}(h(const struct page *page)h]j )}(hconst struct page *pageh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjαhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjܱhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.dev_page_is_reusableasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpageh]hpage}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM3ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}hhhjhM3ubah}(h]jxah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM3hjzhhubjg)}(hhh]jl)}(h1check whether a page can be reused for network Rxh]h1check whether a page can be reused for network Rx}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM3hj\hhubah}(h]h ]h"]h$]h&]uh1jfhjzhhhjhM3ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwjjwjjjuh1hhhhj" hNhNubj)}(hX"**Parameters** ``const struct page *page`` the page to test **Description** A page shouldn't be considered for reusing/recycling if it was allocated under memory pressure or at a distant memory node. **Return** false if this page should be returned to page allocator, true otherwise.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM7hj{ubj)}(hhh]j)}(h-``const struct page *page`` the page to test h](j)}(h``const struct page *page``h]j)}(hjh]hconst struct page *page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM4hjubj)}(hhh]jl)}(hthe page to testh]hthe page to test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhj{ubjl)}(h**Description**h]j)}(hj۲h]h Description}(hjݲhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjٲubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM6hj{ubjl)}(h{A page shouldn't be considered for reusing/recycling if it was allocated under memory pressure or at a distant memory node.h]h}A page shouldn’t be considered for reusing/recycling if it was allocated under memory pressure or at a distant memory node.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM5hj{ubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM8hj{ubjl)}(hHfalse if this page should be returned to page allocator, true otherwise.h]hHfalse if this page should be returned to page allocator, true otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM9hj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%skb_propagate_pfmemalloc (C function)c.skb_propagate_pfmemallochNtauh1hhj" hhhNhNubh)}(hhh](j)}(hLvoid skb_propagate_pfmemalloc (const struct page *page, struct sk_buff *skb)h]j )}(hKvoid skb_propagate_pfmemalloc(const struct page *page, struct sk_buff *skb)h](jM )}(hvoidh]hvoid}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjChhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMCubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjChhhjUhMCubj3)}(hskb_propagate_pfmemalloch]j9)}(hskb_propagate_pfmemalloch]hskb_propagate_pfmemalloc}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjChhhjUhMCubj )}(h.(const struct page *page, struct sk_buff *skb)h](j )}(hconst struct page *pageh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jjsbc.skb_propagate_pfmemallocasbuh1hhjubj")}(h h]h }(hjݳhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]jٳc.skb_propagate_pfmemallocasbuh1hhj ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hskbh]hskb}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjChhhjUhMCubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?hhhjUhMCubah}(h]j:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUhMChj<hhubjg)}(hhh]jl)}(h6Propagate pfmemalloc if skb is allocated after RX pageh]h6Propagate pfmemalloc if skb is allocated after RX page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMChjhhubah}(h]h ]h"]h$]h&]uh1jfhj<hhhjUhMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct page *page`` The page that was allocated from skb_alloc_page ``struct sk_buff *skb`` The skb that may need pfmemalloc seth](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMGhjubj)}(hhh](j)}(hL``const struct page *page`` The page that was allocated from skb_alloc_page h](j)}(h``const struct page *page``h]j)}(hjӴh]hconst struct page *page}(hjմhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѴubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMDhjʹubj)}(hhh]jl)}(h/The page that was allocated from skb_alloc_pageh]h/The page that was allocated from skb_alloc_page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjʹubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjʴubj)}(h<``struct sk_buff *skb`` The skb that may need pfmemalloc seth](j)}(h``struct sk_buff *skb``h]j)}(hj h]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMFhjubj)}(hhh]jl)}(h$The skb that may need pfmemalloc seth]h$The skb that may need pfmemalloc set}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMEhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMFhjʴubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_off (C function)c.skb_frag_offhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h2unsigned int skb_frag_off (const skb_frag_t *frag)h]j )}(h1unsigned int skb_frag_off(const skb_frag_t *frag)h](jM )}(hunsignedh]hunsigned}(hjfhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMOubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjthMOubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbhhhjthMOubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjthMOubj3)}(h skb_frag_offh]j9)}(h skb_frag_offh]h skb_frag_off}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjthMOubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj̵hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjݵhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjڵubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjߵmodnameN classnameNj j )}j ]j )}j jsbc.skb_frag_offasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjbhhhjthMOubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^hhhjthMOubah}(h]jYah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjthMOhj[hhubjg)}(hhh]jl)}(h$Returns the offset of a skb fragmenth]h$Returns the offset of a skb fragment}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMOhj?hhubah}(h]h ]h"]h$]h&]uh1jfhj[hhhjthMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1hhhhj" hNhNubj)}(h?**Parameters** ``const skb_frag_t *frag`` the paged fragmenth](jl)}(h**Parameters**h]j)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMShj^ubj)}(hhh]j)}(h-``const skb_frag_t *frag`` the paged fragmenth](j)}(h``const skb_frag_t *frag``h]j)}(hjh]hconst skb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMUhj}ubj)}(hhh]jl)}(hthe paged fragmenth]hthe paged fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMPhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_off_add (C function)c.skb_frag_off_addhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h3void skb_frag_off_add (skb_frag_t *frag, int delta)h]j )}(h2void skb_frag_off_add(skb_frag_t *frag, int delta)h](jM )}(hvoidh]hvoid}(hjݶhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjٶhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMXubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjٶhhhjhMXubj3)}(hskb_frag_off_addh]j9)}(hskb_frag_off_addh]hskb_frag_off_add}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjٶhhhjhMXubj )}(h(skb_frag_t *frag, int delta)h](j )}(hskb_frag_t *fragh](h)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_frag_off_addasbuh1hhjubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfragh]hfrag}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int deltah](jM )}(hinth]hint}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj9)}(hdeltah]hdelta}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjٶhhhjhMXubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjնhhhjhMXubah}(h]jжah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMXhjҶhhubjg)}(hhh]jl)}(h4Increments the offset of a skb fragment by **delta**h](h+Increments the offset of a skb fragment by }(hjhhhNhNubj)}(h **delta**h]hdelta}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMXhjhhubah}(h]h ]h"]h$]h&]uh1jfhjҶhhhjhMXubeh}(h]h ](jfunctioneh"]h$]h&]jjjjݷjjݷjjjuh1hhhhj" hNhNubj)}(hQ**Parameters** ``skb_frag_t *frag`` skb fragment ``int delta`` value to addh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM\hjubj)}(hhh](j)}(h"``skb_frag_t *frag`` skb fragment h](j)}(h``skb_frag_t *frag``h]j)}(hjh]hskb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMYhjubj)}(hhh]jl)}(h skb fragmenth]h skb fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubj)}(h``int delta`` value to addh](j)}(h ``int delta``h]j)}(hj?h]h int delta}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM[hj9ubj)}(hhh]jl)}(h value to addh]h value to add}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMZhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM[hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_off_set (C function)c.skb_frag_off_sethNtauh1hhj" hhhNhNubh)}(hhh](j)}(h=void skb_frag_off_set (skb_frag_t *frag, unsigned int offset)h]j )}(h` associated with **frag**. Returns NULL if this frag has no associated net_iov.h](jl)}(h**Parameters**h]j)}(hjih]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjcubj)}(hhh]j)}(h(``const skb_frag_t *frag`` the fragment h](j)}(h``const skb_frag_t *frag``h]j)}(hjh]hconst skb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM~hjubj)}(hhh]jl)}(h the fragmenth]h the fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjcubjl)}(h **Return**h]j)}(hjýh]hReturn}(hjŽhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjcubjl)}(huthe :c:type:`struct net_iov ` associated with **frag**. Returns NULL if this frag has no associated net_iov.h](hthe }(hjٽhhhNhNubh)}(h":c:type:`struct net_iov `h]j)}(hjh]hstruct net_iov}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjnet_iovuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjٽubh associated with }(hjٽhhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjٽubh6. Returns NULL if this frag has no associated net_iov.}(hjٽhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_page (C function)c.skb_frag_pagehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h4struct page * skb_frag_page (const skb_frag_t *frag)h]j )}(h2struct page *skb_frag_page(const skb_frag_t *frag)h](j)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhjJhMubh)}(hhh]j9)}(hpageh]hpage}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j )}j skb_frag_pagesbc.skb_frag_pageasbuh1hhj9hhhjJhMubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9hhhjJhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9hhhjJhMubj3)}(h skb_frag_pageh]j9)}(hjzh]h skb_frag_page}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9hhhjJhMubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjľhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjվhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjҾubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj׾modnameN classnameNj j )}j ]jxc.skb_frag_pageasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj9hhhjJhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj5hhhjJhMubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjJhMhj2hhubjg)}(hhh]jl)}(h1retrieve the page referred to by a paged fragmenth]h1retrieve the page referred to by a paged fragment}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj5hhubah}(h]h ]h"]h$]h&]uh1jfhj2hhhjJhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const skb_frag_t *frag`` the paged fragment **Return** the :c:type:`struct page ` associated with **frag**. Returns NULL if this frag has no associated page.h](jl)}(h**Parameters**h]j)}(hjZh]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjTubj)}(hhh]j)}(h.``const skb_frag_t *frag`` the paged fragment h](j)}(h``const skb_frag_t *frag``h]j)}(hjyh]hconst skb_frag_t *frag}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjsubj)}(hhh]jl)}(hthe paged fragmenth]hthe paged fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjTubjl)}(hlthe :c:type:`struct page ` associated with **frag**. Returns NULL if this frag has no associated page.h](hthe }(hjʿhhhNhNubh)}(h:c:type:`struct page `h]j)}(hjԿh]h struct page}(hjֿhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjҿubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjpageuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjʿubh associated with }(hjʿhhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjʿubh3. Returns NULL if this frag has no associated page.}(hjʿhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_netmem (C function)c.skb_frag_netmemhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h3netmem_ref skb_frag_netmem (const skb_frag_t *frag)h]j )}(h2netmem_ref skb_frag_netmem(const skb_frag_t *frag)h](h)}(hhh]j9)}(h netmem_refh]h netmem_ref}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]j )}j skb_frag_netmemsbc.skb_frag_netmemasbuh1hhj*hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*hhhjRhMubj3)}(hskb_frag_netmemh]j9)}(hjOh]hskb_frag_netmem}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj*hhhjRhMubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jMc.skb_frag_netmemasbuh1hhj|ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj|ubj9)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubah}(h]h ]h"]h$]h&]jPjQuh1j hj*hhhjRhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj&hhhjRhMubah}(h]j!ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjRhMhj#hhubjg)}(hhh]jl)}(h-retrieve the netmem referred to by a fragmenth]h-retrieve the netmem referred to by a fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj#hhhjRhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hy**Parameters** ``const skb_frag_t *frag`` the fragment **Return** the :c:type:`netmem_ref` associated with **frag**.h](jl)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h(``const skb_frag_t *frag`` the fragment h](j)}(h``const skb_frag_t *frag``h]j)}(hjBh]hconst skb_frag_t *frag}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj<ubj)}(hhh]jl)}(h the fragmenth]h the fragment}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hj}h]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(h2the :c:type:`netmem_ref` associated with **frag**.h](hthe }(hjhhhNhNubh)}(h:c:type:`netmem_ref`h]j)}(hjh]h netmem_ref}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj netmem_refuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubh associated with }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_address (C function)c.skb_frag_addresshNtauh1hhj" hhhNhNubh)}(hhh](j)}(h0void * skb_frag_address (const skb_frag_t *frag)h]j )}(h.void *skb_frag_address(const skb_frag_t *frag)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hskb_frag_addressh]j9)}(hskb_frag_addressh]hskb_frag_address}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNj j )}j ]j )}j j'sbc.skb_frag_addressasbuh1hhj=ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=ubj9)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h:gets the address of the data contained in a paged fragmenth]h:gets the address of the data contained in a paged fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const skb_frag_t *frag`` the paged fragment buffer **Return** the address of the data within **frag**. The page must already be mapped.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h5``const skb_frag_t *frag`` the paged fragment buffer h](j)}(h``const skb_frag_t *frag``h]j)}(hjh]hconst skb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hthe paged fragment bufferh]hthe paged fragment buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hj@h]hReturn}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(hIthe address of the data within **frag**. The page must already be mapped.h](hthe address of the data within }(hjVhhhNhNubj)}(h**frag**h]hfrag}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh". The page must already be mapped.}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"skb_frag_address_safe (C function)c.skb_frag_address_safehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h5void * skb_frag_address_safe (const skb_frag_t *frag)h]j )}(h3void *skb_frag_address_safe(const skb_frag_t *frag)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hskb_frag_address_safeh]j9)}(hskb_frag_address_safeh]hskb_frag_address_safe}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_frag_address_safeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfragh]hfrag}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h:gets the address of the data contained in a paged fragmenth]h:gets the address of the data contained in a paged fragment}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjahhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const skb_frag_t *frag`` the paged fragment buffer **Return** the address of the data within **frag**. Checks that the page is mapped and returns ``NULL`` otherwise.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h5``const skb_frag_t *frag`` the paged fragment buffer h](j)}(h``const skb_frag_t *frag``h]j)}(hjh]hconst skb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hthe paged fragment bufferh]hthe paged fragment buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(hgthe address of the data within **frag**. Checks that the page is mapped and returns ``NULL`` otherwise.h](hthe address of the data within }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh-. Checks that the page is mapped and returns }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh otherwise.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_phys (C function)c.skb_frag_physhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h2phys_addr_t skb_frag_phys (const skb_frag_t *frag)h]j )}(h1phys_addr_t skb_frag_phys(const skb_frag_t *frag)h](h)}(hhh]j9)}(h phys_addr_th]h phys_addr_t}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNj j )}j ]j )}j skb_frag_physsbc.skb_frag_physasbuh1hhjEhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEhhhjmhMubj3)}(h skb_frag_physh]j9)}(hjjh]h skb_frag_phys}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjEhhhjmhMubj )}(h(const skb_frag_t *frag)h]j )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jhc.skb_frag_physasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjEhhhjmhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAhhhjmhMubah}(h]j<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhMhj>hhubjg)}(hhh]jl)}(h9gets the physical address of the data in a paged fragmenth]h9gets the physical address of the data in a paged fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj>hhhjmhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const skb_frag_t *frag`` the paged fragment buffer **Return** the physical address of the data within **frag**.h](jl)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj8ubj)}(hhh]j)}(h5``const skb_frag_t *frag`` the paged fragment buffer h](j)}(h``const skb_frag_t *frag``h]j)}(hj]h]hconst skb_frag_t *frag}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjWubj)}(hhh]jl)}(hthe paged fragment bufferh]hthe paged fragment buffer}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj8ubjl)}(h1the physical address of the data within **frag**.h](h(the physical address of the data within }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_frag_page_copy (C function)c.skb_frag_page_copyhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hHvoid skb_frag_page_copy (skb_frag_t *fragto, const skb_frag_t *fragfrom)h]j )}(hGvoid skb_frag_page_copy(skb_frag_t *fragto, const skb_frag_t *fragfrom)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_frag_page_copyh]j9)}(hskb_frag_page_copyh]hskb_frag_page_copy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h0(skb_frag_t *fragto, const skb_frag_t *fragfrom)h](j )}(hskb_frag_t *fragtoh](h)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j jsbc.skb_frag_page_copyasbuh1hhj(ubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj )}(hj h]h*}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(ubj9)}(hfragtoh]hfragto}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(hconst skb_frag_t *fragfromh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jKc.skb_frag_page_copyasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfragfromh]hfragfrom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h1sets the page in a fragment from another fragmenth]h1sets the page in a fragment from another fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``skb_frag_t *fragto`` skb fragment where page is set ``const skb_frag_t *fragfrom`` skb fragment page is copied fromh](jl)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh](j)}(h6``skb_frag_t *fragto`` skb fragment where page is set h](j)}(h``skb_frag_t *fragto``h]j)}(hjEh]hskb_frag_t *fragto}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj?ubj)}(hhh]jl)}(hskb fragment where page is seth]hskb fragment where page is set}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhj<ubj)}(h?``const skb_frag_t *fragfrom`` skb fragment page is copied fromh](j)}(h``const skb_frag_t *fragfrom``h]j)}(hj~h]hconst skb_frag_t *fragfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjxubj)}(hhh]jl)}(h skb fragment page is copied fromh]h skb fragment page is copied from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhj<ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_frag_dma_map (C function)c.__skb_frag_dma_maphNtauh1hhj" hhhNhNubh)}(hhh](j)}(hdma_addr_t __skb_frag_dma_map (struct device *dev, const skb_frag_t *frag, size_t offset, size_t size, enum dma_data_direction dir)h]j )}(hdma_addr_t __skb_frag_dma_map(struct device *dev, const skb_frag_t *frag, size_t offset, size_t size, enum dma_data_direction dir)h](h)}(hhh]j9)}(h dma_addr_th]h dma_addr_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __skb_frag_dma_mapsbc.__skb_frag_dma_mapasbuh1hhjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h__skb_frag_dma_maph]j9)}(hjh]h__skb_frag_dma_map}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(he(struct device *dev, const skb_frag_t *frag, size_t offset, size_t size, enum dma_data_direction dir)h](j )}(hstruct device *devh](j)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubh)}(hhh]j9)}(hdeviceh]hdevice}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]jc.__skb_frag_dma_mapasbuh1hhj&ubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj )}(hj h]h*}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj"ubj )}(hconst skb_frag_t *fragh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_frag_th]h skb_frag_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__skb_frag_dma_mapasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfragh]hfrag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj"ubj )}(h size_t offseth](h)}(hhh]j9)}(hsize_th]hsize_t}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__skb_frag_dma_mapasbuh1hhjubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffseth]hoffset}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj"ubj )}(h size_t sizeh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]jc.__skb_frag_dma_mapasbuh1hhjNubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj9)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj"ubj )}(henum dma_data_direction dirh](j)}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hdma_data_directionh]hdma_data_direction}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__skb_frag_dma_mapasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj"ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h%maps a paged fragment via the DMA APIh]h%maps a paged fragment via the DMA API}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&jj&jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct device *dev`` the device to map the fragment to ``const skb_frag_t *frag`` the paged fragment to map ``size_t offset`` the offset within the fragment (starting at the fragment's own offset) ``size_t size`` the number of bytes to map ``enum dma_data_direction dir`` the direction of the mapping (``PCI_DMA_*``) **Description** Maps the page associated with **frag** to **device**.h](jl)}(h**Parameters**h]j)}(hj0h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj*ubj)}(hhh](j)}(h9``struct device *dev`` the device to map the fragment to h](j)}(h``struct device *dev``h]j)}(hjOh]hstruct device *dev}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjIubj)}(hhh]jl)}(h!the device to map the fragment toh]h!the device to map the fragment to}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjFubj)}(h5``const skb_frag_t *frag`` the paged fragment to map h](j)}(h``const skb_frag_t *frag``h]j)}(hjh]hconst skb_frag_t *frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hthe paged fragment to maph]hthe paged fragment to map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjFubj)}(hY``size_t offset`` the offset within the fragment (starting at the fragment's own offset) h](j)}(h``size_t offset``h]j)}(hjh]h size_t offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hFthe offset within the fragment (starting at the fragment's own offset)h]hHthe offset within the fragment (starting at the fragment’s own offset)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjFubj)}(h+``size_t size`` the number of bytes to map h](j)}(h``size_t size``h]j)}(hjh]h size_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hthe number of bytes to maph]hthe number of bytes to map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjFubj)}(hM``enum dma_data_direction dir`` the direction of the mapping (``PCI_DMA_*``) h](j)}(h``enum dma_data_direction dir``h]j)}(hj4h]henum dma_data_direction dir}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj.ubj)}(hhh]jl)}(h,the direction of the mapping (``PCI_DMA_*``)h](hthe direction of the mapping (}(hjMhhhNhNubj)}(h ``PCI_DMA_*``h]h PCI_DMA_*}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh)}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjFubeh}(h]h ]h"]h$]h&]uh1jhj*ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj*ubjl)}(h5Maps the page associated with **frag** to **device**.h](hMaps the page associated with }(hjhhhNhNubj)}(h**frag**h]hfrag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h **device**h]hdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_clone_writable (C function)c.skb_clone_writablehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hDint skb_clone_writable (const struct sk_buff *skb, unsigned int len)h]j )}(hCint skb_clone_writable(const struct sk_buff *skb, unsigned int len)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM#ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM#ubj3)}(hskb_clone_writableh]j9)}(hskb_clone_writableh]hskb_clone_writable}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM#ubj )}(h-(const struct sk_buff *skb, unsigned int len)h](j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]j )}j j sbc.skb_clone_writableasbuh1hhj#ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM#ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM#ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM#hjhhubjg)}(hhh]jl)}(h!is the header of a clone writableh]h!is the header of a clone writable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM#hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff *skb`` buffer to check ``unsigned int len`` length up to which to write **Description** Returns true if modifying the header part of the cloned buffer does not requires the data to be copied.h](jl)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM'hj2ubj)}(hhh](j)}(h.``const struct sk_buff *skb`` buffer to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjWh]hconst struct sk_buff *skb}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM$hjQubj)}(hhh]jl)}(hbuffer to checkh]hbuffer to check}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhM$hjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM$hjNubj)}(h1``unsigned int len`` length up to which to write h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM%hjubj)}(hhh]jl)}(hlength up to which to writeh]hlength up to which to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjNubeh}(h]h ]h"]h$]h&]uh1jhj2ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM'hj2ubj)}(hgReturns true if modifying the header part of the cloned buffer does not requires the data to be copied.h]jl)}(hgReturns true if modifying the header part of the cloned buffer does not requires the data to be copied.h]hgReturns true if modifying the header part of the cloned buffer does not requires the data to be copied.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM&hjubah}(h]h ]h"]h$]h&]uh1jhjhM&hj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_cow (C function) c.skb_cowhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h8int skb_cow (struct sk_buff *skb, unsigned int headroom)h]j )}(h7int skb_cow(struct sk_buff *skb, unsigned int headroom)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMFubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj(hMFubj3)}(hskb_cowh]j9)}(hskb_cowh]hskb_cow}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj(hMFubj )}(h,(struct sk_buff *skb, unsigned int headroom)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]j )}j j=sb c.skb_cowasbuh1hhjSubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOubj )}(hunsigned int headroomh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hheadroomh]hheadroom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj(hMFubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj(hMFubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj(hMFhjhhubjg)}(hhh]jl)}(h© header of skb when it is requiredh]h© header of skb when it is required}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMFhj(hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj(hMFubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to cow ``unsigned int headroom`` needed headroom **Description** If the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed. The result is skb with writable area skb->head...skb->tail and at least **headroom** of space at head.h](jl)}(h**Parameters**h]j)}(hjMh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMJhjGubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to cow h](j)}(h``struct sk_buff *skb``h]j)}(hjlh]hstruct sk_buff *skb}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMGhjfubj)}(hhh]jl)}(h buffer to cowh]h buffer to cow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjcubj)}(h*``unsigned int headroom`` needed headroom h](j)}(h``unsigned int headroom``h]j)}(hjh]hunsigned int headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMHhjubj)}(hhh]jl)}(hneeded headroomh]hneeded headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhjcubeh}(h]h ]h"]h$]h&]uh1jhjGubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMJhjGubj)}(hXIf the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed. The result is skb with writable area skb->head...skb->tail and at least **headroom** of space at head.h](jl)}(hIf the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed.h]hIf the skb passed lacks sufficient headroom or its data part is shared, data is reallocated. If reallocation fails, an error is returned and original skb is not changed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMIhjubjl)}(hfThe result is skb with writable area skb->head...skb->tail and at least **headroom** of space at head.h](hHThe result is skb with writable area skb->head...skb->tail and at least }(hj hhhNhNubj)}(h **headroom**h]hheadroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh of space at head.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMIhjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_cow_head (C function)c.skb_cow_headhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h=int skb_cow_head (struct sk_buff *skb, unsigned int headroom)h]j )}(hhMZhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_padto (C function) c.skb_padtohNtauh1hhj" hhhNhNubh)}(hhh](j)}(h5int skb_padto (struct sk_buff *skb, unsigned int len)h]j )}(h4int skb_padto(struct sk_buff *skb, unsigned int len)h](jM )}(hinth]hint}(hjehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjahhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMfubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjahhhjshMfubj3)}(h skb_padtoh]j9)}(h skb_padtoh]h skb_padto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjahhhjshMfubj )}(h'(struct sk_buff *skb, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.skb_padtoasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj0hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjahhhjshMfubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj]hhhjshMfubah}(h]jXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjshMfhjZhhubjg)}(hhh]jl)}(h"pad an skbuff up to a minimal sizeh]h"pad an skbuff up to a minimal size}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMfhjshhubah}(h]h ]h"]h$]h&]uh1jfhjZhhhjshMfubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hXW**Parameters** ``struct sk_buff *skb`` buffer to pad ``unsigned int len`` minimal length **Description** Pads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMjhjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMghjubj)}(hhh]jl)}(h buffer to padh]h buffer to pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubj)}(h$``unsigned int len`` minimal length h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhhjubj)}(hhh]jl)}(hminimal lengthh]hminimal length}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj+h]h Description}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMjhjubj)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h]jl)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h]hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMihjAubah}(h]h ]h"]h$]h&]uh1jhjShMihjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_put_padto (C function)c.__skb_put_padtohNtauh1hhj" hhhNhNubh)}(hhh](j)}(hOint __skb_put_padto (struct sk_buff *skb, unsigned int len, bool free_on_error)h]j )}(hNint __skb_put_padto(struct sk_buff *skb, unsigned int len, bool free_on_error)h](jM )}(hinth]hint}(hjzhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjvhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvhhhjhMxubj3)}(h__skb_put_padtoh]j9)}(h__skb_put_padtoh]h__skb_put_padto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjvhhhjhMxubj )}(h;(struct sk_buff *skb, unsigned int len, bool free_on_error)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.__skb_put_padtoasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hj)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubjM )}(hinth]hint}(hjEhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%ubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj9)}(hlenh]hlen}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hbool free_on_errorh](jM )}(hjh]hbool}(hjzhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjvubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj9)}(h free_on_errorh]h free_on_error}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjvhhhjhMxubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjrhhhjhMxubah}(h]jmah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMxhjohhubjg)}(hhh]jl)}(h4increase size and pad an skbuff up to a minimal sizeh]h4increase size and pad an skbuff up to a minimal size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMxhjhhubah}(h]h ]h"]h$]h&]uh1jfhjohhhjhMxubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to pad ``unsigned int len`` minimal length ``bool free_on_error`` free buffer on error **Description** Pads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error if **free_on_error** is true.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM|hjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMyhjubj)}(hhh]jl)}(h buffer to padh]h buffer to pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMyhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMyhjubj)}(h$``unsigned int len`` minimal length h](j)}(h``unsigned int len``h]j)}(hj9h]hunsigned int len}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMzhj3ubj)}(hhh]jl)}(hminimal lengthh]hminimal length}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhMzhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMzhjubj)}(h,``bool free_on_error`` free buffer on error h](j)}(h``bool free_on_error``h]j)}(hjrh]hbool free_on_error}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM{hjlubj)}(hhh]jl)}(hfree buffer on errorh]hfree buffer on error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM{hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM}hjubj)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error if **free_on_error** is true.h]jl)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error if **free_on_error** is true.h](hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error if }(hjhhhNhNubj)}(h**free_on_error**h]h free_on_error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is true.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM|hjubah}(h]h ]h"]h$]h&]uh1jhjhM|hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_put_padto (C function)c.skb_put_padtohNtauh1hhj" hhhNhNubh)}(hhh](j)}(h9int skb_put_padto (struct sk_buff *skb, unsigned int len)h]j )}(h8int skb_put_padto(struct sk_buff *skb, unsigned int len)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMubj3)}(h skb_put_padtoh]j9)}(h skb_put_padtoh]h skb_put_padto}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMubj )}(h'(struct sk_buff *skb, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNj j )}j ]j )}j j1sbc.skb_put_padtoasbuh1hhjGubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjGubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h4increase size and pad an skbuff up to a minimal sizeh]h4increase size and pad an skbuff up to a minimal size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhj" hNhNubj)}(hXW**Parameters** ``struct sk_buff *skb`` buffer to pad ``unsigned int len`` minimal length **Description** Pads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h](jl)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj;ubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hj`h]hstruct sk_buff *skb}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjZubj)}(hhh]jl)}(h buffer to padh]h buffer to pad}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjWubj)}(h$``unsigned int len`` minimal length h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hminimal lengthh]hminimal length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjWubeh}(h]h ]h"]h$]h&]uh1jhj;ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj;ubj)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h]jl)}(hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.h]hPads up a buffer to ensure the trailing bytes exist and are blanked. If the buffer already contains sufficient data it is untouched. Otherwise it is extended. Returns zero on success. The skb is freed on error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_linearize (C function)c.skb_linearizehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h'int skb_linearize (struct sk_buff *skb)h]j )}(h&int skb_linearize(struct sk_buff *skb)h](jM )}(hinth]hint}(hj#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj1hMubj3)}(h skb_linearizeh]j9)}(h skb_linearizeh]h skb_linearize}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj1hMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jFsbc.skb_linearizeasbuh1hhj\ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj1hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj1hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hMhjhhubjg)}(hhh]jl)}(hconvert paged skb to linear oneh]hconvert paged skb to linear one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj1hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` buffer to linarize **Description** If there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h+``struct sk_buff *skb`` buffer to linarize h](j)}(h``struct sk_buff *skb``h]j)}(hj$h]hstruct sk_buff *skb}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hbuffer to linarizeh]hbuffer to linarize}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj_h]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h]jl)}(hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h]hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjuubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h skb_has_shared_frag (C function)c.skb_has_shared_fraghNtauh1hhj" hhhNhNubh)}(hhh](j)}(h4bool skb_has_shared_frag (const struct sk_buff *skb)h]j )}(h3bool skb_has_shared_frag(const struct sk_buff *skb)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_has_shared_fragh]j9)}(hskb_has_shared_fragh]hskb_has_shared_frag}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j )}j jsbc.skb_has_shared_fragasbuh1hhjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hcan any frag be overwrittenh]hcan any frag be overwritten}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff *skb`` buffer to test **Return** true if the skb has at least one frag that might be modified by an external entity (as in vmsplice()/sendfile())h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h-``const struct sk_buff *skb`` buffer to test h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hbuffer to testh]hbuffer to test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(hptrue if the skb has at least one frag that might be modified by an external entity (as in vmsplice()/sendfile())h]hptrue if the skb has at least one frag that might be modified by an external entity (as in vmsplice()/sendfile())}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_linearize_cow (C function)c.skb_linearize_cowhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h+int skb_linearize_cow (struct sk_buff *skb)h]j )}(h*int skb_linearize_cow(struct sk_buff *skb)h](jM )}(hinth]hint}(hjIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjEhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEhhhjWhMubj3)}(hskb_linearize_cowh]j9)}(hskb_linearize_cowh]hskb_linearize_cow}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjEhhhjWhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jlsbc.skb_linearize_cowasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~ubah}(h]h ]h"]h$]h&]jPjQuh1j hjEhhhjWhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAhhhjWhMubah}(h]j<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjWhMhj>hhubjg)}(hhh]jl)}(h$make sure skb is linear and writableh]h$make sure skb is linear and writable}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj>hhhjWhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` buffer to process **Description** If there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h](jl)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj%ubj)}(hhh]j)}(h*``struct sk_buff *skb`` buffer to process h](j)}(h``struct sk_buff *skb``h]j)}(hjJh]hstruct sk_buff *skb}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjDubj)}(hhh]jl)}(hbuffer to processh]hbuffer to process}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj%ubj)}(hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h]jl)}(hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.h]hiIf there is no free memory -ENOMEM is returned, otherwise zero is returned and the old skb data released.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_postpull_rcsum (C function)c.skb_postpull_rcsumhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hRvoid skb_postpull_rcsum (struct sk_buff *skb, const void *start, unsigned int len)h]j )}(hQvoid skb_postpull_rcsum(struct sk_buff *skb, const void *start, unsigned int len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_postpull_rcsumh]j9)}(hskb_postpull_rcsumh]hskb_postpull_rcsum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h:(struct sk_buff *skb, const void *start, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j jsbc.skb_postpull_rcsumasbuh1hhj ubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hskbh]hskb}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hconst void *starth](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hstarth]hstart}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h+update checksum for received skb after pullh]h+update checksum for received skb after pull}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj?hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1hhhhj" hNhNubj)}(hXr**Parameters** ``struct sk_buff *skb`` buffer to update ``const void *start`` start of data before pull ``unsigned int len`` length of data pulled **Description** After doing a pull on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum, or set ip_summed to CHECKSUM_NONE so that it can be recomputed from scratch.h](jl)}(h**Parameters**h]j)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj^ubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to update h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj}ubj)}(hhh]jl)}(hbuffer to updateh]hbuffer to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjzubj)}(h0``const void *start`` start of data before pull h](j)}(h``const void *start``h]j)}(hjh]hconst void *start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hstart of data before pullh]hstart of data before pull}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjzubj)}(h+``unsigned int len`` length of data pulled h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hlength of data pulledh]hlength of data pulled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjzubeh}(h]h ]h"]h$]h&]uh1jhj^ubjl)}(h**Description**h]j)}(hj0h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj^ubj)}(hAfter doing a pull on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum, or set ip_summed to CHECKSUM_NONE so that it can be recomputed from scratch.h]jl)}(hAfter doing a pull on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum, or set ip_summed to CHECKSUM_NONE so that it can be recomputed from scratch.h]hAfter doing a pull on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum, or set ip_summed to CHECKSUM_NONE so that it can be recomputed from scratch.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjFubah}(h]h ]h"]h$]h&]uh1jhjXhMhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_postpush_rcsum (C function)c.skb_postpush_rcsumhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hRvoid skb_postpush_rcsum (struct sk_buff *skb, const void *start, unsigned int len)h]j )}(hQvoid skb_postpush_rcsum(struct sk_buff *skb, const void *start, unsigned int len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhjhM ubj3)}(hskb_postpush_rcsumh]j9)}(hskb_postpush_rcsumh]hskb_postpush_rcsum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{hhhjhM ubj )}(h:(struct sk_buff *skb, const void *start, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_postpush_rcsumasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst void *starth](j)}(hj h]hconst}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubjM )}(hvoidh]hvoid}(hjIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj*ubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*ubj9)}(hstarth]hstart}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj{hhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwhhhjhM ubah}(h]jrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjthhubjg)}(hhh]jl)}(h+update checksum for received skb after pushh]h+update checksum for received skb after push}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjthhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to update ``const void *start`` start of data after push ``unsigned int len`` length of data pushed **Description** After doing a push on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to update h](j)}(h``struct sk_buff *skb``h]j)}(hj.h]hstruct sk_buff *skb}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj(ubj)}(hhh]jl)}(hbuffer to updateh]hbuffer to update}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhj%ubj)}(h/``const void *start`` start of data after push h](j)}(h``const void *start``h]j)}(hjgh]hconst void *start}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjaubj)}(hhh]jl)}(hstart of data after pushh]hstart of data after push}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj%ubj)}(h+``unsigned int len`` length of data pushed h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hlength of data pushedh]hlength of data pushed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj%ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhAfter doing a push on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum.h]jl)}(hhAfter doing a push on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum.h]hhAfter doing a push on a received packet, you need to call this to update the CHECKSUM_COMPLETE checksum.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_push_rcsum (C function)c.skb_push_rcsumhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h=void * skb_push_rcsum (struct sk_buff *skb, unsigned int len)h]j )}(h;void *skb_push_rcsum(struct sk_buff *skb, unsigned int len)h](jM )}(hvoidh]hvoid}(hj*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj8hMubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&hhhj8hMubj3)}(hskb_push_rcsumh]j9)}(hskb_push_rcsumh]hskb_push_rcsum}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&hhhj8hMubj )}(h'(struct sk_buff *skb, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jZsbc.skb_push_rcsumasbuh1hhjpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjlubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjlubeh}(h]h ]h"]h$]h&]jPjQuh1j hj&hhhj8hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj"hhhj8hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8hMhjhhubjg)}(hhh]jl)}(h$push skb and update receive checksumh]h$push skb and update receive checksum}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjEhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to update ``unsigned int len`` length of data pulled **Description** This function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_push unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h](jl)}(h**Parameters**h]j)}(hjjh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM"hjdubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to update h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hbuffer to updateh]hbuffer to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``unsigned int len`` length of data pulled h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hjubj)}(hhh]jl)}(hlength of data pulledh]hlength of data pulled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjdubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM"hjdubj)}(hXThis function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_push unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h]jl)}(hXThis function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_push unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h]hXThis function performs an skb_push on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_push unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM!hjubah}(h]h ]h"]h$]h&]uh1jhj%hM!hjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpskb_trim_rcsum (C function)c.pskb_trim_rcsumhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h;int pskb_trim_rcsum (struct sk_buff *skb, unsigned int len)h]j )}(h:int pskb_trim_rcsum(struct sk_buff *skb, unsigned int len)h](jM )}(hinth]hint}(hjLhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1ubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHhhhjZhM1ubj3)}(hpskb_trim_rcsumh]j9)}(hpskb_trim_rcsumh]hpskb_trim_rcsum}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjHhhhjZhM1ubj )}(h'(struct sk_buff *skb, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j josbc.pskb_trim_rcsumasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjHhhhjZhM1ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjDhhhjZhM1ubah}(h]j?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjZhM1hjAhhubjg)}(hhh]jl)}(h%trim received skb and update checksumh]h%trim received skb and update checksum}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM1hjZhhubah}(h]h ]h"]h$]h&]uh1jfhjAhhhjZhM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to trim ``unsigned int len`` new length **Description** This is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation. It can change skb pointers.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM5hjyubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to trim h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM2hjubj)}(hhh]jl)}(hbuffer to trimh]hbuffer to trim}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubj)}(h ``unsigned int len`` new length h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM3hjubj)}(hhh]jl)}(h new lengthh]h new length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubeh}(h]h ]h"]h$]h&]uh1jhjyubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM5hjyubj)}(hThis is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation. It can change skb pointers.h]jl)}(hThis is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation. It can change skb pointers.h]hThis is exactly the same as pskb_trim except that it ensures the checksum of received packets are still valid after the operation. It can change skb pointers.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM4hj(ubah}(h]h ]h"]h$]h&]uh1jhj:hM4hjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h skb_needs_linearize (C function)c.skb_needs_linearizehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hJbool skb_needs_linearize (struct sk_buff *skb, netdev_features_t features)h]j )}(hIbool skb_needs_linearize(struct sk_buff *skb, netdev_features_t features)h](jM )}(hjh]hbool}(hjahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]hhhjnhMubj3)}(hskb_needs_linearizeh]j9)}(hskb_needs_linearizeh]hskb_needs_linearize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj]hhhjnhMubj )}(h1(struct sk_buff *skb, netdev_features_t features)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_needs_linearizeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hnetdev_features_t featuresh](h)}(hhh]j9)}(hnetdev_features_th]hnetdev_features_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_needs_linearizeasbuh1hhj ubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hfeaturesh]hfeatures}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj]hhhjnhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjYhhhjnhMubah}(h]jTah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjnhMhjVhhubjg)}(hhh]jl)}(hQcheck if we need to linearize a given skb depending on the given device features.h]hQcheck if we need to linearize a given skb depending on the given device features.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjehhubah}(h]h ]h"]h$]h&]uh1jfhjVhhhjnhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX)**Parameters** ``struct sk_buff *skb`` socket buffer to check ``netdev_features_t features`` net device features **Description** Returns true if either: 1. skb has frag_list and the device doesn't support FRAGLIST, or 2. skb is fragmented and the device does not support SG.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h/``struct sk_buff *skb`` socket buffer to check h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hsocket buffer to checkh]hsocket buffer to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``netdev_features_t features`` net device features h](j)}(h``netdev_features_t features``h]j)}(hjh]hnetdev_features_t features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hnet device featuresh]hnet device features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hReturns true if either: 1. skb has frag_list and the device doesn't support FRAGLIST, or 2. skb is fragmented and the device does not support SG.h]jl)}(hReturns true if either: 1. skb has frag_list and the device doesn't support FRAGLIST, or 2. skb is fragmented and the device does not support SG.h]hReturns true if either: 1. skb has frag_list and the device doesn’t support FRAGLIST, or 2. skb is fragmented and the device does not support SG.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3ubah}(h]h ]h"]h$]h&]uh1jhjEhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_get_timestamp (C function)c.skb_get_timestamphNtauh1hhj" hhhNhNubh)}(hhh](j)}(hVvoid skb_get_timestamp (const struct sk_buff *skb, struct __kernel_old_timeval *stamp)h]j )}(hUvoid skb_get_timestamp(const struct sk_buff *skb, struct __kernel_old_timeval *stamp)h](jM )}(hvoidh]hvoid}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMNubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhhjzhMNubj3)}(hskb_get_timestamph]j9)}(hskb_get_timestamph]hskb_get_timestamp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhhjzhMNubj )}(h?(const struct sk_buff *skb, struct __kernel_old_timeval *stamp)h](j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_get_timestampasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h"struct __kernel_old_timeval *stamph](j)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(hhh]j9)}(h__kernel_old_timevalh]h__kernel_old_timeval}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]jc.skb_get_timestampasbuh1hhj2ubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(hstamph]hstamp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhhjzhMNubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdhhhjzhMNubah}(h]j_ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjzhMNhjahhubjg)}(hhh]jl)}(hget timestamp from a skbh]hget timestamp from a skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMNhjhhubah}(h]h ]h"]h$]h&]uh1jfhjahhhjzhMNubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX]**Parameters** ``const struct sk_buff *skb`` skb to get stamp from ``struct __kernel_old_timeval *stamp`` pointer to struct __kernel_old_timeval to store stamp in **Description** Timestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMRhjubj)}(hhh](j)}(h4``const struct sk_buff *skb`` skb to get stamp from h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMOhjubj)}(hhh]jl)}(hskb to get stamp fromh]hskb to get stamp from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMOhjubj)}(h```struct __kernel_old_timeval *stamp`` pointer to struct __kernel_old_timeval to store stamp in h](j)}(h&``struct __kernel_old_timeval *stamp``h]j)}(hj1h]h"struct __kernel_old_timeval *stamp}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMPhj+ubj)}(hhh]jl)}(h8pointer to struct __kernel_old_timeval to store stamp inh]h8pointer to struct __kernel_old_timeval to store stamp in}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMPhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMPhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjlh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMRhjubj)}(hTimestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.h]jl)}(hTimestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.h]hTimestamps are stored in the skb as offsets to a base timestamp. This function converts the offset back to a struct timeval and stores it in stamp.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMQhjubah}(h]h ]h"]h$]h&]uh1jhjhMQhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_data_move (C function)c.skb_data_movehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hMvoid skb_data_move (struct sk_buff *skb, const int len, const unsigned int n)h]j )}(hLvoid skb_data_move(struct sk_buff *skb, const int len, const unsigned int n)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h skb_data_moveh]j9)}(h skb_data_moveh]h skb_data_move}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h:(struct sk_buff *skb, const int len, const unsigned int n)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_data_moveasbuh1hhjubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h const int lenh](j)}(hj h]hconst}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjfubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst unsigned int nh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hjDh]hn}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h=Move packet data and metadata after skb_push() or skb_pull().h]h=Move packet data and metadata after skb_push() or skb_pull().}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj3hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` packet to operate on ``const int len`` number of bytes pushed or pulled from :c:type:`sk_buff->data ` ``const unsigned int n`` number of bytes to memmove() from pre-push/pull :c:type:`sk_buff->data ` **Description** Moves **n** bytes of packet data, can be zero, and all bytes of skb metadata. Assumes metadata is located immediately before :c:type:`sk_buff->data ` prior to the push/pull, and that sufficient headroom exists to hold it after an skb_push(). Otherwise, metadata is cleared and a one-time warning is issued. Prefer skb_postpull_data_move() or skb_postpush_data_move() to calling this helper directly.h](jl)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjRubj)}(hhh](j)}(h-``struct sk_buff *skb`` packet to operate on h](j)}(h``struct sk_buff *skb``h]j)}(hjwh]hstruct sk_buff *skb}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjqubj)}(hhh]jl)}(hpacket to operate onh]hpacket to operate on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubj)}(hZ``const int len`` number of bytes pushed or pulled from :c:type:`sk_buff->data ` h](j)}(h``const int len``h]j)}(hjh]h const int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hGnumber of bytes pushed or pulled from :c:type:`sk_buff->data `h](h&number of bytes pushed or pulled from }(hjhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjh]h sk_buff->data}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubj)}(hk``const unsigned int n`` number of bytes to memmove() from pre-push/pull :c:type:`sk_buff->data ` h](j)}(h``const unsigned int n``h]j)}(hjh]hconst unsigned int n}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hQnumber of bytes to memmove() from pre-push/pull :c:type:`sk_buff->data `h](h0number of bytes to memmove() from pre-push/pull }(hj!hhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hj+h]h sk_buff->data}(hj-hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjhMhj!ubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubeh}(h]h ]h"]h$]h&]uh1jhjRubjl)}(h**Description**h]j)}(hjbh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjRubjl)}(hMMoves **n** bytes of packet data, can be zero, and all bytes of skb metadata.h](hMoves }(hjxhhhNhNubj)}(h**n**h]hn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubhB bytes of packet data, can be zero, and all bytes of skb metadata.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjRubjl)}(hAssumes metadata is located immediately before :c:type:`sk_buff->data ` prior to the push/pull, and that sufficient headroom exists to hold it after an skb_push(). Otherwise, metadata is cleared and a one-time warning is issued.h](h/Assumes metadata is located immediately before }(hjhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjh]h sk_buff->data}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubh prior to the push/pull, and that sufficient headroom exists to hold it after an skb_push(). Otherwise, metadata is cleared and a one-time warning is issued.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjRubjl)}(h\Prefer skb_postpull_data_move() or skb_postpush_data_move() to calling this helper directly.h]h\Prefer skb_postpull_data_move() or skb_postpush_data_move() to calling this helper directly.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM"hjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#skb_postpull_data_move (C function)c.skb_postpull_data_movehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h_void skb_postpull_data_move (struct sk_buff *skb, const unsigned int len, const unsigned int n)h]j )}(h^void skb_postpull_data_move(struct sk_buff *skb, const unsigned int len, const unsigned int n)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMCubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMCubj3)}(hskb_postpull_data_moveh]j9)}(hskb_postpull_data_moveh]hskb_postpull_data_move}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMCubj )}(hC(struct sk_buff *skb, const unsigned int len, const unsigned int n)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]j )}j jsbc.skb_postpull_data_moveasbuh1hhj3ubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubj )}(hconst unsigned int lenh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubj )}(hconst unsigned int nh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hunsignedh]hunsigned}(hj0hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjLhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hjDh]hn}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMCubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMCubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMChjhhubjg)}(hhh]jl)}(h/Move packet data and metadata after skb_pull().h]h/Move packet data and metadata after skb_pull().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMChjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX6**Parameters** ``struct sk_buff *skb`` packet to operate on ``const unsigned int len`` number of bytes pulled from :c:type:`sk_buff->data ` ``const unsigned int n`` number of bytes to memmove() from pre-pull :c:type:`sk_buff->data ` **Description** See skb_data_move() for details.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMGhjubj)}(hhh](j)}(h-``struct sk_buff *skb`` packet to operate on h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMDhjubj)}(hhh]jl)}(hpacket to operate onh]hpacket to operate on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(hY``const unsigned int len`` number of bytes pulled from :c:type:`sk_buff->data ` h](j)}(h``const unsigned int len``h]j)}(hj h]hconst unsigned int len}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMEhjubj)}(hhh]jl)}(h=number of bytes pulled from :c:type:`sk_buff->data `h](hnumber of bytes pulled from }(hj$hhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hj.h]h sk_buff->data}(hj0hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhj hMEhj$ubeh}(h]h ]h"]h$]h&]uh1jkhj hMEhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMEhjubj)}(hf``const unsigned int n`` number of bytes to memmove() from pre-pull :c:type:`sk_buff->data ` h](j)}(h``const unsigned int n``h]j)}(hjch]hconst unsigned int n}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMFhj]ubj)}(hhh]jl)}(hLnumber of bytes to memmove() from pre-pull :c:type:`sk_buff->data `h](h+number of bytes to memmove() from pre-pull }(hj|hhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjh]h sk_buff->data}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjxhMFhj|ubeh}(h]h ]h"]h$]h&]uh1jkhjxhMFhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMFhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMHhjubjl)}(h See skb_data_move() for details.h]h See skb_data_move() for details.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMGhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#skb_postpush_data_move (C function)c.skb_postpush_data_movehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h_void skb_postpush_data_move (struct sk_buff *skb, const unsigned int len, const unsigned int n)h]j )}(h^void skb_postpush_data_move(struct sk_buff *skb, const unsigned int len, const unsigned int n)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMSubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMSubj3)}(hskb_postpush_data_moveh]j9)}(hskb_postpush_data_moveh]hskb_postpush_data_move}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMSubj )}(hC(struct sk_buff *skb, const unsigned int len, const unsigned int n)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]j )}j j%sbc.skb_postpush_data_moveasbuh1hhj;ubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj;ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hconst unsigned int lenh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hconst unsigned int nh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hunsignedh]hunsigned}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hjDh]hn}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMSubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMSubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMShjhhubjg)}(hhh]jl)}(h/Move packet data and metadata after skb_push().h]h/Move packet data and metadata after skb_push().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMShjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMSubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX6**Parameters** ``struct sk_buff *skb`` packet to operate on ``const unsigned int len`` number of bytes pushed onto :c:type:`sk_buff->data ` ``const unsigned int n`` number of bytes to memmove() from pre-push :c:type:`sk_buff->data ` **Description** See skb_data_move() for details.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMWhjubj)}(hhh](j)}(h-``struct sk_buff *skb`` packet to operate on h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMThjubj)}(hhh]jl)}(hpacket to operate onh]hpacket to operate on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubj)}(hY``const unsigned int len`` number of bytes pushed onto :c:type:`sk_buff->data ` h](j)}(h``const unsigned int len``h]j)}(hjh]hconst unsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMUhj ubj)}(hhh]jl)}(h=number of bytes pushed onto :c:type:`sk_buff->data `h](hnumber of bytes pushed onto }(hj,hhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hj6h]h sk_buff->data}(hj8hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhj(hMUhj,ubeh}(h]h ]h"]h$]h&]uh1jkhj(hMUhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMUhjubj)}(hf``const unsigned int n`` number of bytes to memmove() from pre-push :c:type:`sk_buff->data ` h](j)}(h``const unsigned int n``h]j)}(hjkh]hconst unsigned int n}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMVhjeubj)}(hhh]jl)}(hLnumber of bytes to memmove() from pre-push :c:type:`sk_buff->data `h](h+number of bytes to memmove() from pre-push }(hjhhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjh]h sk_buff->data}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjhMVhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMXhjubjl)}(h See skb_data_move() for details.h]h See skb_data_move() for details.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMWhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&skb_complete_tx_timestamp (C function)c.skb_complete_tx_timestamphNtauh1hhj" hhhNhNubh)}(hhh](j)}(h\void skb_complete_tx_timestamp (struct sk_buff *skb, struct skb_shared_hwtstamps *hwtstamps)h]j )}(h[void skb_complete_tx_timestamp(struct sk_buff *skb, struct skb_shared_hwtstamps *hwtstamps)h](jM )}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMwubj3)}(hskb_complete_tx_timestamph]j9)}(hskb_complete_tx_timestamph]hskb_complete_tx_timestamp}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMwubj )}(h=(struct sk_buff *skb, struct skb_shared_hwtstamps *hwtstamps)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]j )}j j-sbc.skb_complete_tx_timestampasbuh1hhjCubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjCubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubj )}(h&struct skb_shared_hwtstamps *hwtstampsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hskb_shared_hwtstampsh]hskb_shared_hwtstamps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_complete_tx_timestampasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h hwtstampsh]h hwtstamps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMwubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMwubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMwhjhhubjg)}(hhh]jl)}(h%deliver cloned skb with tx timestampsh]h%deliver cloned skb with tx timestamps}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMwhj7hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMwubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhj" hNhNubj)}(hXl**Parameters** ``struct sk_buff *skb`` clone of the original outgoing packet ``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps **Description** PHY drivers may accept clones of transmitted packets for timestamping via their phy_driver.txtstamp method. These drivers must call this function to return the skb back to the stack with a timestamp.h](jl)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM{hjVubj)}(hhh](j)}(h>``struct sk_buff *skb`` clone of the original outgoing packet h](j)}(h``struct sk_buff *skb``h]j)}(hj{h]hstruct sk_buff *skb}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM~hjuubj)}(hhh]jl)}(h%clone of the original outgoing packeth]h%clone of the original outgoing packet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhM~hjrubj)}(h@``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps h](j)}(h*``struct skb_shared_hwtstamps *hwtstamps``h]j)}(hjh]h&struct skb_shared_hwtstamps *hwtstamps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hhardware time stampsh]hhardware time stamps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubeh}(h]h ]h"]h$]h&]uh1jhjVubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjVubjl)}(hPHY drivers may accept clones of transmitted packets for timestamping via their phy_driver.txtstamp method. These drivers must call this function to return the skb back to the stack with a timestamp.h]hPHY drivers may accept clones of transmitted packets for timestamping via their phy_driver.txtstamp method. These drivers must call this function to return the skb back to the stack with a timestamp.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMxhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_tstamp_tx (C function)c.skb_tstamp_txhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hUvoid skb_tstamp_tx (struct sk_buff *orig_skb, struct skb_shared_hwtstamps *hwtstamps)h]j )}(hTvoid skb_tstamp_tx(struct sk_buff *orig_skb, struct skb_shared_hwtstamps *hwtstamps)h](jM )}(hvoidh]hvoid}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhjBhMubj3)}(h skb_tstamp_txh]j9)}(h skb_tstamp_txh]h skb_tstamp_tx}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhjBhMubj )}(hB(struct sk_buff *orig_skb, struct skb_shared_hwtstamps *hwtstamps)h](j )}(hstruct sk_buff *orig_skbh](j)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jWsbc.skb_tstamp_txasbuh1hhjmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(horig_skbh]horig_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubj )}(h&struct skb_shared_hwtstamps *hwtstampsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hskb_shared_hwtstampsh]hskb_shared_hwtstamps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_tstamp_txasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h hwtstampsh]h hwtstamps}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubeh}(h]h ]h"]h$]h&]jPjQuh1j hj0hhhjBhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,hhhjBhMubah}(h]j'ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjBhMhj)hhubjg)}(hhh]jl)}(h(queue clone of skb with send time stampsh]h(queue clone of skb with send time stamps}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjahhubah}(h]h ]h"]h$]h&]uh1jfhj)hhhjBhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *orig_skb`` the original outgoing packet ``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps, may be NULL if not available **Description** If the skb has a socket associated, then this function clones the skb (thus sharing the actual data and optional structures), stores the optional hardware time stamping information (if non NULL) or generates a software time stamp (otherwise), then queues the clone to the error queue of the socket. Errors are silently ignored.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h:``struct sk_buff *orig_skb`` the original outgoing packet h](j)}(h``struct sk_buff *orig_skb``h]j)}(hjh]hstruct sk_buff *orig_skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hthe original outgoing packeth]hthe original outgoing packet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h^``struct skb_shared_hwtstamps *hwtstamps`` hardware time stamps, may be NULL if not available h](j)}(h*``struct skb_shared_hwtstamps *hwtstamps``h]j)}(hjh]h&struct skb_shared_hwtstamps *hwtstamps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h2hardware time stamps, may be NULL if not availableh]h2hardware time stamps, may be NULL if not available}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(hXHIf the skb has a socket associated, then this function clones the skb (thus sharing the actual data and optional structures), stores the optional hardware time stamping information (if non NULL) or generates a software time stamp (otherwise), then queues the clone to the error queue of the socket. Errors are silently ignored.h]hXHIf the skb has a socket associated, then this function clones the skb (thus sharing the actual data and optional structures), stores the optional hardware time stamping information (if non NULL) or generates a software time stamp (otherwise), then queues the clone to the error queue of the socket. Errors are silently ignored.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_tx_timestamp (C function)c.skb_tx_timestamphNtauh1hhj" hhhNhNubh)}(hhh](j)}(h+void skb_tx_timestamp (struct sk_buff *skb)h]j )}(h*void skb_tx_timestamp(struct sk_buff *skb)h](jM )}(hvoidh]hvoid}(hj^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZhhhjlhMubj3)}(hskb_tx_timestamph]j9)}(hskb_tx_timestamph]hskb_tx_timestamp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZhhhjlhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_tx_timestampasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjZhhhjlhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjVhhhjlhMubah}(h]jQah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjlhMhjShhubjg)}(hhh]jl)}(h%Driver hook for transmit timestampingh]h%Driver hook for transmit timestamping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjShhhjlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` A socket buffer. **Description** Ethernet MAC Drivers should call this function in their hard_xmit() function immediately before giving the sk_buff to the MAC hardware. Specifically, one should make absolutely sure that this function is called before TX completion of this packet can trigger. Otherwise the packet could potentially already be freed.h](jl)}(h**Parameters**h]j)}(hj@h]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj:ubj)}(hhh]j)}(h)``struct sk_buff *skb`` A socket buffer. h](j)}(h``struct sk_buff *skb``h]j)}(hj_h]hstruct sk_buff *skb}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjYubj)}(hhh]jl)}(hA socket buffer.h]hA socket buffer.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj:ubjl)}(hEthernet MAC Drivers should call this function in their hard_xmit() function immediately before giving the sk_buff to the MAC hardware.h]hEthernet MAC Drivers should call this function in their hard_xmit() function immediately before giving the sk_buff to the MAC hardware.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj:ubjl)}(hSpecifically, one should make absolutely sure that this function is called before TX completion of this packet can trigger. Otherwise the packet could potentially already be freed.h]hSpecifically, one should make absolutely sure that this function is called before TX completion of this packet can trigger. Otherwise the packet could potentially already be freed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"skb_complete_wifi_ack (C function)c.skb_complete_wifi_ackhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hcsum. The latter can be used to supply the checksum of a pseudo header as used by TCP/UDP. It returns the checksum. For protocols that contain complete checksums such as ICMP/TCP/UDP, this function can be used to verify that checksum on received packets. In that case the function should return zero if the checksum is correct. In particular, this function will return zero if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the hardware has already verified the correctness of the checksum.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]j)}(h*``struct sk_buff *skb`` packet to process h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(hpacket to processh]hpacket to process}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hXPThis function calculates the checksum over the entire packet plus the value of skb->csum. The latter can be used to supply the checksum of a pseudo header as used by TCP/UDP. It returns the checksum. For protocols that contain complete checksums such as ICMP/TCP/UDP, this function can be used to verify that checksum on received packets. In that case the function should return zero if the checksum is correct. In particular, this function will return zero if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the hardware has already verified the correctness of the checksum.h](jl)}(hThis function calculates the checksum over the entire packet plus the value of skb->csum. The latter can be used to supply the checksum of a pseudo header as used by TCP/UDP. It returns the checksum.h]hThis function calculates the checksum over the entire packet plus the value of skb->csum. The latter can be used to supply the checksum of a pseudo header as used by TCP/UDP. It returns the checksum.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(hXFor protocols that contain complete checksums such as ICMP/TCP/UDP, this function can be used to verify that checksum on received packets. In that case the function should return zero if the checksum is correct. In particular, this function will return zero if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the hardware has already verified the correctness of the checksum.h]hXFor protocols that contain complete checksums such as ICMP/TCP/UDP, this function can be used to verify that checksum on received packets. In that case the function should return zero if the checksum is correct. In particular, this function will return zero if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the hardware has already verified the correctness of the checksum.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_ext (C struct) c.skb_exthNtauh1hhj" hhhNhNubh)}(hhh](j)}(hskb_exth]j )}(hstruct skb_exth](j)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_hhhjphMubj3)}(hskb_exth]j9)}(hj]h]hskb_ext}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj_hhhjphMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj[hhhjphMubah}(h]jVah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjphMhjXhhubjg)}(hhh]jl)}(hsk_buff extensionsh]hsk_buff extensions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhjphMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Definition**:: struct skb_ext { refcount_t refcnt; u8 offset[SKB_EXT_NUM]; u8 chunks; char data[]; }; **Members** ``refcnt`` 1 on allocation, deallocated on 0 ``offset`` offset to add to **data** to obtain extension address ``chunks`` size currently allocated, stored in SKB_EXT_ALIGN_SHIFT units ``data`` start of extension data, variable sizedh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hfstruct skb_ext { refcount_t refcnt; u8 offset[SKB_EXT_NUM]; u8 chunks; char data[]; };h]hfstruct skb_ext { refcount_t refcnt; u8 offset[SKB_EXT_NUM]; u8 chunks; char data[]; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh](j)}(h-``refcnt`` 1 on allocation, deallocated on 0 h](j)}(h ``refcnt``h]j)}(hjh]hrefcnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubj)}(hhh]jl)}(h!1 on allocation, deallocated on 0h]h!1 on allocation, deallocated on 0}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhj ubj)}(hA``offset`` offset to add to **data** to obtain extension address h](j)}(h ``offset``h]j)}(hjKh]hoffset}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjEubj)}(hhh]jl)}(h5offset to add to **data** to obtain extension addressh](hoffset to add to }(hjdhhhNhNubj)}(h**data**h]hdata}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh to obtain extension address}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj ubj)}(hI``chunks`` size currently allocated, stored in SKB_EXT_ALIGN_SHIFT units h](j)}(h ``chunks``h]j)}(hjh]hchunks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h=size currently allocated, stored in SKB_EXT_ALIGN_SHIFT unitsh]h=size currently allocated, stored in SKB_EXT_ALIGN_SHIFT units}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h0``data`` start of extension data, variable sizedh](j)}(h``data``h]j)}(hjh]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h'start of extension data, variable sizedh]h'start of extension data, variable sized}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubah}(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" hhhNhNubjl)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj" hhubj)}(hhh]j)}(hoffsets/lengths are stored in chunks of 8 bytes, this allows to use 'u8' types while allowing up to 2kb worth of extension data. h](j)}(hubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%skb_checksum_none_assert (C function)c.skb_checksum_none_asserthNtauh1hhj" hhhNhNubh)}(hhh](j)}(h9void skb_checksum_none_assert (const struct sk_buff *skb)h]j )}(h8void skb_checksum_none_assert(const struct sk_buff *skb)h](jM )}(hvoidh]hvoid}(hj{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwhhhjhMubj3)}(hskb_checksum_none_asserth]j9)}(hskb_checksum_none_asserth]hskb_checksum_none_assert}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjwhhhjhMubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_checksum_none_assertasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjwhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjshhhjhMubah}(h]jnah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjphhubjg)}(hhh]jl)}(h(make sure skb ip_summed is CHECKSUM_NONEh]h(make sure skb ip_summed is CHECKSUM_NONE}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjShhubah}(h]h ]h"]h$]h&]uh1jfhjphhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff *skb`` skb to check **Description** fresh skbs have their ip_summed set to CHECKSUM_NONE. Instead of forcing ip_summed to CHECKSUM_NONE, we can use this helper, to document places where we make this assertion.h](jl)}(h**Parameters**h]j)}(hjxh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjrubj)}(hhh]j)}(h+``const struct sk_buff *skb`` skb to check h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjubj)}(hhh]jl)}(h skb to checkh]h skb to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjrubjl)}(hfresh skbs have their ip_summed set to CHECKSUM_NONE. Instead of forcing ip_summed to CHECKSUM_NONE, we can use this helper, to document places where we make this assertion.h]hfresh skbs have their ip_summed set to CHECKSUM_NONE. Instead of forcing ip_summed to CHECKSUM_NONE, we can use this helper, to document places where we make this assertion.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_head_is_locked (C function)c.skb_head_is_lockedhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h3bool skb_head_is_locked (const struct sk_buff *skb)h]j )}(h2bool skb_head_is_locked(const struct sk_buff *skb)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj$hMubj3)}(hskb_head_is_lockedh]j9)}(hskb_head_is_lockedh]hskb_head_is_locked}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj$hMubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j9sbc.skb_head_is_lockedasbuh1hhjOubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj$hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj$hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$hMhj hhubjg)}(hhh]jl)}(h)Determine if the skb->head is locked downh]h)Determine if the skb->head is locked down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj$hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj" hNhNubj)}(hX?**Parameters** ``const struct sk_buff *skb`` skb to check **Description** The head on skbs build around a head frag can be removed if they are not cloned. This function returns true if the skb head is locked down due to either being allocated via kmalloc, or by being a clone with multiple references to the head.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhM hj ubj)}(hhh]j)}(h+``const struct sk_buff *skb`` skb to check h](j)}(h``const struct sk_buff *skb``h]j)}(hj2h]hconst struct sk_buff *skb}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj,ubj)}(hhh]jl)}(h skb to checkh]h skb to check}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hjmh]h Description}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubjl)}(hThe head on skbs build around a head frag can be removed if they are not cloned. This function returns true if the skb head is locked down due to either being allocated via kmalloc, or by being a clone with multiple references to the head.h]hThe head on skbs build around a head frag can be removed if they are not cloned. This function returns true if the skb head is locked down due to either being allocated via kmalloc, or by being a clone with multiple references to the head.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:17: ./include/linux/skbuff.hhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_common (C struct) c.sock_commonhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h sock_commonh]j )}(hstruct sock_commonh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(h sock_commonh]j9)}(hjh]h sock_common}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h/minimal network layer representation of socketsh]h/minimal network layer representation of sockets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKohjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jstructeh"]h$]h&]jjjj jj jjjuh1hhhhj" hNhNubj)}(hX**Definition**:: struct sock_common { union { __addrpair skc_addrpair; struct { __be32 skc_daddr; __be32 skc_rcv_saddr; }; }; union { unsigned int skc_hash; __u16 skc_u16hashes[2]; }; union { __portpair skc_portpair; struct { __be16 skc_dport; __u16 skc_num; }; }; unsigned short skc_family; volatile unsigned char skc_state; unsigned char skc_reuse:4; unsigned char skc_reuseport:1; unsigned char skc_ipv6only:1; unsigned char skc_net_refcnt:1; unsigned char skc_bypass_prot_mem:1; int skc_bound_dev_if; union { struct hlist_node skc_bind_node; struct hlist_node skc_portaddr_node; }; struct proto *skc_prot; possible_net_t skc_net; #if IS_ENABLED(CONFIG_IPV6); struct in6_addr skc_v6_daddr; struct in6_addr skc_v6_rcv_saddr; #endif; atomic64_t skc_cookie; union { unsigned long skc_flags; struct sock *skc_listener; struct inet_timewait_death_row *skc_tw_dr; }; union { struct hlist_node skc_node; struct hlist_nulls_node skc_nulls_node; }; unsigned short skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; unsigned short skc_rx_queue_mapping; #endif; union { int skc_incoming_cpu; u32 skc_rcv_wnd; u32 skc_tw_rcv_nxt; }; refcount_t skc_refcnt; }; **Members** ``{unnamed_union}`` anonymous ``skc_addrpair`` 8-byte-aligned __u64 union of **skc_daddr** & **skc_rcv_saddr** ``{unnamed_struct}`` anonymous ``skc_daddr`` Foreign IPv4 addr ``skc_rcv_saddr`` Bound local IPv4 addr ``{unnamed_union}`` anonymous ``skc_hash`` hash value used with various protocol lookup tables ``skc_u16hashes`` two u16 hash values used by UDP lookup tables ``{unnamed_union}`` anonymous ``skc_portpair`` __u32 union of **skc_dport** & **skc_num** ``{unnamed_struct}`` anonymous ``skc_dport`` placeholder for inet_dport/tw_dport ``skc_num`` placeholder for inet_num/tw_num ``skc_family`` network address family ``skc_state`` Connection state ``skc_reuse`` ``SO_REUSEADDR`` setting ``skc_reuseport`` ``SO_REUSEPORT`` setting ``skc_ipv6only`` socket is IPV6 only ``skc_net_refcnt`` socket is using net ref counting ``skc_bypass_prot_mem`` bypass the per-protocol memory accounting for skb ``skc_bound_dev_if`` bound device index if != 0 ``{unnamed_union}`` anonymous ``skc_bind_node`` bind hash linkage for various protocol lookup tables ``skc_portaddr_node`` second hash linkage for UDP ``skc_prot`` protocol handlers inside a network family ``skc_net`` reference to the network namespace of this socket ``skc_v6_daddr`` IPV6 destination address ``skc_v6_rcv_saddr`` IPV6 source address ``skc_cookie`` socket's cookie value ``{unnamed_union}`` anonymous ``skc_flags`` place holder for sk_flags ``SO_LINGER`` (l_onoff), ``SO_BROADCAST``, ``SO_KEEPALIVE``, ``SO_OOBINLINE`` settings, ``SO_TIMESTAMPING`` settings ``skc_listener`` connection request listener socket (aka rsk_listener) [union with **skc_flags**] ``skc_tw_dr`` (aka tw_dr) ptr to :c:type:`struct inet_timewait_death_row ` [union with **skc_flags**] ``{unnamed_union}`` anonymous ``skc_node`` main hash linkage for various protocol lookup tables ``skc_nulls_node`` main hash linkage for TCP ``skc_tx_queue_mapping`` tx queue number for this connection ``skc_rx_queue_mapping`` rx queue number for this connection ``{unnamed_union}`` anonymous ``skc_incoming_cpu`` record/match cpu processing incoming packets ``skc_rcv_wnd`` (aka rsk_rcv_wnd) TCP receive window size (possibly scaled) [union with **skc_incoming_cpu**] ``skc_tw_rcv_nxt`` (aka tw_rcv_nxt) TCP window next expected seq number [union with **skc_incoming_cpu**] ``skc_refcnt`` reference counth](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKshjubj)}(hX0struct sock_common { union { __addrpair skc_addrpair; struct { __be32 skc_daddr; __be32 skc_rcv_saddr; }; }; union { unsigned int skc_hash; __u16 skc_u16hashes[2]; }; union { __portpair skc_portpair; struct { __be16 skc_dport; __u16 skc_num; }; }; unsigned short skc_family; volatile unsigned char skc_state; unsigned char skc_reuse:4; unsigned char skc_reuseport:1; unsigned char skc_ipv6only:1; unsigned char skc_net_refcnt:1; unsigned char skc_bypass_prot_mem:1; int skc_bound_dev_if; union { struct hlist_node skc_bind_node; struct hlist_node skc_portaddr_node; }; struct proto *skc_prot; possible_net_t skc_net; #if IS_ENABLED(CONFIG_IPV6); struct in6_addr skc_v6_daddr; struct in6_addr skc_v6_rcv_saddr; #endif; atomic64_t skc_cookie; union { unsigned long skc_flags; struct sock *skc_listener; struct inet_timewait_death_row *skc_tw_dr; }; union { struct hlist_node skc_node; struct hlist_nulls_node skc_nulls_node; }; unsigned short skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; unsigned short skc_rx_queue_mapping; #endif; union { int skc_incoming_cpu; u32 skc_rcv_wnd; u32 skc_tw_rcv_nxt; }; refcount_t skc_refcnt; };h]hX0struct sock_common { union { __addrpair skc_addrpair; struct { __be32 skc_daddr; __be32 skc_rcv_saddr; }; }; union { unsigned int skc_hash; __u16 skc_u16hashes[2]; }; union { __portpair skc_portpair; struct { __be16 skc_dport; __u16 skc_num; }; }; unsigned short skc_family; volatile unsigned char skc_state; unsigned char skc_reuse:4; unsigned char skc_reuseport:1; unsigned char skc_ipv6only:1; unsigned char skc_net_refcnt:1; unsigned char skc_bypass_prot_mem:1; int skc_bound_dev_if; union { struct hlist_node skc_bind_node; struct hlist_node skc_portaddr_node; }; struct proto *skc_prot; possible_net_t skc_net; #if IS_ENABLED(CONFIG_IPV6); struct in6_addr skc_v6_daddr; struct in6_addr skc_v6_rcv_saddr; #endif; atomic64_t skc_cookie; union { unsigned long skc_flags; struct sock *skc_listener; struct inet_timewait_death_row *skc_tw_dr; }; union { struct hlist_node skc_node; struct hlist_nulls_node skc_nulls_node; }; unsigned short skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; unsigned short skc_rx_queue_mapping; #endif; union { int skc_incoming_cpu; u32 skc_rcv_wnd; u32 skc_tw_rcv_nxt; }; refcount_t skc_refcnt; };}hj1sbah}(h]h ]h"]h$]h&]jPjQuh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKuhjubjl)}(h **Members**h]j)}(hjBh]hMembers}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh](j)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjah]h{unnamed_union}}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj[ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhKhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhKhjXubj)}(hQ``skc_addrpair`` 8-byte-aligned __u64 union of **skc_daddr** & **skc_rcv_saddr** h](j)}(h``skc_addrpair``h]j)}(hjh]h skc_addrpair}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKshjubj)}(hhh]jl)}(h?8-byte-aligned __u64 union of **skc_daddr** & **skc_rcv_saddr**h](h8-byte-aligned __u64 union of }(hjhhhNhNubj)}(h **skc_daddr**h]h skc_daddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh & }(hjhhhNhNubj)}(h**skc_rcv_saddr**h]h skc_rcv_saddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhKshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKshjXubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjXubj)}(h ``skc_daddr`` Foreign IPv4 addr h](j)}(h ``skc_daddr``h]j)}(hj,h]h skc_daddr}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKqhj&ubj)}(hhh]jl)}(hForeign IPv4 addrh]hForeign IPv4 addr}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhKqhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhKqhjXubj)}(h(``skc_rcv_saddr`` Bound local IPv4 addr h](j)}(h``skc_rcv_saddr``h]j)}(hjeh]h skc_rcv_saddr}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKrhj_ubj)}(hhh]jl)}(hBound local IPv4 addrh]hBound local IPv4 addr}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhKrhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhKrhjXubj)}(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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjXubj)}(hA``skc_hash`` hash value used with various protocol lookup tables h](j)}(h ``skc_hash``h]j)}(hjh]hskc_hash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKthjubj)}(hhh]jl)}(h3hash value used with various protocol lookup tablesh]h3hash value used with various protocol lookup tables}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKthjXubj)}(h@``skc_u16hashes`` two u16 hash values used by UDP lookup tables h](j)}(h``skc_u16hashes``h]j)}(hjh]h skc_u16hashes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKuhj ubj)}(hhh]jl)}(h-two u16 hash values used by UDP lookup tablesh]h-two u16 hash values used by UDP lookup tables}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hKuhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hKuhjXubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjIh]h{unnamed_union}}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjCubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hKhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hKhjXubj)}(h<``skc_portpair`` __u32 union of **skc_dport** & **skc_num** h](j)}(h``skc_portpair``h]j)}(hjh]h skc_portpair}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKxhj|ubj)}(hhh]jl)}(h*__u32 union of **skc_dport** & **skc_num**h](h__u32 union of }(hjhhhNhNubj)}(h **skc_dport**h]h skc_dport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh & }(hjhhhNhNubj)}(h **skc_num**h]hskc_num}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhKxhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhKxhjXubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hjh]h{unnamed_struct}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjXubj)}(h2``skc_dport`` placeholder for inet_dport/tw_dport h](j)}(h ``skc_dport``h]j)}(hjh]h skc_dport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKvhjubj)}(hhh]jl)}(h#placeholder for inet_dport/tw_dporth]h#placeholder for inet_dport/tw_dport}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hKvhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hKvhjXubj)}(h,``skc_num`` placeholder for inet_num/tw_num h](j)}(h ``skc_num``h]j)}(hjMh]hskc_num}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKwhjGubj)}(hhh]jl)}(hplaceholder for inet_num/tw_numh]hplaceholder for inet_num/tw_num}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhKwhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhKwhjXubj)}(h&``skc_family`` network address family h](j)}(h``skc_family``h]j)}(hjh]h skc_family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKyhjubj)}(hhh]jl)}(hnetwork address familyh]hnetwork address family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKyhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKyhjXubj)}(h``skc_state`` Connection state h](j)}(h ``skc_state``h]j)}(hjh]h skc_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKzhjubj)}(hhh]jl)}(hConnection stateh]hConnection state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKzhjXubj)}(h'``skc_reuse`` ``SO_REUSEADDR`` setting h](j)}(h ``skc_reuse``h]j)}(hjh]h skc_reuse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhK{hjubj)}(hhh]jl)}(h``SO_REUSEADDR`` settingh](j)}(h``SO_REUSEADDR``h]h SO_REUSEADDR}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh setting}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj hK{hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hK{hjXubj)}(h+``skc_reuseport`` ``SO_REUSEPORT`` setting h](j)}(h``skc_reuseport``h]j)}(hj? h]h skc_reuseport}(hjA hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj= ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhK|hj9 ubj)}(hhh]jl)}(h``SO_REUSEPORT`` settingh](j)}(h``SO_REUSEPORT``h]h SO_REUSEPORT}(hj\ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX ubh setting}(hjX hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjT hK|hjU ubah}(h]h ]h"]h$]h&]uh1jhj9 ubeh}(h]h ]h"]h$]h&]uh1jhjT hK|hjXubj)}(h%``skc_ipv6only`` socket is IPV6 only h](j)}(h``skc_ipv6only``h]j)}(hj h]h skc_ipv6only}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhK}hj ubj)}(hhh]jl)}(hsocket is IPV6 onlyh]hsocket is IPV6 only}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hK}hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hK}hjXubj)}(h4``skc_net_refcnt`` socket is using net ref counting h](j)}(h``skc_net_refcnt``h]j)}(hj h]hskc_net_refcnt}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhK~hj ubj)}(hhh]jl)}(h socket is using net ref countingh]h socket is using net ref counting}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hK~hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hK~hjXubj)}(hJ``skc_bypass_prot_mem`` bypass the per-protocol memory accounting for skb h](j)}(h``skc_bypass_prot_mem``h]j)}(hj h]hskc_bypass_prot_mem}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(h1bypass the per-protocol memory accounting for skbh]h1bypass the per-protocol memory accounting for skb}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjXubj)}(h0``skc_bound_dev_if`` bound device index if != 0 h](j)}(h``skc_bound_dev_if``h]j)}(hj1 h]hskc_bound_dev_if}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj+ ubj)}(hhh]jl)}(hbound device index if != 0h]hbound device index if != 0}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjF hKhjG ubah}(h]h ]h"]h$]h&]uh1jhj+ ubeh}(h]h ]h"]h$]h&]uh1jhjF hKhjXubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjj h]h{unnamed_union}}(hjl hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjd ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjd ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjXubj)}(hG``skc_bind_node`` bind hash linkage for various protocol lookup tables h](j)}(h``skc_bind_node``h]j)}(hj h]h skc_bind_node}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(h4bind hash linkage for various protocol lookup tablesh]h4bind hash linkage for various protocol lookup tables}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjXubj)}(h2``skc_portaddr_node`` second hash linkage for UDP h](j)}(h``skc_portaddr_node``h]j)}(hj h]hskc_portaddr_node}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(hsecond hash linkage for UDPh]hsecond hash linkage for UDP}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjXubj)}(h7``skc_prot`` protocol handlers inside a network family h](j)}(h ``skc_prot``h]j)}(hj h]hskc_prot}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(h)protocol handlers inside a network familyh]h)protocol handlers inside a network family}(hj. hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj* hKhj+ ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj* hKhjXubj)}(h>``skc_net`` reference to the network namespace of this socket h](j)}(h ``skc_net``h]j)}(hjN h]hskc_net}(hjP hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjH ubj)}(hhh]jl)}(h1reference to the network namespace of this socketh]h1reference to the network namespace of this socket}(hjg hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjc hKhjd ubah}(h]h ]h"]h$]h&]uh1jhjH ubeh}(h]h ]h"]h$]h&]uh1jhjc hKhjXubj)}(h*``skc_v6_daddr`` IPV6 destination address h](j)}(h``skc_v6_daddr``h]j)}(hj h]h skc_v6_daddr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(hIPV6 destination addressh]hIPV6 destination address}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjXubj)}(h)``skc_v6_rcv_saddr`` IPV6 source address h](j)}(h``skc_v6_rcv_saddr``h]j)}(hj h]hskc_v6_rcv_saddr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(hIPV6 source addressh]hIPV6 source address}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjXubj)}(h%``skc_cookie`` socket's cookie value h](j)}(h``skc_cookie``h]j)}(hj h]h skc_cookie}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(hsocket's cookie valueh]hsocket’s cookie value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjXubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj2 h]h{unnamed_union}}(hj4 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0 ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj, ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjK hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjG hKhjH ubah}(h]h ]h"]h$]h&]uh1jhj, ubeh}(h]h ]h"]h$]h&]uh1jhjG hKhjXubj)}(h``skc_flags`` place holder for sk_flags ``SO_LINGER`` (l_onoff), ``SO_BROADCAST``, ``SO_KEEPALIVE``, ``SO_OOBINLINE`` settings, ``SO_TIMESTAMPING`` settings h](j)}(h ``skc_flags``h]j)}(hjk h]h skc_flags}(hjm hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhje ubj)}(hhh]jl)}(hplace holder for sk_flags ``SO_LINGER`` (l_onoff), ``SO_BROADCAST``, ``SO_KEEPALIVE``, ``SO_OOBINLINE`` settings, ``SO_TIMESTAMPING`` settingsh](hplace holder for sk_flags }(hj hhhNhNubj)}(h ``SO_LINGER``h]h SO_LINGER}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh (l_onoff), }(hj hhhNhNubj)}(h``SO_BROADCAST``h]h SO_BROADCAST}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, }(hj hhhNhNubj)}(h``SO_KEEPALIVE``h]h SO_KEEPALIVE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, }(hj hhhNhNubj)}(h``SO_OOBINLINE``h]h SO_OOBINLINE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh settings, }(hj hhhNhNubj)}(h``SO_TIMESTAMPING``h]hSO_TIMESTAMPING}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh settings}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubah}(h]h ]h"]h$]h&]uh1jhje ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjXubj)}(hb``skc_listener`` connection request listener socket (aka rsk_listener) [union with **skc_flags**] h](j)}(h``skc_listener``h]j)}(hj h]h skc_listener}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(hPconnection request listener socket (aka rsk_listener) [union with **skc_flags**]h](hBconnection request listener socket (aka rsk_listener) [union with }(hj hhhNhNubj)}(h **skc_flags**h]h skc_flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh]}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjXubj)}(h``skc_tw_dr`` (aka tw_dr) ptr to :c:type:`struct inet_timewait_death_row ` [union with **skc_flags**] h](j)}(h ``skc_tw_dr``h]j)}(hjK h]h skc_tw_dr}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjE ubj)}(hhh]jl)}(hp(aka tw_dr) ptr to :c:type:`struct inet_timewait_death_row ` [union with **skc_flags**]h](h(aka tw_dr) ptr to }(hjd hhhNhNubh)}(hB:c:type:`struct inet_timewait_death_row `h]j)}(hjn h]hstruct inet_timewait_death_row}(hjp hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjl ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjinet_timewait_death_rowuh1hhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjd ubh [union with }(hjd hhhNhNubj)}(h **skc_flags**h]h skc_flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd ubh]}(hjd hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj hKhja ubah}(h]h ]h"]h$]h&]uh1jhjE ubeh}(h]h ]h"]h$]h&]uh1jhj` hKhjXubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj h]h{unnamed_union}}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhjXubj)}(hB``skc_node`` main hash linkage for various protocol lookup tables h](j)}(h ``skc_node``h]j)}(hj h]hskc_node}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(h4main hash linkage for various protocol lookup tablesh]h4main hash linkage for various protocol lookup tables}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjXubj)}(h-``skc_nulls_node`` main hash linkage for TCP h](j)}(h``skc_nulls_node``h]j)}(hj,h]hskc_nulls_node}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj&ubj)}(hhh]jl)}(hmain hash linkage for TCPh]hmain hash linkage for TCP}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhKhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhKhjXubj)}(h=``skc_tx_queue_mapping`` tx queue number for this connection h](j)}(h``skc_tx_queue_mapping``h]j)}(hjeh]hskc_tx_queue_mapping}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj_ubj)}(hhh]jl)}(h#tx queue number for this connectionh]h#tx queue number for this connection}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhKhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhKhjXubj)}(h=``skc_rx_queue_mapping`` rx queue number for this connection h](j)}(h``skc_rx_queue_mapping``h]j)}(hjh]hskc_rx_queue_mapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h#rx queue number for this connectionh]h#rx queue number for this connection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjXubj)}(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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjXubj)}(hB``skc_incoming_cpu`` record/match cpu processing incoming packets h](j)}(h``skc_incoming_cpu``h]j)}(hjh]hskc_incoming_cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj ubj)}(hhh]jl)}(h,record/match cpu processing incoming packetsh]h,record/match cpu processing incoming packets}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hKhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hKhjXubj)}(hn``skc_rcv_wnd`` (aka rsk_rcv_wnd) TCP receive window size (possibly scaled) [union with **skc_incoming_cpu**] h](j)}(h``skc_rcv_wnd``h]j)}(hjIh]h skc_rcv_wnd}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjCubj)}(hhh]jl)}(h](aka rsk_rcv_wnd) TCP receive window size (possibly scaled) [union with **skc_incoming_cpu**]h](hH(aka rsk_rcv_wnd) TCP receive window size (possibly scaled) [union with }(hjbhhhNhNubj)}(h**skc_incoming_cpu**h]hskc_incoming_cpu}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh]}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hKhjXubj)}(hj``skc_tw_rcv_nxt`` (aka tw_rcv_nxt) TCP window next expected seq number [union with **skc_incoming_cpu**] h](j)}(h``skc_tw_rcv_nxt``h]j)}(hjh]hskc_tw_rcv_nxt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(hV(aka tw_rcv_nxt) TCP window next expected seq number [union with **skc_incoming_cpu**]h](hA(aka tw_rcv_nxt) TCP window next expected seq number [union with }(hjhhhNhNubj)}(h**skc_incoming_cpu**h]hskc_incoming_cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjXubj)}(h``skc_refcnt`` reference counth](j)}(h``skc_refcnt``h]j)}(hjh]h skc_refcnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(hreference counth]hreference count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjXubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubjl)}(h**Description**h]j)}(hj$h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj" hhubj)}(hzThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock. h]jl)}(hvThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock.h]hvThis is the minimal network layer representation of sockets, the header for struct sock and struct inet_timewait_sock.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj:ubah}(h]h ]h"]h$]h&]uh1jhjLhKhj" hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock (C struct)c.sockhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hsockh]j )}(h struct sockh](j)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhhjyhKubj3)}(hsockh]j9)}(hjfh]hsock}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhhjyhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdhhhjyhKubah}(h]j_ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyhKhjahhubjg)}(hhh]jl)}(h'network layer representation of socketsh]h'network layer representation of sockets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjahhhjyhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX34**Definition**:: struct sock { struct sock_common __sk_common; #define sk_node __sk_common.skc_node; #define sk_nulls_node __sk_common.skc_nulls_node; #define sk_refcnt __sk_common.skc_refcnt; #define sk_tx_queue_mapping __sk_common.skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; #define sk_rx_queue_mapping __sk_common.skc_rx_queue_mapping; #endif; #define sk_dontcopy_begin __sk_common.skc_dontcopy_begin; #define sk_dontcopy_end __sk_common.skc_dontcopy_end; #define sk_hash __sk_common.skc_hash; #define sk_portpair __sk_common.skc_portpair; #define sk_num __sk_common.skc_num; #define sk_dport __sk_common.skc_dport; #define sk_addrpair __sk_common.skc_addrpair; #define sk_daddr __sk_common.skc_daddr; #define sk_rcv_saddr __sk_common.skc_rcv_saddr; #define sk_family __sk_common.skc_family; #define sk_state __sk_common.skc_state; #define sk_reuse __sk_common.skc_reuse; #define sk_reuseport __sk_common.skc_reuseport; #define sk_ipv6only __sk_common.skc_ipv6only; #define sk_net_refcnt __sk_common.skc_net_refcnt; #define sk_bypass_prot_mem __sk_common.skc_bypass_prot_mem; #define sk_bound_dev_if __sk_common.skc_bound_dev_if; #define sk_bind_node __sk_common.skc_bind_node; #define sk_prot __sk_common.skc_prot; #define sk_net __sk_common.skc_net; #define sk_v6_daddr __sk_common.skc_v6_daddr; #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr; #define sk_cookie __sk_common.skc_cookie; #define sk_incoming_cpu __sk_common.skc_incoming_cpu; #define sk_flags __sk_common.skc_flags; #define sk_rxhash __sk_common.skc_rxhash; ; atomic_t sk_drops; __s32 sk_peek_off; struct sk_buff_head sk_error_queue; struct sk_buff_head sk_receive_queue; struct { atomic_t rmem_alloc; int len; struct sk_buff *head; struct sk_buff *tail; } sk_backlog; #define sk_rmem_alloc sk_backlog.rmem_alloc; ; ; struct dst_entry *sk_rx_dst; int sk_rx_dst_ifindex; u32 sk_rx_dst_cookie; #ifdef CONFIG_NET_RX_BUSY_POLL; unsigned int sk_ll_usec; unsigned int sk_napi_id; u16 sk_busy_poll_budget; u8 sk_prefer_busy_poll; #endif; u8 sk_userlocks; int sk_rcvbuf; struct sk_filter *sk_filter; union { struct socket_wq *sk_wq; }; void (*sk_data_ready)(struct sock *sk); long sk_rcvtimeo; int sk_rcvlowat; ; ; int sk_err; struct socket *sk_socket; #ifdef CONFIG_MEMCG; struct mem_cgroup *sk_memcg; #endif; #ifdef CONFIG_XFRM; struct xfrm_policy *sk_policy[2]; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_assoc *psp_assoc; #endif; ; ; socket_lock_t sk_lock; u32 sk_reserved_mem; int sk_forward_alloc; u32 sk_tsflags; ; ; int sk_write_pending; atomic_t sk_omem_alloc; int sk_err_soft; int sk_wmem_queued; refcount_t sk_wmem_alloc; unsigned long sk_tsq_flags; union { struct sk_buff *sk_send_head; struct rb_root tcp_rtx_queue; }; struct sk_buff_head sk_write_queue; struct page_frag sk_frag; union { struct timer_list sk_timer; struct timer_list tcp_retransmit_timer; struct timer_list mptcp_retransmit_timer; }; unsigned long sk_pacing_rate; atomic_t sk_zckey; atomic_t sk_tskey; unsigned long sk_tx_queue_mapping_jiffies; ; ; u32 sk_dst_pending_confirm; u32 sk_pacing_status; unsigned long sk_max_pacing_rate; long sk_sndtimeo; u32 sk_priority; u32 sk_mark; kuid_t sk_uid; u16 sk_protocol; u16 sk_type; struct dst_entry *sk_dst_cache; netdev_features_t sk_route_caps; #ifdef CONFIG_SOCK_VALIDATE_XMIT; struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, struct net_device *dev, struct sk_buff *skb); #endif; u16 sk_gso_type; u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; u32 sk_txhash; int sk_sndbuf; u8 sk_pacing_shift; bool sk_use_task_frag; ; u8 sk_gso_disabled : 1, sk_kern_sock : 1, sk_no_check_tx : 1, sk_no_check_rx : 1; u8 sk_shutdown; unsigned long sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; u32 sk_ack_backlog; u32 sk_max_ack_backlog; u64 sk_ino; spinlock_t sk_peer_lock; int sk_bind_phc; struct pid *sk_peer_pid; const struct cred *sk_peer_cred; ktime_t sk_stamp; #if BITS_PER_LONG==32; seqlock_t sk_stamp_seq; #endif; int sk_disconnects; union { u8 sk_txrehash; u8 sk_scm_recv_flags; struct { u8 sk_scm_credentials : 1, sk_scm_security : 1, sk_scm_pidfd : 1, sk_scm_rights : 1, sk_scm_unused : 4; }; }; u8 sk_clockid; u8 sk_txtime_deadline_mode : 1, sk_txtime_report_errors : 1, sk_txtime_unused : 6; #define SK_BPF_CB_FLAG_TEST(SK, FLAG) ((SK)->sk_bpf_cb_flags & (FLAG)); u8 sk_bpf_cb_flags; void *sk_user_data; #ifdef CONFIG_SECURITY; void *sk_security; #endif; struct sock_cgroup_data sk_cgrp_data; void (*sk_state_change)(struct sock *sk); void (*sk_write_space)(struct sock *sk); void (*sk_error_report)(struct sock *sk); int (*sk_backlog_rcv)(struct sock *sk, struct sk_buff *skb); void (*sk_destruct)(struct sock *sk); struct sock_reuseport *sk_reuseport_cb; #ifdef CONFIG_BPF_SYSCALL; struct bpf_local_storage *sk_bpf_storage; #endif; struct numa_drop_counters *sk_drop_counters; union { struct rcu_head sk_rcu; freeptr_t sk_freeptr; }; netns_tracker ns_tracker; struct xarray sk_user_frags; #if IS_ENABLED(CONFIG_PROVE_LOCKING) && IS_ENABLED(CONFIG_MODULES); struct module *sk_owner; #endif; }; **Members** ``__sk_common`` shared layout with inet_timewait_sock ``sk_drops`` raw/udp drops counter ``sk_peek_off`` current peek_offset value ``sk_error_queue`` rarely used ``sk_receive_queue`` incoming packets ``sk_backlog`` always used with the per-socket spinlock held ``sk_rx_dst`` receive input route used by early demux ``sk_rx_dst_ifindex`` ifindex for **sk_rx_dst** ``sk_rx_dst_cookie`` cookie for **sk_rx_dst** ``sk_ll_usec`` usecs to busypoll when there is no data ``sk_napi_id`` id of the last napi context to receive data for sk ``sk_busy_poll_budget`` napi processing budget when busypolling ``sk_prefer_busy_poll`` prefer busypolling over softirq processing ``sk_userlocks`` ``SO_SNDBUF`` and ``SO_RCVBUF`` settings ``sk_rcvbuf`` size of receive buffer in bytes ``sk_filter`` socket filtering instructions ``{unnamed_union}`` anonymous ``sk_wq`` sock wait queue and async head ``sk_data_ready`` callback to indicate there is data to be processed ``sk_rcvtimeo`` ``SO_RCVTIMEO`` setting ``sk_rcvlowat`` ``SO_RCVLOWAT`` setting ``sk_err`` last error ``sk_socket`` Identd and reporting IO signals ``sk_memcg`` this socket's memory cgroup association ``sk_policy`` flow policy ``psp_assoc`` PSP association, if socket is PSP-secured ``sk_lock`` synchronizer ``sk_reserved_mem`` space reserved and non-reclaimable for the socket ``sk_forward_alloc`` space allocated forward ``sk_tsflags`` SO_TIMESTAMPING flags ``sk_write_pending`` a write to stream socket waits to start ``sk_omem_alloc`` "o" is "option" or "other" ``sk_err_soft`` errors that don't cause failure but are the cause of a persistent failure not just 'timed out' ``sk_wmem_queued`` persistent queue size ``sk_wmem_alloc`` transmit queue bytes committed ``sk_tsq_flags`` TCP Small Queues flags ``{unnamed_union}`` anonymous ``sk_send_head`` front of stuff to transmit ``tcp_rtx_queue`` TCP re-transmit queue [union with **sk_send_head**] ``sk_write_queue`` Packet sending queue ``sk_frag`` cached page frag ``{unnamed_union}`` anonymous ``sk_timer`` sock cleanup timer ``tcp_retransmit_timer`` tcp retransmit timer ``mptcp_retransmit_timer`` mptcp retransmit timer ``sk_pacing_rate`` Pacing rate (if supported by transport/packet scheduler) ``sk_zckey`` counter to order MSG_ZEROCOPY notifications ``sk_tskey`` counter to disambiguate concurrent tstamp requests ``sk_tx_queue_mapping_jiffies`` time in jiffies of last **sk_tx_queue_mapping** refresh. ``sk_dst_pending_confirm`` need to confirm neighbour ``sk_pacing_status`` Pacing status (requested, handled by sch_fq) ``sk_max_pacing_rate`` Maximum pacing rate (``SO_MAX_PACING_RATE``) ``sk_sndtimeo`` ``SO_SNDTIMEO`` setting ``sk_priority`` ``SO_PRIORITY`` setting ``sk_mark`` generic packet mark ``sk_uid`` user id of owner ``sk_protocol`` which protocol this socket belongs in this network family ``sk_type`` socket type (``SOCK_STREAM``, etc) ``sk_dst_cache`` destination cache ``sk_route_caps`` route capabilities (e.g. ``NETIF_F_TSO``) ``sk_validate_xmit_skb`` ptr to an optional validate function ``sk_gso_type`` GSO type (e.g. ``SKB_GSO_TCPV4``) ``sk_gso_max_segs`` Maximum number of GSO segments ``sk_gso_max_size`` Maximum GSO segment size to build ``sk_allocation`` allocation mode ``sk_txhash`` computed flow hash for use on transmit ``sk_sndbuf`` size of send buffer in bytes ``sk_pacing_shift`` scaling factor for TCP Small Queues ``sk_use_task_frag`` allow sk_page_frag() to use current->task_frag. Sockets that can be used under memory reclaim should set this to false. ``sk_gso_disabled`` if set, NETIF_F_GSO_MASK is forbidden. ``sk_kern_sock`` True if sock is using kernel lock classes ``sk_no_check_tx`` ``SO_NO_CHECK`` setting, set checksum in TX packets ``sk_no_check_rx`` allow zero checksum in RX packets ``sk_shutdown`` mask of ``SEND_SHUTDOWN`` and/or ``RCV_SHUTDOWN`` ``sk_lingertime`` ``SO_LINGER`` l_linger setting ``sk_prot_creator`` sk_prot of original sock creator (see ipv6_setsockopt, IPV6_ADDRFORM for instance) ``sk_callback_lock`` used with the callbacks in the end of this struct ``sk_ack_backlog`` current listen backlog ``sk_max_ack_backlog`` listen backlog set in listen() ``sk_ino`` inode number (zero if orphaned) ``sk_peer_lock`` lock protecting **sk_peer_pid** and **sk_peer_cred** ``sk_bind_phc`` SO_TIMESTAMPING bind PHC index of PTP virtual clock for timestamping ``sk_peer_pid`` :c:type:`struct pid ` for this socket's peer ``sk_peer_cred`` ``SO_PEERCRED`` setting ``sk_stamp`` time stamp of last packet received ``sk_stamp_seq`` lock for accessing sk_stamp on 32 bit architectures only ``sk_disconnects`` number of disconnect operations performed on this sock ``{unnamed_union}`` anonymous ``sk_txrehash`` enable TX hash rethink ``sk_scm_recv_flags`` all flags used by scm_recv() ``{unnamed_struct}`` anonymous ``sk_scm_credentials`` flagged by SO_PASSCRED to recv SCM_CREDENTIALS ``sk_scm_security`` flagged by SO_PASSSEC to recv SCM_SECURITY ``sk_scm_pidfd`` flagged by SO_PASSPIDFD to recv SCM_PIDFD ``sk_scm_rights`` flagged by SO_PASSRIGHTS to recv SCM_RIGHTS ``sk_scm_unused`` unused flags for scm_recv() ``sk_clockid`` clockid used by time-based scheduling (SO_TXTIME) ``sk_txtime_deadline_mode`` set deadline mode for SO_TXTIME ``sk_txtime_report_errors`` set report errors mode for SO_TXTIME ``sk_txtime_unused`` unused txtime flags ``sk_bpf_cb_flags`` used in bpf_setsockopt() ``sk_user_data`` RPC layer private data. Write-protected by **sk_callback_lock**. ``sk_security`` used by security modules ``sk_cgrp_data`` cgroup data for this cgroup ``sk_state_change`` callback to indicate change in the state of the sock ``sk_write_space`` callback to indicate there is bf sending space available ``sk_error_report`` callback to indicate errors (e.g. ``MSG_ERRQUEUE``) ``sk_backlog_rcv`` callback to process the backlog ``sk_destruct`` called at sock freeing time, i.e. when all refcnt == 0 ``sk_reuseport_cb`` reuseport group container ``sk_bpf_storage`` ptr to cache and control for bpf_sk_storage ``sk_drop_counters`` optional pointer to numa_drop_counters ``{unnamed_union}`` anonymous ``sk_rcu`` used during RCU grace period ``sk_freeptr`` used for SLAB_TYPESAFE_BY_RCU managed sockets ``ns_tracker`` tracker for netns reference ``sk_user_frags`` xarray of pages the user is holding a reference on. ``sk_owner`` reference to the real owner of the socket that calls sock_lock_init_class_and_name().h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hXFstruct sock { struct sock_common __sk_common; #define sk_node __sk_common.skc_node; #define sk_nulls_node __sk_common.skc_nulls_node; #define sk_refcnt __sk_common.skc_refcnt; #define sk_tx_queue_mapping __sk_common.skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; #define sk_rx_queue_mapping __sk_common.skc_rx_queue_mapping; #endif; #define sk_dontcopy_begin __sk_common.skc_dontcopy_begin; #define sk_dontcopy_end __sk_common.skc_dontcopy_end; #define sk_hash __sk_common.skc_hash; #define sk_portpair __sk_common.skc_portpair; #define sk_num __sk_common.skc_num; #define sk_dport __sk_common.skc_dport; #define sk_addrpair __sk_common.skc_addrpair; #define sk_daddr __sk_common.skc_daddr; #define sk_rcv_saddr __sk_common.skc_rcv_saddr; #define sk_family __sk_common.skc_family; #define sk_state __sk_common.skc_state; #define sk_reuse __sk_common.skc_reuse; #define sk_reuseport __sk_common.skc_reuseport; #define sk_ipv6only __sk_common.skc_ipv6only; #define sk_net_refcnt __sk_common.skc_net_refcnt; #define sk_bypass_prot_mem __sk_common.skc_bypass_prot_mem; #define sk_bound_dev_if __sk_common.skc_bound_dev_if; #define sk_bind_node __sk_common.skc_bind_node; #define sk_prot __sk_common.skc_prot; #define sk_net __sk_common.skc_net; #define sk_v6_daddr __sk_common.skc_v6_daddr; #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr; #define sk_cookie __sk_common.skc_cookie; #define sk_incoming_cpu __sk_common.skc_incoming_cpu; #define sk_flags __sk_common.skc_flags; #define sk_rxhash __sk_common.skc_rxhash; ; atomic_t sk_drops; __s32 sk_peek_off; struct sk_buff_head sk_error_queue; struct sk_buff_head sk_receive_queue; struct { atomic_t rmem_alloc; int len; struct sk_buff *head; struct sk_buff *tail; } sk_backlog; #define sk_rmem_alloc sk_backlog.rmem_alloc; ; ; struct dst_entry *sk_rx_dst; int sk_rx_dst_ifindex; u32 sk_rx_dst_cookie; #ifdef CONFIG_NET_RX_BUSY_POLL; unsigned int sk_ll_usec; unsigned int sk_napi_id; u16 sk_busy_poll_budget; u8 sk_prefer_busy_poll; #endif; u8 sk_userlocks; int sk_rcvbuf; struct sk_filter *sk_filter; union { struct socket_wq *sk_wq; }; void (*sk_data_ready)(struct sock *sk); long sk_rcvtimeo; int sk_rcvlowat; ; ; int sk_err; struct socket *sk_socket; #ifdef CONFIG_MEMCG; struct mem_cgroup *sk_memcg; #endif; #ifdef CONFIG_XFRM; struct xfrm_policy *sk_policy[2]; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_assoc *psp_assoc; #endif; ; ; socket_lock_t sk_lock; u32 sk_reserved_mem; int sk_forward_alloc; u32 sk_tsflags; ; ; int sk_write_pending; atomic_t sk_omem_alloc; int sk_err_soft; int sk_wmem_queued; refcount_t sk_wmem_alloc; unsigned long sk_tsq_flags; union { struct sk_buff *sk_send_head; struct rb_root tcp_rtx_queue; }; struct sk_buff_head sk_write_queue; struct page_frag sk_frag; union { struct timer_list sk_timer; struct timer_list tcp_retransmit_timer; struct timer_list mptcp_retransmit_timer; }; unsigned long sk_pacing_rate; atomic_t sk_zckey; atomic_t sk_tskey; unsigned long sk_tx_queue_mapping_jiffies; ; ; u32 sk_dst_pending_confirm; u32 sk_pacing_status; unsigned long sk_max_pacing_rate; long sk_sndtimeo; u32 sk_priority; u32 sk_mark; kuid_t sk_uid; u16 sk_protocol; u16 sk_type; struct dst_entry *sk_dst_cache; netdev_features_t sk_route_caps; #ifdef CONFIG_SOCK_VALIDATE_XMIT; struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, struct net_device *dev, struct sk_buff *skb); #endif; u16 sk_gso_type; u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; u32 sk_txhash; int sk_sndbuf; u8 sk_pacing_shift; bool sk_use_task_frag; ; u8 sk_gso_disabled : 1, sk_kern_sock : 1, sk_no_check_tx : 1, sk_no_check_rx : 1; u8 sk_shutdown; unsigned long sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; u32 sk_ack_backlog; u32 sk_max_ack_backlog; u64 sk_ino; spinlock_t sk_peer_lock; int sk_bind_phc; struct pid *sk_peer_pid; const struct cred *sk_peer_cred; ktime_t sk_stamp; #if BITS_PER_LONG==32; seqlock_t sk_stamp_seq; #endif; int sk_disconnects; union { u8 sk_txrehash; u8 sk_scm_recv_flags; struct { u8 sk_scm_credentials : 1, sk_scm_security : 1, sk_scm_pidfd : 1, sk_scm_rights : 1, sk_scm_unused : 4; }; }; u8 sk_clockid; u8 sk_txtime_deadline_mode : 1, sk_txtime_report_errors : 1, sk_txtime_unused : 6; #define SK_BPF_CB_FLAG_TEST(SK, FLAG) ((SK)->sk_bpf_cb_flags & (FLAG)); u8 sk_bpf_cb_flags; void *sk_user_data; #ifdef CONFIG_SECURITY; void *sk_security; #endif; struct sock_cgroup_data sk_cgrp_data; void (*sk_state_change)(struct sock *sk); void (*sk_write_space)(struct sock *sk); void (*sk_error_report)(struct sock *sk); int (*sk_backlog_rcv)(struct sock *sk, struct sk_buff *skb); void (*sk_destruct)(struct sock *sk); struct sock_reuseport *sk_reuseport_cb; #ifdef CONFIG_BPF_SYSCALL; struct bpf_local_storage *sk_bpf_storage; #endif; struct numa_drop_counters *sk_drop_counters; union { struct rcu_head sk_rcu; freeptr_t sk_freeptr; }; netns_tracker ns_tracker; struct xarray sk_user_frags; #if IS_ENABLED(CONFIG_PROVE_LOCKING) && IS_ENABLED(CONFIG_MODULES); struct module *sk_owner; #endif; };h]hXFstruct sock { struct sock_common __sk_common; #define sk_node __sk_common.skc_node; #define sk_nulls_node __sk_common.skc_nulls_node; #define sk_refcnt __sk_common.skc_refcnt; #define sk_tx_queue_mapping __sk_common.skc_tx_queue_mapping; #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING; #define sk_rx_queue_mapping __sk_common.skc_rx_queue_mapping; #endif; #define sk_dontcopy_begin __sk_common.skc_dontcopy_begin; #define sk_dontcopy_end __sk_common.skc_dontcopy_end; #define sk_hash __sk_common.skc_hash; #define sk_portpair __sk_common.skc_portpair; #define sk_num __sk_common.skc_num; #define sk_dport __sk_common.skc_dport; #define sk_addrpair __sk_common.skc_addrpair; #define sk_daddr __sk_common.skc_daddr; #define sk_rcv_saddr __sk_common.skc_rcv_saddr; #define sk_family __sk_common.skc_family; #define sk_state __sk_common.skc_state; #define sk_reuse __sk_common.skc_reuse; #define sk_reuseport __sk_common.skc_reuseport; #define sk_ipv6only __sk_common.skc_ipv6only; #define sk_net_refcnt __sk_common.skc_net_refcnt; #define sk_bypass_prot_mem __sk_common.skc_bypass_prot_mem; #define sk_bound_dev_if __sk_common.skc_bound_dev_if; #define sk_bind_node __sk_common.skc_bind_node; #define sk_prot __sk_common.skc_prot; #define sk_net __sk_common.skc_net; #define sk_v6_daddr __sk_common.skc_v6_daddr; #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr; #define sk_cookie __sk_common.skc_cookie; #define sk_incoming_cpu __sk_common.skc_incoming_cpu; #define sk_flags __sk_common.skc_flags; #define sk_rxhash __sk_common.skc_rxhash; ; atomic_t sk_drops; __s32 sk_peek_off; struct sk_buff_head sk_error_queue; struct sk_buff_head sk_receive_queue; struct { atomic_t rmem_alloc; int len; struct sk_buff *head; struct sk_buff *tail; } sk_backlog; #define sk_rmem_alloc sk_backlog.rmem_alloc; ; ; struct dst_entry *sk_rx_dst; int sk_rx_dst_ifindex; u32 sk_rx_dst_cookie; #ifdef CONFIG_NET_RX_BUSY_POLL; unsigned int sk_ll_usec; unsigned int sk_napi_id; u16 sk_busy_poll_budget; u8 sk_prefer_busy_poll; #endif; u8 sk_userlocks; int sk_rcvbuf; struct sk_filter *sk_filter; union { struct socket_wq *sk_wq; }; void (*sk_data_ready)(struct sock *sk); long sk_rcvtimeo; int sk_rcvlowat; ; ; int sk_err; struct socket *sk_socket; #ifdef CONFIG_MEMCG; struct mem_cgroup *sk_memcg; #endif; #ifdef CONFIG_XFRM; struct xfrm_policy *sk_policy[2]; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_assoc *psp_assoc; #endif; ; ; socket_lock_t sk_lock; u32 sk_reserved_mem; int sk_forward_alloc; u32 sk_tsflags; ; ; int sk_write_pending; atomic_t sk_omem_alloc; int sk_err_soft; int sk_wmem_queued; refcount_t sk_wmem_alloc; unsigned long sk_tsq_flags; union { struct sk_buff *sk_send_head; struct rb_root tcp_rtx_queue; }; struct sk_buff_head sk_write_queue; struct page_frag sk_frag; union { struct timer_list sk_timer; struct timer_list tcp_retransmit_timer; struct timer_list mptcp_retransmit_timer; }; unsigned long sk_pacing_rate; atomic_t sk_zckey; atomic_t sk_tskey; unsigned long sk_tx_queue_mapping_jiffies; ; ; u32 sk_dst_pending_confirm; u32 sk_pacing_status; unsigned long sk_max_pacing_rate; long sk_sndtimeo; u32 sk_priority; u32 sk_mark; kuid_t sk_uid; u16 sk_protocol; u16 sk_type; struct dst_entry *sk_dst_cache; netdev_features_t sk_route_caps; #ifdef CONFIG_SOCK_VALIDATE_XMIT; struct sk_buff* (*sk_validate_xmit_skb)(struct sock *sk, struct net_device *dev, struct sk_buff *skb); #endif; u16 sk_gso_type; u16 sk_gso_max_segs; unsigned int sk_gso_max_size; gfp_t sk_allocation; u32 sk_txhash; int sk_sndbuf; u8 sk_pacing_shift; bool sk_use_task_frag; ; u8 sk_gso_disabled : 1, sk_kern_sock : 1, sk_no_check_tx : 1, sk_no_check_rx : 1; u8 sk_shutdown; unsigned long sk_lingertime; struct proto *sk_prot_creator; rwlock_t sk_callback_lock; u32 sk_ack_backlog; u32 sk_max_ack_backlog; u64 sk_ino; spinlock_t sk_peer_lock; int sk_bind_phc; struct pid *sk_peer_pid; const struct cred *sk_peer_cred; ktime_t sk_stamp; #if BITS_PER_LONG==32; seqlock_t sk_stamp_seq; #endif; int sk_disconnects; union { u8 sk_txrehash; u8 sk_scm_recv_flags; struct { u8 sk_scm_credentials : 1, sk_scm_security : 1, sk_scm_pidfd : 1, sk_scm_rights : 1, sk_scm_unused : 4; }; }; u8 sk_clockid; u8 sk_txtime_deadline_mode : 1, sk_txtime_report_errors : 1, sk_txtime_unused : 6; #define SK_BPF_CB_FLAG_TEST(SK, FLAG) ((SK)->sk_bpf_cb_flags & (FLAG)); u8 sk_bpf_cb_flags; void *sk_user_data; #ifdef CONFIG_SECURITY; void *sk_security; #endif; struct sock_cgroup_data sk_cgrp_data; void (*sk_state_change)(struct sock *sk); void (*sk_write_space)(struct sock *sk); void (*sk_error_report)(struct sock *sk); int (*sk_backlog_rcv)(struct sock *sk, struct sk_buff *skb); void (*sk_destruct)(struct sock *sk); struct sock_reuseport *sk_reuseport_cb; #ifdef CONFIG_BPF_SYSCALL; struct bpf_local_storage *sk_bpf_storage; #endif; struct numa_drop_counters *sk_drop_counters; union { struct rcu_head sk_rcu; freeptr_t sk_freeptr; }; netns_tracker ns_tracker; struct xarray sk_user_frags; #if IS_ENABLED(CONFIG_PROVE_LOCKING) && IS_ENABLED(CONFIG_MODULES); struct module *sk_owner; #endif; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh](j)}(h6``__sk_common`` shared layout with inet_timewait_sock h](j)}(h``__sk_common``h]j)}(hjh]h __sk_common}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h%shared layout with inet_timewait_sockh]h%shared layout with inet_timewait_sock}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hKhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hKhjubj)}(h#``sk_drops`` raw/udp drops counter h](j)}(h ``sk_drops``h]j)}(hjTh]hsk_drops}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM%hjNubj)}(hhh]jl)}(hraw/udp drops counterh]hraw/udp drops counter}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihM%hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM%hjubj)}(h*``sk_peek_off`` current peek_offset value h](j)}(h``sk_peek_off``h]j)}(hjh]h sk_peek_off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMKhjubj)}(hhh]jl)}(hcurrent peek_offset valueh]hcurrent peek_offset value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubj)}(h``sk_error_queue`` rarely used h](j)}(h``sk_error_queue``h]j)}(hjh]hsk_error_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h rarely usedh]h rarely used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h&``sk_receive_queue`` incoming packets h](j)}(h``sk_receive_queue``h]j)}(hjh]hsk_receive_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(hincoming packetsh]hincoming packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``sk_backlog`` always used with the per-socket spinlock held h](j)}(h``sk_backlog``h]j)}(hj8h]h sk_backlog}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj2ubj)}(hhh]jl)}(h-always used with the per-socket spinlock heldh]h-always used with the per-socket spinlock held}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjubj)}(h6``sk_rx_dst`` receive input route used by early demux h](j)}(h ``sk_rx_dst``h]j)}(hjqh]h sk_rx_dst}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjkubj)}(hhh]jl)}(h'receive input route used by early demuxh]h'receive input route used by early demux}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h0``sk_rx_dst_ifindex`` ifindex for **sk_rx_dst** h](j)}(h``sk_rx_dst_ifindex``h]j)}(hjh]hsk_rx_dst_ifindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(hifindex for **sk_rx_dst**h](h ifindex for }(hjhhhNhNubj)}(h **sk_rx_dst**h]h sk_rx_dst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h.``sk_rx_dst_cookie`` cookie for **sk_rx_dst** h](j)}(h``sk_rx_dst_cookie``h]j)}(hjh]hsk_rx_dst_cookie}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(hcookie for **sk_rx_dst**h](h cookie for }(hj hhhNhNubj)}(h **sk_rx_dst**h]h sk_rx_dst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``sk_ll_usec`` usecs to busypoll when there is no data h](j)}(h``sk_ll_usec``h]j)}(hj8h]h sk_ll_usec}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj2ubj)}(hhh]jl)}(h'usecs to busypoll when there is no datah]h'usecs to busypoll when there is no data}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjubj)}(hB``sk_napi_id`` id of the last napi context to receive data for sk h](j)}(h``sk_napi_id``h]j)}(hjqh]h sk_napi_id}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjkubj)}(hhh]jl)}(h2id of the last napi context to receive data for skh]h2id of the last napi context to receive data for sk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h@``sk_busy_poll_budget`` napi processing budget when busypolling h](j)}(h``sk_busy_poll_budget``h]j)}(hjh]hsk_busy_poll_budget}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM,hjubj)}(hhh]jl)}(h'napi processing budget when busypollingh]h'napi processing budget when busypolling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjubj)}(hC``sk_prefer_busy_poll`` prefer busypolling over softirq processing h](j)}(h``sk_prefer_busy_poll``h]j)}(hjh]hsk_prefer_busy_poll}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM+hjubj)}(hhh]jl)}(h*prefer busypolling over softirq processingh]h*prefer busypolling over softirq processing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM+hjubj)}(h:``sk_userlocks`` ``SO_SNDBUF`` and ``SO_RCVBUF`` settings h](j)}(h``sk_userlocks``h]j)}(hjh]h sk_userlocks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h(``SO_SNDBUF`` and ``SO_RCVBUF`` settingsh](j)}(h ``SO_SNDBUF``h]h SO_SNDBUF}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh and }(hj5hhhNhNubj)}(h ``SO_RCVBUF``h]h SO_RCVBUF}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh settings}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj1hKhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hKhjubj)}(h.``sk_rcvbuf`` size of receive buffer in bytes h](j)}(h ``sk_rcvbuf``h]j)}(hjuh]h sk_rcvbuf}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjoubj)}(hhh]jl)}(hsize of receive buffer in bytesh]hsize of receive buffer in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h,``sk_filter`` socket filtering instructions h](j)}(h ``sk_filter``h]j)}(hjh]h sk_filter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM8hjubj)}(hhh]jl)}(hsocket filtering instructionsh]hsocket filtering instructions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubj)}(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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h)``sk_wq`` sock wait queue and async head h](j)}(h ``sk_wq``h]j)}(hj h]hsk_wq}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(hsock wait queue and async headh]hsock wait queue and async head}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hKhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hKhjubj)}(hE``sk_data_ready`` callback to indicate there is data to be processed h](j)}(h``sk_data_ready``h]j)}(hjYh]h sk_data_ready}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMUhjSubj)}(hhh]jl)}(h2callback to indicate there is data to be processedh]h2callback to indicate there is data to be processed}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMUhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMUhjubj)}(h(``sk_rcvtimeo`` ``SO_RCVTIMEO`` setting h](j)}(h``sk_rcvtimeo``h]j)}(hjh]h sk_rcvtimeo}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM4hjubj)}(hhh]jl)}(h``SO_RCVTIMEO`` settingh](j)}(h``SO_RCVTIMEO``h]h SO_RCVTIMEO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh setting}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM4hjubj)}(h(``sk_rcvlowat`` ``SO_RCVLOWAT`` setting h](j)}(h``sk_rcvlowat``h]j)}(hjh]h sk_rcvlowat}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM3hjubj)}(hhh]jl)}(h``SO_RCVLOWAT`` settingh](j)}(h``SO_RCVLOWAT``h]h SO_RCVLOWAT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh setting}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubj)}(h``sk_err`` last error h](j)}(h ``sk_err``h]j)}(hj h]hsk_err}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM"hjubj)}(hhh]jl)}(h last errorh]h last error}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hM"hj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hM"hjubj)}(h.``sk_socket`` Identd and reporting IO signals h](j)}(h ``sk_socket``h]j)}(hjYh]h sk_socket}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMHhjSubj)}(hhh]jl)}(hIdentd and reporting IO signalsh]hIdentd and reporting IO signals}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMHhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMHhjubj)}(h5``sk_memcg`` this socket's memory cgroup association h](j)}(h ``sk_memcg``h]j)}(hjh]hsk_memcg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMQhjubj)}(hhh]jl)}(h'this socket's memory cgroup associationh]h)this socket’s memory cgroup association}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(h``sk_policy`` flow policy h](j)}(h ``sk_policy``h]j)}(hjh]h sk_policy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h flow policyh]h flow policy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``psp_assoc`` PSP association, if socket is PSP-secured h](j)}(h ``psp_assoc``h]j)}(hjh]h psp_assoc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h)PSP association, if socket is PSP-securedh]h)PSP association, if socket is PSP-secured}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``sk_lock`` synchronizer h](j)}(h ``sk_lock``h]j)}(hj=h]hsk_lock}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj7ubj)}(hhh]jl)}(h synchronizerh]h synchronizer}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhKhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhKhjubj)}(hF``sk_reserved_mem`` space reserved and non-reclaimable for the socket h](j)}(h``sk_reserved_mem``h]j)}(hjvh]hsk_reserved_mem}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjpubj)}(hhh]jl)}(h1space reserved and non-reclaimable for the socketh]h1space reserved and non-reclaimable for the socket}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h-``sk_forward_alloc`` space allocated forward h](j)}(h``sk_forward_alloc``h]j)}(hjh]hsk_forward_alloc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjubj)}(hhh]jl)}(hspace allocated forwardh]hspace allocated forward}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h%``sk_tsflags`` SO_TIMESTAMPING flags h](j)}(h``sk_tsflags``h]j)}(hjh]h sk_tsflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM>hjubj)}(hhh]jl)}(hSO_TIMESTAMPING flagsh]hSO_TIMESTAMPING flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(h=``sk_write_pending`` a write to stream socket waits to start h](j)}(h``sk_write_pending``h]j)}(hj!h]hsk_write_pending}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMRhjubj)}(hhh]jl)}(h'a write to stream socket waits to starth]h'a write to stream socket waits to start}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMRhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMRhjubj)}(h-``sk_omem_alloc`` "o" is "option" or "other" h](j)}(h``sk_omem_alloc``h]j)}(hjZh]h sk_omem_alloc}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjTubj)}(hhh]jl)}(h"o" is "option" or "other"h]h&“o” is “option” or “other”}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohM hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM hjubj)}(ho``sk_err_soft`` errors that don't cause failure but are the cause of a persistent failure not just 'timed out' h](j)}(h``sk_err_soft``h]j)}(hjh]h sk_err_soft}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM$hjubj)}(hhh]jl)}(h^errors that don't cause failure but are the cause of a persistent failure not just 'timed out'h]hderrors that don’t cause failure but are the cause of a persistent failure not just ‘timed out’}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubj)}(h)``sk_wmem_queued`` persistent queue size h](j)}(h``sk_wmem_queued``h]j)}(hjh]hsk_wmem_queued}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjubj)}(hhh]jl)}(hpersistent queue sizeh]hpersistent queue size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h1``sk_wmem_alloc`` transmit queue bytes committed h](j)}(h``sk_wmem_alloc``h]j)}(hjh]h sk_wmem_alloc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(htransmit queue bytes committedh]htransmit queue bytes committed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``sk_tsq_flags`` TCP Small Queues flags h](j)}(h``sk_tsq_flags``h]j)}(hj?h]h sk_tsq_flags}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj9ubj)}(hhh]jl)}(hTCP Small Queues flagsh]hTCP Small Queues flags}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjxh]h{unnamed_union}}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjrubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h,``sk_send_head`` front of stuff to transmit h](j)}(h``sk_send_head``h]j)}(hjh]h sk_send_head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMLhjubj)}(hhh]jl)}(hfront of stuff to transmith]hfront of stuff to transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMLhjubj)}(hF``tcp_rtx_queue`` TCP re-transmit queue [union with **sk_send_head**] h](j)}(h``tcp_rtx_queue``h]j)}(hjh]h tcp_rtx_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMMhjubj)}(hhh]jl)}(h3TCP re-transmit queue [union with **sk_send_head**]h](h"TCP re-transmit queue [union with }(hjhhhNhNubj)}(h**sk_send_head**h]h sk_send_head}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubj)}(h(``sk_write_queue`` Packet sending queue h](j)}(h``sk_write_queue``h]j)}(hj5h]hsk_write_queue}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj/ubj)}(hhh]jl)}(hPacket sending queueh]hPacket sending queue}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubj)}(h``sk_frag`` cached page frag h](j)}(h ``sk_frag``h]j)}(hjnh]hsk_frag}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMJhjhubj)}(hhh]jl)}(hcached page fragh]hcached page frag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjubj)}(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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h ``sk_timer`` sock cleanup timer h](j)}(h ``sk_timer``h]j)}(hjh]hsk_timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM9hjubj)}(hhh]jl)}(hsock cleanup timerh]hsock cleanup timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubj)}(h.``tcp_retransmit_timer`` tcp retransmit timer h](j)}(h``tcp_retransmit_timer``h]j)}(hjh]htcp_retransmit_timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM:hjubj)}(hhh]jl)}(htcp retransmit timerh]htcp retransmit timer}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hM:hj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hM:hjubj)}(h2``mptcp_retransmit_timer`` mptcp retransmit timer h](j)}(h``mptcp_retransmit_timer``h]j)}(hjRh]hmptcp_retransmit_timer}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM;hjLubj)}(hhh]jl)}(hmptcp retransmit timerh]hmptcp retransmit timer}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghM;hjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghM;hjubj)}(hL``sk_pacing_rate`` Pacing rate (if supported by transport/packet scheduler) h](j)}(h``sk_pacing_rate``h]j)}(hjh]hsk_pacing_rate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h8Pacing rate (if supported by transport/packet scheduler)h]h8Pacing rate (if supported by transport/packet scheduler)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h9``sk_zckey`` counter to order MSG_ZEROCOPY notifications h](j)}(h ``sk_zckey``h]j)}(hjh]hsk_zckey}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMGhjubj)}(hhh]jl)}(h+counter to order MSG_ZEROCOPY notificationsh]h+counter to order MSG_ZEROCOPY notifications}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjubj)}(h@``sk_tskey`` counter to disambiguate concurrent tstamp requests h](j)}(h ``sk_tskey``h]j)}(hjh]hsk_tskey}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMEhjubj)}(hhh]jl)}(h2counter to disambiguate concurrent tstamp requestsh]h2counter to disambiguate concurrent tstamp requests}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjubj)}(hY``sk_tx_queue_mapping_jiffies`` time in jiffies of last **sk_tx_queue_mapping** refresh. h](j)}(h``sk_tx_queue_mapping_jiffies``h]j)}(hj6h]hsk_tx_queue_mapping_jiffies}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMFhj0ubj)}(hhh]jl)}(h8time in jiffies of last **sk_tx_queue_mapping** refresh.h](htime in jiffies of last }(hjOhhhNhNubj)}(h**sk_tx_queue_mapping**h]hsk_tx_queue_mapping}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh refresh.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjKhMFhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMFhjubj)}(h5``sk_dst_pending_confirm`` need to confirm neighbour h](j)}(h``sk_dst_pending_confirm``h]j)}(hjh]hsk_dst_pending_confirm}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj{ubj)}(hhh]jl)}(hneed to confirm neighbourh]hneed to confirm neighbour}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hB``sk_pacing_status`` Pacing status (requested, handled by sch_fq) h](j)}(h``sk_pacing_status``h]j)}(hjh]hsk_pacing_status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h,Pacing status (requested, handled by sch_fq)h]h,Pacing status (requested, handled by sch_fq)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hD``sk_max_pacing_rate`` Maximum pacing rate (``SO_MAX_PACING_RATE``) h](j)}(h``sk_max_pacing_rate``h]j)}(hjh]hsk_max_pacing_rate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h,Maximum pacing rate (``SO_MAX_PACING_RATE``)h](hMaximum pacing rate (}(hj hhhNhNubj)}(h``SO_MAX_PACING_RATE``h]hSO_MAX_PACING_RATE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh)}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``sk_sndtimeo`` ``SO_SNDTIMEO`` setting h](j)}(h``sk_sndtimeo``h]j)}(hj>h]h sk_sndtimeo}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM5hj8ubj)}(hhh]jl)}(h``SO_SNDTIMEO`` settingh](j)}(h``SO_SNDTIMEO``h]h SO_SNDTIMEO}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh setting}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjShM5hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShM5hjubj)}(h(``sk_priority`` ``SO_PRIORITY`` setting h](j)}(h``sk_priority``h]j)}(hjh]h sk_priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM-hjubj)}(hhh]jl)}(h``SO_PRIORITY`` settingh](j)}(h``SO_PRIORITY``h]h SO_PRIORITY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh setting}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjubj)}(h ``sk_mark`` generic packet mark h](j)}(h ``sk_mark``h]j)}(hjh]hsk_mark}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMOhjubj)}(hhh]jl)}(hgeneric packet markh]hgeneric packet mark}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(h``sk_uid`` user id of owner h](j)}(h ``sk_uid``h]j)}(hjh]hsk_uid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM)hjubj)}(hhh]jl)}(huser id of ownerh]huser id of owner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubj)}(hJ``sk_protocol`` which protocol this socket belongs in this network family h](j)}(h``sk_protocol``h]j)}(hj>h]h sk_protocol}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM/hj8ubj)}(hhh]jl)}(h9which protocol this socket belongs in this network familyh]h9which protocol this socket belongs in this network family}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShM/hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShM/hjubj)}(h/``sk_type`` socket type (``SOCK_STREAM``, etc) h](j)}(h ``sk_type``h]j)}(hjwh]hsk_type}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM.hjqubj)}(hhh]jl)}(h"socket type (``SOCK_STREAM``, etc)h](h socket type (}(hjhhhNhNubj)}(h``SOCK_STREAM``h]h SOCK_STREAM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, etc)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubj)}(h#``sk_dst_cache`` destination cache h](j)}(h``sk_dst_cache``h]j)}(hjh]h sk_dst_cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(hdestination cacheh]hdestination cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h<``sk_route_caps`` route capabilities (e.g. ``NETIF_F_TSO``) h](j)}(h``sk_route_caps``h]j)}(hjh]h sk_route_caps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h)route capabilities (e.g. ``NETIF_F_TSO``)h](hroute capabilities (e.g. }(hjhhhNhNubj)}(h``NETIF_F_TSO``h]h NETIF_F_TSO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h>``sk_validate_xmit_skb`` ptr to an optional validate function h](j)}(h``sk_validate_xmit_skb``h]j)}(hjFh]hsk_validate_xmit_skb}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMYhj@ubj)}(hhh]jl)}(h$ptr to an optional validate functionh]h$ptr to an optional validate function}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[hMYhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMYhjubj)}(h2``sk_gso_type`` GSO type (e.g. ``SKB_GSO_TCPV4``) h](j)}(h``sk_gso_type``h]j)}(hjh]h sk_gso_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjyubj)}(hhh]jl)}(h!GSO type (e.g. ``SKB_GSO_TCPV4``)h](hGSO type (e.g. }(hjhhhNhNubj)}(h``SKB_GSO_TCPV4``h]h SKB_GSO_TCPV4}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``sk_gso_max_segs`` Maximum number of GSO segments h](j)}(h``sk_gso_max_segs``h]j)}(hjh]hsk_gso_max_segs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(hMaximum number of GSO segmentsh]hMaximum number of GSO segments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``sk_gso_max_size`` Maximum GSO segment size to build h](j)}(h``sk_gso_max_size``h]j)}(hj h]hsk_gso_max_size}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjubj)}(hhh]jl)}(h!Maximum GSO segment size to buildh]h!Maximum GSO segment size to build}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h"``sk_allocation`` allocation mode h](j)}(h``sk_allocation``h]j)}(hj< h]h sk_allocation}(hj> hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj: ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj6 ubj)}(hhh]jl)}(hallocation modeh]hallocation mode}(hjU hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQ hMhjR ubah}(h]h ]h"]h$]h&]uh1jhj6 ubeh}(h]h ]h"]h$]h&]uh1jhjQ hMhjubj)}(h5``sk_txhash`` computed flow hash for use on transmit h](j)}(h ``sk_txhash``h]j)}(hju h]h sk_txhash}(hjw hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM6hjo ubj)}(hhh]jl)}(h&computed flow hash for use on transmith]h&computed flow hash for use on transmit}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM6hj ubah}(h]h ]h"]h$]h&]uh1jhjo ubeh}(h]h ]h"]h$]h&]uh1jhj hM6hjubj)}(h+``sk_sndbuf`` size of send buffer in bytes h](j)}(h ``sk_sndbuf``h]j)}(hj h]h sk_sndbuf}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj ubj)}(hhh]jl)}(hsize of send buffer in bytesh]hsize of send buffer in bytes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h8``sk_pacing_shift`` scaling factor for TCP Small Queues h](j)}(h``sk_pacing_shift``h]j)}(hj h]hsk_pacing_shift}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj ubj)}(hhh]jl)}(h#scaling factor for TCP Small Queuesh]h#scaling factor for TCP Small Queues}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h``sk_use_task_frag`` allow sk_page_frag() to use current->task_frag. Sockets that can be used under memory reclaim should set this to false. h](j)}(h``sk_use_task_frag``h]j)}(hj !h]hsk_use_task_frag}(hj"!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMBhj!ubj)}(hhh]jl)}(hwallow sk_page_frag() to use current->task_frag. Sockets that can be used under memory reclaim should set this to false.h]hwallow sk_page_frag() to use current->task_frag. Sockets that can be used under memory reclaim should set this to false.}(hj9!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM@hj6!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj5!hMBhjubj)}(h;``sk_gso_disabled`` if set, NETIF_F_GSO_MASK is forbidden. h](j)}(h``sk_gso_disabled``h]j)}(hjZ!h]hsk_gso_disabled}(hj\!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjT!ubj)}(hhh]jl)}(h&if set, NETIF_F_GSO_MASK is forbidden.h]h&if set, NETIF_F_GSO_MASK is forbidden.}(hjs!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjo!hMhjp!ubah}(h]h ]h"]h$]h&]uh1jhjT!ubeh}(h]h ]h"]h$]h&]uh1jhjo!hMhjubj)}(h;``sk_kern_sock`` True if sock is using kernel lock classes h](j)}(h``sk_kern_sock``h]j)}(hj!h]h sk_kern_sock}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj!ubj)}(hhh]jl)}(h)True if sock is using kernel lock classesh]h)True if sock is using kernel lock classes}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hKhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hKhjubj)}(hG``sk_no_check_tx`` ``SO_NO_CHECK`` setting, set checksum in TX packets h](j)}(h``sk_no_check_tx``h]j)}(hj!h]hsk_no_check_tx}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj!ubj)}(hhh]jl)}(h3``SO_NO_CHECK`` setting, set checksum in TX packetsh](j)}(h``SO_NO_CHECK``h]h SO_NO_CHECK}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh$ setting, set checksum in TX packets}(hj!hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj!hMhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubj)}(h5``sk_no_check_rx`` allow zero checksum in RX packets h](j)}(h``sk_no_check_rx``h]j)}(hj"h]hsk_no_check_rx}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj "ubj)}(hhh]jl)}(h!allow zero checksum in RX packetsh]h!allow zero checksum in RX packets}(hj,"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj("hMhj)"ubah}(h]h ]h"]h$]h&]uh1jhj "ubeh}(h]h ]h"]h$]h&]uh1jhj("hMhjubj)}(hB``sk_shutdown`` mask of ``SEND_SHUTDOWN`` and/or ``RCV_SHUTDOWN`` h](j)}(h``sk_shutdown``h]j)}(hjL"h]h sk_shutdown}(hjN"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhjF"ubj)}(hhh]jl)}(h1mask of ``SEND_SHUTDOWN`` and/or ``RCV_SHUTDOWN``h](hmask of }(hje"hhhNhNubj)}(h``SEND_SHUTDOWN``h]h SEND_SHUTDOWN}(hjm"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje"ubh and/or }(hje"hhhNhNubj)}(h``RCV_SHUTDOWN``h]h RCV_SHUTDOWN}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje"ubeh}(h]h ]h"]h$]h&]uh1jkhja"hKhjb"ubah}(h]h ]h"]h$]h&]uh1jhjF"ubeh}(h]h ]h"]h$]h&]uh1jhja"hKhjubj)}(h1``sk_lingertime`` ``SO_LINGER`` l_linger setting h](j)}(h``sk_lingertime``h]j)}(hj"h]h sk_lingertime}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj"ubj)}(hhh]jl)}(h``SO_LINGER`` l_linger settingh](j)}(h ``SO_LINGER``h]h SO_LINGER}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh l_linger setting}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjubj)}(hg``sk_prot_creator`` sk_prot of original sock creator (see ipv6_setsockopt, IPV6_ADDRFORM for instance) h](j)}(h``sk_prot_creator``h]j)}(hj"h]hsk_prot_creator}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM!hj"ubj)}(hhh]jl)}(hRsk_prot of original sock creator (see ipv6_setsockopt, IPV6_ADDRFORM for instance)h]hRsk_prot of original sock creator (see ipv6_setsockopt, IPV6_ADDRFORM for instance)}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj#ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj#hM!hjubj)}(hG``sk_callback_lock`` used with the callbacks in the end of this struct h](j)}(h``sk_callback_lock``h]j)}(hj&#h]hsk_callback_lock}(hj(#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$#ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj #ubj)}(hhh]jl)}(h1used with the callbacks in the end of this structh]h1used with the callbacks in the end of this struct}(hj?#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;#hMhj<#ubah}(h]h ]h"]h$]h&]uh1jhj #ubeh}(h]h ]h"]h$]h&]uh1jhj;#hMhjubj)}(h*``sk_ack_backlog`` current listen backlog h](j)}(h``sk_ack_backlog``h]j)}(hj_#h]hsk_ack_backlog}(hja#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]#ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM'hjY#ubj)}(hhh]jl)}(hcurrent listen backlogh]hcurrent listen backlog}(hjx#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjt#hM'hju#ubah}(h]h ]h"]h$]h&]uh1jhjY#ubeh}(h]h ]h"]h$]h&]uh1jhjt#hM'hjubj)}(h6``sk_max_ack_backlog`` listen backlog set in listen() h](j)}(h``sk_max_ack_backlog``h]j)}(hj#h]hsk_max_ack_backlog}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM(hj#ubj)}(hhh]jl)}(hlisten backlog set in listen()h]hlisten backlog set in listen()}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hM(hj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hM(hjubj)}(h+``sk_ino`` inode number (zero if orphaned) h](j)}(h ``sk_ino``h]j)}(hj#h]hsk_ino}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM*hj#ubj)}(hhh]jl)}(hinode number (zero if orphaned)h]hinode number (zero if orphaned)}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hM*hj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hM*hjubj)}(hF``sk_peer_lock`` lock protecting **sk_peer_pid** and **sk_peer_cred** h](j)}(h``sk_peer_lock``h]j)}(hj $h]h sk_peer_lock}(hj $hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM0hj$ubj)}(hhh]jl)}(h4lock protecting **sk_peer_pid** and **sk_peer_cred**h](hlock protecting }(hj#$hhhNhNubj)}(h**sk_peer_pid**h]h sk_peer_pid}(hj+$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#$ubh and }(hj#$hhhNhNubj)}(h**sk_peer_cred**h]h sk_peer_cred}(hj=$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#$ubeh}(h]h ]h"]h$]h&]uh1jkhj$hM0hj $ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hM0hjubj)}(hU``sk_bind_phc`` SO_TIMESTAMPING bind PHC index of PTP virtual clock for timestamping h](j)}(h``sk_bind_phc``h]j)}(hjc$h]h sk_bind_phc}(hje$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMDhj]$ubj)}(hhh]jl)}(hDSO_TIMESTAMPING bind PHC index of PTP virtual clock for timestampingh]hDSO_TIMESTAMPING bind PHC index of PTP virtual clock for timestamping}(hj|$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMChjy$ubah}(h]h ]h"]h$]h&]uh1jhj]$ubeh}(h]h ]h"]h$]h&]uh1jhjx$hMDhjubj)}(hB``sk_peer_pid`` :c:type:`struct pid ` for this socket's peer h](j)}(h``sk_peer_pid``h]j)}(hj$h]h sk_peer_pid}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM1hj$ubj)}(hhh]jl)}(h1:c:type:`struct pid ` for this socket's peerh](h)}(h:c:type:`struct pid `h]j)}(hj$h]h struct pid}(hj$hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjpiduh1hhj$hM1hj$ubh for this socket’s peer}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj$hM1hj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hM1hjubj)}(h)``sk_peer_cred`` ``SO_PEERCRED`` setting h](j)}(h``sk_peer_cred``h]j)}(hj$h]h sk_peer_cred}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM2hj$ubj)}(hhh]jl)}(h``SO_PEERCRED`` settingh](j)}(h``SO_PEERCRED``h]h SO_PEERCRED}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh setting}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj %hM2hj %ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj %hM2hjubj)}(h0``sk_stamp`` time stamp of last packet received h](j)}(h ``sk_stamp``h]j)}(hj<%h]hsk_stamp}(hj>%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM<hj6%ubj)}(hhh]jl)}(h"time stamp of last packet receivedh]h"time stamp of last packet received}(hjU%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQ%hM<hjR%ubah}(h]h ]h"]h$]h&]uh1jhj6%ubeh}(h]h ]h"]h$]h&]uh1jhjQ%hM<hjubj)}(hJ``sk_stamp_seq`` lock for accessing sk_stamp on 32 bit architectures only h](j)}(h``sk_stamp_seq``h]j)}(hju%h]h sk_stamp_seq}(hjw%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM=hjo%ubj)}(hhh]jl)}(h8lock for accessing sk_stamp on 32 bit architectures onlyh]h8lock for accessing sk_stamp on 32 bit architectures only}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hM=hj%ubah}(h]h ]h"]h$]h&]uh1jhjo%ubeh}(h]h ]h"]h$]h&]uh1jhj%hM=hjubj)}(hJ``sk_disconnects`` number of disconnect operations performed on this sock h](j)}(h``sk_disconnects``h]j)}(hj%h]hsk_disconnects}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMShj%ubj)}(hhh]jl)}(h6number of disconnect operations performed on this sockh]h6number of disconnect operations performed on this sock}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hMShj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMShjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj%h]h{unnamed_union}}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj%ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hKhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hKhjubj)}(h'``sk_txrehash`` enable TX hash rethink h](j)}(h``sk_txrehash``h]j)}(hj &h]h sk_txrehash}(hj"&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM7hj&ubj)}(hhh]jl)}(henable TX hash rethinkh]henable TX hash rethink}(hj9&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5&hM7hj6&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj5&hM7hjubj)}(h3``sk_scm_recv_flags`` all flags used by scm_recv() h](j)}(h``sk_scm_recv_flags``h]j)}(hjY&h]hsk_scm_recv_flags}(hj[&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMchjS&ubj)}(hhh]jl)}(hall flags used by scm_recv()h]hall flags used by scm_recv()}(hjr&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjn&hMchjo&ubah}(h]h ]h"]h$]h&]uh1jhjS&ubeh}(h]h ]h"]h$]h&]uh1jhjn&hMchjubj)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hj&h]h{unnamed_struct}}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj&ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hKhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hKhjubj)}(hF``sk_scm_credentials`` flagged by SO_PASSCRED to recv SCM_CREDENTIALS h](j)}(h``sk_scm_credentials``h]j)}(hj&h]hsk_scm_credentials}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMdhj&ubj)}(hhh]jl)}(h.flagged by SO_PASSCRED to recv SCM_CREDENTIALSh]h.flagged by SO_PASSCRED to recv SCM_CREDENTIALS}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMdhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMdhjubj)}(h?``sk_scm_security`` flagged by SO_PASSSEC to recv SCM_SECURITY h](j)}(h``sk_scm_security``h]j)}(hj'h]hsk_scm_security}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMehj&ubj)}(hhh]jl)}(h*flagged by SO_PASSSEC to recv SCM_SECURITYh]h*flagged by SO_PASSSEC to recv SCM_SECURITY}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMehj'ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj'hMehjubj)}(h;``sk_scm_pidfd`` flagged by SO_PASSPIDFD to recv SCM_PIDFD h](j)}(h``sk_scm_pidfd``h]j)}(hj='h]h sk_scm_pidfd}(hj?'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMfhj7'ubj)}(hhh]jl)}(h)flagged by SO_PASSPIDFD to recv SCM_PIDFDh]h)flagged by SO_PASSPIDFD to recv SCM_PIDFD}(hjV'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjR'hMfhjS'ubah}(h]h ]h"]h$]h&]uh1jhj7'ubeh}(h]h ]h"]h$]h&]uh1jhjR'hMfhjubj)}(h>``sk_scm_rights`` flagged by SO_PASSRIGHTS to recv SCM_RIGHTS h](j)}(h``sk_scm_rights``h]j)}(hjv'h]h sk_scm_rights}(hjx'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMghjp'ubj)}(hhh]jl)}(h+flagged by SO_PASSRIGHTS to recv SCM_RIGHTSh]h+flagged by SO_PASSRIGHTS to recv SCM_RIGHTS}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMghj'ubah}(h]h ]h"]h$]h&]uh1jhjp'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMghjubj)}(h.``sk_scm_unused`` unused flags for scm_recv() h](j)}(h``sk_scm_unused``h]j)}(hj'h]h sk_scm_unused}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhhj'ubj)}(hhh]jl)}(hunused flags for scm_recv()h]hunused flags for scm_recv()}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMhhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhhjubWj)}(hA``sk_clockid`` clockid used by time-based scheduling (SO_TXTIME) h](j)}(h``sk_clockid``h]j)}(hj'h]h sk_clockid}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM_hj'ubj)}(hhh]jl)}(h1clockid used by time-based scheduling (SO_TXTIME)h]h1clockid used by time-based scheduling (SO_TXTIME)}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hM_hj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM_hjubj)}(h<``sk_txtime_deadline_mode`` set deadline mode for SO_TXTIME h](j)}(h``sk_txtime_deadline_mode``h]j)}(hj!(h]hsk_txtime_deadline_mode}(hj#(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM`hj(ubj)}(hhh]jl)}(hset deadline mode for SO_TXTIMEh]hset deadline mode for SO_TXTIME}(hj:(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6(hM`hj7(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj6(hM`hjubj)}(hA``sk_txtime_report_errors`` set report errors mode for SO_TXTIME h](j)}(h``sk_txtime_report_errors``h]j)}(hjZ(h]hsk_txtime_report_errors}(hj\(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMahjT(ubj)}(hhh]jl)}(h$set report errors mode for SO_TXTIMEh]h$set report errors mode for SO_TXTIME}(hjs(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjo(hMahjp(ubah}(h]h ]h"]h$]h&]uh1jhjT(ubeh}(h]h ]h"]h$]h&]uh1jhjo(hMahjubj)}(h)``sk_txtime_unused`` unused txtime flags h](j)}(h``sk_txtime_unused``h]j)}(hj(h]hsk_txtime_unused}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMbhj(ubj)}(hhh]jl)}(hunused txtime flagsh]hunused txtime flags}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMbhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMbhjubj)}(h-``sk_bpf_cb_flags`` used in bpf_setsockopt() h](j)}(h``sk_bpf_cb_flags``h]j)}(hj(h]hsk_bpf_cb_flags}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM?hj(ubj)}(hhh]jl)}(hused in bpf_setsockopt()h]hused in bpf_setsockopt()}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hM?hj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hM?hjubj)}(hR``sk_user_data`` RPC layer private data. Write-protected by **sk_callback_lock**. h](j)}(h``sk_user_data``h]j)}(hj)h]h sk_user_data}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMIhj(ubj)}(hhh]jl)}(h@RPC layer private data. Write-protected by **sk_callback_lock**.h](h+RPC layer private data. Write-protected by }(hj)hhhNhNubj)}(h**sk_callback_lock**h]hsk_callback_lock}(hj&)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh.}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj)hMIhj)ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj)hMIhjubj)}(h)``sk_security`` used by security modules h](j)}(h``sk_security``h]j)}(hjP)h]h sk_security}(hjR)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMNhjJ)ubj)}(hhh]jl)}(hused by security modulesh]hused by security modules}(hji)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhje)hMNhjf)ubah}(h]h ]h"]h$]h&]uh1jhjJ)ubeh}(h]h ]h"]h$]h&]uh1jhje)hMNhjubj)}(h-``sk_cgrp_data`` cgroup data for this cgroup h](j)}(h``sk_cgrp_data``h]j)}(hj)h]h sk_cgrp_data}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMPhj)ubj)}(hhh]jl)}(hcgroup data for this cgrouph]hcgroup data for this cgroup}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMPhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMPhjubj)}(hI``sk_state_change`` callback to indicate change in the state of the sock h](j)}(h``sk_state_change``h]j)}(hj)h]hsk_state_change}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMThj)ubj)}(hhh]jl)}(h4callback to indicate change in the state of the sockh]h4callback to indicate change in the state of the sock}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMThj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMThjubj)}(hL``sk_write_space`` callback to indicate there is bf sending space available h](j)}(h``sk_write_space``h]j)}(hj)h]hsk_write_space}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMVhj)ubj)}(hhh]jl)}(h8callback to indicate there is bf sending space availableh]h8callback to indicate there is bf sending space available}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMVhj*ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj*hMVhjubj)}(hH``sk_error_report`` callback to indicate errors (e.g. ``MSG_ERRQUEUE``) h](j)}(h``sk_error_report``h]j)}(hj4*h]hsk_error_report}(hj6*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMWhj.*ubj)}(hhh]jl)}(h3callback to indicate errors (e.g. ``MSG_ERRQUEUE``)h](h"callback to indicate errors (e.g. }(hjM*hhhNhNubj)}(h``MSG_ERRQUEUE``h]h MSG_ERRQUEUE}(hjU*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM*ubh)}(hjM*hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjI*hMWhjJ*ubah}(h]h ]h"]h$]h&]uh1jhj.*ubeh}(h]h ]h"]h$]h&]uh1jhjI*hMWhjubj)}(h3``sk_backlog_rcv`` callback to process the backlog h](j)}(h``sk_backlog_rcv``h]j)}(hj*h]hsk_backlog_rcv}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMXhjy*ubj)}(hhh]jl)}(hcallback to process the backlogh]hcallback to process the backlog}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMXhj*ubah}(h]h ]h"]h$]h&]uh1jhjy*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMXhjubj)}(hG``sk_destruct`` called at sock freeing time, i.e. when all refcnt == 0 h](j)}(h``sk_destruct``h]j)}(hj*h]h sk_destruct}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMZhj*ubj)}(hhh]jl)}(h6called at sock freeing time, i.e. when all refcnt == 0h]h6called at sock freeing time, i.e. when all refcnt == 0}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMZhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMZhjubj)}(h.``sk_reuseport_cb`` reuseport group container h](j)}(h``sk_reuseport_cb``h]j)}(hj*h]hsk_reuseport_cb}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM[hj*ubj)}(hhh]jl)}(hreuseport group containerh]hreuseport group container}(hj +hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hM[hj+ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj+hM[hjubj)}(h?``sk_bpf_storage`` ptr to cache and control for bpf_sk_storage h](j)}(h``sk_bpf_storage``h]j)}(hj*+h]hsk_bpf_storage}(hj,+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(+ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM\hj$+ubj)}(hhh]jl)}(h+ptr to cache and control for bpf_sk_storageh]h+ptr to cache and control for bpf_sk_storage}(hjC+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?+hM\hj@+ubah}(h]h ]h"]h$]h&]uh1jhj$+ubeh}(h]h ]h"]h$]h&]uh1jhj?+hM\hjubj)}(h<``sk_drop_counters`` optional pointer to numa_drop_counters h](j)}(h``sk_drop_counters``h]j)}(hjc+h]hsk_drop_counters}(hje+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja+ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM&hj]+ubj)}(hhh]jl)}(h&optional pointer to numa_drop_countersh]h&optional pointer to numa_drop_counters}(hj|+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjx+hM&hjy+ubah}(h]h ]h"]h$]h&]uh1jhj]+ubeh}(h]h ]h"]h$]h&]uh1jhjx+hM&hjubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj+h]h{unnamed_union}}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhKhj+ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hKhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hKhjubj)}(h(``sk_rcu`` used during RCU grace period h](j)}(h ``sk_rcu``h]j)}(hj+h]hsk_rcu}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM]hj+ubj)}(hhh]jl)}(hused during RCU grace periodh]hused during RCU grace period}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hM]hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM]hjubj)}(h=``sk_freeptr`` used for SLAB_TYPESAFE_BY_RCU managed sockets h](j)}(h``sk_freeptr``h]j)}(hj,h]h sk_freeptr}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM^hj,ubj)}(hhh]jl)}(h-used for SLAB_TYPESAFE_BY_RCU managed socketsh]h-used for SLAB_TYPESAFE_BY_RCU managed sockets}(hj',hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#,hM^hj$,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj#,hM^hjubj)}(h+``ns_tracker`` tracker for netns reference h](j)}(h``ns_tracker``h]j)}(hjG,h]h ns_tracker}(hjI,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMihjA,ubj)}(hhh]jl)}(htracker for netns referenceh]htracker for netns reference}(hj`,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\,hMihj],ubah}(h]h ]h"]h$]h&]uh1jhjA,ubeh}(h]h ]h"]h$]h&]uh1jhj\,hMihjubj)}(hF``sk_user_frags`` xarray of pages the user is holding a reference on. h](j)}(h``sk_user_frags``h]j)}(hj,h]h sk_user_frags}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMjhjz,ubj)}(hhh]jl)}(h3xarray of pages the user is holding a reference on.h]h3xarray of pages the user is holding a reference on.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hMjhj,ubah}(h]h ]h"]h$]h&]uh1jhjz,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMjhjubj)}(hb``sk_owner`` reference to the real owner of the socket that calls sock_lock_init_class_and_name().h](j)}(h ``sk_owner``h]j)}(hj,h]hsk_owner}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMkhj,ubj)}(hhh]jl)}(hUreference to the real owner of the socket that calls sock_lock_init_class_and_name().h]hUreference to the real owner of the socket that calls sock_lock_init_class_and_name().}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hMkhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMkhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#sk_user_data_is_nocopy (C function)c.sk_user_data_is_nocopyhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h3bool sk_user_data_is_nocopy (const struct sock *sk)h]j )}(h2bool sk_user_data_is_nocopy(const struct sock *sk)h](jM )}(hjh]hbool}(hj-hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj-hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj")}(h h]h }(hj -hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-hhhj-hMubj3)}(hsk_user_data_is_nocopyh]j9)}(hsk_user_data_is_nocopyh]hsk_user_data_is_nocopy}(hj2-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.-ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-hhhj-hMubj )}(h(const struct sock *sk)h]j )}(hconst struct sock *skh](j)}(hj h]hconst}(hjN-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJ-ubj")}(h h]h }(hj[-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJ-ubj)}(hjh]hstruct}(hji-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJ-ubj")}(h h]h }(hjv-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJ-ubh)}(hhh]j9)}(hsockh]hsock}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNj j )}j ]j )}j j4-sbc.sk_user_data_is_nocopyasbuh1hhjJ-ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJ-ubj )}(hj h]h*}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJ-ubj9)}(hskh]hsk}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJ-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjF-ubah}(h]h ]h"]h$]h&]jPjQuh1j hj-hhhj-hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj -hhhj-hMubah}(h]j-ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj-hMhj-hhubjg)}(hhh]jl)}(h/Test if sk_user_data pointer must not be copiedh]h/Test if sk_user_data pointer must not be copied}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj-hhubah}(h]h ]h"]h$]h&]uh1jfhj-hhhj-hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhj" hNhNubj)}(h2**Parameters** ``const struct sock *sk`` socketh](jl)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj .ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj.ubj)}(hhh]j)}(h ``const struct sock *sk`` socketh](j)}(h``const struct sock *sk``h]j)}(hj-.h]hconst struct sock *sk}(hj/.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+.ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj'.ubj)}(hhh]jl)}(hsocketh]hsocket}(hjF.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjC.ubah}(h]h ]h"]h$]h&]uh1jhj'.ubeh}(h]h ]h"]h$]h&]uh1jhjB.hMhj$.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h2__locked_read_sk_user_data_with_flags (C function)'c.__locked_read_sk_user_data_with_flagshNtauh1hhj" hhhNhNubh)}(hhh](j)}(hUvoid * __locked_read_sk_user_data_with_flags (const struct sock *sk, uintptr_t flags)h]j )}(hSvoid *__locked_read_sk_user_data_with_flags(const struct sock *sk, uintptr_t flags)h](jM )}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.hhhj.hMubj )}(hj h]h*}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.hhhj.hMubj3)}(h%__locked_read_sk_user_data_with_flagsh]j9)}(h%__locked_read_sk_user_data_with_flagsh]h%__locked_read_sk_user_data_with_flags}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj.hMubj )}(h((const struct sock *sk, uintptr_t flags)h](j )}(hconst struct sock *skh](j)}(hj h]hconst}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubh)}(hhh]j9)}(hsockh]hsock}(hj /hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj /modnameN classnameNj j )}j ]j )}j j.sb'c.__locked_read_sk_user_data_with_flagsasbuh1hhj.ubj")}(h h]h }(hj*/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj )}(hj h]h*}(hj8/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.ubj9)}(hskh]hsk}(hjE/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj.ubj )}(huintptr_t flagsh](h)}(hhh]j9)}(h uintptr_th]h uintptr_t}(hja/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjc/modnameN classnameNj j )}j ]j&/'c.__locked_read_sk_user_data_with_flagsasbuh1hhjZ/ubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZ/ubj9)}(hflagsh]hflags}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZ/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj.ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.hhhj.hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj.hhhj.hMubah}(h]jz.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.hMhj|.hhubjg)}(hhh]jl)}(hareturn the pointer only if argument flags all has been set in sk_user_data. Otherwise return NULLh]hareturn the pointer only if argument flags all has been set in sk_user_data. Otherwise return NULL}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj/hhubah}(h]h ]h"]h$]h&]uh1jfhj|.hhhj.hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sock *sk`` socket ``uintptr_t flags`` flag bits **Description** The caller must be holding sk->sk_callback_lock.h](jl)}(h**Parameters**h]j)}(hj/h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj/ubj)}(hhh](j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj/h]hconst struct sock *sk}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj/ubj)}(hhh]jl)}(hsocketh]hsocket}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj 0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj 0hMhj/ubj)}(h``uintptr_t flags`` flag bits h](j)}(h``uintptr_t flags``h]j)}(hj10h]huintptr_t flags}(hj30hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj+0ubj)}(hhh]jl)}(h flag bitsh]h flag bits}(hjJ0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjF0hMhjG0ubah}(h]h ]h"]h$]h&]uh1jhj+0ubeh}(h]h ]h"]h$]h&]uh1jhjF0hMhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/ubjl)}(h**Description**h]j)}(hjl0h]h Description}(hjn0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj0ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj/ubjl)}(h0The caller must be holding sk->sk_callback_lock.h]h0The caller must be holding sk->sk_callback_lock.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h6__rcu_dereference_sk_user_data_with_flags (C function)+c.__rcu_dereference_sk_user_data_with_flagshNtauh1hhj" hhhNhNubh)}(hhh](j)}(hYvoid * __rcu_dereference_sk_user_data_with_flags (const struct sock *sk, uintptr_t flags)h]j )}(hWvoid *__rcu_dereference_sk_user_data_with_flags(const struct sock *sk, uintptr_t flags)h](jM )}(hvoidh]hvoid}(hj0hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhj0hMubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0hhhj0hMubj3)}(h)__rcu_dereference_sk_user_data_with_flagsh]j9)}(h)__rcu_dereference_sk_user_data_with_flagsh]h)__rcu_dereference_sk_user_data_with_flags}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhj0hMubj )}(h((const struct sock *sk, uintptr_t flags)h](j )}(hconst struct sock *skh](j)}(hj h]hconst}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubj)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj")}(h h]h }(hj#1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubh)}(hhh]j9)}(hsockh]hsock}(hj41hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj11ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj61modnameN classnameNj j )}j ]j )}j j0sb+c.__rcu_dereference_sk_user_data_with_flagsasbuh1hhj0ubj")}(h h]h }(hjT1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubj )}(hj h]h*}(hjb1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0ubj9)}(hskh]hsk}(hjo1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0ubj )}(huintptr_t flagsh](h)}(hhh]j9)}(h uintptr_th]h uintptr_t}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]jP1+c.__rcu_dereference_sk_user_data_with_flagsasbuh1hhj1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj9)}(hflagsh]hflags}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj0hhhj0hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0hhhj0hMubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0hMhj0hhubjg)}(hhh]jl)}(hareturn the pointer only if argument flags all has been set in sk_user_data. Otherwise return NULLh]hareturn the pointer only if argument flags all has been set in sk_user_data. Otherwise return NULL}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj1hhubah}(h]h ]h"]h$]h&]uh1jfhj0hhhj0hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhj" hNhNubj)}(hS**Parameters** ``const struct sock *sk`` socket ``uintptr_t flags`` flag bitsh](jl)}(h**Parameters**h]j)}(hj2h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj1ubj)}(hhh](j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj"2h]hconst struct sock *sk}(hj$2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj2ubj)}(hhh]jl)}(hsocketh]hsocket}(hj;2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj72hMhj82ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj72hMhj2ubj)}(h``uintptr_t flags`` flag bitsh](j)}(h``uintptr_t flags``h]j)}(hj[2h]huintptr_t flags}(hj]2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjU2ubj)}(hhh]jl)}(h flag bitsh]h flag bits}(hjt2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjq2ubah}(h]h ]h"]h$]h&]uh1jhjU2ubeh}(h]h ]h"]h$]h&]uh1jhjp2hMhj2ubeh}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&sk_for_each_entry_offset_rcu (C macro)c.sk_for_each_entry_offset_rcuhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hsk_for_each_entry_offset_rcuh]j )}(hsk_for_each_entry_offset_rcuh]j3)}(hsk_for_each_entry_offset_rcuh]j9)}(hj2h]hsk_for_each_entry_offset_rcu}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubah}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhj2hMubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2hMhj2hhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhj2hhhj2hMubeh}(h]h ](jmacroeh"]h$]h&]jjjj2jj2jjjuh1hhhhj" hNhNubjl)}(h:``sk_for_each_entry_offset_rcu (tpos, pos, head, offset)``h]j)}(hj2h]h6sk_for_each_entry_offset_rcu (tpos, pos, head, offset)}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj" hhubj)}(h-iterate over a list at a given struct offset h]jl)}(h,iterate over a list at a given struct offseth]h,iterate over a list at a given struct offset}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3hMhj" hhubj)}(h**Parameters** ``tpos`` the type * to use as a loop cursor. ``pos`` the :c:type:`struct hlist_node ` to use as a loop cursor. ``head`` the head for your list. ``offset`` offset of hlist_node within the struct.h](jl)}(h**Parameters**h]j)}(hj 3h]h Parameters}(hj"3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj3ubj)}(hhh](j)}(h-``tpos`` the type * to use as a loop cursor. h](j)}(h``tpos``h]j)}(hj?3h]htpos}(hjA3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj93ubj)}(hhh]jl)}(h#the type * to use as a loop cursor.h]h#the type * to use as a loop cursor.}(hjX3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjT3hMhjU3ubah}(h]h ]h"]h$]h&]uh1jhj93ubeh}(h]h ]h"]h$]h&]uh1jhjT3hMhj63ubj)}(hN``pos`` the :c:type:`struct hlist_node ` to use as a loop cursor. h](j)}(h``pos``h]j)}(hjx3h]hpos}(hjz3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjr3ubj)}(hhh]jl)}(hEthe :c:type:`struct hlist_node ` to use as a loop cursor.h](hthe }(hj3hhhNhNubh)}(h(:c:type:`struct hlist_node `h]j)}(hj3h]hstruct hlist_node}(hj3hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj hlist_nodeuh1hhj3hMhj3ubh to use as a loop cursor.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjr3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj63ubj)}(h!``head`` the head for your list. h](j)}(h``head``h]j)}(hj3h]hhead}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj3ubj)}(hhh]jl)}(hthe head for your list.h]hthe head for your list.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj63ubj)}(h2``offset`` offset of hlist_node within the struct.h](j)}(h ``offset``h]j)}(hj 4h]hoffset}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 4ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj4ubj)}(hhh]jl)}(h'offset of hlist_node within the struct.h]h'offset of hlist_node within the struct.}(hj&4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj#4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj"4hMhj63ubeh}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hSOCK_CONNECT_BIND (C macro)c.SOCK_CONNECT_BINDhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hSOCK_CONNECT_BINDh]j )}(hSOCK_CONNECT_BINDh]j3)}(hSOCK_CONNECT_BINDh]j9)}(hja4h]hSOCK_CONNECT_BIND}(hjk4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjg4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjc4hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubah}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj_4hhhj~4hMubah}(h]jZ4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj~4hMhj\4hhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhj\4hhhj~4hMubeh}(h]h ](jmacroeh"]h$]h&]jjjj4jj4jjjuh1hhhhj" hNhNubjl)}(h``SOCK_CONNECT_BIND``h]j)}(hj4h]hSOCK_CONNECT_BIND}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj" hhubj)}(hJ:c:type:`sock->sk_userlocks ` flag for auto-bind at connect() time h]jl)}(hH:c:type:`sock->sk_userlocks ` flag for auto-bind at connect() timeh](h)}(h#:c:type:`sock->sk_userlocks `h]j)}(hj4h]hsock->sk_userlocks}(hj4hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsockuh1hhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj4ubh% flag for auto-bind at connect() time}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4hMhj" hhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlock_sock_fast (C function)c.lock_sock_fasthNtauh1hhj" hhhNhNubh)}(hhh](j)}(h%bool lock_sock_fast (struct sock *sk)h]j )}(h$bool lock_sock_fast(struct sock *sk)h](jM )}(hjh]hbool}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhj5hMubj3)}(hlock_sock_fasth]j9)}(hlock_sock_fasth]hlock_sock_fast}(hj$5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhj5hMubj )}(h(struct sock *sk)h]j )}(hstruct sock *skh](j)}(hjh]hstruct}(hj@5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<5ubj")}(h h]h }(hjM5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<5ubh)}(hhh]j9)}(hsockh]hsock}(hj^5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`5modnameN classnameNj j )}j ]j )}j j&5sbc.lock_sock_fastasbuh1hhj<5ubj")}(h h]h }(hj~5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<5ubj )}(hj h]h*}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj<5ubj9)}(hskh]hsk}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj85ubah}(h]h ]h"]h$]h&]jPjQuh1j hj5hhhj5hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhj5hMubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj5hMhj4hhubjg)}(hhh]jl)}(hfast version of lock_sockh]hfast version of lock_sock}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj5hhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhj5hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhj" hNhNubj)}(hX5**Parameters** ``struct sock *sk`` socket **Description** This version should be used for very small section, where process won't block return false if fast path is taken: sk_lock.slock locked, owned = 0, BH disabled return true if slow path is taken: sk_lock.slock unlocked, owned = 1, BH enabledh](jl)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj5ubj)}(hhh]j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj6h]hstruct sock *sk}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj5ubj)}(hhh]jl)}(hsocketh]hsocket}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubjl)}(h**Description**h]j)}(hj?6h]h Description}(hjA6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=6ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj5ubjl)}(hqThis version should be used for very small section, where process won't block return false if fast path is taken:h]hsThis version should be used for very small section, where process won’t block return false if fast path is taken:}(hjU6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj5ubj)}(h-sk_lock.slock locked, owned = 0, BH disabled h]jl)}(h,sk_lock.slock locked, owned = 0, BH disabledh]h,sk_lock.slock locked, owned = 0, BH disabled}(hjh6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhjd6ubah}(h]h ]h"]h$]h&]uh1jhjv6hMhj5ubjl)}(h"return true if slow path is taken:h]h"return true if slow path is taken:}(hj}6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj5ubj)}(h-sk_lock.slock unlocked, owned = 1, BH enabledh]jl)}(hj6h]h-sk_lock.slock unlocked, owned = 1, BH enabled}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj6ubah}(h]h ]h"]h$]h&]uh1jhj6hMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hunlock_sock_fast (C function)c.unlock_sock_fasthNtauh1hhj" hhhNhNubh)}(hhh](j)}(h2void unlock_sock_fast (struct sock *sk, bool slow)h]j )}(h1void unlock_sock_fast(struct sock *sk, bool slow)h](jM )}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhj6hMubj3)}(hunlock_sock_fasth]j9)}(hunlock_sock_fasth]hunlock_sock_fast}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6hhhj6hMubj )}(h(struct sock *sk, bool slow)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubh)}(hhh]j9)}(hsockh]hsock}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!7modnameN classnameNj j )}j ]j )}j j6sbc.unlock_sock_fastasbuh1hhj6ubj")}(h h]h }(hj?7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hjM7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hskh]hsk}(hjZ7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubj )}(h bool slowh](jM )}(hjh]hbool}(hjs7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjo7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjo7ubj9)}(hslowh]hslow}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjo7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj6hhhj6hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj6hhhj6hMubah}(h]j6ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6hMhj6hhubjg)}(hhh]jl)}(hcomplement of lock_sock_fasth]hcomplement of lock_sock_fast}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj7hhubah}(h]h ]h"]h$]h&]uh1jfhj6hhhj6hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sock *sk`` socket ``bool slow`` slow mode **Description** fast unlock socket for user context. If slow mode is on, we call regular release_sock()h](jl)}(h**Parameters**h]j)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj7ubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hj7h]hstruct sock *sk}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj7ubj)}(hhh]jl)}(hsocketh]hsocket}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj8hMhj7ubj)}(h``bool slow`` slow mode h](j)}(h ``bool slow``h]j)}(hj28h]h bool slow}(hj48hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj08ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj,8ubj)}(hhh]jl)}(h slow modeh]h slow mode}(hjK8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjG8hMhjH8ubah}(h]h ]h"]h$]h&]uh1jhj,8ubeh}(h]h ]h"]h$]h&]uh1jhjG8hMhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7ubjl)}(h**Description**h]j)}(hjm8h]h Description}(hjo8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk8ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj7ubjl)}(hWfast unlock socket for user context. If slow mode is on, we call regular release_sock()h]hWfast unlock socket for user context. If slow mode is on, we call regular release_sock()}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_wmem_alloc_get (C function)c.sk_wmem_alloc_gethNtauh1hhj" hhhNhNubh)}(hhh](j)}(h-int sk_wmem_alloc_get (const struct sock *sk)h]j )}(h,int sk_wmem_alloc_get(const struct sock *sk)h](jM )}(hinth]hint}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM> ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhj8hM> ubj3)}(hsk_wmem_alloc_geth]j9)}(hsk_wmem_alloc_geth]hsk_wmem_alloc_get}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhj8hM> ubj )}(h(const struct sock *sk)h]j )}(hconst struct sock *skh](j)}(hj h]hconst}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj)}(hjh]hstruct}(hj 9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(hsockh]hsock}(hj(9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*9modnameN classnameNj j )}j ]j )}j j8sbc.sk_wmem_alloc_getasbuh1hhj8ubj")}(h h]h }(hjH9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hjV9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hskh]hsk}(hjc9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubah}(h]h ]h"]h$]h&]jPjQuh1j hj8hhhj8hM> ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj8hhhj8hM> ubah}(h]j8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8hM> hj8hhubjg)}(hhh]jl)}(hreturns write allocationsh]hreturns write allocations}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM> hj9hhubah}(h]h ]h"]h$]h&]uh1jfhj8hhhj8hM> ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhj" hNhNubj)}(hi**Parameters** ``const struct sock *sk`` socket **Return** sk_wmem_alloc minus initial offset of oneh](jl)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMB hj9ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj9h]hconst struct sock *sk}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM? hj9ubj)}(hhh]jl)}(hsocketh]hsocket}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM? hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM? hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubjl)}(h **Return**h]j)}(hj :h]hReturn}(hj :hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMA hj9ubjl)}(h)sk_wmem_alloc minus initial offset of oneh]h)sk_wmem_alloc minus initial offset of one}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMA hj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_rmem_alloc_get (C function)c.sk_rmem_alloc_gethNtauh1hhj" hhhNhNubh)}(hhh](j)}(h-int sk_rmem_alloc_get (const struct sock *sk)h]j )}(h,int sk_rmem_alloc_get(const struct sock *sk)h](jM )}(hinth]hint}(hjN:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjJ:hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMI ubj")}(h h]h }(hj]:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJ:hhhj\:hMI ubj3)}(hsk_rmem_alloc_geth]j9)}(hsk_rmem_alloc_geth]hsk_rmem_alloc_get}(hjo:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjk:ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjJ:hhhj\:hMI ubj )}(h(const struct sock *sk)h]j )}(hconst struct sock *skh](j)}(hj h]hconst}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubh)}(hhh]j9)}(hsockh]hsock}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]j )}j jq:sbc.sk_rmem_alloc_getasbuh1hhj:ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj )}(hj h]h*}(hj:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:ubj9)}(hskh]hsk}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:ubah}(h]h ]h"]h$]h&]jPjQuh1j hjJ:hhhj\:hMI ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjF:hhhj\:hMI ubah}(h]jA:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj\:hMI hjC:hhubjg)}(hhh]jl)}(hreturns read allocationsh]hreturns read allocations}(hj);hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMI hj&;hhubah}(h]h ]h"]h$]h&]uh1jfhjC:hhhj\:hMI ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjA;jjA;jjjuh1hhhhj" hNhNubj)}(hM**Parameters** ``const struct sock *sk`` socket **Return** sk_rmem_alloch](jl)}(h**Parameters**h]j)}(hjK;h]h Parameters}(hjM;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI;ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMM hjE;ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hjj;h]hconst struct sock *sk}(hjl;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh;ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMJ hjd;ubj)}(hhh]jl)}(hsocketh]hsocket}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hMJ hj;ubah}(h]h ]h"]h$]h&]uh1jhjd;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMJ hja;ubah}(h]h ]h"]h$]h&]uh1jhjE;ubjl)}(h **Return**h]j)}(hj;h]hReturn}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhML hjE;ubjl)}(h sk_rmem_alloch]h sk_rmem_alloc}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhML hjE;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_has_allocations (C function)c.sk_has_allocationshNtauh1hhj" hhhNhNubh)}(hhh](j)}(h/bool sk_has_allocations (const struct sock *sk)h]j )}(h.bool sk_has_allocations(const struct sock *sk)h](jM )}(hjh]hbool}(hj;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMT ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;hhhj;hMT ubj3)}(hsk_has_allocationsh]j9)}(hsk_has_allocationsh]hsk_has_allocations}(hj <hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;hhhj;hMT ubj )}(h(const struct sock *sk)h]j )}(hconst struct sock *skh](j)}(hj h]hconst}(hj&<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"<ubj")}(h h]h }(hj3<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"<ubj)}(hjh]hstruct}(hjA<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"<ubj")}(h h]h }(hjN<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"<ubh)}(hhh]j9)}(hsockh]hsock}(hj_<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetja<modnameN classnameNj j )}j ]j )}j j <sbc.sk_has_allocationsasbuh1hhj"<ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"<ubj )}(hj h]h*}(hj<hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"<ubj9)}(hskh]hsk}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj<ubah}(h]h ]h"]h$]h&]jPjQuh1j hj;hhhj;hMT ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj;hhhj;hMT ubah}(h]j;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj;hMT hj;hhubjg)}(hhh]jl)}(h$check if allocations are outstandingh]h$check if allocations are outstanding}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMT hj<hhubah}(h]h ]h"]h$]h&]uh1jfhj;hhhj;hMT ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhj" hNhNubj)}(hl**Parameters** ``const struct sock *sk`` socket **Return** true if socket has write or read allocationsh](jl)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMX hj<ubj)}(hhh]j)}(h!``const struct sock *sk`` socket h](j)}(h``const struct sock *sk``h]j)}(hj=h]hconst struct sock *sk}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMU hj<ubj)}(hhh]jl)}(hsocketh]hsocket}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hMU hj=ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj=hMU hj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubjl)}(h **Return**h]j)}(hj@=h]hReturn}(hjB=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>=ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMW hj<ubjl)}(h,true if socket has write or read allocationsh]h,true if socket has write or read allocations}(hjV=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMW hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskwq_has_sleeper (C function)c.skwq_has_sleeperhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h,bool skwq_has_sleeper (struct socket_wq *wq)h]j )}(h+bool skwq_has_sleeper(struct socket_wq *wq)h](jM )}(hjh]hbool}(hj=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj=hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM_ ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhj=hM_ ubj3)}(hskwq_has_sleeperh]j9)}(hskwq_has_sleeperh]hskwq_has_sleeper}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhj=hM_ ubj )}(h(struct socket_wq *wq)h]j )}(hstruct socket_wq *wqh](j)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubh)}(hhh]j9)}(h socket_wqh]h socket_wq}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]j )}j j=sbc.skwq_has_sleeperasbuh1hhj=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj )}(hj h]h*}(hj >hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=ubj9)}(hwqh]hwq}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubah}(h]h ]h"]h$]h&]jPjQuh1j hj=hhhj=hM_ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}=hhhj=hM_ ubah}(h]jx=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj=hM_ hjz=hhubjg)}(hhh]jl)}(h(check if there are any waiting processesh]h(check if there are any waiting processes}(hjD>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM_ hjA>hhubah}(h]h ]h"]h$]h&]uh1jfhjz=hhhj=hM_ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\>jj\>jjjuh1hhhhj" hNhNubj)}(hX$**Parameters** ``struct socket_wq *wq`` struct socket_wq **Return** true if socket_wq has waiting processes **Description** The purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory barrier call. They were added due to the race found within the tcp code. Consider following tcp code paths:: CPU1 CPU2 sys_select receive packet ... ... __add_wait_queue update tp->rcv_nxt ... ... tp->rcv_nxt check sock_def_readable ... { schedule rcu_read_lock(); wq = rcu_dereference(sk->sk_wq); if (wq && waitqueue_active(&wq->wait)) wake_up_interruptible(&wq->wait) ... } The race for tcp fires when the __add_wait_queue changes done by CPU1 stay in its cache, and so does the tp->rcv_nxt update on CPU2 side. The CPU1 could then endup calling schedule and sleep forever if there are no more data on the socket.h](jl)}(h**Parameters**h]j)}(hjf>h]h Parameters}(hjh>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd>ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMc hj`>ubj)}(hhh]j)}(h*``struct socket_wq *wq`` struct socket_wq h](j)}(h``struct socket_wq *wq``h]j)}(hj>h]hstruct socket_wq *wq}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM` hj>ubj)}(hhh]jl)}(hstruct socket_wqh]hstruct socket_wq}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hM` hj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hM` hj|>ubah}(h]h ]h"]h$]h&]uh1jhj`>ubjl)}(h **Return**h]j)}(hj>h]hReturn}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMb hj`>ubjl)}(h'true if socket_wq has waiting processesh]h'true if socket_wq has waiting processes}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMb hj`>ubjl)}(h**Description**h]j)}(hj>h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMd hj`>ubjl)}(hThe purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory barrier call. They were added due to the race found within the tcp code.h]hThe purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory barrier call. They were added due to the race found within the tcp code.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMc hj`>ubjl)}(h#Consider following tcp code paths::h]h"Consider following tcp code paths:}(hj ?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMf hj`>ubj)}(hXCPU1 CPU2 sys_select receive packet ... ... __add_wait_queue update tp->rcv_nxt ... ... tp->rcv_nxt check sock_def_readable ... { schedule rcu_read_lock(); wq = rcu_dereference(sk->sk_wq); if (wq && waitqueue_active(&wq->wait)) wake_up_interruptible(&wq->wait) ... }h]hXCPU1 CPU2 sys_select receive packet ... ... __add_wait_queue update tp->rcv_nxt ... ... tp->rcv_nxt check sock_def_readable ... { schedule rcu_read_lock(); wq = rcu_dereference(sk->sk_wq); if (wq && waitqueue_active(&wq->wait)) wake_up_interruptible(&wq->wait) ... }}hj?sbah}(h]h ]h"]h$]h&]jPjQuh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMh hj`>ubjl)}(hThe race for tcp fires when the __add_wait_queue changes done by CPU1 stay in its cache, and so does the tp->rcv_nxt update on CPU2 side. The CPU1 could then endup calling schedule and sleep forever if there are no more data on the socket.h]hThe race for tcp fires when the __add_wait_queue changes done by CPU1 stay in its cache, and so does the tp->rcv_nxt update on CPU2 side. The CPU1 could then endup calling schedule and sleep forever if there are no more data on the socket.}(hj*?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMv hj`>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_poll_wait (C function)c.sock_poll_waithNtauh1hhj" hhhNhNubh)}(hhh](j)}(hKvoid sock_poll_wait (struct file *filp, struct socket *sock, poll_table *p)h]j )}(hJvoid sock_poll_wait(struct file *filp, struct socket *sock, poll_table *p)h](jM )}(hvoidh]hvoid}(hjY?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjU?hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM ubj")}(h h]h }(hjh?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjU?hhhjg?hM ubj3)}(hsock_poll_waith]j9)}(hsock_poll_waith]hsock_poll_wait}(hjz?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjv?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjU?hhhjg?hM ubj )}(h7(struct file *filp, struct socket *sock, poll_table *p)h](j )}(hstruct file *filph](j)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubh)}(hhh]j9)}(hfileh]hfile}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNj j )}j ]j )}j j|?sbc.sock_poll_waitasbuh1hhj?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubj )}(hj h]h*}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?ubj9)}(hfilph]hfilp}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubj )}(hstruct socket *sockh](j)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubh)}(hhh]j9)}(hsocketh]hsocket}(hj&@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(@modnameN classnameNj j )}j ]j?c.sock_poll_waitasbuh1hhj@ubj")}(h h]h }(hjD@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj )}(hj h]h*}(hjR@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@ubj9)}(hsockh]hsock}(hj_@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubj )}(h poll_table *ph](h)}(hhh]j9)}(h poll_tableh]h poll_table}(hj{@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjx@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}@modnameN classnameNj j )}j ]j?c.sock_poll_waitasbuh1hhjt@ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjt@ubj )}(hj h]h*}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjt@ubj9)}(hj h]hp}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjt@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjU?hhhjg?hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjQ?hhhjg?hM ubah}(h]jL?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjg?hM hjN?hhubjg)}(hhh]jl)}(hwrapper for the poll_wait call.h]hwrapper for the poll_wait call.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj@hhubah}(h]h ]h"]h$]h&]uh1jfhjN?hhhjg?hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct file *filp`` file ``struct socket *sock`` socket to wait on ``poll_table *p`` poll_table **Description** See the comments in the wq_has_sleeper function.h](jl)}(h**Parameters**h]j)}(hj@h]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj@ubj)}(hhh](j)}(h``struct file *filp`` file h](j)}(h``struct file *filp``h]j)}(hjAh]hstruct file *filp}(hj AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjAubj)}(hhh]jl)}(hfileh]hfile}(hj7AhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3AhM hj4Aubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj3AhM hjAubj)}(h*``struct socket *sock`` socket to wait on h](j)}(h``struct socket *sock``h]j)}(hjWAh]hstruct socket *sock}(hjYAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUAubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjQAubj)}(hhh]jl)}(hsocket to wait onh]hsocket to wait on}(hjpAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlAhM hjmAubah}(h]h ]h"]h$]h&]uh1jhjQAubeh}(h]h ]h"]h$]h&]uh1jhjlAhM hjAubj)}(h``poll_table *p`` poll_table h](j)}(h``poll_table *p``h]j)}(hjAh]h poll_table *p}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hjAubj)}(hhh]jl)}(h poll_tableh]h poll_table}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhM hjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhM hjAubeh}(h]h ]h"]h$]h&]uh1jhj@ubjl)}(h**Description**h]j)}(hjAh]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj@ubjl)}(h0See the comments in the wq_has_sleeper function.h]h0See the comments in the wq_has_sleeper function.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM hj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_page_frag (C function)c.sk_page_fraghNtauh1hhj" hhhNhNubh)}(hhh](j)}(h1struct page_frag * sk_page_frag (struct sock *sk)h]j )}(h/struct page_frag *sk_page_frag(struct sock *sk)h](j)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj BhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMT ubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj BhhhjBhMT ubh)}(hhh]j9)}(h page_fragh]h page_frag}(hj/BhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,Bubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1BmodnameN classnameNj j )}j ]j )}j sk_page_fragsbc.sk_page_fragasbuh1hhj BhhhjBhMT ubj")}(h h]h }(hjPBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj BhhhjBhMT ubj )}(hj h]h*}(hj^BhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj BhhhjBhMT ubj3)}(h sk_page_fragh]j9)}(hjMBh]h sk_page_frag}(hjoBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj BhhhjBhMT ubj )}(h(struct sock *sk)h]j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubh)}(hhh]j9)}(hsockh]hsock}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]jKBc.sk_page_fragasbuh1hhjBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj )}(hj h]h*}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBubj9)}(hskh]hsk}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubah}(h]h ]h"]h$]h&]jPjQuh1j hj BhhhjBhMT ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjBhhhjBhMT ubah}(h]jBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjBhMT hjBhhubjg)}(hhh]jl)}(hreturn an appropriate page_fragh]hreturn an appropriate page_frag}(hj ChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMT hjChhubah}(h]h ]h"]h$]h&]uh1jfhjBhhhjBhMT ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#Cjj#Cjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sock *sk`` socket **Description** Use the per task page_frag instead of the per socket one for optimization when we know that we're in process context and own everything that's associated with ``current``. Both direct reclaim and page faults can nest inside other socket operations and end up recursing into sk_page_frag() while it's already in use: explicitly avoid task page_frag when users disable sk_use_task_frag. **Return** a per task page_frag if context allows that, otherwise a per socket one.h](jl)}(h**Parameters**h]j)}(hj-Ch]h Parameters}(hj/ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+Cubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMX hj'Cubj)}(hhh]j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hjLCh]hstruct sock *sk}(hjNChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJCubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMU hjFCubj)}(hhh]jl)}(hsocketh]hsocket}(hjeChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjaChMU hjbCubah}(h]h ]h"]h$]h&]uh1jhjFCubeh}(h]h ]h"]h$]h&]uh1jhjaChMU hjCCubah}(h]h ]h"]h$]h&]uh1jhj'Cubjl)}(h**Description**h]j)}(hjCh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMW hj'Cubjl)}(hUse the per task page_frag instead of the per socket one for optimization when we know that we're in process context and own everything that's associated with ``current``.h](hUse the per task page_frag instead of the per socket one for optimization when we know that we’re in process context and own everything that’s associated with }(hjChhhNhNubj)}(h ``current``h]hcurrent}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh.}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMV hj'Cubjl)}(hBoth direct reclaim and page faults can nest inside other socket operations and end up recursing into sk_page_frag() while it's already in use: explicitly avoid task page_frag when users disable sk_use_task_frag.h]hBoth direct reclaim and page faults can nest inside other socket operations and end up recursing into sk_page_frag() while it’s already in use: explicitly avoid task page_frag when users disable sk_use_task_frag.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMZ hj'Cubjl)}(h **Return**h]j)}(hjCh]hReturn}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM_ hj'Cubjl)}(hHa per task page_frag if context allows that, otherwise a per socket one.h]hHa per task page_frag if context allows that, otherwise a per socket one.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhM` hj'Cubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_sock_tx_timestamp (C function)c._sock_tx_timestamphNtauh1hhj" hhhNhNubh)}(hhh](j)}(hjvoid _sock_tx_timestamp (struct sock *sk, const struct sockcm_cookie *sockc, __u8 *tx_flags, __u32 *tskey)h]j )}(hivoid _sock_tx_timestamp(struct sock *sk, const struct sockcm_cookie *sockc, __u8 *tx_flags, __u32 *tskey)h](jM )}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMf ubj")}(h h]h }(hj#DhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDhhhj"DhMf ubj3)}(h_sock_tx_timestamph]j9)}(h_sock_tx_timestamph]h_sock_tx_timestamp}(hj5DhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1Dubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjDhhhj"DhMf ubj )}(hR(struct sock *sk, const struct sockcm_cookie *sockc, __u8 *tx_flags, __u32 *tskey)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjQDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMDubj")}(h h]h }(hj^DhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMDubh)}(hhh]j9)}(hsockh]hsock}(hjoDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqDmodnameN classnameNj j )}j ]j )}j j7Dsbc._sock_tx_timestampasbuh1hhjMDubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMDubj )}(hj h]h*}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMDubj9)}(hskh]hsk}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIDubj )}(h!const struct sockcm_cookie *sockch](j)}(hj h]hconst}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubh)}(hhh]j9)}(h sockcm_cookieh]h sockcm_cookie}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNj j )}j ]jDc._sock_tx_timestampasbuh1hhjDubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj )}(hj h]h*}(hj(EhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj9)}(hsockch]hsockc}(hj5EhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIDubj )}(h__u8 *tx_flagsh](h)}(hhh]j9)}(h__u8h]h__u8}(hjQEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSEmodnameN classnameNj j )}j ]jDc._sock_tx_timestampasbuh1hhjJEubj")}(h h]h }(hjoEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJEubj )}(hj h]h*}(hj}EhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJEubj9)}(htx_flagsh]htx_flags}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIDubj )}(h __u32 *tskeyh](h)}(hhh]j9)}(h__u32h]h__u32}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNj j )}j ]jDc._sock_tx_timestampasbuh1hhjEubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(htskeyh]htskey}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIDubeh}(h]h ]h"]h$]h&]jPjQuh1j hjDhhhj"DhMf ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj Dhhhj"DhMf ubah}(h]jDah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj"DhMf hj Dhhubjg)}(hhh]jl)}(h8checks whether the outgoing packet is to be time stampedh]h8checks whether the outgoing packet is to be time stamped}(hj FhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMf hjFhhubah}(h]h ]h"]h$]h&]uh1jfhj Dhhhj"DhMf ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!Fjj!Fjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sock *sk`` socket sending this packet ``const struct sockcm_cookie *sockc`` pointer to socket cmsg cookie to get timestamping info ``__u8 *tx_flags`` completed with instructions for time stamping ``__u32 *tskey`` filled in with next sk_tskey (not for TCP, which uses seqno) **Note** callers should take care of initial ``*tx_flags`` value (usually 0)h](jl)}(h**Parameters**h]j)}(hj+Fh]h Parameters}(hj-FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)Fubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMj hj%Fubj)}(hhh](j)}(h/``struct sock *sk`` socket sending this packet h](j)}(h``struct sock *sk``h]j)}(hjJFh]hstruct sock *sk}(hjLFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMg hjDFubj)}(hhh]jl)}(hsocket sending this packeth]hsocket sending this packet}(hjcFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_FhMg hj`Fubah}(h]h ]h"]h$]h&]uh1jhjDFubeh}(h]h ]h"]h$]h&]uh1jhj_FhMg hjAFubj)}(h]``const struct sockcm_cookie *sockc`` pointer to socket cmsg cookie to get timestamping info h](j)}(h%``const struct sockcm_cookie *sockc``h]j)}(hjFh]h!const struct sockcm_cookie *sockc}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMh hj}Fubj)}(hhh]jl)}(h6pointer to socket cmsg cookie to get timestamping infoh]h6pointer to socket cmsg cookie to get timestamping info}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMh hjFubah}(h]h ]h"]h$]h&]uh1jhj}Fubeh}(h]h ]h"]h$]h&]uh1jhjFhMh hjAFubj)}(hA``__u8 *tx_flags`` completed with instructions for time stamping h](j)}(h``__u8 *tx_flags``h]j)}(hjFh]h__u8 *tx_flags}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMi hjFubj)}(hhh]jl)}(h-completed with instructions for time stampingh]h-completed with instructions for time stamping}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMi hjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMi hjAFubj)}(hN``__u32 *tskey`` filled in with next sk_tskey (not for TCP, which uses seqno) h](j)}(h``__u32 *tskey``h]j)}(hjFh]h __u32 *tskey}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:20: ./include/net/sock.hhMj hjFubj)}(hhh]jl)}(hKhhhNhNubh)}(h:c:type:`socket`h]j)}(hjHKh]hsocket}(hjJKhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjFKubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]jIc.sock_alloc_fileasbjsocketuh1hhjIhMhj>Kubh to a }(hj>KhhhNhNubh)}(h:c:type:`file`h]j)}(hjpKh]hfile}(hjrKhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjnKubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jdKjfileuh1hhjIhMhj>Kubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj;Khhubah}(h]h ]h"]h$]h&]uh1jfhjIhhhjIhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKjjKjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct socket *sock`` socket ``int flags`` file status flags ``const char *dname`` protocol name **Description** Returns the :c:type:`file` bound with **sock**, implicitly storing it in sock->file. If dname is ``NULL``, sets to "". On failure **sock** is released, and an ERR pointer is returned. This function uses GFP_KERNEL internally.h](jl)}(h**Parameters**h]j)}(hjKh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjKubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjKh]hstruct socket *sock}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjKubj)}(hhh]jl)}(hsocketh]hsocket}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjKubj)}(h ``int flags`` file status flags h](j)}(h ``int flags``h]j)}(hjKh]h int flags}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjKubj)}(hhh]jl)}(hfile status flagsh]hfile status flags}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhMhjLubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjKubj)}(h$``const char *dname`` protocol name h](j)}(h``const char *dname``h]j)}(hj8Lh]hconst char *dname}(hj:LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Lubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj2Lubj)}(hhh]jl)}(h protocol nameh]h protocol name}(hjQLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMLhMhjNLubah}(h]h ]h"]h$]h&]uh1jhj2Lubeh}(h]h ]h"]h$]h&]uh1jhjMLhMhjKubeh}(h]h ]h"]h$]h&]uh1jhjKubjl)}(h**Description**h]j)}(hjsLh]h Description}(hjuLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqLubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjKubj)}(hReturns the :c:type:`file` bound with **sock**, implicitly storing it in sock->file. If dname is ``NULL``, sets to "". On failure **sock** is released, and an ERR pointer is returned. This function uses GFP_KERNEL internally.h](jl)}(hvReturns the :c:type:`file` bound with **sock**, implicitly storing it in sock->file. If dname is ``NULL``, sets to "".h](h Returns the }(hjLhhhNhNubh)}(h:c:type:`file`h]j)}(hjLh]hfile}(hjLhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjfileuh1hhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjLubh bound with }(hjLhhhNhNubj)}(h**sock**h]hsock}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh3, implicitly storing it in sock->file. If dname is }(hjLhhhNhNubj)}(h``NULL``h]hNULL}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh, sets to “”.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjLhMhjLubjl)}(h@On failure **sock** is released, and an ERR pointer is returned.h](h On failure }(hjLhhhNhNubj)}(h**sock**h]hsock}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh- is released, and an ERR pointer is returned.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjLubjl)}(h)This function uses GFP_KERNEL internally.h]h)This function uses GFP_KERNEL internally.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM"hjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_from_file (C function)c.sock_from_filehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h2struct socket * sock_from_file (struct file *file)h]j )}(h0struct socket *sock_from_file(struct file *file)h](j)}(hjh]hstruct}(hj9MhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5MhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMVubj")}(h h]h }(hjGMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5MhhhjFMhMVubh)}(hhh]j9)}(hsocketh]hsocket}(hjXMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZMmodnameN classnameNj j )}j ]j )}j sock_from_filesbc.sock_from_fileasbuh1hhj5MhhhjFMhMVubj")}(h h]h }(hjyMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5MhhhjFMhMVubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5MhhhjFMhMVubj3)}(hsock_from_fileh]j9)}(hjvMh]hsock_from_file}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5MhhhjFMhMVubj )}(h(struct file *file)h]j )}(hstruct file *fileh](j)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubh)}(hhh]j9)}(hfileh]hfile}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]jtMc.sock_from_fileasbuh1hhjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hfileh]hfile}(hj NhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjMubah}(h]h ]h"]h$]h&]jPjQuh1j hj5MhhhjFMhMVubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1MhhhjFMhMVubah}(h]j,Mah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjFMhMVhj.Mhhubjg)}(hhh]jl)}(h0Return the :c:type:`socket` bounded to **file**.h](h Return the }(hj4NhhhNhNubh)}(h:c:type:`socket`h]j)}(hj>Nh]hsocket}(hj@NhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjRubj)}(hhh]jl)}(h no argumentsh]h no arguments}(hj]RhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYRhKhjZRubah}(h]h ]h"]h$]h&]uh1jhj>Rubeh}(h]h ]h"]h$]h&]uh1jhjYRhKhj;Rubah}(h]h ]h"]h$]h&]uh1jhjRubjl)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Rubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chKhjRubj)}(hAllocate a new inode and socket object. The two are bound together and initialised. The socket is then returned. If we are out of inodes NULL is returned. This functions uses GFP_KERNEL internally.h]jl)}(hAllocate a new inode and socket object. The two are bound together and initialised. The socket is then returned. If we are out of inodes NULL is returned. This functions uses GFP_KERNEL internally.h]hAllocate a new inode and socket object. The two are bound together and initialised. The socket is then returned. If we are out of inodes NULL is returned. This functions uses GFP_KERNEL internally.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjRubah}(h]h ]h"]h$]h&]uh1jhjRhMhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_release (C function)c.sock_releasehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h'void sock_release (struct socket *sock)h]j )}(h&void sock_release(struct socket *sock)h](jM )}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRhhhjRhMubj3)}(h sock_releaseh]j9)}(h sock_releaseh]h sock_release}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjRhhhjRhMubj )}(h(struct socket *sock)h]j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hj ShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubh)}(hhh]j9)}(hsocketh]hsocket}(hj)ShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&Subah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+SmodnameN classnameNj j )}j ]j )}j jRsbc.sock_releaseasbuh1hhjSubj")}(h h]h }(hjIShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj )}(hj h]h*}(hjWShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSubj9)}(hsockh]hsock}(hjdShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSubah}(h]h ]h"]h$]h&]jPjQuh1j hjRhhhjRhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjRhhhjRhMubah}(h]jRah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjRhMhjRhhubjg)}(hhh]jl)}(hclose a socketh]hclose a socket}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjShhubah}(h]h ]h"]h$]h&]uh1jfhjRhhhjRhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct socket *sock`` socket to close **Description** The socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.h](jl)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjSubj)}(hhh]j)}(h(``struct socket *sock`` socket to close h](j)}(h``struct socket *sock``h]j)}(hjSh]hstruct socket *sock}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjSubj)}(hhh]jl)}(hsocket to closeh]hsocket to close}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjSubjl)}(h**Description**h]j)}(hj Th]h Description}(hj ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjSubj)}(hThe socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.h]jl)}(hThe socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.h]hThe socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.}(hj$ThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj Tubah}(h]h ]h"]h$]h&]uh1jhj2ThMhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_sendmsg (C function)c.sock_sendmsghNtauh1hhj" hhhNhNubh)}(hhh](j)}(h:int sock_sendmsg (struct socket *sock, struct msghdr *msg)h]j )}(h9int sock_sendmsg(struct socket *sock, struct msghdr *msg)h](jM )}(hinth]hint}(hjYThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUThhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM3ubj")}(h h]h }(hjhThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUThhhjgThM3ubj3)}(h sock_sendmsgh]j9)}(h sock_sendmsgh]h sock_sendmsg}(hjzThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvTubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjUThhhjgThM3ubj )}(h)(struct socket *sock, struct msghdr *msg)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubh)}(hhh]j9)}(hsocketh]hsocket}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNj j )}j ]j )}j j|Tsbc.sock_sendmsgasbuh1hhjTubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hsockh]hsock}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(hstruct msghdr *msgh](j)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubh)}(hhh]j9)}(hmsghdrh]hmsghdr}(hj&UhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#Uubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(UmodnameN classnameNj j )}j ]jTc.sock_sendmsgasbuh1hhjUubj")}(h h]h }(hjDUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjRUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hmsgh]hmsg}(hj_UhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubeh}(h]h ]h"]h$]h&]jPjQuh1j hjUThhhjgThM3ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjQThhhjgThM3ubah}(h]jLTah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjgThM3hjNThhubjg)}(hhh]jl)}(hsend a message through **sock**h](hsend a message through }(hjUhhhNhNubj)}(h**sock**h]hsock}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM3hjUhhubah}(h]h ]h"]h$]h&]uh1jfhjNThhhjgThM3ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct socket *sock`` socket ``struct msghdr *msg`` message to send **Description** Sends **msg** through **sock**, passing through LSM. Returns the number of bytes sent, or an error code.h](jl)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM7hjUubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjUh]hstruct socket *sock}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM4hjUubj)}(hhh]jl)}(hsocketh]hsocket}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhM4hjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhM4hjUubj)}(h'``struct msghdr *msg`` message to send h](j)}(h``struct msghdr *msg``h]j)}(hjVh]hstruct msghdr *msg}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM5hj Vubj)}(hhh]jl)}(hmessage to sendh]hmessage to send}(hj*VhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&VhM5hj'Vubah}(h]h ]h"]h$]h&]uh1jhj Vubeh}(h]h ]h"]h$]h&]uh1jhj&VhM5hjUubeh}(h]h ]h"]h$]h&]uh1jhjUubjl)}(h**Description**h]j)}(hjLVh]h Description}(hjNVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJVubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM7hjUubj)}(hhSends **msg** through **sock**, passing through LSM. Returns the number of bytes sent, or an error code.h]jl)}(hhSends **msg** through **sock**, passing through LSM. Returns the number of bytes sent, or an error code.h](hSends }(hjfVhhhNhNubj)}(h**msg**h]hmsg}(hjnVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfVubh through }(hjfVhhhNhNubj)}(h**sock**h]hsock}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfVubhJ, passing through LSM. Returns the number of bytes sent, or an error code.}(hjfVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM6hjbVubah}(h]h ]h"]h$]h&]uh1jhjVhM6hjUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_sendmsg (C function)c.kernel_sendmsghNtauh1hhj" hhhNhNubh)}(hhh](j)}(hgint kernel_sendmsg (struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size)h]j )}(hfint kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size)h](jM )}(hinth]hint}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjVhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMOubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVhhhjVhMOubj3)}(hkernel_sendmsgh]j9)}(hkernel_sendmsgh]hkernel_sendmsg}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjVhhhjVhMOubj )}(hT(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj")}(h h]h }(hj WhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubh)}(hhh]j9)}(hsocketh]hsocket}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]j )}j jVsbc.kernel_sendmsgasbuh1hhjVubj")}(h h]h }(hj:WhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj )}(hj h]h*}(hjHWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVubj9)}(hsockh]hsock}(hjUWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubj )}(hstruct msghdr *msgh](j)}(hjh]hstruct}(hjnWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjWubj")}(h h]h }(hj{WhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjWubh)}(hhh]j9)}(hmsghdrh]hmsghdr}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]j6Wc.kernel_sendmsgasbuh1hhjjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjWubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjWubj9)}(hmsgh]hmsg}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubj )}(hstruct kvec *vech](j)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubh)}(hhh]j9)}(hkvech]hkvec}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]j6Wc.kernel_sendmsgasbuh1hhjWubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hj(XhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(hvech]hvec}(hj5XhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubj )}(h size_t numh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjQXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSXmodnameN classnameNj j )}j ]j6Wc.kernel_sendmsgasbuh1hhjJXubj")}(h h]h }(hjoXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJXubj9)}(hnumh]hnum}(hj}XhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubj )}(h size_t sizeh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNj j )}j ]j6Wc.kernel_sendmsgasbuh1hhjXubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj9)}(hsizeh]hsize}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubeh}(h]h ]h"]h$]h&]jPjQuh1j hjVhhhjVhMOubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjVhhhjVhMOubah}(h]jVah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjVhMOhjVhhubjg)}(hhh]jl)}(h.send a message through **sock** (kernel-space)h](hsend a message through }(hjXhhhNhNubj)}(h**sock**h]hsock}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh (kernel-space)}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMOhjXhhubah}(h]h ]h"]h$]h&]uh1jfhjVhhhjVhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhj" hNhNubj)}(hX^**Parameters** ``struct socket *sock`` socket ``struct msghdr *msg`` message header ``struct kvec *vec`` kernel vec ``size_t num`` vec array length ``size_t size`` total message data size **Description** Builds the message data with **vec** and sends it through **sock**. Returns the number of bytes sent, or an error code.h](jl)}(h**Parameters**h]j)}(hj#Yh]h Parameters}(hj%YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Yubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMShjYubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjBYh]hstruct socket *sock}(hjDYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@Yubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMPhj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubj )}(hstruct msghdr *msgh](j)}(hjh]hstruct}(hjW^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjS^ubj")}(h h]h }(hjd^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjS^ubh)}(hhh]j9)}(hmsghdrh]hmsghdr}(hju^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjr^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjw^modnameN classnameNj j )}j ]j^c.kernel_recvmsgasbuh1hhjS^ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjS^ubj )}(hj h]h*}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjS^ubj9)}(hmsgh]hmsg}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjS^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubj )}(hstruct kvec *vech](j)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubh)}(hhh]j9)}(hkvech]hkvec}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j^c.kernel_recvmsgasbuh1hhj^ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubj )}(hj h]h*}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj^ubj9)}(hvech]hvec}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubj )}(h size_t numh](h)}(hhh]j9)}(hsize_th]hsize_t}(hj:_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<_modnameN classnameNj j )}j ]j^c.kernel_recvmsgasbuh1hhj3_ubj")}(h h]h }(hjX_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3_ubj9)}(hnumh]hnum}(hjf_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubj )}(h size_t sizeh](h)}(hhh]j9)}(hsize_th]hsize_t}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]j^c.kernel_recvmsgasbuh1hhj{_ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{_ubj9)}(hsizeh]hsize}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubj )}(h int flagsh](jM )}(hinth]hint}(hj_hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubj9)}(hflagsh]hflags}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj]hhhj]hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj]hhhj]hMubah}(h]j]ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hMhj]hhubjg)}(hhh]jl)}(h.Receive a message from a socket (kernel space)h]h.Receive a message from a socket (kernel space)}(hj `hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj `hhubah}(h]h ]h"]h$]h&]uh1jfhj]hhhj]hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%`jj%`jjjuh1hhhhj" hNhNubj)}(hX`**Parameters** ``struct socket *sock`` The socket to receive the message from ``struct msghdr *msg`` Received message ``struct kvec *vec`` Input s/g array for message data ``size_t num`` Size of input s/g array ``size_t size`` Number of bytes to read ``int flags`` Message flags (MSG_DONTWAIT, etc...) **Description** On return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array. The returned value is the total number of bytes received, or an error.h](jl)}(h**Parameters**h]j)}(hj/`h]h Parameters}(hj1`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-`ubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj)`ubj)}(hhh](j)}(h?``struct socket *sock`` The socket to receive the message from h](j)}(h``struct socket *sock``h]j)}(hjN`h]hstruct socket *sock}(hjP`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL`ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjH`ubj)}(hhh]jl)}(h&The socket to receive the message fromh]h&The socket to receive the message from}(hjg`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjc`hMhjd`ubah}(h]h ]h"]h$]h&]uh1jhjH`ubeh}(h]h ]h"]h$]h&]uh1jhjc`hMhjE`ubj)}(h(``struct msghdr *msg`` Received message h](j)}(h``struct msghdr *msg``h]j)}(hj`h]hstruct msghdr *msg}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj`ubj)}(hhh]jl)}(hReceived messageh]hReceived message}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMhjE`ubj)}(h6``struct kvec *vec`` Input s/g array for message data h](j)}(h``struct kvec *vec``h]j)}(hj`h]hstruct kvec *vec}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj`ubj)}(hhh]jl)}(h Input s/g array for message datah]h Input s/g array for message data}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMhjE`ubj)}(h'``size_t num`` Size of input s/g array h](j)}(h``size_t num``h]j)}(hj`h]h size_t num}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj`ubj)}(hhh]jl)}(hSize of input s/g arrayh]hSize of input s/g array}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhjahMhjE`ubj)}(h(``size_t size`` Number of bytes to read h](j)}(h``size_t size``h]j)}(hj2ah]h size_t size}(hj4ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0aubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj,aubj)}(hhh]jl)}(hNumber of bytes to readh]hNumber of bytes to read}(hjKahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGahMhjHaubah}(h]h ]h"]h$]h&]uh1jhj,aubeh}(h]h ]h"]h$]h&]uh1jhjGahMhjE`ubj)}(h3``int flags`` Message flags (MSG_DONTWAIT, etc...) h](j)}(h ``int flags``h]j)}(hjkah]h int flags}(hjmahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiaubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjeaubj)}(hhh]jl)}(h$Message flags (MSG_DONTWAIT, etc...)h]h$Message flags (MSG_DONTWAIT, etc...)}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhjeaubeh}(h]h ]h"]h$]h&]uh1jhjahMhjE`ubeh}(h]h ]h"]h$]h&]uh1jhj)`ubjl)}(h**Description**h]j)}(hjah]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj)`ubj)}(hOn return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array. The returned value is the total number of bytes received, or an error.h](jl)}(hOn return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array.h]hOn return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjaubjl)}(hFThe returned value is the total number of bytes received, or an error.h]hFThe returned value is the total number of bytes received, or an error.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMhj)`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_create_lite (C function)c.sock_create_litehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hNint sock_create_lite (int family, int type, int protocol, struct socket **res)h]j )}(hMint sock_create_lite(int family, int type, int protocol, struct socket **res)h](jM )}(hinth]hint}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjbhMubj3)}(hsock_create_liteh]j9)}(hsock_create_liteh]hsock_create_lite}(hj%bhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!bubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjbhMubj )}(h9(int family, int type, int protocol, struct socket **res)h](j )}(h int familyh](jM )}(hinth]hint}(hjAbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj=bubj")}(h h]h }(hjObhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=bubj9)}(hfamilyh]hfamily}(hj]bhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=bubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9bubj )}(hint typeh](jM )}(hinth]hint}(hjvbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrbubj9)}(htypeh]htype}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9bubj )}(h int protocolh](jM )}(hinth]hint}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj9)}(hprotocolh]hprotocol}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9bubj )}(hstruct socket **resh](j)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubh)}(hhh]j9)}(hsocketh]hsocket}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]j )}j j'bsbc.sock_create_liteasbuh1hhjbubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hj,chhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj )}(hj h]h*}(hj9chhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(hresh]hres}(hjFchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9bubeh}(h]h ]h"]h$]h&]jPjQuh1j hjbhhhjbhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjahhhjbhMubah}(h]jaah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjbhMhjahhubjg)}(hhh]jl)}(hcreates a socketh]hcreates a socket}(hjpchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjmchhubah}(h]h ]h"]h$]h&]uh1jfhjahhhjbhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``int family`` protocol family (AF_INET, ...) ``int type`` communication type (SOCK_STREAM, ...) ``int protocol`` protocol (0, ...) ``struct socket **res`` new socket **Description** Creates a new socket and assigns it to **res**, passing through LSM. The new socket initialization is not complete, see kernel_accept(). Returns 0 or an error. On failure **res** is set to ``NULL``. This function internally uses GFP_KERNEL.h](jl)}(h**Parameters**h]j)}(hjch]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjcubj)}(hhh](j)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hjch]h int family}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjcubj)}(hhh]jl)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMhjcubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hjch]hint type}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjcubj)}(hhh]jl)}(h%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMhjcubj)}(h#``int protocol`` protocol (0, ...) h](j)}(h``int protocol``h]j)}(hj#dh]h int protocol}(hj%dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!dubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjdubj)}(hhh]jl)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hjhjhubah}(h]h ]h"]h$]h&]uh1jhj6ihM>hjIgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_create (C function) c.sock_createhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hIint sock_create (int family, int type, int protocol, struct socket **res)h]j )}(hHint sock_create(int family, int type, int protocol, struct socket **res)h](jM )}(hinth]hint}(hj]ihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYihhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj")}(h h]h }(hjlihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYihhhjkihMubj3)}(h sock_createh]j9)}(h sock_createh]h sock_create}(hj~ihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjziubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjYihhhjkihMubj )}(h9(int family, int type, int protocol, struct socket **res)h](j )}(h int familyh](jM )}(hinth]hint}(hjihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjiubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj9)}(hfamilyh]hfamily}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubj )}(hint typeh](jM )}(hinth]hint}(hjihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjiubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj9)}(htypeh]htype}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubj )}(h int protocolh](jM )}(hinth]hint}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj9)}(hprotocolh]hprotocol}(hj jhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubj )}(hstruct socket **resh](j)}(hjh]hstruct}(hj9jhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5jubj")}(h h]h }(hjFjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5jubh)}(hhh]j9)}(hsocketh]hsocket}(hjWjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYjmodnameN classnameNj j )}j ]j )}j jisb c.sock_createasbuh1hhj5jubj")}(h h]h }(hjwjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5jubj )}(hj h]h*}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5jubj )}(hj h]h*}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5jubj9)}(hresh]hres}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5jubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubeh}(h]h ]h"]h$]h&]jPjQuh1j hjYihhhjkihMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjUihhhjkihMubah}(h]jPiah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjkihMhjRihhubjg)}(hhh]jl)}(hcreates a socketh]hcreates a socket}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjjhhubah}(h]h ]h"]h$]h&]uh1jfhjRihhhjkihMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjjjuh1hhhhj" hNhNubj)}(hX@**Parameters** ``int family`` protocol family (AF_INET, ...) ``int type`` communication type (SOCK_STREAM, ...) ``int protocol`` protocol (0, ...) ``struct socket **res`` new socket **Description** A wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h](jl)}(h**Parameters**h]j)}(hjjh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjjubj)}(hhh](j)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hj kh]h int family}(hj khhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjkubj)}(hhh]jl)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hj#khhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMhj kubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjkubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hjCkh]hint type}(hjEkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAkubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj=kubj)}(hhh]jl)}(h%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hj\khhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXkhMhjYkubah}(h]h ]h"]h$]h&]uh1jhj=kubeh}(h]h ]h"]h$]h&]uh1jhjXkhMhjkubj)}(h#``int protocol`` protocol (0, ...) h](j)}(h``int protocol``h]j)}(hj|kh]h int protocol}(hj~khhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzkubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjvkubj)}(hhh]jl)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjvkubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjkubj)}(h#``struct socket **res`` new socket h](j)}(h``struct socket **res``h]j)}(hjkh]hstruct socket **res}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjkubj)}(hhh]jl)}(h new socketh]h new socket}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjkubeh}(h]h ]h"]h$]h&]uh1jhjjubjl)}(h**Description**h]j)}(hjkh]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjjubj)}(hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h]jl)}(hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h]hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.}(hj lhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjlubah}(h]h ]h"]h$]h&]uh1jhjlhMhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_create_kern (C function)c.sock_create_kernhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h_int sock_create_kern (struct net *net, int family, int type, int protocol, struct socket **res)h]j )N}(h^int sock_create_kern(struct net *net, int family, int type, int protocol, struct socket **res)h](jM )}(hinth]hint}(hj?lhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;lhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj")}(h h]h }(hjNlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;lhhhjMlhMubj3)}(hsock_create_kernh]j9)}(hsock_create_kernh]hsock_create_kern}(hj`lhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\lubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;lhhhjMlhMubj )}(hJ(struct net *net, int family, int type, int protocol, struct socket **res)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hj|lhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxlubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxlubh)}(hhh]j9)}(hneth]hnet}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNj j )}j ]j )}j jblsbc.sock_create_kernasbuh1hhjxlubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxlubj )}(hj h]h*}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxlubj9)}(hneth]hnet}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtlubj )}(h int familyh](jM )}(hinth]hint}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjlubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubj9)}(hfamilyh]hfamily}(hj mhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtlubj )}(hint typeh](jM )}(hinth]hint}(hj#mhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmubj")}(h h]h }(hj1mhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj9)}(htypeh]htype}(hj?mhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtlubj )}(h int protocolh](jM )}(hinth]hint}(hjXmhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjTmubj")}(h h]h }(hjfmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTmubj9)}(hprotocolh]hprotocol}(hjtmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtlubj )}(hstruct socket **resh](j)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubh)}(hhh]j9)}(hsocketh]hsocket}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]jlc.sock_create_kernasbuh1hhjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hresh]hres}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtlubeh}(h]h ]h"]h$]h&]jPjQuh1j hj;lhhhjMlhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7lhhhjMlhMubah}(h]j2lah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjMlhMhj4lhhubjg)}(hhh]jl)}(hcreates a socket (kernel space)h]hcreates a socket (kernel space)}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjnhhubah}(h]h ]h"]h$]h&]uh1jfhj4lhhhjMlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3njj3njjjuh1hhhhj" hNhNubj)}(hXe**Parameters** ``struct net *net`` net namespace ``int family`` protocol family (AF_INET, ...) ``int type`` communication type (SOCK_STREAM, ...) ``int protocol`` protocol (0, ...) ``struct socket **res`` new socket **Description** A wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h](jl)}(h**Parameters**h]j)}(hj=nh]h Parameters}(hj?nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;nubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj7nubj)}(hhh](j)}(h"``struct net *net`` net namespace h](j)}(h``struct net *net``h]j)}(hj\nh]hstruct net *net}(hj^nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZnubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjVnubj)}(hhh]jl)}(h net namespaceh]h net namespace}(hjunhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqnhMhjrnubah}(h]h ]h"]h$]h&]uh1jhjVnubeh}(h]h ]h"]h$]h&]uh1jhjqnhMhjSnubj)}(h.``int family`` protocol family (AF_INET, ...) h](j)}(h``int family``h]j)}(hjnh]h int family}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjnubj)}(hhh]jl)}(hprotocol family (AF_INET, ...)h]hprotocol family (AF_INET, ...)}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjSnubj)}(h3``int type`` communication type (SOCK_STREAM, ...) h](j)}(h ``int type``h]j)}(hjnh]hint type}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjnubj)}(hhh]jl)}(h%communication type (SOCK_STREAM, ...)h]h%communication type (SOCK_STREAM, ...)}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjSnubj)}(h#``int protocol`` protocol (0, ...) h](j)}(h``int protocol``h]j)}(hjoh]h int protocol}(hj ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjoubj)}(hhh]jl)}(hprotocol (0, ...)h]hprotocol (0, ...)}(hj ohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohMhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMhjSnubj)}(h#``struct socket **res`` new socket h](j)}(h``struct socket **res``h]j)}(hj@oh]hstruct socket **res}(hjBohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>oubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj:oubj)}(hhh]jl)}(h new socketh]h new socket}(hjYohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUohMhjVoubah}(h]h ]h"]h$]h&]uh1jhj:oubeh}(h]h ]h"]h$]h&]uh1jhjUohMhjSnubeh}(h]h ]h"]h$]h&]uh1jhj7nubjl)}(h**Description**h]j)}(hj{oh]h Description}(hj}ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyoubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj7nubj)}(hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h]jl)}(hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.h]hbA wrapper around __sock_create(). Returns 0 or an error. This function internally uses GFP_KERNEL.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjoubah}(h]h ]h"]h$]h&]uh1jhjohMhj7nubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_register (C function)c.sock_registerhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h6int sock_register (const struct net_proto_family *ops)h]j )}(h5int sock_register(const struct net_proto_family *ops)h](jM )}(hinth]hint}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjohhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjohhhjohM ubj3)}(h sock_registerh]j9)}(h sock_registerh]h sock_register}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjohhhjohM ubj )}(h$(const struct net_proto_family *ops)h]j )}(h"const struct net_proto_family *opsh](j)}(hj h]hconst}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj)}(hjh]hstruct}(hj"phhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj")}(h h]h }(hj/phhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubh)}(hhh]j9)}(hnet_proto_familyh]hnet_proto_family}(hj@phhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=pubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBpmodnameN classnameNj j )}j ]j )}j josbc.sock_registerasbuh1hhjpubj")}(h h]h }(hj`phhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj )}(hj h]h*}(hjnphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpubj9)}(hopsh]hops}(hj{phhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubah}(h]h ]h"]h$]h&]jPjQuh1j hjohhhjohM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjohhhjohM ubah}(h]joah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjohM hjohhubjg)}(hhh]jl)}(hadd a socket protocol handlerh]hadd a socket protocol handler}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjphhubah}(h]h ]h"]h$]h&]uh1jfhjohhhjohM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1hhhhj" hNhNubj)}(hXK**Parameters** ``const struct net_proto_family *ops`` description of protocol **Description** This function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.h](jl)}(h**Parameters**h]j)}(hjph]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjpubj)}(hhh]j)}(h?``const struct net_proto_family *ops`` description of protocol h](j)}(h&``const struct net_proto_family *ops``h]j)}(hjph]h"const struct net_proto_family *ops}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjpubj)}(hhh]jl)}(hdescription of protocolh]hdescription of protocol}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphM hjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphM hjpubah}(h]h ]h"]h$]h&]uh1jhjpubjl)}(h**Description**h]j)}(hj!qh]h Description}(hj#qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjpubj)}(hThis function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.h]jl)}(hThis function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.h]hThis function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The value ops->family corresponds to the socket system call protocol family.}(hj;qhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj7qubah}(h]h ]h"]h$]h&]uh1jhjIqhM hjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsock_unregister (C function)c.sock_unregisterhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h!void sock_unregister (int family)h]j )}(h void sock_unregister(int family)h](jM )}(hvoidh]hvoid}(hjpqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjlqhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlqhhhj~qhM ubj3)}(hsock_unregisterh]j9)}(hsock_unregisterh]hsock_unregister}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlqhhhj~qhM ubj )}(h (int family)h]j )}(h int familyh](jM )}(hinth]hint}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj9)}(hfamilyh]hfamily}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjqubah}(h]h ]h"]h$]h&]jPjQuh1j hjlqhhhj~qhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhqhhhj~qhM ubah}(h]jcqah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj~qhM hjeqhhubjg)}(hhh]jl)}(hremove a protocol handlerh]hremove a protocol handler}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjqhhubah}(h]h ]h"]h$]h&]uh1jfhjeqhhhj~qhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj rjj rjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``int family`` protocol family to remove **Description** This function is called by a protocol handler that wants to remove its address family, and have it unlinked from the new socket creation. If protocol handler is a module, then it can use module reference counts to protect against new references. If protocol handler is not a module then it needs to provide its own protection in the ops->create routine.h](jl)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM! hjrubj)}(hhh]j)}(h)``int family`` protocol family to remove h](j)}(h``int family``h]j)}(hj4rh]h int family}(hj6rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2rubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hj.rubj)}(hhh]jl)}(hprotocol family to removeh]hprotocol family to remove}(hjMrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIrhM hjJrubah}(h]h ]h"]h$]h&]uh1jhj.rubeh}(h]h ]h"]h$]h&]uh1jhjIrhM hj+rubah}(h]h ]h"]h$]h&]uh1jhjrubjl)}(h**Description**h]j)}(hjorh]h Description}(hjqrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmrubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjrubj)}(hXbThis function is called by a protocol handler that wants to remove its address family, and have it unlinked from the new socket creation. If protocol handler is a module, then it can use module reference counts to protect against new references. If protocol handler is not a module then it needs to provide its own protection in the ops->create routine.h](jl)}(hThis function is called by a protocol handler that wants to remove its address family, and have it unlinked from the new socket creation.h]hThis function is called by a protocol handler that wants to remove its address family, and have it unlinked from the new socket creation.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM hjrubjl)}(hIf protocol handler is a module, then it can use module reference counts to protect against new references. If protocol handler is not a module then it needs to provide its own protection in the ops->create routine.h]hIf protocol handler is a module, then it can use module reference counts to protect against new references. If protocol handler is not a module then it needs to provide its own protection in the ops->create routine.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chM# hjrubeh}(h]h ]h"]h$]h&]uh1jhjrhM hjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_bind (C function) c.kernel_bindhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hQint kernel_bind (struct socket *sock, struct sockaddr_unsized *addr, int addrlen)h]j )}(hPint kernel_bind(struct socket *sock, struct sockaddr_unsized *addr, int addrlen)h](jM )}(hinth]hint}(hjrhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMMubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrhhhjrhMMubj3)}(h kernel_bindh]j9)}(h kernel_bindh]h kernel_bind}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjrhhhjrhMMubj )}(hA(struct socket *sock, struct sockaddr_unsized *addr, int addrlen)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hj shhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubh)}(hhh]j9)}(hsocketh]hsocket}(hj(shhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%subah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*smodnameN classnameNj j )}j ]j )}j jrsb c.kernel_bindasbuh1hhjsubj")}(h h]h }(hjHshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h*}(hjVshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(hsockh]hsock}(hjcshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(hstruct sockaddr_unsized *addrh](j)}(hjh]hstruct}(hj|shhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxsubh)}(hhh]j9)}(hsockaddr_unsizedh]hsockaddr_unsized}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]jDs c.kernel_bindasbuh1hhjxsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxsubj )}(hj h]h*}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxsubj9)}(haddrh]haddr}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(h int addrlenh](jM )}(hinth]hint}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj9)}(haddrlenh]haddrlen}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubeh}(h]h ]h"]h$]h&]jPjQuh1j hjrhhhjrhMMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjrhhhjrhMMubah}(h]jrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjrhMMhjrhhubjg)}(hhh]jl)}(h*bind an address to a socket (kernel space)h]h*bind an address to a socket (kernel space)}(hj2thhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMMhj/thhubah}(h]h ]h"]h$]h&]uh1jfhjrhhhjrhMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJtjjJtjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct socket *sock`` socket ``struct sockaddr_unsized *addr`` address ``int addrlen`` length of address **Description** Returns 0 or an error.h](jl)}(h**Parameters**h]j)}(hjTth]h Parameters}(hjVthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRtubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMQhjNtubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjsth]hstruct socket *sock}(hjuthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqtubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMNhjmtubj)}(hhh]jl)}(hsocketh]hsocket}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMNhjtubah}(h]h ]h"]h$]h&]uh1jhjmtubeh}(h]h ]h"]h$]h&]uh1jhjthMNhjjtubj)}(h*``struct sockaddr_unsized *addr`` address h](j)}(h!``struct sockaddr_unsized *addr``h]j)}(hjth]hstruct sockaddr_unsized *addr}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMOhjtubj)}(hhh]jl)}(haddressh]haddress}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMOhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthMOhjjtubj)}(h"``int addrlen`` length of address h](j)}(h``int addrlen``h]j)}(hjth]h int addrlen}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMPhjtubj)}(hhh]jl)}(hlength of addressh]hlength of address}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMPhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthMPhjjtubeh}(h]h ]h"]h$]h&]uh1jhjNtubjl)}(h**Description**h]j)}(hj uh]h Description}(hj"uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMRhjNtubj)}(hReturns 0 or an error.h]jl)}(hj8uh]hReturns 0 or an error.}(hj:uhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMQhj6uubah}(h]h ]h"]h$]h&]uh1jhjGuhMQhjNtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_listen (C function)c.kernel_listenhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h4int kernel_listen (struct socket *sock, int backlog)h]j )}(h3int kernel_listen(struct socket *sock, int backlog)h](jM )}(hinth]hint}(hjnuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjuhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMaubj")}(h h]h }(hj}uhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjuhhhj|uhMaubj3)}(h kernel_listenh]j9)}(h kernel_listenh]h kernel_listen}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjjuhhhj|uhMaubj )}(h"(struct socket *sock, int backlog)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(hhh]j9)}(hsocketh]hsocket}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]j )}j jusbc.kernel_listenasbuh1hhjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(hsockh]hsock}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(h int backlogh](jM )}(hinth]hint}(hjvhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjvubj")}(h h]h }(hj+vhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj9)}(hbacklogh]hbacklog}(hj9vhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubeh}(h]h ]h"]h$]h&]jPjQuh1j hjjuhhhj|uhMaubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjfuhhhj|uhMaubah}(h]jauah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj|uhMahjcuhhubjg)}(hhh]jl)}(h-move socket to listening state (kernel space)h]h-move socket to listening state (kernel space)}(hjcvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMahj`vhhubah}(h]h ]h"]h$]h&]uh1jfhjcuhhhj|uhMaubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{vjj{vjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct socket *sock`` socket ``int backlog`` pending connections queue size **Description** Returns 0 or an error.h](jl)}(h**Parameters**h]j)}(hjvh]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMehjvubj)}(hhh](j)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjvh]hstruct socket *sock}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMbhjvubj)}(hhh]jl)}(hsocketh]hsocket}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMbhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMbhjvubj)}(h/``int backlog`` pending connections queue size h](j)}(h``int backlog``h]j)}(hjvh]h int backlog}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMchjvubj)}(hhh]jl)}(hpending connections queue sizeh]hpending connections queue size}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMchjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMchjvubeh}(h]h ]h"]h$]h&]uh1jhjvubjl)}(h**Description**h]j)}(hjwh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMehjvubj)}(hReturns 0 or an error.h]jl)}(hj0wh]hReturns 0 or an error.}(hj2whhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMdhj.wubah}(h]h ]h"]h$]h&]uh1jhj?whMdhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_accept (C function)c.kernel_accepthNtauh1hhj" hhhNhNubh)}(hhh](j)}(hKint kernel_accept (struct socket *sock, struct socket **newsock, int flags)h]j )}(hJint kernel_accept(struct socket *sock, struct socket **newsock, int flags)h](jM )}(hinth]hint}(hjfwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbwhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMoubj")}(h h]h }(hjuwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbwhhhjtwhMoubj3)}(h kernel_accepth]j9)}(h kernel_accepth]h kernel_accept}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbwhhhjtwhMoubj )}(h9(struct socket *sock, struct socket **newsock, int flags)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubh)}(hhh]j9)}(hsocketh]hsocket}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]j )}j jwsbc.kernel_acceptasbuh1hhjwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj9)}(hsockh]hsock}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwubj )}(hstruct socket **newsockh](j)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hj"xhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(hhh]j9)}(hsocketh]hsocket}(hj3xhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0xubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5xmodnameN classnameNj j )}j ]jwc.kernel_acceptasbuh1hhjxubj")}(h h]h }(hjQxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hj_xhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj )}(hj h]h*}(hjlxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hnewsockh]hnewsock}(hjyxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwubj )}(h int flagsh](jM )}(hinth]hint}(hjxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj9)}(hflagsh]hflags}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwubeh}(h]h ]h"]h$]h&]jPjQuh1j hjbwhhhjtwhMoubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^whhhjtwhMoubah}(h]jYwah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjtwhMohj[whhubjg)}(hhh]jl)}(h"accept a connection (kernel space)h]h"accept a connection (kernel space)}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMohjxhhubah}(h]h ]h"]h$]h&]uh1jfhj[whhhjtwhMoubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxjjxjjjuh1hhhhj" hNhNubj)}(hX(**Parameters** ``struct socket *sock`` listening socket ``struct socket **newsock`` new connected socket ``int flags`` flags **Description** **flags** must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it fails, **newsock** is guaranteed to be ``NULL``. Returns 0 or an error.h](jl)}(h**Parameters**h]j)}(hjxh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMshjxubj)}(hhh](j)}(h)``struct socket *sock`` listening socket h](j)}(h``struct socket *sock``h]j)}(hjyh]hstruct socket *sock}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMphjyubj)}(hhh]jl)}(hlistening socketh]hlistening socket}(hj2yhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.yhMphj/yubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhj.yhMphjyubj)}(h1``struct socket **newsock`` new connected socket h](j)}(h``struct socket **newsock``h]j)}(hjRyh]hstruct socket **newsock}(hjTyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPyubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMqhjLyubj)}(hhh]jl)}(hnew connected socketh]hnew connected socket}(hjkyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjgyhMqhjhyubah}(h]h ]h"]h$]h&]uh1jhjLyubeh}(h]h ]h"]h$]h&]uh1jhjgyhMqhjyubj)}(h``int flags`` flags h](j)}(h ``int flags``h]j)}(hjyh]h int flags}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMrhjyubj)}(hhh]jl)}(hflagsh]hflags}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhMrhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMrhjyubeh}(h]h ]h"]h$]h&]uh1jhjxubjl)}(h**Description**h]j)}(hjyh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMthjxubj)}(h**flags** must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it fails, **newsock** is guaranteed to be ``NULL``. Returns 0 or an error.h]jl)}(h**flags** must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it fails, **newsock** is guaranteed to be ``NULL``. Returns 0 or an error.h](j)}(h **flags**h]hflags}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh8 must be SOCK_CLOEXEC, SOCK_NONBLOCK or 0. If it fails, }(hjyhhhNhNubj)}(h **newsock**h]hnewsock}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh is guaranteed to be }(hjyhhhNhNubj)}(h``NULL``h]hNULL}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh. Returns 0 or an error.}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMshjyubah}(h]h ]h"]h$]h&]uh1jhj zhMshjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_connect (C function)c.kernel_connecthNtauh1hhj" hhhNhNubh)}(hhh](j)}(h_int kernel_connect (struct socket *sock, struct sockaddr_unsized *addr, int addrlen, int flags)h]j )}(h^int kernel_connect(struct socket *sock, struct sockaddr_unsized *addr, int addrlen, int flags)h](jM )}(hinth]hint}(hjGzhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjCzhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj")}(h h]h }(hjVzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCzhhhjUzhMubj3)}(hkernel_connecth]j9)}(hkernel_connecth]hkernel_connect}(hjhzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdzubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjCzhhhjUzhMubj )}(hL(struct socket *sock, struct sockaddr_unsized *addr, int addrlen, int flags)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubh)}(hhh]j9)}(hsocketh]hsocket}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]j )}j jjzsbc.kernel_connectasbuh1hhjzubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj )}(hj h]h*}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj9)}(hsockh]hsock}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|zubj )}(hstruct sockaddr_unsized *addrh](j)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubh)}(hhh]j9)}(hsockaddr_unsizedh]hsockaddr_unsized}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]jzc.kernel_connectasbuh1hhjzubj")}(h h]h }(hj2{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj )}(hj h]h*}(hj@{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj9)}(haddrh]haddr}(hjM{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|zubj )}(h int addrlenh](jM )}(hinth]hint}(hjf{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjb{ubj")}(h h]h }(hjt{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjb{ubj9)}(haddrlenh]haddrlen}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjb{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|zubj )}(h int flagsh](jM )}(hinth]hint}(hj{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubj9)}(hflagsh]hflags}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|zubeh}(h]h ]h"]h$]h&]jPjQuh1j hjCzhhhjUzhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?zhhhjUzhMubah}(h]j:zah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUzhMhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~ubjl)}(h**Description**h]j)}(hj`h]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhj~ubj)}(hFills the **addr** pointer with the address which the socket is bound. Returns the length of the address in bytes or an error code.h]jl)}(hFills the **addr** pointer with the address which the socket is bound. Returns the length of the address in bytes or an error code.h](h Fills the }(hjzhhhNhNubj)}(h**addr**h]haddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubhq pointer with the address which the socket is bound. Returns the length of the address in bytes or an error code.}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMhjvubah}(h]h ]h"]h$]h&]uh1jhjhMhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_getpeername (C function)c.kernel_getpeernamehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hCint kernel_getpeername (struct socket *sock, struct sockaddr *addr)h]j )}(hBint kernel_getpeername(struct socket *sock, struct sockaddr *addr)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhL/var/lib/git/docbuild/linux/Documentation/networking/kapi:23: ./net/socket.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hkernel_getpeernameh]j9)}(hkernel_getpeernameh]hkernel_getpeername}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h,(struct socket *sock, struct sockaddr *addr)h](j )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsocketh]hsocket}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.kernel_getpeernameasbuh1hhjubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsockh]hsock}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sockaddr *addrh](j)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubh)}(hhh]j9)}(hsockaddrh]hsockaddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j8c.kernel_getpeernameasbuh1hhjlubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjlubj9)}(haddrh]haddr}(hjǀhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj6ubj)}(hhh]jl)}(h size of datah]h size of data}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_build_skb (C function)c.napi_build_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hDstruct sk_buff * napi_build_skb (void *data, unsigned int frag_size)h]j )}(hBstruct sk_buff *napi_build_skb(void *data, unsigned int frag_size)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM7ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM7ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j napi_build_skbsbc.napi_build_skbasbuh1hhjhhhjhM7ubj")}(h h]h }(hj֎hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM7ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM7ubj3)}(hnapi_build_skbh]j9)}(hjӎh]hnapi_build_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM7ubj )}(h$(void *data, unsigned int frag_size)h](j )}(h void *datah](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hdatah]hdata}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int frag_sizeh](jM )}(hunsignedh]hunsigned}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubjM )}(hinth]hint}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj9)}(h frag_sizeh]h frag_size}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM7ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM7ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM7hjhhubjg)}(hhh]jl)}(hbuild a network bufferh]hbuild a network buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM7hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj̏jj̏jjjuh1hhhhj" hNhNubj)}(hXG**Parameters** ``void *data`` data buffer provided by caller ``unsigned int frag_size`` size of data **Description** Version of __napi_build_skb() that takes care of skb->head_frag and skb->pfmemalloc when the data is a page or page fragment. Returns a new :c:type:`sk_buff` on success, ``NULL`` on allocation failure.h](jl)}(h**Parameters**h]j)}(hj֏h]h Parameters}(hj؏hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԏubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;hjЏubj)}(hhh](j)}(h.``void *data`` data buffer provided by caller h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM8hjubj)}(hhh]jl)}(hdata buffer provided by callerh]hdata buffer provided by caller}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM8hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM8hjubj)}(h(``unsigned int frag_size`` size of data h](j)}(h``unsigned int frag_size``h]j)}(hj.h]hunsigned int frag_size}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM9hj(ubj)}(hhh]jl)}(h size of datah]h size of data}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChM9hjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChM9hjubeh}(h]h ]h"]h$]h&]uh1jhjЏubjl)}(h**Description**h]j)}(hjih]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;hjЏubjl)}(h}Version of __napi_build_skb() that takes care of skb->head_frag and skb->pfmemalloc when the data is a page or page fragment.h]h}Version of __napi_build_skb() that takes care of skb->head_frag and skb->pfmemalloc when the data is a page or page fragment.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM:hjЏubjl)}(hKReturns a new :c:type:`sk_buff` on success, ``NULL`` on allocation failure.h](hReturns a new }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM=hjubh on success, }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on allocation failure.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM=hjЏubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__alloc_skb (C function) c.__alloc_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hUstruct sk_buff * __alloc_skb (unsigned int size, gfp_t gfp_mask, int flags, int node)h]j )}(hSstruct sk_buff *__alloc_skb(unsigned int size, gfp_t gfp_mask, int flags, int node)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __alloc_skbsb c.__alloc_skbasbuh1hhjhhhjhMubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(h __alloc_skbh]j9)}(hj/h]h __alloc_skb}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h8(unsigned int size, gfp_t gfp_mask, int flags, int node)h](j )}(hunsigned int sizeh](jM )}(hunsignedh]hunsigned}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj9)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj‘modnameN classnameNj j )}j ]j- c.__alloc_skbasbuh1hhjubj")}(h h]h }(hjޑhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubj )}(h int flagsh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hflagsh]hflags}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubj )}(hint nodeh](jM )}(hinth]hint}(hj:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj9)}(hnodeh]hnode}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hallocate a network bufferh]hallocate a network buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj}hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``unsigned int size`` size to allocate ``gfp_t gfp_mask`` allocation mask ``int flags`` If SKB_ALLOC_FCLONE is set, allocate from fclone cache instead of head cache and allocate a cloned (child) skb. If SKB_ALLOC_RX is set, __GFP_MEMALLOC will be used for allocations in case the data is required for writeback ``int node`` numa node to allocate memory on **Description** Allocate a new :c:type:`sk_buff`. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is ``NULL``. Buffers may only be allocated from interrupts using a **gfp_mask** of ``GFP_ATOMIC``.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h'``unsigned int size`` size to allocate h](j)}(h``unsigned int size``h]j)}(hjh]hunsigned int size}(hjÒhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hsize to allocateh]hsize to allocate}(hjڒhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj֒hMhjגubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj֒hMhjubj)}(h#``gfp_t gfp_mask`` allocation mask 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hallocation maskh]hallocation mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int flags`` If SKB_ALLOC_FCLONE is set, allocate from fclone cache instead of head cache and allocate a cloned (child) skb. If SKB_ALLOC_RX is set, __GFP_MEMALLOC will be used for allocations in case the data is required for writeback h](j)}(h ``int flags``h]j)}(hj3h]h int flags}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj-ubj)}(hhh]jl)}(hIf SKB_ALLOC_FCLONE is set, allocate from fclone cache instead of head cache and allocate a cloned (child) skb. If SKB_ALLOC_RX is set, __GFP_MEMALLOC will be used for allocations in case the data is required for writebackh]hIf SKB_ALLOC_FCLONE is set, allocate from fclone cache instead of head cache and allocate a cloned (child) skb. If SKB_ALLOC_RX is set, __GFP_MEMALLOC will be used for allocations in case the data is required for writeback}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjubj)}(h-``int node`` numa node to allocate memory on h](j)}(h ``int node``h]j)}(hjmh]hint node}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjgubj)}(hhh]jl)}(hnuma node to allocate memory onh]hnuma node to allocate memory on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hX,Allocate a new :c:type:`sk_buff`. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is ``NULL``. Buffers may only be allocated from interrupts using a **gfp_mask** of ``GFP_ATOMIC``.h](jl)}(hAllocate a new :c:type:`sk_buff`. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is ``NULL``.h](hAllocate a new }(hj“hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj̓h]hsk_buff}(hjΓhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjʓubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj“ubh. The returned buffer has no headroom and a tail room of at least size bytes. The object has a reference count of one. The return is the buffer. On a failure the return is }(hj“hhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj“ubh.}(hj“hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubjl)}(hUBuffers may only be allocated from interrupts using a **gfp_mask** of ``GFP_ATOMIC``.h](h6Buffers may only be allocated from interrupts using a }(hjhhhNhNubj)}(h **gfp_mask**h]hgfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh of }(hjhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__netdev_alloc_skb (C function)c.__netdev_alloc_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h^struct sk_buff * __netdev_alloc_skb (struct net_device *dev, unsigned int len, gfp_t gfp_mask)h]j )}(h\struct sk_buff *__netdev_alloc_skb(struct net_device *dev, unsigned int len, gfp_t gfp_mask)h](j)}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[hhhjlhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __netdev_alloc_skbsbc.__netdev_alloc_skbasbuh1hhj[hhhjlhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[hhhjlhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj[hhhjlhMubj3)}(h__netdev_alloc_skbh]j9)}(hjh]h__netdev_alloc_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj[hhhjlhMubj )}(h:(struct net_device *dev, unsigned int len, gfp_t gfp_mask)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjٔhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjՔubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjՔubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__netdev_alloc_skbasbuh1hhjՔubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjՔubj )}(hj h]h*}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjՔubj9)}(hdevh]hdev}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjՔubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjєubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjEubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubjM )}(hinth]hint}(hjehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjEubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjєubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__netdev_alloc_skbasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfp_maskh]hgfp_mask}(hjɕhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjєubeh}(h]h ]h"]h$]h&]jPjQuh1j hj[hhhjlhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjWhhhjlhMubah}(h]jRah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjlhMhjThhubjg)}(hhh]jl)}(h.allocate an skbuff for rx on a specific deviceh]h.allocate an skbuff for rx on a specific device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjThhhjlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct net_device *dev`` network device to receive on ``unsigned int len`` length to allocate ``gfp_t gfp_mask`` get_free_pages mask, passed to alloc_skb **Description** Allocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h8``struct net_device *dev`` network device to receive on h](j)}(h``struct net_device *dev``h]j)}(hj4h]hstruct net_device *dev}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj.ubj)}(hhh]jl)}(hnetwork device to receive onh]hnetwork device to receive on}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhj+ubj)}(h(``unsigned int len`` length to allocate h](j)}(h``unsigned int len``h]j)}(hjmh]hunsigned int len}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjgubj)}(hhh]jl)}(hlength to allocateh]hlength to allocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhj+ubj)}(h<``gfp_t gfp_mask`` get_free_pages mask, passed to alloc_skb 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h(get_free_pages mask, passed to alloc_skbh]h(get_free_pages mask, passed to alloc_skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj+ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߖubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hX5Allocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations. ``NULL`` is returned if there is no free memory.h](jl)}(hXAllocate a new :c:type:`sk_buff` and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.h](hAllocate a new }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh and assign it a usage count of one. The buffer has NET_SKB_PAD headroom built in. Users should allocate the headroom they think they need without accounting for the built in space. The built in space is used for optimisations.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj"hMhjubjl)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh( is returned if there is no free memory.}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_alloc_skb (C function)c.napi_alloc_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hLstruct sk_buff * napi_alloc_skb (struct napi_struct *napi, unsigned int len)h]j )}(hJstruct sk_buff *napi_alloc_skb(struct napi_struct *napi, unsigned int len)h](j)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlhhhj}hM;ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j napi_alloc_skbsbc.napi_alloc_skbasbuh1hhjlhhhj}hM;ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlhhhj}hM;ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjlhhhj}hM;ubj3)}(hnapi_alloc_skbh]j9)}(hjh]hnapi_alloc_skb}(hjϗhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj˗ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlhhhj}hM;ubj )}(h,(struct napi_struct *napi, unsigned int len)h](j )}(hstruct napi_struct *napih](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.napi_alloc_skbasbuh1hhjubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnapih]hnapi}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjVubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubjM )}(hinth]hint}(hjvhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjVubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjlhhhj}hM;ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhhj}hM;ubah}(h]jcah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}hM;hjehhubjg)}(hhh]jl)}(h2allocate skbuff for rx in a specific NAPI instanceh]h2allocate skbuff for rx in a specific NAPI instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;hjhhubah}(h]h ]h"]h$]h&]uh1jfhjehhhj}hM;ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjԘjjԘjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct napi_struct *napi`` napi instance this buffer was allocated for ``unsigned int len`` length to allocate **Description** Allocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs. ``NULL`` is returned if there is no free memory.(h](jl)}(h**Parameters**h]j)}(hjޘh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjܘubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM?hjؘubj)}(hhh](j)}(hI``struct napi_struct *napi`` napi instance this buffer was allocated for h](j)}(h``struct napi_struct *napi``h]j)}(hjh]hstruct napi_struct *napi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM<hjubj)}(hhh]jl)}(h+napi instance this buffer was allocated forh]h+napi instance this buffer was allocated for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjubj)}(h(``unsigned int len`` length to allocate h](j)}(h``unsigned int len``h]j)}(hj6h]hunsigned int len}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM=hj0ubj)}(hhh]jl)}(hlength to allocateh]hlength to allocate}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhM=hjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhM=hjubeh}(h]h ]h"]h$]h&]uh1jhjؘubjl)}(h**Description**h]j)}(hjqh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM?hjؘubj)}(hX1Allocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs. ``NULL`` is returned if there is no free memory.h](jl)}(hAllocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs.h]hAllocate a new sk_buff for use in NAPI receive. This buffer will attempt to allocate the head from a special reserved region used only for NAPI Rx allocation. By doing this we can save several CPU cycles by avoiding having to disable and re-enable IRQs.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM>hjubjl)}(h0``NULL`` is returned if there is no free memory.h](j)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( is returned if there is no free memory.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMChjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjؘubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pp_cow_data (C function)c.skb_pp_cow_datahNtauh1hhj" hhhNhNubh)}(hhh](j)}(hZint skb_pp_cow_data (struct page_pool *pool, struct sk_buff **pskb, unsigned int headroom)h]j )}(hYint skb_pp_cow_data(struct page_pool *pool, struct sk_buff **pskb, unsigned int headroom)h](jM )}(hinth]hint}(hjݙhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjٙhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjٙhhhjhMubj3)}(hskb_pp_cow_datah]j9)}(hskb_pp_cow_datah]hskb_pp_cow_data}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjٙhhhjhMubj )}(hF(struct page_pool *pool, struct sk_buff **pskb, unsigned int headroom)h](j )}(hstruct page_pool *poolh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h page_poolh]h page_pool}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]j )}j jsbc.skb_pp_cow_dataasbuh1hhjubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpoolh]hpool}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff **pskbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jTc.skb_pp_cow_dataasbuh1hhjubj")}(h h]h }(hjȚhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj֚hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpskbh]hpskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int headroomh](jM )}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj%hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hheadroomh]hheadroom}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjٙhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjՙhhhjhMubah}(h]jЙah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjҙhhubjg)}(hhh]jl)}(h+copy skb data into page-pool backed storageh]h+copy skb data into page-pool backed storage}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhhubah}(h]h ]h"]h$]h&]uh1jfhjҙhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct page_pool *pool`` page pool to allocate from ``struct sk_buff **pskb`` pointer to skb pointer, replaced with the copied skb on success ``unsigned int headroom`` headroom to reserve in the copied skb **Description** skb_copy_bits() handles both frags[] and frag_list input. If the copied skb remains non-linear, it uses frags[], which is the representation used by XDP multi-buffer. **Return** 0 on success or a negative errno on failure.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h6``struct page_pool *pool`` page pool to allocate from h](j)}(h``struct page_pool *pool``h]j)}(hjh]hstruct page_pool *pool}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hpage pool to allocate fromh]hpage pool to allocate from}(hjśhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhj›ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hZ``struct sk_buff **pskb`` pointer to skb pointer, replaced with the copied skb on success h](j)}(h``struct sk_buff **pskb``h]j)}(hjh]hstruct sk_buff **pskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjߛubj)}(hhh]jl)}(h?pointer to skb pointer, replaced with the copied skb on successh]h?pointer to skb pointer, replaced with the copied skb on success}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjߛubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h@``unsigned int headroom`` headroom to reserve in the copied skb h](j)}(h``unsigned int headroom``h]j)}(hjh]hunsigned int headroom}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h%headroom to reserve in the copied skbh]h%headroom to reserve in the copied skb}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjYh]h Description}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(hskb_copy_bits() handles both frags[] and frag_list input. If the copied skb remains non-linear, it uses frags[], which is the representation used by XDP multi-buffer.h]hskb_copy_bits() handles both frags[] and frag_list input. If the copied skb remains non-linear, it uses frags[], which is the representation used by XDP multi-buffer.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(h,0 on success or a negative errno on failure.h]h,0 on success or a negative errno on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__kfree_skb (C function) c.__kfree_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h&void __kfree_skb (struct sk_buff *skb)h]j )}(h%void __kfree_skb(struct sk_buff *skb)h](jM )}(hvoidh]hvoid}(hjŜhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjԜhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjӜhMubj3)}(h __kfree_skbh]j9)}(h __kfree_skbh]h __kfree_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjӜhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j )}j jsb c.__kfree_skbasbuh1hhjubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjӜhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjӜhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjӜhMhjhhubjg)}(hhh]jl)}(hprivate functionh]hprivate function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjӜhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` buffer **Description** Free an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skbh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hjƝh]hstruct sk_buff *skb}(hjȝhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĝubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hbufferh]hbuffer}(hjߝhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj۝hMhjܝubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj۝hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hFree an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skbh]jl)}(hFree an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skbh]hFree an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhj)hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_skb_reason_drop (C function)c.sk_skb_reason_drophNtauh1hhj" hhhNhNubh)}(hhh](j)}(hovoid __fix_address sk_skb_reason_drop (const struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)h]j )}(hnvoid __fix_address sk_skb_reason_drop(const struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)h](jM )}(hvoidh]hvoid}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhj^hMubh __fix_address}(hjLhhhNhNubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhj^hMubj3)}(hsk_skb_reason_droph]j9)}(hsk_skb_reason_droph]hsk_skb_reason_drop}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjLhhhj^hMubj )}(hI(const struct sock *sk, struct sk_buff *skb, enum skb_drop_reason reason)h](j )}(hconst struct sock *skh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjǞhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsockh]hsock}(hj؞hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj՞ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjڞmodnameN classnameNj j )}j ]j )}j jsbc.sk_skb_reason_dropasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskh]hsk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNj j )}j ]jc.sk_skb_reason_dropasbuh1hhj(ubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(henum skb_drop_reason reasonh](j)}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hskb_drop_reasonh]hskb_drop_reason}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.sk_skb_reason_dropasbuh1hhjubj")}(h h]h }(hj؟hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hreasonh]hreason}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjLhhhj^hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHhhhj^hMubah}(h]jCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj^hMhjEhhubjg)}(hhh]jl)}(h#free an sk_buff with special reasonh]h#free an sk_buff with special reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjEhhhj^hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``const struct sock *sk`` the socket to receive **skb**, or NULL if not applicable ``struct sk_buff *skb`` buffer to free ``enum skb_drop_reason reason`` reason why this skb is dropped **Description** Drop a reference to the buffer and free it if the usage count has hit zero. Meanwhile, pass the receiving socket and drop reason to 'kfree_skb' tracepoint.h](jl)}(h**Parameters**h]j)}(hj2h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj,ubj)}(hhh](j)}(hS``const struct sock *sk`` the socket to receive **skb**, or NULL if not applicable h](j)}(h``const struct sock *sk``h]j)}(hjQh]hconst struct sock *sk}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjKubj)}(hhh]jl)}(h8the socket to receive **skb**, or NULL if not applicableh](hthe socket to receive }(hjjhhhNhNubj)}(h**skb**h]hskb}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh, or NULL if not applicable}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjHubj)}(h'``struct sk_buff *skb`` buffer to free h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hbuffer to freeh]hbuffer to free}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjHubj)}(h?``enum skb_drop_reason reason`` reason why this skb is dropped h](j)}(h``enum skb_drop_reason reason``h]j)}(hjՠh]henum skb_drop_reason reason}(hjנhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӠubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjϠubj)}(hhh]jl)}(hreason why this skb is droppedh]hreason why this skb is dropped}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjϠubeh}(h]h ]h"]h$]h&]uh1jhjhMhjHubeh}(h]h ]h"]h$]h&]uh1jhj,ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj,ubj)}(hDrop a reference to the buffer and free it if the usage count has hit zero. Meanwhile, pass the receiving socket and drop reason to 'kfree_skb' tracepoint.h]jl)}(hDrop a reference to the buffer and free it if the usage count has hit zero. Meanwhile, pass the receiving socket and drop reason to 'kfree_skb' tracepoint.h]hDrop a reference to the buffer and free it if the usage count has hit zero. Meanwhile, pass the receiving socket and drop reason to ‘kfree_skb’ tracepoint.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj&ubah}(h]h ]h"]h$]h&]uh1jhj8hMhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_tx_error (C function)c.skb_tx_errorhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h'void skb_tx_error (struct sk_buff *skb)h]j )}(h&void skb_tx_error(struct sk_buff *skb)h](jM )}(hvoidh]hvoid}(hj_hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj[hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[hhhjmhMubj3)}(h skb_tx_errorh]j9)}(h skb_tx_errorh]h skb_tx_error}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj[hhhjmhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_tx_errorasbuh1hhjubj")}(h h]h }(hjڡhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj[hhhjmhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjWhhhjmhMubah}(h]jRah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhMhjThhubjg)}(hhh]jl)}(hreport an sk_buff xmit errorh]hreport an sk_buff xmit error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjThhhjmhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhj" hNhNubj)}(hX+**Parameters** ``struct sk_buff *skb`` buffer that triggered an error **Description** Report xmit error if a device callback is tracking this skb. skb must be freed afterwards. Does nothing for a cloned skb: the zerocopy state lives in skb_shinfo(), which the clones share.h](jl)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj;ubj)}(hhh]j)}(h7``struct sk_buff *skb`` buffer that triggered an error h](j)}(h``struct sk_buff *skb``h]j)}(hj`h]hstruct sk_buff *skb}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjZubj)}(hhh]jl)}(hbuffer that triggered an errorh]hbuffer that triggered an error}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj;ubj)}(hReport xmit error if a device callback is tracking this skb. skb must be freed afterwards. Does nothing for a cloned skb: the zerocopy state lives in skb_shinfo(), which the clones share.h](jl)}(hZReport xmit error if a device callback is tracking this skb. skb must be freed afterwards.h]hZReport xmit error if a device callback is tracking this skb. skb must be freed afterwards.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(h`Does nothing for a cloned skb: the zerocopy state lives in skb_shinfo(), which the clones share.h]h`Does nothing for a cloned skb: the zerocopy state lives in skb_shinfo(), which the clones share.}(hjĢhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjâhMhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hconsume_skb (C function) c.consume_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h&void consume_skb (struct sk_buff *skb)h]j )}(h%void consume_skb(struct sk_buff *skb)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h consume_skbh]j9)}(h consume_skbh]h consume_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]j )}j jsb c.consume_skbasbuh1hhj2ubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj.ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hfree an skbuffh]hfree an skbuff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjѣjjѣjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to free **Description** Drop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes thath](jl)}(h**Parameters**h]j)}(hjۣh]h Parameters}(hjݣhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj٣ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjգubj)}(hhh]j)}(h'``struct sk_buff *skb`` buffer to free h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hbuffer to freeh]hbuffer to free}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjգubjl)}(h**Description**h]j)}(hj5h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjգubj)}(hDrop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes thath]jl)}(hDrop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes thath]hDrop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes that}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjKubah}(h]h ]h"]h$]h&]uh1jhj]hMhjգubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_consume_skb (C function)c.napi_consume_skbhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h7void napi_consume_skb (struct sk_buff *skb, int budget)h]j )}(h6void napi_consume_skb(struct sk_buff *skb, int budget)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hnapi_consume_skbh]j9)}(hnapi_consume_skbh]hnapi_consume_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h!(struct sk_buff *skb, int budget)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjΤhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjߤhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjܤubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.napi_consume_skbasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int budgeth](jM )}(hinth]hint}(hj3hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj/ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj9)}(hbudgeth]hbudget}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj|hhhjhMubah}(h]jwah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjyhhubjg)}(hhh]jl)}(h2consume skb in NAPI context, try to feed skb cacheh]h2consume skb in NAPI context, try to feed skb cache}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjvhhubah}(h]h ]h"]h$]h&]uh1jfhjyhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to free ``int budget`` NAPI budget **Description** Non-zero **budget** must come from the **budget** argument passed by the core to a NAPI poll function. Note that core may pass budget of 0 to NAPI poll for example when polling for netpoll / netconsole. Passing **budget** of 0 is safe from any context, it turns this function into dev_consume_skb_any().h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to free h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hbuffer to freeh]hbuffer to free}(hjӥhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjϥhMhjХubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϥhMhjubj)}(h``int budget`` NAPI budget h](j)}(h``int budget``h]j)}(hjh]h int budget}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h NAPI budgeth]h NAPI budget}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj.h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(hNon-zero **budget** must come from the **budget** argument passed by the core to a NAPI poll function. Note that core may pass budget of 0 to NAPI poll for example when polling for netpoll / netconsole.h](h Non-zero }(hjDhhhNhNubj)}(h **budget**h]hbudget}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh must come from the }(hjDhhhNhNubj)}(h **budget**h]hbudget}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh argument passed by the core to a NAPI poll function. Note that core may pass budget of 0 to NAPI poll for example when polling for netpoll / netconsole.}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(hdPassing **budget** of 0 is safe from any context, it turns this function into dev_consume_skb_any().h](hPassing }(hjwhhhNhNubj)}(h **budget**h]hbudget}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubhR of 0 is safe from any context, it turns this function into dev_consume_skb_any().}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_skb_for_msg (C function)c.alloc_skb_for_msghNtauh1hhj" hhhNhNubh)}(hhh](j)}(h:struct sk_buff * alloc_skb_for_msg (struct sk_buff *first)h]j )}(h8struct sk_buff *alloc_skb_for_msg(struct sk_buff *first)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMlubj")}(h h]h }(hjƦhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjŦhMlubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjצhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjԦubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj٦modnameN classnameNj j )}j ]j )}j alloc_skb_for_msgsbc.alloc_skb_for_msgasbuh1hhjhhhjŦhMlubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjŦhMlubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjŦhMlubj3)}(halloc_skb_for_msgh]j9)}(hjh]halloc_skb_for_msg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjŦhMlubj )}(h(struct sk_buff *first)h]j )}(hstruct sk_buff *firsth](j)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNj j )}j ]jc.alloc_skb_for_msgasbuh1hhj.ubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj )}(hj h]h*}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.ubj9)}(hfirsth]hfirst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjŦhMlubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjŦhMlubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjŦhMlhjhhubjg)}(hhh]jl)}(h0allocate sk_buff to wrap frag list forming a msgh]h0allocate sk_buff to wrap frag list forming a msg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMlhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjŦhMlubeh}(h]h ](jfunctioneh"]h$]h&]jjjj˧jj˧jjjuh1hhhhj" hNhNubj)}(hD**Parameters** ``struct sk_buff *first`` first sk_buff of the msgh](jl)}(h**Parameters**h]j)}(hjէh]h Parameters}(hjקhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӧubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMphjϧubj)}(hhh]j)}(h2``struct sk_buff *first`` first sk_buff of the msgh](j)}(h``struct sk_buff *first``h]j)}(hjh]hstruct sk_buff *first}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMrhjubj)}(hhh]jl)}(hfirst sk_buff of the msgh]hfirst sk_buff of the msg}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMmhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMrhjubah}(h]h ]h"]h$]h&]uh1jhjϧubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_morph (C function) c.skb_morphhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hEstruct sk_buff * skb_morph (struct sk_buff *dst, struct sk_buff *src)h]j )}(hCstruct sk_buff *skb_morph(struct sk_buff *dst, struct sk_buff *src)h](j)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJhhhj[hMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]j )}j skb_morphsb c.skb_morphasbuh1hhjJhhhj[hMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJhhhj[hMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJhhhj[hMubj3)}(h skb_morphh]j9)}(hjh]h skb_morph}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjJhhhj[hMubj )}(h*(struct sk_buff *dst, struct sk_buff *src)h](j )}(hstruct sk_buff *dsth](j)}(hjh]hstruct}(hjȨhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjĨubj")}(h h]h }(hjըhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjĨubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.skb_morphasbuh1hhjĨubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjĨubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjĨubj9)}(hdsth]hdst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjĨubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *srch](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNj j )}j ]j c.skb_morphasbuh1hhj4ubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjJhhhj[hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjFhhhj[hMubah}(h]jAah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj[hMhjChhubjg)}(hhh]jl)}(hmorph one skb into anotherh]hmorph one skb into another}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjChhhj[hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjѩjjѩjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *dst`` the skb to receive the contents ``struct sk_buff *src`` the skb to supply the contents **Description** This is identical to skb_clone except that the target skb is supplied by the user. The target skb is returned upon exit.h](jl)}(h**Parameters**h]j)}(hj۩h]h Parameters}(hjݩhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj٩ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjթubj)}(hhh](j)}(h8``struct sk_buff *dst`` the skb to receive the contents h](j)}(h``struct sk_buff *dst``h]j)}(hjh]hstruct sk_buff *dst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hthe skb to receive the contentsh]hthe skb to receive the contents}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``struct sk_buff *src`` the skb to supply the contents h](j)}(h``struct sk_buff *src``h]j)}(hj3h]hstruct sk_buff *src}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj-ubj)}(hhh]jl)}(hthe skb to supply the contentsh]hthe skb to supply the contents}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjubeh}(h]h ]h"]h$]h&]uh1jhjթubjl)}(h**Description**h]j)}(hjnh]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjթubj)}(hyThis is identical to skb_clone except that the target skb is supplied by the user. The target skb is returned upon exit.h](jl)}(hRThis is identical to skb_clone except that the target skb is supplied by the user.h]hRThis is identical to skb_clone except that the target skb is supplied by the user.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(h%The target skb is returned upon exit.h]h%The target skb is returned upon exit.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjթubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy_ubufs (C function)c.skb_copy_ubufshNtauh1hhj" hhhNhNubh)}(hhh](j)}(h8int skb_copy_ubufs (struct sk_buff *skb, gfp_t gfp_mask)h]j )}(h7int skb_copy_ubufs(struct sk_buff *skb, gfp_t gfp_mask)h](jM )}(hinth]hint}(hj̪hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjȪhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj۪hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjȪhhhjڪhMubj3)}(hskb_copy_ubufsh]j9)}(hskb_copy_ubufsh]hskb_copy_ubufs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjȪhhhjڪhMubj )}(h%(struct sk_buff *skb, gfp_t gfp_mask)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNj j )}j ]j )}j jsbc.skb_copy_ubufsasbuh1hhjubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jCc.skb_copy_ubufsasbuh1hhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj9)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjȪhhhjڪhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjĪhhhjڪhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjڪhMhjhhubjg)}(hhh]jl)}(h*copy userspace skb frags buffers to kernelh]h*copy userspace skb frags buffers to kernel}(hjԫhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjѫhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjڪhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` the skb to modify ``gfp_t gfp_mask`` allocation priority **Description** This must be called on skb with SKBFL_ZEROCOPY_ENABLE. It will copy all frags into kernel and drop the reference to userspace pages. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``. Returns 0 on success or a negative error code on failure to allocate kernel memory to copy to.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h*``struct sk_buff *skb`` the skb to modify h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hthe skb to modifyh]hthe skb to modify}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj ubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjNh]hgfp_t gfp_mask}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjHubj)}(hhh]jl)}(hallocation priorityh]hallocation priority}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hX5This must be called on skb with SKBFL_ZEROCOPY_ENABLE. It will copy all frags into kernel and drop the reference to userspace pages. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``. Returns 0 on success or a negative error code on failure to allocate kernel memory to copy to.h](jl)}(hThis must be called on skb with SKBFL_ZEROCOPY_ENABLE. It will copy all frags into kernel and drop the reference to userspace pages.h]hThis must be called on skb with SKBFL_ZEROCOPY_ENABLE. It will copy all frags into kernel and drop the reference to userspace pages.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(hOIf this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](h@If this function is called from an interrupt gfp_mask() must be }(hjhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(h^Returns 0 on success or a negative error code on failure to allocate kernel memory to copy to.h]h^Returns 0 on success or a negative error code on failure to allocate kernel memory to copy to.}(hjӬhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_clone (C function) c.skb_clonehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h@struct sk_buff * skb_clone (struct sk_buff *skb, gfp_t gfp_mask)h]j )}(h>struct sk_buff *skb_clone(struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM'ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNj j )}j ]j )}j skb_clonesb c.skb_cloneasbuh1hhjhhhjhM'ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM'ubj )}(hj h]h*}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM'ubj3)}(h skb_cloneh]j9)}(hjEh]h skb_clone}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM'ubj )}(h%(struct sk_buff *skb, gfp_t gfp_mask)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jC c.skb_cloneasbuh1hhj~ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubj )}(hj h]h*}(hj̭hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj~ubj9)}(hskbh]hskb}(hj٭hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjzubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jC c.skb_cloneasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfp_maskh]hgfp_mask}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjzubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM'ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM'ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM'hjhhubjg)}(hhh]jl)}(hduplicate an sk_buffh]hduplicate an sk_buff}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'hjHhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to clone ``gfp_t gfp_mask`` allocation priority **Description** Duplicate an :c:type:`sk_buff`. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns ``NULL`` otherwise the new buffer is returned. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](jl)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM+hjgubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to clone $h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM(hjubj)}(hhh]jl)}(hbuffer to cloneh]hbuffer to clone}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubj)}(h'``gfp_t gfp_mask`` allocation priority 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM)hjubj)}(hhh]jl)}(hallocation priorityh]hallocation priority}(hjޮhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjڮhM)hjۮubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڮhM)hjubeh}(h]h ]h"]h$]h&]uh1jhjgubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM+hjgubj)}(hXWDuplicate an :c:type:`sk_buff`. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns ``NULL`` otherwise the new buffer is returned. If this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](jl)}(hXDuplicate an :c:type:`sk_buff`. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns ``NULL`` otherwise the new buffer is returned.h](h Duplicate an }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj$h]hsk_buff}(hj&hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM*hjubh. The new one is not owned by a socket. Both copies share the same packet data but not structure. The new buffer has a reference count of 1. If the allocation fails the function returns }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& otherwise the new buffer is returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjAhM*hjubjl)}(hOIf this function is called from an interrupt gfp_mask() must be ``GFP_ATOMIC``.h](h@If this function is called from an interrupt gfp_mask() must be }(hj^hhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubh.}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/hjubeh}(h]h ]h"]h$]h&]uh1jhjAhM*hjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy (C function) c.skb_copyhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hEstruct sk_buff * skb_copy (const struct sk_buff *skb, gfp_t gfp_mask)h]j )}(hCstruct sk_buff *skb_copy(const struct sk_buff *skb, gfp_t gfp_mask)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMtubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjįhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjƯmodnameN classnameNj j )}j ]j )}j skb_copysb c.skb_copyasbuh1hhjhhhjhMtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMtubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMtubj3)}(hskb_copyh]j9)}(hjh]hskb_copy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMtubj )}(h+(const struct sk_buff *skb, gfp_t gfp_mask)h](j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j c.skb_copyasbuh1hhjubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.skb_copyasbuh1hhjubj")}(h h]h }(hj˰hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfp_maskh]hgfp_mask}(hjٰhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMtubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMthjhhubjg)}(hhh]jl)}(h!create private copy of an sk_buffh]h!create private copy of an sk_buff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMthjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``const struct sk_buff *skb`` buffer to copy ``gfp_t gfp_mask`` allocation priority **Description** Make a copy of both an :c:type:`sk_buff` and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. As by-product this function converts non-linear :c:type:`sk_buff` to linear one, so that :c:type:`sk_buff` becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.h](jl)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMxhjubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hjDh]hconst struct sk_buff *skb}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMuhj>ubj)}(hhh]jl)}(hbuffer to copyh]hbuffer to copy}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMuhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMuhj;ubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hj}h]hgfp_t gfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMvhjwubj)}(hhh]jl)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMvhj;ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMxhjubj)}(hXfMake a copy of both an :c:type:`sk_buff` and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. As by-product this function converts non-linear :c:type:`sk_buff` to linear one, so that :c:type:`sk_buff` becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.h](jl)}(hXMake a copy of both an :c:type:`sk_buff` and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](hMake a copy of both an }(hjұhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjܱh]hsk_buff}(hjޱhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjڱubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMwhjұubh} and its data. This is used when the caller wishes to modify the data and needs a private copy of the data to alter. Returns }(hjұhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjұubhd on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.}(hjұhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMwhjαubjl)}(hXSAs by-product this function converts non-linear :c:type:`sk_buff` to linear one, so that :c:type:`sk_buff` becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.h](h0As by-product this function converts non-linear }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj h]hsk_buff}(hj"hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM|hjubh to linear one, so that }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjDh]hsk_buff}(hjFhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhj=hM|hjubh becomes completely private and caller is allowed to modify all the data of returned buffer. This means that this function is not recommended for use in circumstances when only header is going to be modified. Use pskb_copy() instead.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj=hM|hjαubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__pskb_copy_fclone (C function)c.__pskb_copy_fclonehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hdstruct sk_buff * __pskb_copy_fclone (struct sk_buff *skb, int headroom, gfp_t gfp_mask, bool fclone)h]j )}(hbstruct sk_buff *__pskb_copy_fclone(struct sk_buff *skb, int headroom, gfp_t gfp_mask, bool fclone)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __pskb_copy_fclonesbc.__pskb_copy_fcloneasbuh1hhjhhhjhMubj")}(h h]h }(hjѲhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hj߲hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(h__pskb_copy_fcloneh]j9)}(hjβh]h__pskb_copy_fclone}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h@(struct sk_buff *skb, int headroom, gfp_t gfp_mask, bool fclone)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNj j )}j ]j̲c.__pskb_copy_fcloneasbuh1hhjubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int headroomh](jM )}(hinth]hint}(hj{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj9)}(hheadroomh]hheadroom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j̲c.__pskb_copy_fcloneasbuh1hhjubj")}(h h]h }(hjѳhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfp_maskh]hgfp_mask}(hj߳hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool fcloneh](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hfcloneh]hfclone}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h,create copy of an sk_buff with private head.h]h,create copy of an sk_buff with private head.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj:hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to copy ``int headroom`` headroom of new skb ``gfp_t gfp_mask`` allocation priority ``bool fclone`` if true allocate the copy of the skb from the fclone cache instead of the head cache; it is recommended to set this to true for the cases where the copy will likely be cloned **Description** Make a copy of both an :c:type:`sk_buff` and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of :c:type:`sk_buff` and needs private copy of the header to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](jl)}(h**Parameters**h]j)}(hj_h]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjYubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to copy h](j)}(h``struct sk_buff *skb``h]j)}(hj~h]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjxubj)}(hhh]jl)}(hbuffer to copyh]hbuffer to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubj)}(h%``int headroom`` headroom of new skb h](j)}(h``int headroom``h]j)}(hjh]h int headroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hheadroom of new skbh]hheadroom of new skb}(hjдhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj̴hMhjʹubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̴hMhjuubj)}(h'``gfp_t gfp_mask`` allocation priority 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hallocation priorityh]hallocation priority}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubj)}(h``bool fclone`` if true allocate the copy of the skb from the fclone cache instead of the head cache; it is recommended to set this to true for the cases where the copy will likely be cloned h](j)}(h``bool fclone``h]j)}(hj)h]h bool fclone}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj#ubj)}(hhh]jl)}(hif true allocate the copy of the skb from the fclone cache instead of the head cache; it is recommended to set this to true for the cases where the copy will likely be clonedh]hif true allocate the copy of the skb from the fclone cache instead of the head cache; it is recommended to set this to true for the cases where the copy will likely be cloned}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjuubeh}(h]h ]h"]h$]h&]uh1jhjYubjl)}(h**Description**h]j)}(hjeh]h Description}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjYubj)}(hXcMake a copy of both an :c:type:`sk_buff` and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of :c:type:`sk_buff` and needs private copy of the header to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h]jl)}(hXcMake a copy of both an :c:type:`sk_buff` and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of :c:type:`sk_buff` and needs private copy of the header to alter. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](hMake a copy of both an }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh and part of its data, located in header. Fragmented data remain shared. This is used when the caller wishes to modify only header of }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjhMhjubh8 and needs private copy of the header to alter. Returns }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjεhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhd on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhj{ubah}(h]h ]h"]h$]h&]uh1jhjhMhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpskb_expand_head (C function)c.pskb_expand_headhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hPint pskb_expand_head (struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask)h]j )}(hOint pskb_expand_head(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask)h](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hpskb_expand_headh]j9)}(hpskb_expand_headh]hpskb_expand_head}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h;(struct sk_buff *skb, int nhead, int ntail, gfp_t gfp_mask)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNj j )}j ]j )}j j/sbc.pskb_expand_headasbuh1hhjEubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubj )}(h int nheadh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjɶhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hnheadh]hnhead}(hj׶hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubj )}(h int ntailh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hntailh]hntail}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNj j )}j ]jc.pskb_expand_headasbuh1hhj!ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj9)}(hgfp_maskh]hgfp_mask}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h&reallocate header of :c:type:`sk_buff`h](hreallocate header of }(hj~hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]jc.pskb_expand_headasbjsk_buffuh1hhjمhKhj~ubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj{hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hXS**Parameters** ``struct sk_buff *skb`` buffer to reallocate ``int nhead`` room to add at head ``int ntail`` room to add at tail ``gfp_t gfp_mask`` allocation priority **Description** Expands (or creates identical copy, if **nhead** and **ntail** are zero) header of **skb**. :c:type:`sk_buff` itself is not changed. :c:type:`sk_buff` MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, :c:type:`sk_buff` is not changed. All the pointers pointing into skb header may change and must be reloaded after call to this function. **Note** If you skb_push() the start of the buffer after reallocating the header, call skb_postpush_data_move() first to move the metadata out of the way before writing to :c:type:`sk_buff->data `.h](jl)}(h**Parameters**h]j)}(hjķh]h Parameters}(hjƷhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj·ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to reallocate h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjݷubj)}(hhh]jl)}(hbuffer to reallocateh]hbuffer to reallocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjݷubeh}(h]h ]h"]h$]h&]uh1jhjhMhjڷubj)}(h"``int nhead`` room to add at head h](j)}(h ``int nhead``h]j)}(hjh]h int nhead}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hroom to add at headh]hroom to add at head}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjڷubj)}(h"``int ntail`` room to add at tail h](j)}(h ``int ntail``h]j)}(hjUh]h int ntail}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjOubj)}(hhh]jl)}(hroom to add at tailh]hroom to add at tail}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjڷubj)}(h'``gfp_t gfp_mask`` allocation priority 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjڷubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjɸh]h Description}(hj˸hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǸubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hXExpands (or creates identical copy, if **nhead** and **ntail** are zero) header of **skb**. :c:type:`sk_buff` itself is not changed. :c:type:`sk_buff` MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, :c:type:`sk_buff` is not changed. All the pointers pointing into skb header may change and must be reloaded after call to this function. h](jl)}(hX-Expands (or creates identical copy, if **nhead** and **ntail** are zero) header of **skb**. :c:type:`sk_buff` itself is not changed. :c:type:`sk_buff` MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, :c:type:`sk_buff` is not changed.h](h'Expands (or creates identical copy, if }(hjhhhNhNubj)}(h **nhead**h]hnhead}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **ntail**h]hntail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh are zero) header of }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj#h]hsk_buff}(hj%hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh itself is not changed. }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjGh]hsk_buff}(hjIhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhj@hMhjubhv MUST have reference count of 1. Returns zero in the case of success or error, if expansion failed. In the last case, }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjjh]hsk_buff}(hjlhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhj@hMhjubh is not changed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj@hMhj߸ubjl)}(hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.h]hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj߸ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjubjl)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]j)}(hIf you skb_push() the start of the buffer after reallocating the header, call skb_postpush_data_move() first to move the metadata out of the way before writing to :c:type:`sk_buff->data `.h](j)}(h@If you skb_push() the start of the buffer after reallocating theh]h@If you skb_push() the start of the buffer after reallocating the}(hjŹhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hheader, call skb_postpush_data_move() first to move the metadata out of the way before writing to :c:type:`sk_buff->data `.h](hbheader, call skb_postpush_data_move() first to move the metadata out of the way before writing to }(hj׹hhhNhNubh)}(h!:c:type:`sk_buff->data `h]j)}(hjh]h sk_buff->data}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj߹ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjӹhMhj׹ubh.}(hj׹hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjӹ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&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_expand_head (C function)c.skb_expand_headhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hMstruct sk_buff * skb_expand_head (struct sk_buff *skb, unsigned int headroom)h]j )}(hKstruct sk_buff *skb_expand_head(struct sk_buff *skb, unsigned int headroom)h](j)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhjGhM ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNj j )}j ]j )}j skb_expand_headsbc.skb_expand_headasbuh1hhj6hhhjGhM ubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhjGhM ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6hhhjGhM ubj3)}(hskb_expand_headh]j9)}(hjwh]hskb_expand_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6hhhjGhM ubj )}(h,(struct sk_buff *skb, unsigned int headroom)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjҺhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjϺubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjԺmodnameN classnameNj j )}j ]juc.skb_expand_headasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int headroomh](jM )}(hunsignedh]hunsigned}(hj$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubjM )}(hinth]hint}(hj@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hheadroomh]hheadroom}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj6hhhjGhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhjGhM ubah}(h]j-ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhM hj/hhubjg)}(hhh]jl)}(h&reallocate header of :c:type:`sk_buff`h](hreallocate header of }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]juc.skb_expand_headasbjsk_buffuh1hhjمhKhjubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhj/hhhjGhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj»jj»jjjuh1hhhhj" hNhNubj)}(hXo**Parameters** ``struct sk_buff *skb`` buffer to reallocate ``unsigned int headroom`` needed headroom **Description** Unlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures. It expect increased headroom and generates warning otherwise.h](jl)}(h**Parameters**h]j)}(hj̻h]h Parameters}(hjλhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjʻubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjƻubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to reallocate h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(hbuffer to reallocateh]hbuffer to reallocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h*``unsigned int headroom`` needed headroom h](j)}(h``unsigned int headroom``h]j)}(hj$h]hunsigned int headroom}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(hneeded headroomh]hneeded headroom}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hM hjubeh}(h]h ]h"]h$]h&]uh1jhjƻubjl)}(h**Description**h]j)}(hj_h]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjƻubj)}(hUnlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures. It expect increased headroom and generates warning otherwise.h](jl)}(hUnlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures.h]hUnlike skb_realloc_headroom, this one does not allocate a new skb if possible; copies skb->sk to new skb as needed and frees original skb in case of failures.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjuubjl)}(h=It expect increased headroom and generates warning otherwise.h]h=It expect increased headroom and generates warning otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjuubeh}(h]h ]h"]h$]h&]uh1jhjhM hjƻubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy_expand (C function)c.skb_copy_expandhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hnstruct sk_buff * skb_copy_expand (const struct sk_buff *skb, int newheadroom, int newtailroom, gfp_t gfp_mask)h]j )}(hlstruct sk_buff *skb_copy_expand(const struct sk_buff *skb, int newheadroom, int newtailroom, gfp_t gfp_mask)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj")}(h h]h }(hj˼hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjʼhM ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjܼhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjټubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj޼modnameN classnameNj j )}j ]j )}j skb_copy_expandsbc.skb_copy_expandasbuh1hhjhhhjʼhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjʼhM ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjʼhM ubj3)}(hskb_copy_expandh]j9)}(hjh]hskb_copy_expand}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjʼhM ubj )}(hM(const struct sk_buff *skb, int newheadroom, int newtailroom, gfp_t gfp_mask)h](j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]jc.skb_copy_expandasbuh1hhj3ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubj )}(hint newheadroomh](jM )}(hinth]hint}(hj½hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjнhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h newheadroomh]h newheadroom}(hj޽hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubj )}(hint newtailroomh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h newtailroomh]h newtailroom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]jc.skb_copy_expandasbuh1hhj(ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj9)}(hgfp_maskh]hgfp_mask}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjʼhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjʼhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjʼhM hjhhubjg)}(hhh]jl)}(hcopy and expand sk_buffh]hcopy and expand sk_buff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjʼhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``const struct sk_buff *skb`` buffer to copy ``int newheadroom`` new free bytes at head ``int newtailroom`` new free bytes at tail ``gfp_t gfp_mask`` allocation priority **Description** Make a copy of both an :c:type:`sk_buff` and its data and while doing so allocate additional space. This is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. You must pass ``GFP_ATOMIC`` as the allocation priority if this function is called from an interrupt.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hjƾh]hconst struct sk_buff *skb}(hjȾhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjľubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(hbuffer to copyh]hbuffer to copy}(hj߾hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj۾hM hjܾubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj۾hM hjubj)}(h+``int newheadroom`` new free bytes at head h](j)}(h``int newheadroom``h]j)}(hjh]hint newheadroom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(hnew free bytes at headh]hnew free bytes at head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h+``int newtailroom`` new free bytes at tail h](j)}(h``int newtailroom``h]j)}(hj8h]hint newtailroom}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj2ubj)}(hhh]jl)}(hnew free bytes at tailh]hnew free bytes at tail}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhM hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhM hjubj)}(h'``gfp_t gfp_mask`` allocation priority h](j)}(h``gfp_t gfp_mask``h]j)}(hjqh]hgfp_t gfp_mask}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjkubj)}(hhh]jl)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hXMake a copy of both an :c:type:`sk_buff` and its data and while doing so allocate additional space. This is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1. You must pass ``GFP_ATOMIC`` as the allocation priority if this function is called from an interrupt.h](jl)}(hcMake a copy of both an :c:type:`sk_buff` and its data and while doing so allocate additional space.h](hMake a copy of both an }(hjƿhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjпh]hsk_buff}(hjҿhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjοubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjƿubh; and its data and while doing so allocate additional space.}(hjƿhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM hj¿ubjl)}(hThis is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns ``NULL`` on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.h](hThis is used when the caller wishes to modify the data and needs a private copy of the data to alter as well as more space for new fields. Returns }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhd on failure or the pointer to the buffer on success. The returned buffer has a reference count of 1.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj¿ubjl)}(heYou must pass ``GFP_ATOMIC`` as the allocation priority if this function is called from an interrupt.h](hYou must pass }(hjhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhI as the allocation priority if this function is called from an interrupt.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj¿ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_pad (C function) c.__skb_padhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h@int __skb_pad (struct sk_buff *skb, int pad, bool free_on_error)h]j )}(h?int __skb_pad(struct sk_buff *skb, int pad, bool free_on_error)h](jM )}(hinth]hint}(hj`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\hhhjnhM ubj3)}(h __skb_padh]j9)}(h __skb_padh]h __skb_pad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj\hhhjnhM ubj )}(h2(struct sk_buff *skb, int pad, bool free_on_error)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.__skb_padasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint padh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hpadh]hpad}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hbool free_on_errorh](jM )}(hjh]hbool}(hjDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@ubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj9)}(h free_on_errorh]h free_on_error}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj\hhhjnhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhjnhM ubah}(h]jSah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjnhM hjUhhubjg)}(hhh]jl)}(hzero pad the tail of an skbh]hzero pad the tail of an skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjUhhhjnhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to pad ``int pad`` space to pad ``bool free_on_error`` free buffer on error **Description** Ensure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire. May return error in out of memory cases. The skb is freed on error if **free_on_error** is true.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(h buffer to padh]h buffer to pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``int pad`` space to pad h](j)}(h ``int pad``h]j)}(hjh]hint pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(h space to padh]h space to pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h,``bool free_on_error`` free buffer on error h](j)}(h``bool free_on_error``h]j)}(hj<h]hbool free_on_error}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj6ubj)}(hhh]jl)}(hfree buffer on errorh]hfree buffer on error}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhM hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjwh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hXEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire. May return error in out of memory cases. The skb is freed on error if **free_on_error** is true.h](jl)}(hEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire.h]hEnsure that a buffer is followed by a padding area that is zero filled. Used by network drivers which may DMA or transfer data beyond the buffer end onto the wire.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubjl)}(h`May return error in out of memory cases. The skb is freed on error if **free_on_error** is true.h](hFMay return error in out of memory cases. The skb is freed on error if }(hjhhhNhNubj)}(h**free_on_error**h]h free_on_error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is true.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpskb_put (C function) c.pskb_puthNtauh1hhj" hhhNhNubh)}(hhh](j)}(hDvoid * pskb_put (struct sk_buff *skb, struct sk_buff *tail, int len)h]j )}(hBvoid *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM+ ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM+ ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM+ ubj3)}(hpskb_puth]j9)}(hpskb_puth]hpskb_put}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM+ ubj )}(h4(struct sk_buff *skb, struct sk_buff *tail, int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j )}j jsb c.pskb_putasbuh1hhj-ubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubj )}(hj h]h*}(hj}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj-ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubj )}(hstruct sk_buff *tailh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jk c.pskb_putasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htailh]htail}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubj )}(hint lenh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM+ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM+ ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM+ hjhhubjg)}(hhh]jl)}(h7add data to the tail of a potentially fragmented bufferh]h7add data to the tail of a potentially fragmented buffer}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM+ hjVhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM+ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` start of the buffer to use ``struct sk_buff *tail`` tail fragment of the buffer to use ``int len`` amount of data to add **Description** This function extends the used data area of the potentially fragmented buffer. **tail** must be the last fragment of **skb** -- or **skb** itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h](jl)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/ hjuubj)}(hhh](j)}(h3``struct sk_buff *skb`` start of the buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM, hjubj)}(hhh]jl)}(hstart of the buffer to useh]hstart of the buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM, hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM, hjubj)}(h<``struct sk_buff *tail`` tail fragment of the buffer to use h](j)}(h``struct sk_buff *tail``h]j)}(hjh]hstruct sk_buff *tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM- hjubj)}(hhh]jl)}(h"tail fragment of the buffer to useh]h"tail fragment of the buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM- hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM- hjubj)}(h"``int len`` amount of data to add h](j)}(h ``int len``h]j)}(hj h]hint len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM. hjubj)}(hhh]jl)}(hamount of data to addh]hamount of data to add}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hM. hj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hM. hjubeh}(h]h ]h"]h$]h&]uh1jhjuubjl)}(h**Description**h]j)}(hjGh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM0 hjuubj)}(hXThis function extends the used data area of the potentially fragmented buffer. **tail** must be the last fragment of **skb** -- or **skb** itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h]jl)}(hXThis function extends the used data area of the potentially fragmented buffer. **tail** must be the last fragment of **skb** -- or **skb** itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h](hOThis function extends the used data area of the potentially fragmented buffer. }(hjahhhNhNubj)}(h**tail**h]htail}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh must be the last fragment of }(hjahhhNhNubj)}(h**skb**h]hskb}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh -- or }(hjahhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh itself. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/ hj]ubah}(h]h ]h"]h$]h&]uh1jhjhM/ hjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_put (C function) c.skb_puthNtauh1hhj" hhhNhNubh)}(hhh](j)}(h6void * skb_put (struct sk_buff *skb, unsigned int len)h]j )}(h4void *skb_put(struct sk_buff *skb, unsigned int len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMB ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMB ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMB ubj3)}(hskb_puth]j9)}(hskb_puth]hskb_put}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMB ubj )}(h'(struct sk_buff *skb, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]j )}j jsb c.skb_putasbuh1hhjubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMB ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMB ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMB hjhhubjg)}(hhh]jl)}(hadd data to a bufferh]hadd data to a buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMB hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMB ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX;**Parameters** ``struct sk_buff *skb`` buffer to use ``unsigned int len`` amount of data to add **Description** This function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMF hjubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hj+h]hstruct sk_buff *skb}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMC hj%ubj)}(hhh]jl)}(h buffer to useh]h buffer to use}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMC hjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMC hj"ubj)}(h+``unsigned int len`` amount of data to add h](j)}(h``unsigned int len``h]j)}(hjdh]hunsigned int len}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMD hj^ubj)}(hhh]jl)}(hamount of data to addh]hamount of data to add}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhMD hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMD hj"ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMF hjubj)}(hThis function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h]jl)}(hThis function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.h]hThis function extends the used data area of the buffer. If this would exceed the total buffer size the kernel will panic. A pointer to the first byte of the extra data is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chME hjubah}(h]h ]h"]h$]h&]uh1jhjhME hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_push (C function) c.skb_pushhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h7void * skb_push (struct sk_buff *skb, unsigned int len)h]j )}(h5void *skb_push(struct sk_buff *skb, unsigned int len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMW ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMW ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMW ubj3)}(hskb_pushh]j9)}(hskb_pushh]hskb_push}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMW ubj )}(h'(struct sk_buff *skb, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNj j )}j ]j )}j jsb c.skb_pushasbuh1hhj4ubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0ubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMW ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMW ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMW hjhhubjg)}(hhh]jl)}(h!add data to the start of a bufferh]h!add data to the start of a buffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMW hj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMW ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhj" hNhNubj)}(hXS**Parameters** ``struct sk_buff *skb`` buffer to use ``unsigned int len`` amount of data to add **Description** This function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.h](jl)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM[ hj(ubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjMh]hstruct sk_buff *skb}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMX hjGubj)}(hhh]jl)}(h buffer to useh]h buffer to use}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhMX hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMX hjDubj)}(h+``unsigned int len`` amount of data to add h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMY hjubj)}(hhh]jl)}(hamount of data to addh]hamount of data to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMY hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMY hjDubeh}(h]h ]h"]h$]h&]uh1jhj(ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM[ hj(ubj)}(hThis function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.h]jl)}(hThis function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.h]hThis function extends the used data area of the buffer at the buffer start. If this would exceed the total buffer headroom the kernel will panic. A pointer to the first byte of the extra data is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMZ hjubah}(h]h ]h"]h$]h&]uh1jhjhMZ hj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pull (C function) c.skb_pullhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h7void * skb_pull (struct sk_buff *skb, unsigned int len)h]j )}(h5void *skb_pull(struct sk_buff *skb, unsigned int len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMj ubj )}(hj h]h*}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj hhhjhMj ubj3)}(hskb_pullh]j9)}(hskb_pullh]hskb_pull}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMj ubj )}(h'(struct sk_buff *skb, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]j )}j j@sb c.skb_pullasbuh1hhjVubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhMj ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMj ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMj hjhhubjg)}(hhh]jl)}(h&remove data from the start of a bufferh]h&remove data from the start of a buffer}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMj hj+hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMj ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhj" hNhNubj)}(hXj**Parameters** ``struct sk_buff *skb`` buffer to use ``unsigned int len`` amount of data to remove **Description** This function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.h](jl)}(h**Parameters**h]j)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMn hjJubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjoh]hstruct sk_buff *skb}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMk hjiubj)}(hhh]jl)}(h buffer to useh]h buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMk hjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMk hjfubj)}(h.``unsigned int len`` amount of data to remove h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMl hjubj)}(hhh]jl)}(hamount of data to removeh]hamount of data to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMl hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMl hjfubeh}(h]h ]h"]h$]h&]uh1jhjJubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMn hjJubj)}(hThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.h]jl)}(hThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.h]hThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the next data in the buffer is returned. Once the data has been pulled future pushes will overwrite the old data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMm hjubah}(h]h ]h"]h$]h&]uh1jhj hMm hjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pull_data (C function)c.skb_pull_datahNtauh1hhj" hhhNhNubh)}(hhh](j)}(h6void * skb_pull_data (struct sk_buff *skb, size_t len)h]j )}(h4void *skb_pull_data(struct sk_buff *skb, size_t len)h](jM )}(hvoidh]hvoid}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMz ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.hhhj@hMz ubj )}(hj h]h*}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.hhhj@hMz ubj3)}(h skb_pull_datah]j9)}(h skb_pull_datah]h skb_pull_data}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj@hMz ubj )}(h!(struct sk_buff *skb, size_t len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jbsbc.skb_pull_dataasbuh1hhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubj )}(h size_t lenh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_pull_dataasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.hhhj@hMz ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*hhhj@hMz ubah}(h]j%ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@hMz hj'hhubjg)}(hhh]jl)}(hGremove data from the start of a buffer returning its original position.h]hGremove data from the start of a buffer returning its original position.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMz hjDhhubah}(h]h ]h"]h$]h&]uh1jfhj'hhhj@hMz ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to use ``size_t len`` amount of data to remove **Description** This function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.h](jl)}(h**Parameters**h]j)}(hjih]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM~ hjcubj)}(hhh](j)}(h&``struct sk_buff *skb`` buffer to use h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM| hjubj)}(hhh]jl)}(h buffer to useh]h buffer to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM| hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM| hjubj)}(h(``size_t len`` amount of data to remove h](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM} hjubj)}(hhh]jl)}(hamount of data to removeh]hamount of data to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM} hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM} hjubeh}(h]h ]h"]h$]h&]uh1jhjcubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjcubj)}(hXThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.h]jl)}(hXThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.h]hXThis function removes data from the start of a buffer, returning the memory to the headroom. A pointer to the original data in the buffer is returned after checking if there is enough data to pull. Once the data has been pulled future pushes will overwrite the old data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM~ hjubah}(h]h ]h"]h$]h&]uh1jhj$hM~ hjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_trim (C function) c.skb_trimhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h5void skb_trim (struct sk_buff *skb, unsigned int len)h]j )}(h4void skb_trim(struct sk_buff *skb, unsigned int len)h](jM )}(hvoidh]hvoid}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGhhhjYhM ubj3)}(hskb_trimh]j9)}(hskb_trimh]hskb_trim}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjGhhhjYhM ubj )}(h'(struct sk_buff *skb, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jnsb c.skb_trimasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjGhhhjYhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjChhhjYhM ubah}(h]j>ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjYhM hj@hhubjg)}(hhh]jl)}(hremove end from a bufferh]hremove end from a buffer}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjYhhubah}(h]h ]h"]h$]h&]uh1jfhj@hhhjYhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to alter ``unsigned int len`` new length **Description** Cut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.h](jl)}(h**Parameters**h]j)}(hj~h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjxubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(hbuffer to alterh]hbuffer to alter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h ``unsigned int len`` new length h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(h new lengthh]h new length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjxubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjxubj)}(hCut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.h]jl)}(hCut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.h]hCut the length of a buffer down by removing data from the tail. If the buffer is already under the length specified it is not modified. The skb must be linear.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj'ubah}(h]h ]h"]h$]h&]uh1jhj9hM hjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__pskb_pull_tail (C function)c.__pskb_pull_tailhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h8void * __pskb_pull_tail (struct sk_buff *skb, int delta)h]j )}(h6void *__pskb_pull_tail(struct sk_buff *skb, int delta)h](jM )}(hvoidh]hvoid}(hj`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM& ubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\hhhjnhM& ubj )}(hj h]h*}(hj}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\hhhjnhM& ubj3)}(h__pskb_pull_tailh]j9)}(h__pskb_pull_tailh]h__pskb_pull_tail}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj\hhhjnhM& ubj )}(h (struct sk_buff *skb, int delta)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.__pskb_pull_tailasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int deltah](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdeltah]hdelta}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj\hhhjnhM& ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhjnhM& ubah}(h]jSah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjnhM& hjUhhubjg)}(hhh]jl)}(hadvance tail of skb headerh]hadvance tail of skb header}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM& hj_hhubah}(h]h ]h"]h$]h&]uh1jfhjUhhhjnhM& ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhj" hNhNubj)}(hX_**Parameters** ``struct sk_buff *skb`` buffer to reallocate ``int delta`` number of bytes to advance tail **Description** The function makes a sense only on a fragmented :c:type:`sk_buff`, it expands header moving its tail forward and copying necessary data from fragmented part. :c:type:`sk_buff` MUST have reference count of 1. Returns ``NULL`` (and :c:type:`sk_buff` does not change) if pull failed or value of new tail of skb in the case of success. All the pointers pointing into skb header may change and must be reloaded after call to this function.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM* hj~ubj)}(hhh](j)}(h-``struct sk_buff *skb`` buffer to reallocate h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM' hjubj)}(hhh]jl)}(hbuffer to reallocateh]hbuffer to reallocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM' hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM' hjubj)}(h.``int delta`` number of bytes to advance tail h](j)}(h ``int delta``h]j)}(hjh]h int delta}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM( hjubj)}(hhh]jl)}(hnumber of bytes to advance tailh]hnumber of bytes to advance tail}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM( hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM( hjubeh}(h]h ]h"]h$]h&]uh1jhj~ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM* hj~ubj)}(hXThe function makes a sense only on a fragmented :c:type:`sk_buff`, it expands header moving its tail forward and copying necessary data from fragmented part. :c:type:`sk_buff` MUST have reference count of 1. Returns ``NULL`` (and :c:type:`sk_buff` does not change) if pull failed or value of new tail of skb in the case of success. All the pointers pointing into skb header may change and must be reloaded after call to this function.h](jl)}(hThe function makes a sense only on a fragmented :c:type:`sk_buff`, it expands header moving its tail forward and copying necessary data from fragmented part.h](h0The function makes a sense only on a fragmented }(hj1hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj;h]hsk_buff}(hj=hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM) hj1ubh\, it expands header moving its tail forward and copying necessary data from fragmented part.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjXhM) hj-ubjl)}(h1:c:type:`sk_buff` MUST have reference count of 1.h](h)}(h:c:type:`sk_buff`h]j)}(hjih]hsk_buff}(hjkhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM- hjcubh MUST have reference count of 1.}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM- hj-ubjl)}(h{Returns ``NULL`` (and :c:type:`sk_buff` does not change) if pull failed or value of new tail of skb in the case of success.h](hReturns }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh (and }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/ hjubhT does not change) if pull failed or value of new tail of skb in the case of success.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM/ hj-ubjl)}(hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.h]hfAll the pointers pointing into skb header may change and must be reloaded after call to this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM2 hj-ubeh}(h]h ]h"]h$]h&]uh1jhjXhM) hj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy_bits (C function)c.skb_copy_bitshNtauh1hhj" hhhNhNubh)}(hhh](j)}(hLint skb_copy_bits (const struct sk_buff *skb, int offset, void *to, int len)h]j )}(hKint skb_copy_bits(const struct sk_buff *skb, int offset, void *to, int len)h](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(h skb_copy_bitsh]j9)}(h skb_copy_bitsh]h skb_copy_bits}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h:(const struct sk_buff *skb, int offset, void *to, int len)h](j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j-sbc.skb_copy_bitsasbuh1hhjCubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjCubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubj )}(h int offseth](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubj )}(hvoid *toh](jM )}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htoh]hto}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubj )}(hint lenh](jM )}(hinth]hint}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj9)}(hlenh]hlen}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h#copy bits from skb to kernel bufferh]h#copy bits from skb to kernel buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``const struct sk_buff *skb`` source skb ``int offset`` offset in source ``void *to`` destination buffer ``int len`` number of bytes to copy **Description** Copy the specified number of bytes from the source skb to the destination buffer. CAUTION ! : If its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh](j)}(h)``const struct sk_buff *skb`` source skb h](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(h source skbh]h source skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h ``int offset`` offset in source h](j)}(h``int offset``h]j)}(hj h]h int offset}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(hoffset in sourceh]hoffset in source}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(h ``void *to`` destination buffer h](j)}(h ``void *to``h]j)}(hjDh]hvoid *to}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hj>ubj)}(hhh]jl)}(hdestination bufferh]hdestination buffer}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhM hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM hjubj)}(h$``int len`` number of bytes to copy h](j)}(h ``int len``h]j)}(hj}h]hint len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjwubj)}(hhh]jl)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hCopy the specified number of bytes from the source skb to the destination buffer. CAUTION ! : If its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.h](jl)}(hQCopy the specified number of bytes from the source skb to the destination buffer.h]hQCopy the specified number of bytes from the source skb to the destination buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]j)}(hxCAUTION ! : If its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.h](j)}(h CAUTION ! :h]h CAUTION ! :}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubj)}(hhh]jl)}(hlIf its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.h]hlIf its prototype is ever changed, check arch/{*}/net/{*}.S files, since it is called from BPF assembly code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_store_bits (C function)c.skb_store_bitshNtauh1hhj" hhhNhNubh)}(hhh](j)}(hOint skb_store_bits (struct sk_buff *skb, int offset, const void *from, int len)h]j )}(hNint skb_store_bits(struct sk_buff *skb, int offset, const void *from, int len)h](jM )}(hinth]hint}(hjAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj=hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMp ubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhjOhMp ubj3)}(hskb_store_bitsh]j9)}(hskb_store_bitsh]hskb_store_bits}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhjOhMp ubj )}(h<(struct sk_buff *skb, int offset, const void *from, int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jdsbc.skb_store_bitsasbuh1hhjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubj )}(h int offseth](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffseth]hoffset}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubj )}(hconst void *fromh](j)}(hj h]hconst}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubjM )}(hvoidh]hvoid}(hj@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj!ubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj )}(hj h]h*}(hj\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!ubj9)}(hfromh]hfrom}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubj )}(hint lenh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj~ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubeh}(h]h ]h"]h$]h&]jPjQuh1j hj=hhhjOhMp ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9hhhjOhMp ubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjOhMp hj6hhubjg)}(hhh]jl)}(h$store bits from kernel buffer to skbh]h$store bits from kernel buffer to skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMp hjhhubah}(h]h ]h"]h$]h&]uh1jfhj6hhhjOhMp ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hXu**Parameters** ``struct sk_buff *skb`` destination buffer ``int offset`` offset in destination ``const void *from`` source buffer ``int len`` number of bytes to copy **Description** Copy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMt hjubj)}(hhh](j)}(h+``struct sk_buff *skb`` destination buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj h]hstruct sk_buff *skb}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMq hjubj)}(hhh]jl)}(hdestination bufferh]hdestination buffer}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMq hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMq hjubj)}(h%``int offset`` offset in destination h](j)}(h``int offset``h]j)}(hjBh]h int offset}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMr hj<ubj)}(hhh]jl)}(hoffset in destinationh]hoffset in destination}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMr hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMr hjubj)}(h#``const void *from`` source buffer h](j)}(h``const void *from``h]j)}(hj{h]hconst void *from}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMs hjuubj)}(hhh]jl)}(h source bufferh]h source buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMs hjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMs hjubj)}(h$``int len`` number of bytes to copy h](j)}(h ``int len``h]j)}(hjh]hint len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMt hjubj)}(hhh]jl)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMt hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMt hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMv hjubj)}(hCopy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.h]jl)}(hCopy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.h]h Copy the specified number of bytes from the source buffer to the destination skb. This function handles all the messy bits of traversing fragment lists and such.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMu hjubah}(h]h ]h"]h$]h&]uh1jhjhMu hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_zerocopy (C function)c.skb_zerocopyhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hNint skb_zerocopy (struct sk_buff *to, struct sk_buff *from, int len, int hlen)h]j )}(hMint skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len, int hlen)h](jM )}(hinth]hint}(hj>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:hhhjLhMubj3)}(h skb_zerocopyh]j9)}(h skb_zerocopyh]h skb_zerocopy}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj:hhhjLhMubj )}(h=(struct sk_buff *to, struct sk_buff *from, int len, int hlen)h](j )}(hstruct sk_buff *toh](j)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jasbc.skb_zerocopyasbuh1hhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj9)}(htoh]hto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(hstruct sk_buff *fromh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.skb_zerocopyasbuh1hhjubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfromh]hfrom}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(hint lenh](jM )}(hinth]hint}(hj]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj9)}(hlenh]hlen}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(hint hlenh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hhlenh]hhlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubeh}(h]h ]h"]h$]h&]jPjQuh1j hj:hhhjLhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj6hhhjLhMubah}(h]j1ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjLhMhj3hhubjg)}(hhh]jl)}(hZero copy skb to skbh]hZero copy skb to skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj3hhhjLhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *to`` destination buffer ``struct sk_buff *from`` source buffer ``int len`` number of bytes to copy from source buffer ``int hlen`` size of linear headroom in destination buffer **Description** Copies up to `len` bytes from `from` to `to` by creating references to the frags in the source buffer. The `hlen` as calculated by skb_zerocopy_headlen() specifies the headroom in the `to` buffer. Return value: 0: everything is OK -ENOMEM: couldn't orphan frags of **from** due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometry, or readable head payload would be mixed with unreadable frags.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h*``struct sk_buff *to`` destination buffer h](j)}(h``struct sk_buff *to``h]j)}(hjh]hstruct sk_buff *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hdestination bufferh]hdestination buffer}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubj)}(h'``struct sk_buff *from`` source buffer h](j)}(h``struct sk_buff *from``h]j)}(hjRh]hstruct sk_buff *from}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjLubj)}(hhh]jl)}(h source bufferh]h source buffer}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubj)}(h7``int len`` number of bytes to copy from source buffer h](j)}(h ``int len``h]j)}(hjh]hint len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h*number of bytes to copy from source bufferh]h*number of bytes to copy from source buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h;``int hlen`` size of linear headroom in destination buffer h](j)}(h ``int hlen``h]j)}(hjh]hint hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h-size of linear headroom in destination bufferh]h-size of linear headroom in destination buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hXCopies up to `len` bytes from `from` to `to` by creating references to the frags in the source buffer. The `hlen` as calculated by skb_zerocopy_headlen() specifies the headroom in the `to` buffer. Return value: 0: everything is OK -ENOMEM: couldn't orphan frags of **from** due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometry, or readable head payload would be mixed with unreadable frags.h](jl)}(hfCopies up to `len` bytes from `from` to `to` by creating references to the frags in the source buffer.h](h Copies up to }(hjhhhNhNubhtitle_reference)}(h`len`h]hlen}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1j!hjubh bytes from }(hjhhhNhNubj")}(h`from`h]hfrom}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1j!hjubh to }(hjhhhNhNubj")}(h`to`h]hto}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1j!hjubh: by creating references to the frags in the source buffer.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(h]The `hlen` as calculated by skb_zerocopy_headlen() specifies the headroom in the `to` buffer.h](hThe }(hj`hhhNhNubj")}(h`hlen`h]hhlen}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1j!hj`ubhG as calculated by skb_zerocopy_headlen() specifies the headroom in the }(hj`hhhNhNubj")}(h`to`h]hto}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1j!hj`ubh buffer.}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(hReturn value: 0: everything is OK -ENOMEM: couldn't orphan frags of **from** due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometry, or readable head payload would be mixed with unreadable frags.h](hFReturn value: 0: everything is OK -ENOMEM: couldn’t orphan frags of }(hjhhhNhNubj)}(h**from**h]hfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh due to lack of memory -EFAULT: skb_copy_bits() found some problem with skb geometry, or readable head payload would be mixed with unreadable frags.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM hjubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dequeue (C function) c.skb_dequeuehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h8struct sk_buff * skb_dequeue (struct sk_buff_head *list)h]j )}(h6struct sk_buff *skb_dequeue(struct sk_buff_head *list)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j skb_dequeuesb c.skb_dequeueasbuh1hhjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(h skb_dequeueh]j9)}(hjh]h skb_dequeue}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct sk_buff_head *list)h]j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]j c.skb_dequeueasbuh1hhjPubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h!remove from the head of the queueh]h!remove from the head of the queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the head of the list. The list lock is taken so the function may be used safely with other locking list functions. The head item is returned or ``NULL`` if the list is empty.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hlist to dequeue fromh]hlist to dequeue from}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjQh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hRemove the head of the list. The list lock is taken so the function may be used safely with other locking list functions. The head item is returned or ``NULL`` if the list is empty.h]jl)}(hRemove the head of the list. The list lock is taken so the function may be used safely with other locking list functions. The head item is returned or ``NULL`` if the list is empty.h](hRemove the head of the list. The list lock is taken so the function may be used safely with other locking list functions. The head item is returned or }(hjkhhhNhNubj)}(h``NULL``h]hNULL}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh if the list is empty.}(hjkhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjgubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_dequeue_tail (C function)c.skb_dequeue_tailhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h=struct sk_buff * skb_dequeue_tail (struct sk_buff_head *list)h]j )}(h;struct sk_buff *skb_dequeue_tail(struct sk_buff_head *list)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j skb_dequeue_tailsbc.skb_dequeue_tailasbuh1hhjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hskb_dequeue_tailh]j9)}(hjh]hskb_dequeue_tail}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct sk_buff_head *list)h]j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNj j )}j ]jc.skb_dequeue_tailasbuh1hhj(ubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(ubj9)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h!remove from the tail of the queueh]h!remove from the tail of the queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff_head *list`` list to dequeue from **Description** Remove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or ``NULL`` if the list is empty.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]j)}(h3``struct sk_buff_head *list`` list to dequeue from h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hlist to dequeue fromh]hlist to dequeue from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj)h]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hRemove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or ``NULL`` if the list is empty.h]jl)}(hRemove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or ``NULL`` if the list is empty.h](hRemove the tail of the list. The list lock is taken so the function may be used safely with other locking list functions. The tail item is returned or }(hjChhhNhNubj)}(h``NULL``h]hNULL}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh if the list is empty.}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj?ubah}(h]h ]h"]h$]h&]uh1jhjchMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#skb_queue_purge_reason (C function)c.skb_queue_purge_reasonhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hTvoid skb_queue_purge_reason (struct sk_buff_head *list, enum skb_drop_reason reason)h]j )}(hSvoid skb_queue_purge_reason(struct sk_buff_head *list, enum skb_drop_reason reason)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_queue_purge_reasonh]j9)}(hskb_queue_purge_reasonh]hskb_queue_purge_reason}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h8(struct sk_buff_head *list, enum skb_drop_reason reason)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_queue_purge_reasonasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hlisth]hlist}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(henum skb_drop_reason reasonh](j)}(hjh]henum}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(hhh]j9)}(hskb_drop_reasonh]hskb_drop_reason}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]jc.skb_queue_purge_reasonasbuh1hhj5ubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj9)}(hreasonh]hreason}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]j}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h empty a listh]h empty a list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX\**Parameters** ``struct sk_buff_head *list`` list to empty ``enum skb_drop_reason reason`` drop reason **Description** Delete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function takes the list lock and is atomic with respect to other list locking functions.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h,``struct sk_buff_head *list`` list to empty h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h list to emptyh]h list to empty}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``enum skb_drop_reason reason`` drop reason h](j)}(h``enum skb_drop_reason reason``h]j)}(hj'h]henum skb_drop_reason reason}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj!ubj)}(hhh]jl)}(h drop reasonh]h drop reason}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjbh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hDelete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function takes the list lock and is atomic with respect to other list locking functions.h]jl)}(hDelete all buffers on an :c:type:`sk_buff` list. Each buffer is removed from the list and one reference dropped. This function takes the list lock and is atomic with respect to other list locking functions.h](hDelete all buffers on an }(hj|hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj|ubh list. Each buffer is removed from the list and one reference dropped. This function takes the list lock and is atomic with respect to other list locking functions.}(hj|hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjxubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_head (C function)c.skb_queue_headhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hFvoid skb_queue_head (struct sk_buff_head *list, struct sk_buff *newsk)h]j )}(hEvoid skb_queue_head(struct sk_buff_head *list, struct sk_buff *newsk)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_queue_headh]j9)}(hskb_queue_headh]hskb_queue_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j jsbc.skb_queue_headasbuh1hhj ubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hlisth]hlist}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hstruct sk_buff *newskh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jKc.skb_queue_headasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnewskh]hnewsk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hqueue a buffer at the list headh]hqueue a buffer at the list head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hXa**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jl)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjEh]hstruct sk_buff_head *list}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj?ubj)}(hhh]jl)}(h list to useh]h list to use}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhj<ubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hj~h]hstruct sk_buff *newsk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjxubj)}(hhh]jl)}(hbuffer to queueh]hbuffer to queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhj<ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hQueue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jl)}(hQueue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely.h](huQueue a buffer at the start of the list. This function takes the list lock and can be used safely with other locking }(hjhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjh]hsk_buff}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubh functions safely.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubjl)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_queue_tail (C function)c.skb_queue_tailhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hFvoid skb_queue_tail (struct sk_buff_head *list, struct sk_buff *newsk)h]j )}(hEvoid skb_queue_tail(struct sk_buff_head *list, struct sk_buff *newsk)h](jM )}(hvoidh]hvoid}(hj:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhjHhMubj3)}(hskb_queue_tailh]j9)}(hskb_queue_tailh]hskb_queue_tail}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6hhhjHhMubj )}(h2(struct sk_buff_head *list, struct sk_buff *newsk)h](j )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j]sbc.skb_queue_tailasbuh1hhjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubj )}(hstruct sk_buff *newskh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.skb_queue_tailasbuh1hhjubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnewskh]hnewsk}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubeh}(h]h ]h"]h$]h&]jPjQuh1j hj6hhhjHhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhjHhMubah}(h]j-ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHhMhj/hhubjg)}(hhh]jl)}(hqueue a buffer at the list tailh]hqueue a buffer at the list tail}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjghhubah}(h]h ]h"]h$]h&]uh1jfhj/hhhjHhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX`**Parameters** ``struct sk_buff_head *list`` list to use ``struct sk_buff *newsk`` buffer to queue **Description** Queue a buffer at the tail of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjh]hstruct sk_buff_head *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h list to useh]h list to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``struct sk_buff *newsk`` buffer to queue h](j)}(h``struct sk_buff *newsk``h]j)}(hjh]hstruct sk_buff *newsk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hbuffer to queueh]hbuffer to queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hQueue a buffer at the tail of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely. A buffer cannot be placed on two lists at the same time.h](jl)}(hQueue a buffer at the tail of the list. This function takes the list lock and can be used safely with other locking :c:type:`sk_buff` functions safely.h](htQueue a buffer at the tail of the list. This function takes the list lock and can be used safely with other locking }(hj9hhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hjCh]hsk_buff}(hjEhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj9ubh functions safely.}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj`hMhj5ubjl)}(h8A buffer cannot be placed on two lists at the same time.h]h8A buffer cannot be placed on two lists at the same time.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj5ubeh}(h]h ]h"]h$]h&]uh1jhj`hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_unlink (C function) c.skb_unlinkhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h@void skb_unlink (struct sk_buff *skb, struct sk_buff_head *list)h]j )}(h?void skb_unlink(struct sk_buff *skb, struct sk_buff_head *list)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM&ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM&ubj3)}(h skb_unlinkh]j9)}(h skb_unlinkh]h skb_unlink}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM&ubj )}(h0(struct sk_buff *skb, struct sk_buff_head *list)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.skb_unlinkasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]j c.skb_unlinkasbuh1hhjKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjKubj9)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM&ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM&ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM&hjhhubjg)}(hhh]jl)}(hremove a buffer from a listh]hremove a buffer from a list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM&hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX***Parameters** ``struct sk_buff *skb`` buffer to remove ``struct sk_buff_head *list`` list to use **Description** Remove a packet from a list. The list locks are taken and this function is atomic with respect to other list locked calls You must know what list the SKB is on.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM*hjubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to remove h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'hj ubj)}(hhh]jl)}(hbuffer to removeh]hbuffer to remove}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hM'hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hM'hjubj)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hjJh]hstruct sk_buff_head *list}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM(hjDubj)}(hhh]jl)}(h list to useh]h list to use}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hM(hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hM(hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM*hjubj)}(hRemove a packet from a list. The list locks are taken and this function is atomic with respect to other list locked calls You must know what list the SKB is on.h](jl)}(hyRemove a packet from a list. The list locks are taken and this function is atomic with respect to other list locked callsh]hyRemove a packet from a list. The list locks are taken and this function is atomic with respect to other list locked calls}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM)hjubjl)}(h&You must know what list the SKB is on.h]h&You must know what list the SKB is on.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM,hjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_append (C function) c.skb_appendhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hWvoid skb_append (struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list)h]j )}(hVvoid skb_append(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM:ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM:ubj3)}(h skb_appendh]j9)}(h skb_appendh]h skb_append}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM:ubj )}(hG(struct sk_buff *old, struct sk_buff *newsk, struct sk_buff_head *list)h](j )}(hstruct sk_buff *oldh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNj j )}j ]j )}j jsb c.skb_appendasbuh1hhjubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(holdh]hold}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *newskh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jZ c.skb_appendasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnewskh]hnewsk}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff_head *listh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h sk_buff_headh]h sk_buff_head}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]jZ c.skb_appendasbuh1hhjubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hlisth]hlist}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM:ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM:ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM:hjhhubjg)}(hhh]jl)}(happend a bufferh]happend a buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM:hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *old`` buffer to insert after ``struct sk_buff *newsk`` buffer to insert ``struct sk_buff_head *list`` list to use **Description** Place a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM>hjubj)}(hhh](j)}(h/``struct sk_buff *old`` buffer to insert after h](j)}(h``struct sk_buff *old``h]j)}(hjh]hstruct sk_buff *old}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;hjubj)}(hhh]jl)}(hbuffer to insert afterh]hbuffer to insert after}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjubj)}(h+``struct sk_buff *newsk`` buffer to insert h](j)}(h``struct sk_buff *newsk``h]j)}(hjh]hstruct sk_buff *newsk}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM<hjubj)}(hhh]jl)}(hbuffer to inserth]hbuffer to insert}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjubj)}(h*``struct sk_buff_head *list`` list to use h](j)}(h``struct sk_buff_head *list``h]j)}(hj6h]hstruct sk_buff_head *list}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM=hj0ubj)}(hhh]jl)}(h list to useh]h list to use}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhM=hjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhM=hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjqh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM?hjubj)}(hPlace a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.h]jl)}(hPlace a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.h]hPlace a packet after a given packet in a list. The list locks are taken and this function is atomic with respect to other list locked calls. A buffer cannot be placed on two lists at the same time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM>hjubah}(h]h ]h"]h$]h&]uh1jhjhM>hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_split (C function) c.skb_splithNtauh1hhj" hhhNhNubh)}(hhh](j)}(hIvoid skb_split (struct sk_buff *skb, struct sk_buff *skb1, const u32 len)h]j )}(hHvoid skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h skb_splith]j9)}(h skb_splith]h skb_split}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h:(struct sk_buff *skb, struct sk_buff *skb1, const u32 len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.skb_splitasbuh1hhjubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *skb1h](j)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j7 c.skb_splitasbuh1hhjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hskb1h]hskb1}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h const u32 lenh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j7 c.skb_splitasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h0Split fragmented skb to two parts at length len.h]h0Split fragmented skb to two parts at length len.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjPhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` the buffer to split ``struct sk_buff *skb1`` the buffer to receive the second part ``const u32 len`` new length for skbh](jl)}(h**Parameters**h]j)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjoubj)}(hhh](j)}(h,``struct sk_buff *skb`` the buffer to split h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hthe buffer to splith]hthe buffer to split}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``struct sk_buff *skb1`` the buffer to receive the second part h](j)}(h``struct sk_buff *skb1``h]j)}(hjh]hstruct sk_buff *skb1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h%the buffer to receive the second parth]h%the buffer to receive the second part}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``const u32 len`` new length for skbh](j)}(h``const u32 len``h]j)}(hjh]h const u32 len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hnew length for skbh]hnew length for skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_prepare_seq_read (C function)c.skb_prepare_seq_readhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hmvoid skb_prepare_seq_read (struct sk_buff *skb, unsigned int from, unsigned int to, struct skb_seq_state *st)h]j )}(hlvoid skb_prepare_seq_read(struct sk_buff *skb, unsigned int from, unsigned int to, struct skb_seq_state *st)h](jM )}(hvoidh]hvoid}(hj`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM7ubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\hhhjnhM7ubj3)}(hskb_prepare_seq_readh]j9)}(hskb_prepare_seq_readh]hskb_prepare_seq_read}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj\hhhjnhM7ubj )}(hS(struct sk_buff *skb, unsigned int from, unsigned int to, struct skb_seq_state *st)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_prepare_seq_readasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int fromh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubjM )}(hinth]hint}(hj+hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hfromh]hfrom}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int toh](jM )}(hunsignedh]hunsigned}(hj`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\ubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubjM )}(hinth]hint}(hj|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj9)}(htoh]hto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct skb_seq_state *sth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_seq_stateh]h skb_seq_state}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_prepare_seq_readasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsth]hst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj\hhhjnhM7ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhjnhM7ubah}(h]jSah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjnhM7hjUhhubjg)}(hhh]jl)}(h%Prepare a sequential read of skb datah]h%Prepare a sequential read of skb data}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM7hj/hhubah}(h]h ]h"]h$]h&]uh1jfhjUhhhjnhM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhj" hNhNubj)}(hXY**Parameters** ``struct sk_buff *skb`` the buffer to read ``unsigned int from`` lower offset of data to be read ``unsigned int to`` upper offset of data to be read ``struct skb_seq_state *st`` state variable **Description** Initializes the specified state variable. Must be called before invoking skb_seq_read() for the first time.h](jl)}(h**Parameters**h]j)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;hjNubj)}(hhh](j)}(h+``struct sk_buff *skb`` the buffer to read h](j)}(h``struct sk_buff *skb``h]j)}(hjsh]hstruct sk_buff *skb}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM8hjmubj)}(hhh]jl)}(hthe buffer to readh]hthe buffer to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjjubj)}(h6``unsigned int from`` lower offset of data to be read h](j)}(h``unsigned int from``h]j)}(hjh]hunsigned int from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM9hjubj)}(hhh]jl)}(hlower offset of data to be readh]hlower offset of data to be read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjjubj)}(h4``unsigned int to`` upper offset of data to be read h](j)}(h``unsigned int to``h]j)}(hjh]hunsigned int to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM:hjubj)}(hhh]jl)}(hupper offset of data to be readh]hupper offset of data to be read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjjubj)}(h,``struct skb_seq_state *st`` state variable h](j)}(h``struct skb_seq_state *st``h]j)}(hjh]hstruct skb_seq_state *st}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM;hjubj)}(hhh]jl)}(hstate variableh]hstate variable}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hM;hj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hM;hjjubeh}(h]h ]h"]h$]h&]uh1jhjNubjl)}(h**Description**h]j)}(hjYh]h Description}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM=hjNubjl)}(hkInitializes the specified state variable. Must be called before invoking skb_seq_read() for the first time.h]hkInitializes the specified state variable. Must be called before invoking skb_seq_read() for the first time.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM<hjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_seq_read (C function)c.skb_seq_readhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h\unsigned int skb_seq_read (unsigned int consumed, const u8 **data, struct skb_seq_state *st)h]j )}(h[unsigned int skb_seq_read(unsigned int consumed, const u8 **data, struct skb_seq_state *st)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMMubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhMMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMMubj3)}(h skb_seq_readh]j9)}(h skb_seq_readh]h skb_seq_read}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMMubj )}(hB(unsigned int consumed, const u8 **data, struct skb_seq_state *st)h](j )}(hunsigned int consumedh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hconsumedh]hconsumed}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst u8 **datah](j)}(hj h]hconst}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubh)}(hhh]j9)}(hu8h]hu8}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]j )}j jsbc.skb_seq_readasbuh1hhjDubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj9)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct skb_seq_state *sth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_seq_stateh]h skb_seq_state}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_seq_readasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsth]hst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMMhjhhubjg)}(hhh]jl)}(hSequentially read skb datah]hSequentially read skb data}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMMhjEhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``unsigned int consumed`` number of bytes consumed by the caller so far ``const u8 **data`` destination pointer for data to be returned ``struct skb_seq_state *st`` state variable **Description** Reads a block of skb data at **consumed** relative to the lower offset specified to skb_prepare_seq_read(). Assigns the head of the data block to **data** and returns the length of the block or 0 if the end of the skb data or the upper offset has been reached. The caller is not required to consume all of the data returned, i.e. **consumed** is typically set to the number of bytes already consumed and the next call to skb_seq_read() will return the remaining part of the block. Note 1: The size of each block of data returned can be arbitrary, this limitation is the cost for zerocopy sequential reads of potentially non linear data. Note 2: Fragment lists within fragments are not implemented at the moment, state->root_skb could be replaced with a stack for this purpose.h](jl)}(h**Parameters**h]j)}(hjjh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMQhjdubj)}(hhh](j)}(hH``unsigned int consumed`` number of bytes consumed by the caller so far h](j)}(h``unsigned int consumed``h]j)}(hjh]hunsigned int consumed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMNhjubj)}(hhh]jl)}(h-number of bytes consumed by the caller so farh]h-number of bytes consumed by the caller so far}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubj)}(h@``const u8 **data`` destination pointer for data to be returned h](j)}(h``const u8 **data``h]j)}(hjh]hconst u8 **data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMOhjubj)}(hhh]jl)}(h+destination pointer for data to be returnedh]h+destination pointer for data to be returned}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(h,``struct skb_seq_state *st`` state variable h](j)}(h``struct skb_seq_state *st``h]j)}(hjh]hstruct skb_seq_state *st}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMPhjubj)}(hhh]jl)}(hstate variableh]hstate variable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubeh}(h]h ]h"]h$]h&]uh1jhjdubjl)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMRhjdubjl)}(hXReads a block of skb data at **consumed** relative to the lower offset specified to skb_prepare_seq_read(). Assigns the head of the data block to **data** and returns the length of the block or 0 if the end of the skb data or the upper offset has been reached.h](hReads a block of skb data at }(hjLhhhNhNubj)}(h **consumed**h]hconsumed}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubhi relative to the lower offset specified to skb_prepare_seq_read(). Assigns the head of the data block to }(hjLhhhNhNubj)}(h**data**h]hdata}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubhj and returns the length of the block or 0 if the end of the skb data or the upper offset has been reached.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMQhjdubjl)}(hThe caller is not required to consume all of the data returned, i.e. **consumed** is typically set to the number of bytes already consumed and the next call to skb_seq_read() will return the remaining part of the block.h](hEThe caller is not required to consume all of the data returned, i.e. }(hjhhhNhNubj)}(h **consumed**h]hconsumed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is typically set to the number of bytes already consumed and the next call to skb_seq_read() will return the remaining part of the block.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMWhjdubj)}(hhh](j)}(hNote 1: The size of each block of data returned can be arbitrary, this limitation is the cost for zerocopy sequential reads of potentially non linear data. h](j)}(hANote 1: The size of each block of data returned can be arbitrary,h]hANote 1: The size of each block of data returned can be arbitrary,}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM^hjubj)}(hhh]jl)}(hYthis limitation is the cost for zerocopy sequential reads of potentially non linear data.h]hYthis limitation is the cost for zerocopy sequential reads of potentially non linear data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjubj)}(hNote 2: Fragment lists within fragments are not implemented at the moment, state->root_skb could be replaced with a stack for this purpose.h](j)}(h;Note 2: Fragment lists within fragments are not implementedh]h;Note 2: Fragment lists within fragments are not implemented}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMahjubj)}(hhh]jl)}(hOat the moment, state->root_skb could be replaced with a stack for this purpose.h]hOat the moment, state->root_skb could be replaced with a stack for this purpose.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahjubeh}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_abort_seq_read (C function)c.skb_abort_seq_readhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h2void skb_abort_seq_read (struct skb_seq_state *st)h]j )}(h1void skb_abort_seq_read(struct skb_seq_state *st)h](jM )}(hvoidh]hvoid}(hj*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj8hMubj3)}(hskb_abort_seq_readh]j9)}(hskb_abort_seq_readh]hskb_abort_seq_read}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&hhhj8hMubj )}(h(struct skb_seq_state *st)h]j )}(hstruct skb_seq_state *sth](j)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubh)}(hhh]j9)}(h skb_seq_stateh]h skb_seq_state}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jMsbc.skb_abort_seq_readasbuh1hhjcubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hsth]hst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_ubah}(h]h ]h"]h$]h&]jPjQuh1j hj&hhhj8hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj"hhhj8hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8hMhjhhubjg)}(hhh]jl)}(h#Abort a sequential read of skb datah]h#Abort a sequential read of skb data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct skb_seq_state *st`` state variable **Description** Must be called if skb_seq_read() was not called until it returned 0.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]j)}(h,``struct skb_seq_state *st`` state variable h](j)}(h``struct skb_seq_state *st``h]j)}(hj+h]hstruct skb_seq_state *st}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj%ubj)}(hhh]jl)}(hstate variableh]hstate variable}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjfh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(hDMust be called if skb_seq_read() was not called until it returned 0.h]hDMust be called if skb_seq_read() was not called until it returned 0.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_copy_seq_read (C function)c.skb_copy_seq_readhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hOint skb_copy_seq_read (struct skb_seq_state *st, int offset, void *to, int len)h]j )}(hNint skb_copy_seq_read(struct skb_seq_state *st, int offset, void *to, int len)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_copy_seq_readh]j9)}(hskb_copy_seq_readh]hskb_copy_seq_read}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h9(struct skb_seq_state *st, int offset, void *to, int len)h](j )}(hstruct skb_seq_state *sth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h skb_seq_stateh]h skb_seq_state}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_copy_seq_readasbuh1hhjubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsth]hst}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int offseth](jM )}(hinth]hint}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjVubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj9)}(hoffseth]hoffset}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hvoid *toh](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htoh]hto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint lenh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h%copy from a skb_seq_state to a bufferh]h%copy from a skb_seq_state to a buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct skb_seq_state *st`` source skb_seq_state ``int offset`` offset in source ``void *to`` destination buffer ``int len`` number of bytes to copy **Description** Copy **len** bytes from **offset** bytes into the source **st** to the destination buffer **to**. `offset` should increase (or be unchanged) with each subsequent call to this function. If offset needs to decrease from the previous use `st` should be reset first. **Return** 0 on success or -EINVAL if the copy ended earlyh](jl)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj3ubj)}(hhh](j)}(h2``struct skb_seq_state *st`` source skb_seq_state h](j)}(h``struct skb_seq_state *st``h]j)}(hjXh]hstruct skb_seq_state *st}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjRubj)}(hhh]jl)}(hsource skb_seq_stateh]hsource skb_seq_state}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjOubj)}(h ``int offset`` offset in source h](j)}(h``int offset``h]j)}(hjh]h int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hoffset in sourceh]hoffset in source}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjOubj)}(h ``void *to`` destination buffer h](j)}(h ``void *to``h]j)}(hjh]hvoid *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hdestination bufferh]hdestination buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjOubj)}(h$``int len`` number of bytes to copy h](j)}(h ``int len``h]j)}(hjh]hint len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hnumber of bytes to copyh]hnumber of bytes to copy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h**Description**h]j)}(hj>h]h Description}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj3ubjl)}(hXCopy **len** bytes from **offset** bytes into the source **st** to the destination buffer **to**. `offset` should increase (or be unchanged) with each subsequent call to this function. If offset needs to decrease from the previous use `st` should be reset first.h](hCopy }(hjThhhNhNubj)}(h**len**h]hlen}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh bytes from }(hjThhhNhNubj)}(h **offset**h]hoffset}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh bytes into the source }(hjThhhNhNubj)}(h**st**h]hst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh to the destination buffer }(hjThhhNhNubj)}(h**to**h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh. }(hjThhhNhNubj")}(h`offset`h]hoffset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j!hjTubh should increase (or be unchanged) with each subsequent call to this function. If offset needs to decrease from the previous use }(hjThhhNhNubj")}(h`st`h]hst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j!hjTubh should be reset first.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj3ubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj3ubjl)}(h/0 on success or -EINVAL if the copy ended earlyh]h/0 on success or -EINVAL if the copy ended early}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_find_text (C function)c.skb_find_texthNtauh1hhj" hhhNhNubh)}(hhh](j)}(hnunsigned int skb_find_text (struct sk_buff *skb, unsigned int from, unsigned int to, struct ts_config *config)h]j )}(hmunsigned int skb_find_text(struct sk_buff *skb, unsigned int from, unsigned int to, struct ts_config *config)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj$hMubjM )}(hinth]hint}(hj3hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhj$hMubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj$hMubj3)}(h skb_find_texth]j9)}(h skb_find_texth]h skb_find_text}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj$hMubj )}(hS(struct sk_buff *skb, unsigned int from, unsigned int to, struct ts_config *config)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jUsbc.skb_find_textasbuh1hhjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(hunsigned int fromh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(hunsigned int toh](jM )}(hunsignedh]hunsigned}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubjM )}(hinth]hint}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj9)}(htoh]hto}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(hstruct ts_config *configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h ts_configh]h ts_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.skb_find_textasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj$hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj$hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$hMhj hhubjg)}(hhh]jl)}(hFind a text pattern in skb datah]hFind a text pattern in skb data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj$hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` the buffer to look in ``unsigned int from`` search offset ``unsigned int to`` search limit ``struct ts_config *config`` textsearch configuration **Description** Finds a pattern in the skb data according to the specified textsearch configuration. Use textsearch_next() to retrieve subsequent occurrences of the pattern. Returns the offset to the first occurrence or UINT_MAX if no match was found.h](jl)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh](j)}(h.``struct sk_buff *skb`` the buffer to look in h](j)}(h``struct sk_buff *skb``h]j)}(hjEh]hstruct sk_buff *skb}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj?ubj)}(hhh]jl)}(hthe buffer to look inh]hthe buffer to look in}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhj<ubj)}(h$``unsigned int from`` search offset h](j)}(h``unsigned int from``h]j)}(hj~h]hunsigned int from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjxubj)}(hhh]jl)}(h search offseth]h search offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhj<ubj)}(h!``unsigned int to`` search limit h](j)}(h``unsigned int to``h]j)}(hjh]hunsigned int to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h search limith]h search limit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj<ubj)}(h6``struct ts_config *config`` textsearch configuration h](j)}(h``struct ts_config *config``h]j)}(hjh]hstruct ts_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(htextsearch configurationh]htextsearch configuration}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj<ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hj+h]h Description}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubjl)}(hFinds a pattern in the skb data according to the specified textsearch configuration. Use textsearch_next() to retrieve subsequent occurrences of the pattern. Returns the offset to the first occurrence or UINT_MAX if no match was found.h]hFinds a pattern in the skb data according to the specified textsearch configuration. Use textsearch_next() to retrieve subsequent occurrences of the pattern. Returns the offset to the first occurrence or UINT_MAX if no match was found.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_pull_rcsum (C function)c.skb_pull_rcsumhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h=void * skb_pull_rcsum (struct sk_buff *skb, unsigned int len)h]j )}(h;void *skb_pull_rcsum(struct sk_buff *skb, unsigned int len)h](jM )}(hvoidh]hvoid}(hjphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjlhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM.ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlhhhj~hM.ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjlhhhj~hM.ubj3)}(hskb_pull_rcsumh]j9)}(hskb_pull_rcsumh]hskb_pull_rcsum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlhhhj~hM.ubj )}(h'(struct sk_buff *skb, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_pull_rcsumasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hj,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubjM )}(hinth]hint}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(ubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj9)}(hlenh]hlen}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjlhhhj~hM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhhj~hM.ubah}(h]jcah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj~hM.hjehhubjg)}(hhh]jl)}(h$pull skb and update receive checksumh]h$pull skb and update receive checksum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM.hjhhubah}(h]h ]h"]h$]h&]uh1jfhjehhhj~hM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to update ``unsigned int len`` length of data pulled **Description** This function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM2hjubj)}(hhh](j)}(h)``struct sk_buff *skb`` buffer to update h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/hjubj)}(hhh]jl)}(hbuffer to updateh]hbuffer to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubj)}(h+``unsigned int len`` length of data pulled h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM0hjubj)}(hhh]jl)}(hlength of data pulledh]hlength of data pulled}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjCh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM2hjubj)}(hXThis function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h]jl)}(hXThis function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.h]hXThis function performs an skb_pull on the packet and updates the CHECKSUM_COMPLETE checksum. It should be used on receive path processing instead of skb_pull unless you know that the checksum difference is zero (e.g., a valid IP header) or you are setting ip_summed to CHECKSUM_NONE.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM1hjYubah}(h]h ]h"]h$]h&]uh1jhjkhM1hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_segment (C function) c.skb_segmenthNtauh1hhj" hhhNhNubh)}(hhh](j)}(hSstruct sk_buff * skb_segment (struct sk_buff *head_skb, netdev_features_t features)h]j )}(hQstruct sk_buff *skb_segment(struct sk_buff *head_skb, netdev_features_t features)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j skb_segmentsb c.skb_segmentasbuh1hhjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(h skb_segmenth]j9)}(hjh]h skb_segment}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h6(struct sk_buff *head_skb, netdev_features_t features)h](j )}(hstruct sk_buff *head_skbh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]j c.skb_segmentasbuh1hhjubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hhead_skbh]hhead_skb}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hnetdev_features_t featuresh](h)}(hhh]j9)}(hnetdev_features_th]hnetdev_features_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.skb_segmentasbuh1hhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj9)}(hfeaturesh]hfeatures}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h%Perform protocol segmentation on skb.h]h%Perform protocol segmentation on skb.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX_**Parameters** ``struct sk_buff *head_skb`` buffer to segment ``netdev_features_t features`` features for the output path (see dev->features) **Description** This function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR_PTR(err).h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h/``struct sk_buff *head_skb`` buffer to segment h](j)}(h``struct sk_buff *head_skb``h]j)}(hjh]hstruct sk_buff *head_skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hbuffer to segmenth]hbuffer to segment}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhj ubj)}(hP``netdev_features_t features`` features for the output path (see dev->features) h](j)}(h``netdev_features_t features``h]j)}(hjOh]hnetdev_features_t features}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjIubj)}(hhh]jl)}(h0features for the output path (see dev->features)h]h0features for the output path (see dev->features)}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hThis function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR_PTR(err).h]jl)}(hThis function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR_PTR(err).h]hThis function performs segmentation on the given skb. It returns a pointer to the first in a list of new skbs for the segments. In case of error it returns ERR_PTR(err).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_to_sgvec (C function)c.skb_to_sgvechNtauh1hhj" hhhNhNubh)}(hhh](j)}(hSint skb_to_sgvec (struct sk_buff *skb, struct scatterlist *sg, int offset, int len)h]j )}(hRint skb_to_sgvec(struct sk_buff *skb, struct scatterlist *sg, int offset, int len)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h skb_to_sgvech]j9)}(h skb_to_sgvech]h skb_to_sgvec}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hB(struct sk_buff *skb, struct scatterlist *sg, int offset, int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]j )}j jsbc.skb_to_sgvecasbuh1hhjubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct scatterlist *sgh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h scatterlisth]h scatterlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jPc.skb_to_sgvecasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsgh]hsg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int offseth](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint lenh](jM )}(hinth]hint}(hj-hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj)ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubj9)}(hlenh]hlen}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h/Fill a scatter-gather list from a socket bufferh]h/Fill a scatter-gather list from a socket buffer}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjphhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` Socket buffer containing the buffers to be mapped ``struct scatterlist *sg`` The scatter-gather list to map into ``int offset`` The offset into the buffer's contents to start mapping ``int len`` Length of buffer space to be mapped **Description** Fill the specified scatter-gather list with mappings/pointers into a region of the buffer space attached to a socket buffer. Returns either the number of scatterlist items used, or -EMSGSIZE if the contents could not fit.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(hJ``struct sk_buff *skb`` Socket buffer containing the buffers to be mapped h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h1Socket buffer containing the buffers to be mappedh]h1Socket buffer containing the buffers to be mapped}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``struct scatterlist *sg`` The scatter-gather list to map into h](j)}(h``struct scatterlist *sg``h]j)}(hjh]hstruct scatterlist *sg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h#The scatter-gather list to map intoh]h#The scatter-gather list to map into}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hF``int offset`` The offset into the buffer's contents to start mapping h](j)}(h``int offset``h]j)}(hj&h]h int offset}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jl)}(h6The offset into the buffer's contents to start mappingh]h8The offset into the buffer’s contents to start mapping}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjubj)}(h0``int len`` Length of buffer space to be mapped h](j)}(h ``int len``h]j)}(hj_h]hint len}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjYubj)}(hhh]jl)}(h#Length of buffer space to be mappedh]h#Length of buffer space to be mapped}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hFill the specified scatter-gather list with mappings/pointers into a region of the buffer space attached to a socket buffer. Returns either the number of scatterlist items used, or -EMSGSIZE if the contents could not fit.h]jl)}(hFill the specified scatter-gather list with mappings/pointers into a region of the buffer space attached to a socket buffer. Returns either the number of scatterlist items used, or -EMSGSIZE if the contents could not fit.h]hFill the specified scatter-gather list with mappings/pointers into a region of the buffer space attached to a socket buffer. Returns either the number of scatterlist items used, or -EMSGSIZE if the contents could not fit.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_cow_data (C function)c.skb_cow_datahNtauh1hhj" hhhNhNubh)}(hhh](j)}(hNint skb_cow_data (struct sk_buff *skb, int tailbits, struct sk_buff **trailer)h]j )}(hMint skb_cow_data(struct sk_buff *skb, int tailbits, struct sk_buff **trailer)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h skb_cow_datah]j9)}(h skb_cow_datah]h skb_cow_data}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h=(struct sk_buff *skb, int tailbits, struct sk_buff **trailer)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNj j )}j ]j )}j j sbc.skb_cow_dataasbuh1hhj"ubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj )}(hj h]h*}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int tailbitsh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(htailbitsh]htailbits}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff **trailerh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j`c.skb_cow_dataasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htrailerh]htrailer}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h6Check that a socket buffer's data buffers are writableh]h8Check that a socket buffer’s data buffers are writable}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjXhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` The socket buffer to check. ``int tailbits`` Amount of trailing space to be added ``struct sk_buff **trailer`` Returned pointer to the skb where the **tailbits** space begins **Description** Make sure that the data buffers attached to a socket buffer are writable. If they are not, private copies are made of the data buffers and the socket buffer is set to use these instead. If **tailbits** is given, make sure that there is space to write **tailbits** bytes of data beyond current end of socket buffer. **trailer** will be set to point to the skb in which this space begins. The number of scatterlist elements required to completely map the COW'd and extended socket buffer will be returned.h](jl)}(h**Parameters**h]j)}(hj}h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjwubj)}(hhh](j)}(h4``struct sk_buff *skb`` The socket buffer to check. h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hThe socket buffer to check.h]hThe socket buffer to check.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``int tailbits`` Amount of trailing space to be added h](j)}(h``int tailbits``h]j)}(hjh]h int tailbits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h$Amount of trailing space to be addedh]h$Amount of trailing space to be added}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h]``struct sk_buff **trailer`` Returned pointer to the skb where the **tailbits** space begins h](j)}(h``struct sk_buff **trailer``h]j)}(hjh]hstruct sk_buff **trailer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h?Returned pointer to the skb where the **tailbits** space beginsh](h&Returned pointer to the skb where the }(hj'hhhNhNubj)}(h **tailbits**h]htailbits}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh space begins}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj#hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjubeh}(h]h ]h"]h$]h&]uh1jhjwubjl)}(h**Description**h]j)}(hj[h]h Description}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjwubj)}(hXMake sure that the data buffers attached to a socket buffer are writable. If they are not, private copies are made of the data buffers and the socket buffer is set to use these instead. If **tailbits** is given, make sure that there is space to write **tailbits** bytes of data beyond current end of socket buffer. **trailer** will be set to point to the skb in which this space begins. The number of scatterlist elements required to completely map the COW'd and extended socket buffer will be returned.h](jl)}(hMake sure that the data buffers attached to a socket buffer are writable. If they are not, private copies are made of the data buffers and the socket buffer is set to use these instead.h]hMake sure that the data buffers attached to a socket buffer are writable. If they are not, private copies are made of the data buffers and the socket buffer is set to use these instead.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjqubjl)}(hIf **tailbits** is given, make sure that there is space to write **tailbits** bytes of data beyond current end of socket buffer. **trailer** will be set to point to the skb in which this space begins.h](hIf }(hjhhhNhNubj)}(h **tailbits**h]htailbits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh2 is given, make sure that there is space to write }(hjhhhNhNubj)}(h **tailbits**h]htailbits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh5 bytes of data beyond current end of socket buffer. }(hjhhhNhNubj)}(h **trailer**h]htrailer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh< will be set to point to the skb in which this space begins.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjqubjl)}(htThe number of scatterlist elements required to completely map the COW'd and extended socket buffer will be returned.h]hvThe number of scatterlist elements required to completely map the COW’d and extended socket buffer will be returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_clone_sk (C function)c.skb_clone_skhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h3struct sk_buff * skb_clone_sk (struct sk_buff *skb)h]j )}(h1struct sk_buff *skb_clone_sk(struct sk_buff *skb)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j skb_clone_sksbc.skb_clone_skasbuh1hhjhhhj hMubj")}(h h]h }(hj> hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubj )}(hj h]h*}(hjL hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj hMubj3)}(h skb_clone_skh]j9)}(hj; h]h skb_clone_sk}(hj] hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjY ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjx hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjt ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjt ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j9 c.skb_clone_skasbuh1hhjt ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjt ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjt ubj9)}(hskbh]hskb}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjt ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjp ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMhjhhubjg)}(hhh]jl)}(h1create clone of skb, and take reference to socketh]h1create clone of skb, and take reference to socket}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` the skb to clone **Description** This function creates a clone of a buffer that holds a reference on sk_refcnt. Buffers created via this function are meant to be returned using sock_queue_err_skb, or free via kfree_skb. When passing buffers allocated with this function to sock_queue_err_skb it is necessary to wrap the call with sock_hold/sock_put in order to prevent the socket from being released prior to being enqueued on the sk_error_queue.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]j)}(h)``struct sk_buff *skb`` the skb to clone h](j)}(h``struct sk_buff *skb``h]j)}(hj: h]hstruct sk_buff *skb}(hj< hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8 ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj4 ubj)}(hhh]jl)}(hthe skb to cloneh]hthe skb to clone}(hjS hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjO hMhjP ubah}(h]h ]h"]h$]h&]uh1jhj4 ubeh}(h]h ]h"]h$]h&]uh1jhjO hMhj1 ubah}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hju h]h Description}(hjw hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubjl)}(hThis function creates a clone of a buffer that holds a reference on sk_refcnt. Buffers created via this function are meant to be returned using sock_queue_err_skb, or free via kfree_skb.h]hThis function creates a clone of a buffer that holds a reference on sk_refcnt. Buffers created via this function are meant to be returned using sock_queue_err_skb, or free via kfree_skb.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubjl)}(hWhen passing buffers allocated with this function to sock_queue_err_skb it is necessary to wrap the call with sock_hold/sock_put in order to prevent the socket from being released prior to being enqueued on the sk_error_queue.h]hWhen passing buffers allocated with this function to sock_queue_err_skb it is necessary to wrap the call with sock_hold/sock_put in order to prevent the socket from being released prior to being enqueued on the sk_error_queue.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_partial_csum_set (C function)c.skb_partial_csum_sethNtauh1hhj" hhhNhNubh)}(hhh](j)}(hCbool skb_partial_csum_set (struct sk_buff *skb, u16 start, u16 off)h]j )}(hBbool skb_partial_csum_set(struct sk_buff *skb, u16 start, u16 off)h](jM )}(hjh]hbool}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubj3)}(hskb_partial_csum_seth]j9)}(hskb_partial_csum_seth]hskb_partial_csum_set}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMubj )}(h)(struct sk_buff *skb, u16 start, u16 off)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj# hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj% modnameN classnameNj j )}j ]j )}j j sbc.skb_partial_csum_setasbuh1hhj ubj")}(h h]h }(hjC hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hjQ hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hskbh]hskb}(hj^ hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h u16 starth](h)}(hhh]j9)}(hu16h]hu16}(hjz hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjw ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj| modnameN classnameNj j )}j ]j? c.skb_partial_csum_setasbuh1hhjs ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs ubj9)}(hstarth]hstart}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjs ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hu16 offh](h)}(hhh]j9)}(hu16h]hu16}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j? c.skb_partial_csum_setasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hoffh]hoff}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMhj hhubjg)}(hhh]jl)}(h0set up and verify partial csum values for packeth]h0set up and verify partial csum values for packet}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0 jj0 jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` the skb to set ``u16 start`` the number of bytes after skb->data to start checksumming. ``u16 off`` the offset from start to place the checksum. **Description** For untrusted partially-checksummed packets, we need to make sure the values for skb->csum_start and skb->csum_offset are valid so we don't oops. This function checks and sets those values and skb->ip_summed: if this returns false you should drop the packet.h](jl)}(h**Parameters**h]j)}(hj: h]h Parameters}(hj< hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8 ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj4 ubj)}(hhh](j)}(h'``struct sk_buff *skb`` the skb to set h](j)}(h``struct sk_buff *skb``h]j)}(hjY h]hstruct sk_buff *skb}(hj[ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjS ubj)}(hhh]jl)}(hthe skb to seth]hthe skb to set}(hjr hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjn hMhjo ubah}(h]h ]h"]h$]h&]uh1jhjS ubeh}(h]h ]h"]h$]h&]uh1jhjn hMhjP ubj)}(hI``u16 start`` the number of bytes after skb->data to start checksumming. h](j)}(h ``u16 start``h]j)}(hj h]h u16 start}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jl)}(h:the number of bytes after skb->data to start checksumming.h]h:the number of bytes after skb->data to start checksumming.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjP ubj)}(h9``u16 off`` the offset from start to place the checksum. h](j)}(h ``u16 off``h]j)}(hj h]hu16 off}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jl)}(h,the offset from start to place the checksum.h]h,the offset from start to place the checksum.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjP ubeh}(h]h ]h"]h$]h&]uh1jhj4 ubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj4 ubjl)}(hFor untrusted partially-checksummed packets, we need to make sure the values for skb->csum_start and skb->csum_offset are valid so we don't oops.h]hFor untrusted partially-checksummed packets, we need to make sure the values for skb->csum_start and skb->csum_offset are valid so we don’t oops.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj4 ubjl)}(hpThis function checks and sets those values and skb->ip_summed: if this returns false you should drop the packet.h]hpThis function checks and sets those values and skb->ip_summed: if this returns false you should drop the packet.}(hj+ hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj4 ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_checksum_setup (C function)c.skb_checksum_setuphNtauh1hhj" hhhNhNubh)}(hhh](j)}(h>int skb_checksum_setup (struct sk_buff *skb, bool recalculate)h]j )}(h=int skb_checksum_setup(struct sk_buff *skb, bool recalculate)h](jM )}(hinth]hint}(hjZ hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjV hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hji hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjV hhhjh hMubj3)}(hskb_checksum_setuph]j9)}(hskb_checksum_setuph]hskb_checksum_setup}(hj{ hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjw ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjV hhhjh hMubj )}(h'(struct sk_buff *skb, bool recalculate)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j j} sbc.skb_checksum_setupasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hskbh]hskb}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hbool recalculateh](jM )}(hjh]hbool}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h recalculateh]h recalculate}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjV hhhjh hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjR hhhjh hMubah}(h]jM ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjh hMhjO hhubjg)}(hhh]jl)}(hset up partial checksum offseth]hset up partial checksum offset}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjKhhubah}(h]h ]h"]h$]h&]uh1jfhjO hhhjh hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` the skb to set up ``bool recalculate`` if true the pseudo-header checksum will be recalculatedh](jl)}(h**Parameters**h]j)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjjubj)}(hhh](j)}(h*``struct sk_buff *skb`` the skb to set up h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hthe skb to set uph]hthe skb to set up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hL``bool recalculate`` if true the pseudo-header checksum will be recalculatedh](j)}(h``bool recalculate``h]j)}(hjh]hbool recalculate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h7if true the pseudo-header checksum will be recalculatedh]h7if true the pseudo-header checksum will be recalculated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_checksum_trimmed (C function)c.skb_checksum_trimmedhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hstruct sk_buff * skb_checksum_trimmed (struct sk_buff *skb, unsigned int transport_len, __sum16(*skb_chkf)(struct sk_buff *skb))h]j )}(hstruct sk_buff *skb_checksum_trimmed(struct sk_buff *skb, unsigned int transport_len, __sum16 (*skb_chkf)(struct sk_buff *skb))h](j)}(hjh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj/hMubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNj j )}j ]j )}j skb_checksum_trimmedsbc.skb_checksum_trimmedasbuh1hhjhhhj/hMubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj/hMubj )}(hj h]h*}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj/hMubj3)}(hskb_checksum_trimmedh]j9)}(hj_h]hskb_checksum_trimmed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj/hMubj )}(h[(struct sk_buff *skb, unsigned int transport_len, __sum16 (*skb_chkf)(struct sk_buff *skb))h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j]c.skb_checksum_trimmedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int transport_lenh](jM )}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj(hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h transport_lenh]h transport_len}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h(__sum16 (*skb_chkf)(struct sk_buff *skb)h](h)}(hhh]j9)}(h__sum16h]h__sum16}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]j]c.skb_checksum_trimmedasbuh1hhjYubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(h(h]h(}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(hskb_chkfh]hskb_chkf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubj )}(h)h]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj )}(hjh]h(}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j]c.skb_checksum_trimmedasbuh1hhjYubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(hskbh]hskb}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubj )}(hjh]h)}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj/hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj/hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj/hMhjhhubjg)}(hhh]jl)}(hvalidate checksum of an skbh]hvalidate checksum of an skb}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj[hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj/hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhj" hNhNubj)}(hX<**Parameters** ``struct sk_buff *skb`` the skb to check ``unsigned int transport_len`` the data length beyond the network header ``__sum16(*skb_chkf)(struct sk_buff *skb)`` checksum function to use **Description** Applies the given checksum function skb_chkf to the provided skb. Returns a checked and maybe trimmed skb. Returns NULL on error. If the skb has data beyond the given transport length, then a trimmed & cloned skb is checked and returned. Caller needs to set the skb transport header and free any returned skb if it differs from the provided skb.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjzubj)}(hhh](j)}(h)``struct sk_buff *skb`` the skb to check h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hthe skb to checkh]hthe skb to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hI``unsigned int transport_len`` the data length beyond the network header h](j)}(h``unsigned int transport_len``h]j)}(hjh]hunsigned int transport_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h)the data length beyond the network headerh]h)the data length beyond the network header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hE``__sum16(*skb_chkf)(struct sk_buff *skb)`` checksum function to use h](j)}(h+``__sum16(*skb_chkf)(struct sk_buff *skb)``h]j)}(hjh]h'__sum16(*skb_chkf)(struct sk_buff *skb)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jl)}(hchecksum function to useh]hchecksum function to use}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubeh}(h]h ]h"]h$]h&]uh1jhjzubjl)}(h**Description**h]j)}(hjLh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjzubjl)}(hApplies the given checksum function skb_chkf to the provided skb. Returns a checked and maybe trimmed skb. Returns NULL on error.h]hApplies the given checksum function skb_chkf to the provided skb. Returns a checked and maybe trimmed skb. Returns NULL on error.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjzubjl)}(hkIf the skb has data beyond the given transport length, then a trimmed & cloned skb is checked and returned.h]hkIf the skb has data beyond the given transport length, then a trimmed & cloned skb is checked and returned.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjzubjl)}(hkCaller needs to set the skb transport header and free any returned skb if it differs from the provided skb.h]hkCaller needs to set the skb transport header and free any returned skb if it differs from the provided skb.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_try_coalesce (C function)c.skb_try_coalescehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hgbool skb_try_coalesce (struct sk_buff *to, struct sk_buff *from, bool *fragstolen, int *delta_truesize)h]j )}(hfbool skb_try_coalesce(struct sk_buff *to, struct sk_buff *from, bool *fragstolen, int *delta_truesize)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM$ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM$ubj3)}(hskb_try_coalesceh]j9)}(hskb_try_coalesceh]hskb_try_coalesce}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM$ubj )}(hQ(struct sk_buff *to, struct sk_buff *from, bool *fragstolen, int *delta_truesize)h](j )}(hstruct sk_buff *toh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsbc.skb_try_coalesceasbuh1hhjubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htoh]hto}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *fromh](j)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNj j )}j ]j%c.skb_try_coalesceasbuh1hhjYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hbool *fragstolenh](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h fragstolenh]h fragstolen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint *delta_truesizeh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hdelta_truesizeh]hdelta_truesize}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM$ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM$ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM$hjhhubjg)}(hhh]jl)}(htry to merge skb to prior oneh]htry to merge skb to prior one}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM$hj^hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *to`` prior buffer ``struct sk_buff *from`` buffer to add ``bool *fragstolen`` pointer to boolean ``int *delta_truesize`` how much more was allocated than was requestedh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM(hj}ubj)}(hhh](j)}(h$``struct sk_buff *to`` prior buffer h](j)}(h``struct sk_buff *to``h]j)}(hjh]hstruct sk_buff *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM%hjubj)}(hhh]jl)}(h prior bufferh]h prior buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjubj)}(h'``struct sk_buff *from`` buffer to add h](j)}(h``struct sk_buff *from``h]j)}(hjh]hstruct sk_buff *from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM&hjubj)}(hhh]jl)}(h buffer to addh]h buffer to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjubj)}(h(``bool *fragstolen`` pointer to boolean h](j)}(h``bool *fragstolen``h]j)}(hjh]hbool *fragstolen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM'hjubj)}(hhh]jl)}(hpointer to booleanh]hpointer to boolean}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hM'hj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hM'hjubj)}(hF``int *delta_truesize`` how much more was allocated than was requestedh](j)}(h``int *delta_truesize``h]j)}(hjMh]hint *delta_truesize}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM)hjGubj)}(hhh]jl)}(h.how much more was allocated than was requestedh]h.how much more was allocated than was requested}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM(hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM)hjubeh}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_scrub_packet (C function)c.skb_scrub_packethNtauh1hhj" hhhNhNubh)}(hhh](j)}(h6void skb_scrub_packet (struct sk_buff *skb, bool xnet)h]j )}(h5void skb_scrub_packet(struct sk_buff *skb, bool xnet)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hskb_scrub_packeth]j9)}(hskb_scrub_packeth]hskb_scrub_packet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h (struct sk_buff *skb, bool xnet)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_scrub_packetasbuh1hhjubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool xneth](jM )}(hjh]hbool}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj9)}(hxneth]hxnet}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h scrub an skbh]h scrub an skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to clean ``bool xnet`` packet is crossing netns **Description** skb_scrub_packet can be used after encapsulating or decapsulating a packet into/from a tunnel. Some information have to be cleared during these operations. skb_scrub_packet can also be used to clean a skb before injecting it in another namespace (**xnet** == true). We have to clear all information in the skb that could impact namespace isolation.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to clean h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hbuffer to cleanh]hbuffer to clean}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``bool xnet`` packet is crossing netns h](j)}(h ``bool xnet``h]j)}(hjh]h bool xnet}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hpacket is crossing netnsh]hpacket is crossing netns}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjPh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubjl)}(hX\skb_scrub_packet can be used after encapsulating or decapsulating a packet into/from a tunnel. Some information have to be cleared during these operations. skb_scrub_packet can also be used to clean a skb before injecting it in another namespace (**xnet** == true). We have to clear all information in the skb that could impact namespace isolation.h](hskb_scrub_packet can be used after encapsulating or decapsulating a packet into/from a tunnel. Some information have to be cleared during these operations. skb_scrub_packet can also be used to clean a skb before injecting it in another namespace (}(hjfhhhNhNubj)}(h**xnet**h]hxnet}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh] == true). We have to clear all information in the skb that could impact namespace isolation.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_eth_pop (C function) c.skb_eth_pophNtauh1hhj" hhhNhNubh)}(hhh](j)}(h%int skb_eth_pop (struct sk_buff *skb)h]j )}(h$int skb_eth_pop(struct sk_buff *skb)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMuubj3)}(h skb_eth_poph]j9)}(h skb_eth_poph]h skb_eth_pop}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMuubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.skb_eth_popasbuh1hhjubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMuubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMuhjhhubjg)}(hhh]jl)}(h0Drop the Ethernet header at the head of a packeth]h0Drop the Ethernet header at the head of a packet}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMuhjdhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` Socket buffer to modify **Description** Drop the Ethernet header of **skb**. Expects that skb->data points to the mac header and that no VLAN tags are present. Returns 0 on success, -errno otherwise.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMyhjubj)}(hhh]j)}(h0``struct sk_buff *skb`` Socket buffer to modify h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMwhjubj)}(hhh]jl)}(hSocket buffer to modifyh]hSocket buffer to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMyhjubjl)}(h$Drop the Ethernet header of **skb**.h](hDrop the Ethernet header of }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMxhjubjl)}(hRExpects that skb->data points to the mac header and that no VLAN tags are present.h]hRExpects that skb->data points to the mac header and that no VLAN tags are present.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMzhjubjl)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM}hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_eth_push (C function)c.skb_eth_pushhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hZint skb_eth_push (struct sk_buff *skb, const unsigned char *dst, const unsigned char *src)h]j )}(hYint skb_eth_push(struct sk_buff *skb, const unsigned char *dst, const unsigned char *src)h](jM )}(hinth]hint}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjThhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjThhhjfhMubj3)}(h skb_eth_pushh]j9)}(h skb_eth_pushh]h skb_eth_push}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjThhhjfhMubj )}(hI(struct sk_buff *skb, const unsigned char *dst, const unsigned char *src)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j{sbc.skb_eth_pushasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst unsigned char *dsth](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hunsignedh]hunsigned}(hj"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hcharh]hchar}(hj>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdsth]hdst}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst unsigned char *srch](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubjM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj|ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj|ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj|ubj9)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjThhhjfhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjPhhhjfhMubah}(h]jKah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjfhMhjMhhubjg)}(hhh]jl)}(h1Add a new Ethernet header at the head of a packeth]h1Add a new Ethernet header at the head of a packet}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjMhhhjfhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhj" hNhNubj)}(hX~**Parameters** ``struct sk_buff *skb`` Socket buffer to modify ``const unsigned char *dst`` Destination MAC address of the new header ``const unsigned char *src`` Source MAC address of the new header **Description** Prepend **skb** with a new Ethernet header. Expects that skb->data points to the mac header, which must be empty. Returns 0 on success, -errno otherwise.h](jl)}(h**Parameters**h]j)}(hj,h]h Parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj&ubj)}(hhh](j)}(h0``struct sk_buff *skb`` Socket buffer to modify h](j)}(h``struct sk_buff *skb``h]j)}(hjKh]hstruct sk_buff *skb}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjEubj)}(hhh]jl)}(hSocket buffer to modifyh]hSocket buffer to modify}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhjBubj)}(hG``const unsigned char *dst`` Destination MAC address of the new header h](j)}(h``const unsigned char *dst``h]j)}(hjh]hconst unsigned char *dst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj~ubj)}(hhh]jl)}(h)Destination MAC address of the new headerh]h)Destination MAC address of the new header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjBubj)}(hB``const unsigned char *src`` Source MAC address of the new header h](j)}(h``const unsigned char *src``h]j)}(hjh]hconst unsigned char *src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h$Source MAC address of the new headerh]h$Source MAC address of the new header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjBubeh}(h]h ]h"]h$]h&]uh1jhj&ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj&ubjl)}(h+Prepend **skb** with a new Ethernet header.h](hPrepend }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh with a new Ethernet header.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj&ubjl)}(hEExpects that skb->data points to the mac header, which must be empty.h]hEExpects that skb->data points to the mac header, which must be empty.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj&ubjl)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_mpls_push (C function)c.skb_mpls_pushhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hgint skb_mpls_push (struct sk_buff *skb, __be32 mpls_lse, __be16 mpls_proto, int mac_len, bool ethernet)h]j )}(hfint skb_mpls_push(struct sk_buff *skb, __be32 mpls_lse, __be16 mpls_proto, int mac_len, bool ethernet)h](jM )}(hinth]hint}(hjmhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjihhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjihhhj{hMubj3)}(h skb_mpls_pushh]j9)}(h skb_mpls_pushh]h skb_mpls_push}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjihhhj{hMubj )}(hU(struct sk_buff *skb, __be32 mpls_lse, __be16 mpls_proto, int mac_len, bool ethernet)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.skb_mpls_pushasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h__be32 mpls_lseh](h)}(hhh]j9)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNj j )}j ]jc.skb_mpls_pushasbuh1hhjubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmpls_lseh]hmpls_lse}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h__be16 mpls_protoh](h)}(hhh]j9)}(h__be16h]h__be16}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNj j )}j ]jc.skb_mpls_pushasbuh1hhj`ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubj9)}(h mpls_protoh]h mpls_proto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int mac_lenh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmac_lenh]hmac_len}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool etherneth](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hetherneth]hethernet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjihhhj{hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjehhhj{hMubah}(h]j`ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj{hMhjbhhubjg)}(hhh]jl)}(hCpush a new MPLS header after mac_len bytes from start of the packeth]hCpush a new MPLS header after mac_len bytes from start of the packet}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj#hhubah}(h]h ]h"]h$]h&]uh1jfhjbhhhj{hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer ``__be32 mpls_lse`` MPLS label stack entry to push ``__be16 mpls_proto`` ethertype of the new MPLS header (expects 0x8847 or 0x8848) ``int mac_len`` length of the MAC header ``bool ethernet`` flag to indicate if the resulting packet after skb_mpls_push is ethernet **Description** Expects skb->data at mac header. Returns 0 on success, -errno otherwise.h](jl)}(h**Parameters**h]j)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjBubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hjgh]hstruct sk_buff *skb}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjaubj)}(hhh]jl)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubj)}(h3``__be32 mpls_lse`` MPLS label stack entry to push h](j)}(h``__be32 mpls_lse``h]j)}(hjh]h__be32 mpls_lse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(hMPLS label stack entry to pushh]hMPLS label stack entry to push}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj^ubj)}(hR``__be16 mpls_proto`` ethertype of the new MPLS header (expects 0x8847 or 0x8848) h](j)}(h``__be16 mpls_proto``h]j)}(hjh]h__be16 mpls_proto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjubj)}(hhh]jl)}(h;ethertype of the new MPLS header (expects 0x8847 or 0x8848)h]h;ethertype of the new MPLS header (expects 0x8847 or 0x8848)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj^ubj)}(h)``int mac_len`` length of the MAC header h](j)}(h``int mac_len``h]j)}(hjh]h int mac_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj ubj)}(hhh]jl)}(hlength of the MAC headerh]hlength of the MAC header}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhj^ubj)}(h[``bool ethernet`` flag to indicate if the resulting packet after skb_mpls_push is ethernet h](j)}(h``bool ethernet``h]j)}(hjKh]h bool ethernet}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjEubj)}(hhh]jl)}(hHflag to indicate if the resulting packet after skb_mpls_push is etherneth]hHflag to indicate if the resulting packet after skb_mpls_push is ethernet}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj^ubeh}(h]h ]h"]h$]h&]uh1jhjBubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjBubjl)}(h Expects skb->data at mac header.h]h Expects skb->data at mac header.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjBubjl)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_mpls_pop (C function)c.skb_mpls_pophNtauh1hhj" hhhNhNubh)}(hhh](j)}(hUint skb_mpls_pop (struct sk_buff *skb, __be16 next_proto, int mac_len, bool ethernet)h]j )}(hTint skb_mpls_pop(struct sk_buff *skb, __be16 next_proto, int mac_len, bool ethernet)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h skb_mpls_poph]j9)}(h skb_mpls_poph]h skb_mpls_pop}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hD(struct sk_buff *skb, __be16 next_proto, int mac_len, bool ethernet)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj% hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj6 hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3 ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8 modnameN classnameNj j )}j ]j )}j jsbc.skb_mpls_popasbuh1hhj ubj")}(h h]h }(hjV hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hjd hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hskbh]hskb}(hjq hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h__be16 next_protoh](h)}(hhh]j9)}(h__be16h]h__be16}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jR c.skb_mpls_popasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(h next_protoh]h next_proto}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h int mac_lenh](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hmac_lenh]hmac_len}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h bool etherneth](jM )}(hjh]hbool}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj!ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj9)}(hetherneth]hethernet}(hj"!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hpop the outermost MPLS headerh]hpop the outermost MPLS header}(hjL!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjI!hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjd!jjd!jjjuh1hhhhj" hNhNubj)}(hX>**Parameters** ``struct sk_buff *skb`` buffer ``__be16 next_proto`` ethertype of header after popped MPLS header ``int mac_len`` length of the MAC header ``bool ethernet`` flag to indicate if the packet is ethernet **Description** Expects skb->data at mac header. Returns 0 on success, -errno otherwise.h](jl)}(h**Parameters**h]j)}(hjn!h]h Parameters}(hjp!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl!ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjh!ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj!h]hstruct sk_buff *skb}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj!ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMhj!ubj)}(hC``__be16 next_proto`` ethertype of header after popped MPLS header h](j)}(h``__be16 next_proto``h]j)}(hj!h]h__be16 next_proto}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj!ubj)}(hhh]jl)}(h,ethertype of header after popped MPLS headerh]h,ethertype of header after popped MPLS header}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMhj!ubj)}(h)``int mac_len`` length of the MAC header h](j)}(h``int mac_len``h]j)}(hj!h]h int mac_len}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj!ubj)}(hhh]jl)}(hlength of the MAC headerh]hlength of the MAC header}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj"hMhj!ubj)}(h=``bool ethernet`` flag to indicate if the packet is ethernet h](j)}(h``bool ethernet``h]j)}(hj8"h]h bool ethernet}(hj:"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6"ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj2"ubj)}(hhh]jl)}(h*flag to indicate if the packet is etherneth]h*flag to indicate if the packet is ethernet}(hjQ"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjM"hMhjN"ubah}(h]h ]h"]h$]h&]uh1jhj2"ubeh}(h]h ]h"]h$]h&]uh1jhjM"hMhj!ubeh}(h]h ]h"]h$]h&]uh1jhjh!ubjl)}(h**Description**h]j)}(hjs"h]h Description}(hju"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq"ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjh!ubjl)}(h Expects skb->data at mac header.h]h Expects skb->data at mac header.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjh!ubjl)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjh!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h skb_mpls_update_lse (C function)c.skb_mpls_update_lsehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h>int skb_mpls_update_lse (struct sk_buff *skb, __be32 mpls_lse)h]j )}(h=int skb_mpls_update_lse(struct sk_buff *skb, __be32 mpls_lse)h](jM )}(hinth]hint}(hj"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj"hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM*ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"hhhj"hM*ubj3)}(hskb_mpls_update_lseh]j9)}(hskb_mpls_update_lseh]hskb_mpls_update_lse}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj"hhhj"hM*ubj )}(h&(struct sk_buff *skb, __be32 mpls_lse)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj"#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$#modnameN classnameNj j )}j ]j )}j j"sbc.skb_mpls_update_lseasbuh1hhj#ubj")}(h h]h }(hjB#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj )}(hj h]h*}(hjP#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj9)}(hskbh]hskb}(hj]#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj"ubj )}(h__be32 mpls_lseh](h)}(hhh]j9)}(h__be32h]h__be32}(hjy#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjv#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{#modnameN classnameNj j )}j ]j>#c.skb_mpls_update_lseasbuh1hhjr#ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjr#ubj9)}(hmpls_lseh]hmpls_lse}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjr#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj"ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj"hhhj"hM*ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj"hhhj"hM*ubah}(h]j"ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj"hM*hj"hhubjg)}(hhh]jl)}(h,modify outermost MPLS header and update csumh]h,modify outermost MPLS header and update csum}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM*hj#hhubah}(h]h ]h"]h$]h&]uh1jfhj"hhhj"hM*ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` buffer ``__be32 mpls_lse`` new MPLS label stack entry to update to **Description** Expects skb->data at mac header. Returns 0 on success, -errno otherwise.h](jl)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM.hj#ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj$h]hstruct sk_buff *skb}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM,hj $ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj)$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%$hM,hj&$ubah}(h]h ]h"]h$]h&]uh1jhj $ubeh}(h]h ]h"]h$]h&]uh1jhj%$hM,hj$ubj)}(h<``__be32 mpls_lse`` new MPLS label stack entry to update to h](j)}(h``__be32 mpls_lse``h]j)}(hjI$h]h__be32 mpls_lse}(hjK$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG$ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM-hjC$ubj)}(hhh]jl)}(h'new MPLS label stack entry to update toh]h'new MPLS label stack entry to update to}(hjb$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^$hM-hj_$ubah}(h]h ]h"]h$]h&]uh1jhjC$ubeh}(h]h ]h"]h$]h&]uh1jhj^$hM-hj$ubeh}(h]h ]h"]h$]h&]uh1jhj#ubjl)}(h**Description**h]j)}(hj$h]h Description}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM/hj#ubjl)}(h Expects skb->data at mac header.h]h Expects skb->data at mac header.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM.hj#ubjl)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chM0hj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_mpls_dec_ttl (C function)c.skb_mpls_dec_ttlhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h*int skb_mpls_dec_ttl (struct sk_buff *skb)h]j )}(h)int skb_mpls_dec_ttl(struct sk_buff *skb)h](jM )}(hinth]hint}(hj$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMKubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$hhhj$hMKubj3)}(hskb_mpls_dec_ttlh]j9)}(hskb_mpls_dec_ttlh]hskb_mpls_dec_ttl}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$hhhj$hMKubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj")}(h h]h }(hj"%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj3%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5%modnameN classnameNj j )}j ]j )}j j$sbc.skb_mpls_dec_ttlasbuh1hhj%ubj")}(h h]h }(hjS%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj )}(hj h]h*}(hja%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%ubj9)}(hskbh]hskb}(hjn%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj %ubah}(h]h ]h"]h$]h&]jPjQuh1j hj$hhhj$hMKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj$hhhj$hMKubah}(h]j$ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$hMKhj$hhubjg)}(hhh]jl)}(h.decrement the TTL of the outermost MPLS headerh]h.decrement the TTL of the outermost MPLS header}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMKhj%hhubah}(h]h ]h"]h$]h&]uh1jfhj$hhhj$hMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sk_buff *skb`` buffer **Description** Expects skb->data at mac header. Returns 0 on success, -errno otherwise.h](jl)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMOhj%ubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj%h]hstruct sk_buff *skb}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMMhj%ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hMMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubjl)}(h**Description**h]j)}(hj&h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMOhj%ubjl)}(h Expects skb->data at mac header.h]h Expects skb->data at mac header.}(hj*&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMNhj%ubjl)}(h'Returns 0 on success, -errno otherwise.h]h'Returns 0 on success, -errno otherwise.}(hj9&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMPhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!alloc_skb_with_frags (C function)c.alloc_skb_with_fragshNtauh1hhj" hhhNhNubh)}(hhh](j)}(hstruct sk_buff * alloc_skb_with_frags (unsigned long header_len, unsigned long data_len, int order, int *errcode, gfp_t gfp_mask)h]j )}(hstruct sk_buff *alloc_skb_with_frags(unsigned long header_len, unsigned long data_len, int order, int *errcode, gfp_t gfp_mask)h](j)}(hjh]hstruct}(hjh&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjd&hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMkubj")}(h h]h }(hjv&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjd&hhhju&hMkubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]j )}j alloc_skb_with_fragssbc.alloc_skb_with_fragsasbuh1hhjd&hhhju&hMkubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjd&hhhju&hMkubj )}(hj h]h*}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjd&hhhju&hMkubj3)}(halloc_skb_with_fragsh]j9)}(hj&h]halloc_skb_with_frags}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjd&hhhju&hMkubj )}(h[(unsigned long header_len, unsigned long data_len, int order, int *errcode, gfp_t gfp_mask)h](j )}(hunsigned long header_lenh](jM )}(hunsignedh]hunsigned}(hj&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubjM )}(hlongh]hlong}(hj&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&ubj")}(h h]h }(hj 'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj9)}(h header_lenh]h header_len}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj&ubj )}(hunsigned long data_lenh](jM )}(hunsignedh]hunsigned}(hj3'hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj/'ubj")}(h h]h }(hjA'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/'ubjM )}(hlongh]hlong}(hjO'hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj/'ubj")}(h h]h }(hj]'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/'ubj9)}(hdata_lenh]hdata_len}(hjk'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj&ubj )}(h int orderh](jM )}(hinth]hint}(hj'hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'ubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj9)}(horderh]horder}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj&ubj )}(h int *errcodeh](jM )}(hinth]hint}(hj'hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'ubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj )}(hj h]h*}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj9)}(herrcodeh]herrcode}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj&ubj )}(hgfp_t gfp_maskh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]j&c.alloc_skb_with_fragsasbuh1hhj'ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj9)}(hgfp_maskh]hgfp_mask}(hj*(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj&ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjd&hhhju&hMkubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`&hhhju&hMkubah}(h]j[&ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhju&hMkhj]&hhubjg)}(hhh]jl)}(hallocate skb with page fragsh]hallocate skb with page frags}(hjT(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMkhjQ(hhubah}(h]h ]h"]h$]h&]uh1jfhj]&hhhju&hMkubeh}(h]h ](jfunctioneh"]h$]h&]jjjjl(jjl(jjjuh1hhhhj" hNhNubj)}(hXT**Parameters** ``unsigned long header_len`` size of linear part ``unsigned long data_len`` needed length in frags ``int order`` max page order desired. ``int *errcode`` pointer to error code if any ``gfp_t gfp_mask`` allocation mask **Description** This can be used to allocate a paged skb, given a maximal order for frags.h](jl)}(h**Parameters**h]j)}(hjv(h]h Parameters}(hjx(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt(ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMohjp(ubj)}(hhh](j)}(h1``unsigned long header_len`` size of linear part h](j)}(h``unsigned long header_len``h]j)}(hj(h]hunsigned long header_len}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMmhj(ubj)}(hhh]jl)}(hsize of linear parth]hsize of linear part}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMmhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMmhj(ubj)}(h2``unsigned long data_len`` needed length in frags h](j)}(h``unsigned long data_len``h]j)}(hj(h]hunsigned long data_len}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMnhj(ubj)}(hhh]jl)}(hneeded length in fragsh]hneeded length in frags}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMnhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMnhj(ubj)}(h&``int order`` max page order desired. h](j)}(h ``int order``h]j)}(hj)h]h int order}(hj )hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMohj)ubj)}(hhh]jl)}(hmax page order desired.h]hmax page order desired.}(hj )hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMohj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMohj(ubj)}(h.``int *errcode`` pointer to error code if any h](j)}(h``int *errcode``h]j)}(hj@)h]h int *errcode}(hjB)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>)ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMphj:)ubj)}(hhh]jl)}(hpointer to error code if anyh]hpointer to error code if any}(hjY)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjU)hMphjV)ubah}(h]h ]h"]h$]h&]uh1jhj:)ubeh}(h]h ]h"]h$]h&]uh1jhjU)hMphj(ubj)}(h#``gfp_t gfp_mask`` allocation mask h](j)}(h``gfp_t gfp_mask``h]j)}(hjy)h]hgfp_t gfp_mask}(hj{)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw)ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMqhjs)ubj)}(hhh]jl)}(hallocation maskh]hallocation mask}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMqhj)ubah}(h]h ]h"]h$]h&]uh1jhjs)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMqhj(ubeh}(h]h ]h"]h$]h&]uh1jhjp(ubjl)}(h**Description**h]j)}(hj)h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMshjp(ubjl)}(hJThis can be used to allocate a paged skb, given a maximal order for frags.h]hJThis can be used to allocate a paged skb, given a maximal order for frags.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMrhjp(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hskb_condense (C function)c.skb_condensehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h'void skb_condense (struct sk_buff *skb)h]j )}(h&void skb_condense(struct sk_buff *skb)h](jM )}(hvoidh]hvoid}(hj)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj)hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)hhhj*hMubj3)}(h skb_condenseh]j9)}(h skb_condenseh]h skb_condense}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj)hhhj*hMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj6*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2*ubj")}(h h]h }(hjC*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2*ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjT*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQ*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjV*modnameN classnameNj j )}j ]j )}j j*sbc.skb_condenseasbuh1hhj2*ubj")}(h h]h }(hjt*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2*ubj )}(hj h]h*}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2*ubj9)}(hskbh]hskb}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj.*ubah}(h]h ]h"]h$]h&]jPjQuh1j hj)hhhj*hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj)hhhj*hMubah}(h]j)ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj*hMhj)hhubjg)}(hhh]jl)}(h1try to get rid of fragments/frag_list if possibleh]h1try to get rid of fragments/frag_list if possible}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj*hhubah}(h]h ]h"]h$]h&]uh1jfhj)hhhj*hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer **Description** Can be used to save memory before skb is added to a busy queue. If packet has bytes in frags and enough tail room in skb->head, pull all of them, so that we can free the frags right now and adjust truesize. **Notes** We do not reallocate skb->head thus can not fail. Caller must re-evaluate skb->truesize if needed.h](jl)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj*ubj)}(hhh]j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj*h]hstruct sk_buff *skb}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj*ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMhj+ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj+hMhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubjl)}(h**Description**h]j)}(hj5+h]h Description}(hj7+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3+ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj*ubjl)}(hCan be used to save memory before skb is added to a busy queue. If packet has bytes in frags and enough tail room in skb->head, pull all of them, so that we can free the frags right now and adjust truesize.h]hCan be used to save memory before skb is added to a busy queue. If packet has bytes in frags and enough tail room in skb->head, pull all of them, so that we can free the frags right now and adjust truesize.}(hjK+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj*ubjl)}(h **Notes**h]j)}(hj\+h]hNotes}(hj^+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ+ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj*ubj)}(hbWe do not reallocate skb->head thus can not fail. Caller must re-evaluate skb->truesize if needed.h]jl)}(hbWe do not reallocate skb->head thus can not fail. Caller must re-evaluate skb->truesize if needed.h]hbWe do not reallocate skb->head thus can not fail. Caller must re-evaluate skb->truesize if needed.}(hjv+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjr+ubah}(h]h ]h"]h$]h&]uh1jhj+hMhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__skb_ext_set (C function)c.__skb_ext_sethNtauh1hhj" hhhNhNubh)}(hhh](j)}(hSvoid * __skb_ext_set (struct sk_buff *skb, enum skb_ext_id id, struct skb_ext *ext)h]j )}(hQvoid *__skb_ext_set(struct sk_buff *skb, enum skb_ext_id id, struct skb_ext *ext)h](jM )}(hvoidh]hvoid}(hj+hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj+hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+hhhj+hMubj )}(hj h]h*}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+hhhj+hMubj3)}(h __skb_ext_seth]j9)}(h __skb_ext_seth]h __skb_ext_set}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj+hhhj+hMubj )}(h>(struct sk_buff *skb, enum skb_ext_id id, struct skb_ext *ext)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]j )}j j+sbc.__skb_ext_setasbuh1hhj+ubj")}(h h]h }(hj3,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubj )}(hj h]h*}(hjA,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+ubj9)}(hskbh]hskb}(hjN,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(henum skb_ext_id idh](j)}(hjh]henum}(hjg,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjc,ubj")}(h h]h }(hjt,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc,ubh)}(hhh]j9)}(h skb_ext_idh]h skb_ext_id}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]j/,c.__skb_ext_setasbuh1hhjc,ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc,ubj9)}(hidh]hid}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjc,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(hstruct skb_ext *exth](j)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubh)}(hhh]j9)}(hskb_exth]hskb_ext}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]j/,c.__skb_ext_setasbuh1hhj,ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubj )}(hj h]h*}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,ubj9)}(hexth]hext}(hj!-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj+hhhj+hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+hhhj+hMubah}(h]j+ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj+hMhj+hhubjg)}(hhh]jl)}(h2attach the specified extension storage to this skbh]h2attach the specified extension storage to this skb}(hjK-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjH-hhubah}(h]h ]h"]h$]h&]uh1jfhj+hhhj+hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjc-jjc-jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer ``enum skb_ext_id id`` extension id ``struct skb_ext *ext`` extension storage previously allocated via __skb_ext_alloc() **Description** Existing extensions, if any, are cleared. Returns the pointer to the extension.h](jl)}(h**Parameters**h]j)}(hjm-h]h Parameters}(hjo-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk-ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhjg-ubj)}(hhh](j)}(h``struct sk_buff *skb`` buffer h](j)}(h``struct sk_buff *skb``h]j)}(hj-h]hstruct sk_buff *skb}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj-ubj)}(hhh]jl)}(hbufferh]hbuffer}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMhj-ubj)}(h$``enum skb_ext_id id`` extension id h](j)}(h``enum skb_ext_id id``h]j)}(hj-h]henum skb_ext_id id}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj-ubj)}(hhh]jl)}(h extension idh]h extension id}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMhj-ubj)}(hU``struct skb_ext *ext`` extension storage previously allocated via __skb_ext_alloc() h](j)}(h``struct skb_ext *ext``h]j)}(hj-h]hstruct skb_ext *ext}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:26: ./net/core/skbuff.chMhj-ubj)}(hhh]jl)}(h8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:8ubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj7ubjl)}(hTest to see if the opener of the socket had when the socket was created and the current process has the capability **cap** in all user namespaces.h](hsTest to see if the opener of the socket had when the socket was created and the current process has the capability }(hjR8hhhNhNubj)}(h**cap**h]hcap}(hjZ8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR8ubh in all user namespaces.}(hjR8hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_net_capable (C function)c.sk_net_capablehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h4bool sk_net_capable (const struct sock *sk, int cap)h]j )}(h3bool sk_net_capable(const struct sock *sk, int cap)h](jM )}(hjh]hbool}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhj8hKubj3)}(hsk_net_capableh]j9)}(hsk_net_capableh]hsk_net_capable}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhj8hKubj )}(h (const struct sock *sk, int cap)h](j )}(hconst struct sock *skh](j)}(hj h]hconst}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(hsockh]hsock}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj 9modnameN classnameNj j )}j ]j )}j j8sbc.sk_net_capableasbuh1hhj8ubj")}(h h]h }(hj(9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hj69hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hskh]hsk}(hjC9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubj )}(hint caph](jM )}(hinth]hint}(hj\9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjX9ubj")}(h h]h }(hjj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjX9ubj9)}(hcaph]hcap}(hjx9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjX9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj8hhhj8hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj8hhhj8hKubah}(h]j8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8hKhj8hhubjg)}(hhh]jl)}(h(Network namespace socket capability testh]h(Network namespace socket capability test}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj9hhubah}(h]h ]h"]h$]h&]uh1jfhj8hhhj8hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhj" hNhNubj)}(hX<**Parameters** ``const struct sock *sk`` Socket to use a capability on or through ``int cap`` The capability to use **Description** Test to see if the opener of the socket had when the socket was created and the current process has the capability **cap** over the network namespace the socket is a member of.h](jl)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj9ubj)}(hhh](j)}(hC``const struct sock *sk`` Socket to use a capability on or through h](j)}(h``const struct sock *sk``h]j)}(hj9h]hconst struct sock *sk}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj9ubj)}(hhh]jl)}(h(Socket to use a capability on or throughh]h(Socket to use a capability on or through}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hKhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hKhj9ubj)}(h"``int cap`` The capability to use h](j)}(h ``int cap``h]j)}(hj:h]hint cap}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj:ubj)}(hhh]jl)}(hThe capability to useh]hThe capability to use}(hj5:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1:hKhj2:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj1:hKhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9ubjl)}(h**Description**h]j)}(hjW:h]h Description}(hjY:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU:ubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj9ubjl)}(hTest to see if the opener of the socket had when the socket was created and the current process has the capability **cap** over the network namespace the socket is a member of.h](hsTest to see if the opener of the socket had when the socket was created and the current process has the capability }(hjm:hhhNhNubj)}(h**cap**h]hcap}(hju:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm:ubh6 over the network namespace the socket is a member of.}(hjm:hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chKhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_set_memalloc (C function)c.sk_set_memallochNtauh1hhj" hhhNhNubh)}(hhh](j)}(h&void sk_set_memalloc (struct sock *sk)h]j )}(h%void sk_set_memalloc(struct sock *sk)h](jM )}(hvoidh]hvoid}(hj:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM'ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:hhhj:hM'ubj3)}(hsk_set_memalloch]j9)}(hsk_set_memalloch]hsk_set_memalloc}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj:hhhj:hM'ubj )}(h(struct sock *sk)h]j )}(hstruct sock *skh](j)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubh)}(hhh]j9)}(hsockh]hsock}(hj ;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj ;modnameN classnameNj j )}j ]j )}j j:sbc.sk_set_memallocasbuh1hhj:ubj")}(h h]h }(hj);hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj )}(hj h]h*}(hj7;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:ubj9)}(hskh]hsk}(hjD;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:ubah}(h]h ]h"]h$]h&]jPjQuh1j hj:hhhj:hM'ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj:hhhj:hM'ubah}(h]j:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj:hM'hj:hhubjg)}(hhh]jl)}(hsets ``SOCK_MEMALLOC``h](hsets }(hjn;hhhNhNubj)}(h``SOCK_MEMALLOC``h]h SOCK_MEMALLOC}(hjv;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn;ubeh}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM'hjk;hhubah}(h]h ]h"]h$]h&]uh1jfhj:hhhj:hM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sock *sk`` socket to set it on **Description** Set ``SOCK_MEMALLOC`` on a socket for access to emergency reserves. It's the responsibility of the admin to adjust min_free_kbytes to meet the requirementsh](jl)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM+hj;ubj)}(hhh]j)}(h(``struct sock *sk`` socket to set it on h](j)}(h``struct sock *sk``h]j)}(hj;h]hstruct sock *sk}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM(hj;ubj)}(hhh]jl)}(hsocket to set it onh]hsocket to set it on}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hM(hj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hM(hj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubjl)}(h**Description**h]j)}(hj;h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM*hj;ubjl)}(hSet ``SOCK_MEMALLOC`` on a socket for access to emergency reserves. It's the responsibility of the admin to adjust min_free_kbytes to meet the requirementsh](hSet }(hj<hhhNhNubj)}(h``SOCK_MEMALLOC``h]h SOCK_MEMALLOC}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh on a socket for access to emergency reserves. It’s the responsibility of the admin to adjust min_free_kbytes to meet the requirements}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM)hj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_alloc (C function) c.sk_allochNtauh1hhj" hhhNhNubh)}(hhh](j)}(hbstruct sock * sk_alloc (struct net *net, int family, gfp_t priority, struct proto *prot, int kern)h]j )}(h`struct sock *sk_alloc(struct net *net, int family, gfp_t priority, struct proto *prot, int kern)h](j)}(hjh]hstruct}(hjO<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjK<hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMubj")}(h h]h }(hj]<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjK<hhhj\<hMubh)}(hhh]j9)}(hsockh]hsock}(hjn<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjk<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjp<modnameN classnameNj j )}j ]j )}j sk_allocsb c.sk_allocasbuh1hhjK<hhhj\<hMubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjK<hhhj\<hMubj )}(hj h]h*}(hj<hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjK<hhhj\<hMubj3)}(hsk_alloch]j9)}(hj<h]hsk_alloc}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjK<hhhj\<hMubj )}(hK(struct net *net, int family, gfp_t priority, struct proto *prot, int kern)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubh)}(hhh]j9)}(hneth]hnet}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNj j )}j ]j< c.sk_allocasbuh1hhj<ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubj )}(hj h]h*}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj<ubj9)}(hneth]hnet}(hj =hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj<ubj )}(h int familyh](jM )}(hinth]hint}(hj9=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5=ubj")}(h h]h }(hjG=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5=ubj9)}(hfamilyh]hfamily}(hjU=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj<ubj )}(hgfp_t priorityh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjq=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjn=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjs=modnameN classnameNj j )}j ]j< c.sk_allocasbuh1hhjj=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjj=ubj9)}(hpriorityh]hpriority}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj<ubj )}(hstruct proto *proth](j)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubh)}(hhh]j9)}(hprotoh]hproto}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]j< c.sk_allocasbuh1hhj=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj )}(hj h]h*}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=ubj9)}(hproth]hprot}(hj >hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj<ubj )}(hint kernh](jM )}(hinth]hint}(hj&>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj">ubj")}(h h]h }(hj4>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj">ubj9)}(hkernh]hkern}(hjB>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj">ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj<ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjK<hhhj\<hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjG<hhhj\<hMubah}(h]jB<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj\<hMhjD<hhubjg)}(hhh]jl)}(h%All socket objects are allocated hereh]h%All socket objects are allocated here}(hjl>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhji>hhubah}(h]h ]h"]h$]h&]uh1jfhjD<hhhj\<hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhj" hNhNubj)}(hX,**Parameters** ``struct net *net`` the applicable net namespace ``int family`` protocol family ``gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) ``struct proto *prot`` struct proto associated with this new sock instance ``int kern`` is this to be a kernel socket?h](jl)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj>ubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hj>h]hstruct net *net}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj>ubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj>ubj)}(h``int family`` protocol family h](j)}(h``int family``h]j)}(hj>h]h int family}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj>ubj)}(hhh]jl)}(hprotocol familyh]hprotocol family}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj>ubj)}(hH``gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) h](j)}(h``gfp_t priority``h]j)}(hj?h]hgfp_t priority}(hj!?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj?ubj)}(hhh]jl)}(h4for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc)h](hfor allocation (}(hj8?hhhNhNubj)}(h``GFP_KERNEL``h]h GFP_KERNEL}(hj@?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8?ubh, }(hj8?hhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjR?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8?ubh, etc)}(hj8?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj4?hMhj5?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj4?hMhj>ubj)}(hK``struct proto *prot`` struct proto associated with this new sock instance h](j)}(h``struct proto *prot``h]j)}(hj|?h]hstruct proto *prot}(hj~?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz?ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhjv?ubj)}(hhh]jl)}(h3struct proto associated with this new sock instanceh]h3struct proto associated with this new sock instance}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hMhj?ubah}(h]h ]h"]h$]h&]uh1jhjv?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj>ubj)}(h+``int kern`` is this to be a kernel socket?h](j)}(h ``int kern``h]j)}(hj?h]hint kern}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMhj?ubj)}(hhh]jl)}(his this to be a kernel socket?h]his this to be a kernel socket?}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.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" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_clone (C function) c.sk_clonehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hOstruct sock * sk_clone (const struct sock *sk, const gfp_t priority, bool lock)h]j )}(hMstruct sock *sk_clone(const struct sock *sk, const gfp_t priority, bool lock)h](j)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj @hhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj @hhhj@hM ubh)}(hhh]j9)}(hsockh]hsock}(hj.@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0@modnameN classnameNj j )}j ]j )}j sk_clonesb c.sk_cloneasbuh1hhj @hhhj@hM ubj")}(h h]h }(hjO@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj @hhhj@hM ubj )}(hj h]h*}(hj]@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj @hhhj@hM ubj3)}(hsk_cloneh]j9)}(hjL@h]hsk_clone}(hjn@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj @hhhj@hM ubj )}(h8(const struct sock *sk, const gfp_t priority, bool lock)h](j )}(hconst struct sock *skh](j)}(hj h]hconst}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubh)}(hhh]j9)}(hsockh]hsock}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNj j )}j ]jJ@ c.sk_cloneasbuh1hhj@ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj )}(hj h]h*}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@ubj9)}(hskh]hsk}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubj )}(hconst gfp_t priorityh](j)}(hj h]hconst}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj")}(h h]h }(hj!AhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubh)}(hhh]j9)}(hgfp_th]hgfp_t}(hj2AhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/Aubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4AmodnameN classnameNj j )}j ]jJ@ c.sk_cloneasbuh1hhjAubj")}(h h]h }(hjPAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj9)}(hpriorityh]hpriority}(hj^AhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubj )}(h bool lockh](jM )}(hjh]hbool}(hjwAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsAubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsAubj9)}(hlockh]hlock}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj @hhhj@hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj@hhhj@hM ubah}(h]j@ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@hM hj@hhubjg)}(hhh]jl)}(hclone a socketh]hclone a socket}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjAhhubah}(h]h ]h"]h$]h&]uh1jfhj@hhhj@hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhj" hNhNubj)}(hXQ**Parameters** ``const struct sock *sk`` the socket to clone ``const gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) ``bool lock`` if true, lock the cloned sk **Description** If **lock** is true, the clone is locked by bh_lock_sock(), and caller must unlock socket even in error path by bh_unlock_sock().h](jl)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjAubj)}(hhh](j)}(h.``const struct sock *sk`` the socket to clone h](j)}(h``const struct sock *sk``h]j)}(hjAh]hconst struct sock *sk}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjAubj)}(hhh]jl)}(hthe socket to cloneh]hthe socket to clone}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhM hjBubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjBhM hjAubj)}(hN``const gfp_t priority`` for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc) h](j)}(h``const gfp_t priority``h]j)}(hj6Bh]hconst gfp_t priority}(hj8BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4Bubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hj0Bubj)}(hhh]jl)}(h4for allocation (``GFP_KERNEL``, ``GFP_ATOMIC``, etc)h](hfor allocation (}(hjOBhhhNhNubj)}(h``GFP_KERNEL``h]h GFP_KERNEL}(hjWBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOBubh, }(hjOBhhhNhNubj)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjiBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOBubh, etc)}(hjOBhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjKBhM hjLBubah}(h]h ]h"]h$]h&]uh1jhj0Bubeh}(h]h ]h"]h$]h&]uh1jhjKBhM hjAubj)}(h*``bool lock`` if true, lock the cloned sk h](j)}(h ``bool lock``h]j)}(hjBh]h bool lock}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjBubj)}(hhh]jl)}(hif true, lock the cloned skh]hif true, lock the cloned sk}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhM hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM hjAubeh}(h]h ]h"]h$]h&]uh1jhjAubjl)}(h**Description**h]j)}(hjBh]h Description}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjAubjl)}(hIf **lock** is true, the clone is locked by bh_lock_sock(), and caller must unlock socket even in error path by bh_unlock_sock().h](hIf }(hjBhhhNhNubj)}(h**lock**h]hlock}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubhv is true, the clone is locked by bh_lock_sock(), and caller must unlock socket even in error path by bh_unlock_sock().}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!skb_page_frag_refill (C function)c.skb_page_frag_refillhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hObool skb_page_frag_refill (unsigned int sz, struct page_frag *pfrag, gfp_t gfp)h]j )}(hNbool skb_page_frag_refill(unsigned int sz, struct page_frag *pfrag, gfp_t gfp)h](jM )}(hjh]hbool}(hj%ChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj!ChhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM` ubj")}(h h]h }(hj3ChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!Chhhj2ChM` ubj3)}(hskb_page_frag_refillh]j9)}(hskb_page_frag_refillh]hskb_page_frag_refill}(hjEChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjACubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj!Chhhj2ChM` ubj )}(h5(unsigned int sz, struct page_frag *pfrag, gfp_t gfp)h](j )}(hunsigned int szh](jM )}(hunsignedh]hunsigned}(hjaChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]Cubj")}(h h]h }(hjoChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]CubjM )}(hinth]hint}(hj}ChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]Cubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]Cubj9)}(hszh]hsz}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]Cubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjYCubj )}(hstruct page_frag *pfragh](j)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubh)}(hhh]j9)}(h page_fragh]h page_frag}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNj j )}j ]j )}j jGCsbc.skb_page_frag_refillasbuh1hhjCubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj )}(hj h]h*}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjCubj9)}(hpfragh]hpfrag}(hj DhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjYCubj )}(h gfp_t gfph](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj'DhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$Dubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)DmodnameN classnameNj j )}j ]jCc.skb_page_frag_refillasbuh1hhj Dubj")}(h h]h }(hjEDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Dubj9)}(hgfph]hgfp}(hjSDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Dubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjYCubeh}(h]h ]h"]h$]h&]jPjQuh1j hj!Chhhj2ChM` ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjChhhj2ChM` ubah}(h]jCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2ChM` hjChhubjg)}(hhh]jl)}(h+check that a page_frag contains enough roomh]h+check that a page_frag contains enough room}(hj}DhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM` hjzDhhubah}(h]h ]h"]h$]h&]uh1jfhjChhhj2ChM` ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhj" hNhNubj)}(hX\**Parameters** ``unsigned int sz`` minimum size of the fragment we want to get ``struct page_frag *pfrag`` pointer to page_frag ``gfp_t gfp`` priority for memory allocation **Note** While this allocator tries to use high order pages, there is no guarantee that allocations succeed. Therefore, **sz** MUST be less or equal than PAGE_SIZE.h](jl)}(h**Parameters**h]j)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMd hjDubj)}(hhh](j)}(h@``unsigned int sz`` minimum size of the fragment we want to get h](j)}(h``unsigned int sz``h]j)}(hjDh]hunsigned int sz}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMa hjDubj)}(hhh]jl)}(h+minimum size of the fragment we want to geth]h+minimum size of the fragment we want to get}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMa hjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMa hjDubj)}(h1``struct page_frag *pfrag`` pointer to page_frag h](j)}(h``struct page_frag *pfrag``h]j)}(hjDh]hstruct page_frag *pfrag}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMb hjDubj)}(hhh]jl)}(hpointer to page_fragh]hpointer to page_frag}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj EhMb hj Eubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj EhMb hjDubj)}(h-``gfp_t gfp`` priority for memory allocation h](j)}(h ``gfp_t gfp``h]j)}(hj0Eh]h gfp_t gfp}(hj2EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Eubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMc hj*Eubj)}(hhh]jl)}(hpriority for memory allocationh]hpriority for memory allocation}(hjIEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEEhMc hjFEubah}(h]h ]h"]h$]h&]uh1jhj*Eubeh}(h]h ]h"]h$]h&]uh1jhjEEhMc hjDubeh}(h]h ]h"]h$]h&]uh1jhjDubjl)}(h**Note**h]j)}(hjkEh]hNote}(hjmEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiEubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMe hjDubjl)}(hWhile this allocator tries to use high order pages, there is no guarantee that allocations succeed. Therefore, **sz** MUST be less or equal than PAGE_SIZE.h](hoWhile this allocator tries to use high order pages, there is no guarantee that allocations succeed. Therefore, }(hjEhhhNhNubj)}(h**sz**h]hsz}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh& MUST be less or equal than PAGE_SIZE.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMe hjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_wait_data (C function)c.sk_wait_datahNtauh1hhj" hhhNhNubh)}(hhh](j)}(hJint sk_wait_data (struct sock *sk, long *timeo, const struct sk_buff *skb)h]j )}(hIint sk_wait_data(struct sock *sk, long *timeo, const struct sk_buff *skb)h](jM )}(hinth]hint}(hjEhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjEhhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEhhhjEhM ubj3)}(h sk_wait_datah]j9)}(h sk_wait_datah]h sk_wait_data}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjEhhhjEhM ubj )}(h9(struct sock *sk, long *timeo, const struct sk_buff *skb)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj")}(h h]h }(hj FhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubh)}(hhh]j9)}(hsockh]hsock}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNj j )}j ]j )}j jEsbc.sk_wait_dataasbuh1hhjEubj")}(h h]h }(hj=FhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hjKFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(hskh]hsk}(hjXFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEubj )}(h long *timeoh](jM )}(hlongh]hlong}(hjqFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmFubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmFubj )}(hj h]h*}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmFubj9)}(htimeoh]htimeo}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEubj )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNj j )}j ]j9Fc.sk_wait_dataasbuh1hhjFubj")}(h h]h }(hj GhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFubj9)}(hskbh]hskb}(hj%GhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEubeh}(h]h ]h"]h$]h&]jPjQuh1j hjEhhhjEhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjEhhhjEhM ubah}(h]jEah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjEhM hjEhhubjg)}(hhh]jl)}(h+wait for data to arrive at sk_receive_queueh]h+wait for data to arrive at sk_receive_queue}(hjOGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjLGhhubah}(h]h ]h"]h$]h&]uh1jfhjEhhhjEhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjgGjjgGjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sock *sk`` sock to wait on ``long *timeo`` for how long ``const struct sk_buff *skb`` last skb seen on sk_receive_queue **Description** Now socket state including sk->sk_err is changed only under lock, hence we may omit checks after joining wait queue. We check receive queue before schedule() only as optimization; it is very likely that release_sock() added new data.h](jl)}(h**Parameters**h]j)}(hjqGh]h Parameters}(hjsGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoGubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjkGubj)}(hhh](j)}(h$``struct sock *sk`` sock to wait on h](j)}(h``struct sock *sk``h]j)}(hjGh]hstruct sock *sk}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjGubj)}(hhh]jl)}(hsock to wait onh]hsock to wait on}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhM hjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhM hjGubj)}(h``long *timeo`` for how long h](j)}(h``long *timeo``h]j)}(hjGh]h long *timeo}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjGubj)}(hhh]jl)}(h for how longh]h for how long}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhM hjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhM hjGubj)}(h@``const struct sk_buff *skb`` last skb seen on sk_receive_queue h](j)}(h``const struct sk_buff *skb``h]j)}(hjHh]hconst struct sk_buff *skb}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjGubj)}(hhh]jl)}(h!last skb seen on sk_receive_queueh]h!last skb seen on sk_receive_queue}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhM hjHubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjHhM hjGubeh}(h]h ]h"]h$]h&]uh1jhjkGubjl)}(h**Description**h]j)}(hj=Hh]h Description}(hj?HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;Hubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjkGubjl)}(hNow socket state including sk->sk_err is changed only under lock, hence we may omit checks after joining wait queue. We check receive queue before schedule() only as optimization; it is very likely that release_sock() added new data.h]hNow socket state including sk->sk_err is changed only under lock, hence we may omit checks after joining wait queue. We check receive queue before schedule() only as optimization; it is very likely that release_sock() added new data.}(hjSHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chM hjkGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__sk_mem_schedule (C function)c.__sk_mem_schedulehNtauh1hhj" hhhNhNubh)}(hhh](j)}(h;int __sk_mem_schedule (struct sock *sk, int size, int kind)h]j )}(h:int __sk_mem_schedule(struct sock *sk, int size, int kind)h](jM )}(hinth]hint}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj~HhhhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMr ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~HhhhjHhMr ubj3)}(h__sk_mem_scheduleh]j9)}(h__sk_mem_scheduleh]h__sk_mem_schedule}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj~HhhhjHhMr ubj )}(h%(struct sock *sk, int size, int kind)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubh)}(hhh]j9)}(hsockh]hsock}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]j )}j jHsbc.__sk_mem_scheduleasbuh1hhjHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hj IhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(hskh]hsk}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubj )}(hint sizeh](jM )}(hinth]hint}(hj1IhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj-Iubj")}(h h]h }(hj?IhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-Iubj9)}(hsizeh]hsize}(hjMIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-Iubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubj )}(hint kindh](jM )}(hinth]hint}(hjfIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbIubj")}(h h]h }(hjtIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbIubj9)}(hkindh]hkind}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubeh}(h]h ]h"]h$]h&]jPjQuh1j hj~HhhhjHhMr ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjzHhhhjHhMr ubah}(h]juHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHhMr hjwHhhubjg)}(hhh]jl)}(h.increase sk_forward_alloc and memory_allocatedh]h.increase sk_forward_alloc and memory_allocated}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMr hjIhhubah}(h]h ]h"]h$]h&]uh1jfhjwHhhhjHhMr ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhj" hNhNubj)}(hXZ**Parameters** ``struct sock *sk`` socket ``int size`` memory size to allocate ``int kind`` allocation type **Description** If kind is SK_MEM_SEND, it means wmem allocation. Otherwise it means rmem allocation. This function assumes that protocols which have memory_pressure use sk_wmem_queued as write buffer accounting.h](jl)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jkhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMv hjIubj)}(hhh](j)}(h``struct sock *sk`` socket h](j)}(h``struct sock *sk``h]j)}(hjIh]hstruct sock *sk}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMs hjIubj)}(hhh]jl)}(hsocketh]hsocket}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhMs hjJubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjJhMs hjIubj)}(h%``int size`` memory size to allocate h](j)}(h ``int size``h]j)}(hj&Jh]hint size}(hj(JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Jubah}(h]h ]h"]h$]h&]uh1jhO/var/lib/git/docbuild/linux/Documentation/networking/kapi:29: ./net/core/sock.chMt hj Jubj)}(hhh]jl)}(hmemory size to allocateh]hmemory size to allocate}(hj?JhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;JhMt hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-Yubj)}(hjh]hstruct}(hjLYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-Yubj")}(h h]h }(hjYYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-Yubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlYmodnameN classnameNj j )}j ]j )}j jYsbc.skb_copy_datagram_iterasbuh1hhj-Yubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-Yubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj-Yubj9)}(hskbh]hskb}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-Yubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)Yubj )}(h int offseth](jM )}(hinth]hint}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj9)}(hoffseth]hoffset}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)Yubj )}(hstruct iov_iter *toh](j)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubh)}(hhh]j9)}(hiov_iterh]hiov_iter}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]jYc.skb_copy_datagram_iterasbuh1hhjYubj")}(h h]h }(hj/ZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(hj h]h*}(hj=ZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(htoh]hto}(hjJZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)Yubj )}(hint lenh](jM )}(hinth]hint}(hjcZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_Zubj")}(h h]h }(hjqZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_Zubj9)}(hlenh]hlen}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_Zubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)Yubeh}(h]h ]h"]h$]h&]jPjQuh1j hjXhhhjYhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhjYhM ubah}(h]jXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjYhM hjXhhubjg)}(hhh]jl)}(h%Copy a datagram to an iovec iterator.h]h%Copy a datagram to an iovec iterator.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hjZhhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhjYhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1hhhhj" hNhNubj)}(h**Parameters** ``const struct sk_buff *skb`` buffer to copy ``int offset`` offset in the buffer to start copying from ``struct iov_iter *to`` iovec iterator to copy to ``int len`` amount of data to copy from buffer to iovech](jl)}(h**Parameters**h]j)}(hjZh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjZubj)}(hhh](j)}(h-``const struct sk_buff *skb`` buffer to copy h](j)}(h``const struct sk_buff *skb``h]j)}(hjZh]hconst struct sk_buff *skb}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjZubj)}(hhh]jl)}(hbuffer to copyh]hbuffer to copy}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjZubj)}(h:``int offset`` offset in the buffer to start copying from h](j)}(h``int offset``h]j)}(hj#[h]h int offset}(hj%[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj![ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj[ubj)}(hhh]jl)}(h*offset in the buffer to start copying fromh]h*offset in the buffer to start copying from}(hj<[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8[hMhj9[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj8[hMhjZubj)}(h2``struct iov_iter *to`` iovec iterator to copy to h](j)}(h``struct iov_iter *to``h]j)}(hj\[h]hstruct iov_iter *to}(hj^[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ[ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjV[ubj)}(hhh]jl)}(hiovec iterator to copy toh]hiovec iterator to copy to}(hju[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjq[hMhjr[ubah}(h]h ]h"]h$]h&]uh1jhjV[ubeh}(h]h ]h"]h$]h&]uh1jhjq[hMhjZubj)}(h7``int len`` amount of data to copy from buffer to iovech](j)}(h ``int len``h]j)}(hj[h]hint len}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj[ubj)}(hhh]jl)}(h+amount of data to copy from buffer to iovech]h+amount of data to copy from buffer to iovec}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjZubeh}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(skb_copy_datagram_from_iter (C function)c.skb_copy_datagram_from_iterhNtauh1hhj" hhhNhNubh)}(hhh](j)}(haint skb_copy_datagram_from_iter (struct sk_buff *skb, int offset, struct iov_iter *from, int len)h]j )}(h`int skb_copy_datagram_from_iter(struct sk_buff *skb, int offset, struct iov_iter *from, int len)h](jM )}(hinth]hint}(hj[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj[hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[hhhj[hMubj3)}(hskb_copy_datagram_from_iterh]j9)}(hskb_copy_datagram_from_iterh]hskb_copy_datagram_from_iter}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj \ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj[hhhj[hMubj )}(hA(struct sk_buff *skb, int offset, struct iov_iter *from, int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj,\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(\ubj")}(h h]h }(hj9\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(\ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjJ\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjG\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjL\modnameN classnameNj j )}j ]j )}j j\sbc.skb_copy_datagram_from_iterasbuh1hhj(\ubj")}(h h]h }(hjj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(\ubj )}(hj h]h*}(hjx\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(\ubj9)}(hskbh]hskb}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$\ubj )}(h int offseth](jM )}(hinth]hint}(hj\hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj9)}(hoffseth]hoffset}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$\ubj )}(hstruct iov_iter *fromh](j)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubh)}(hhh]j9)}(hiov_iterh]hiov_iter}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNj j )}j ]jf\c.skb_copy_datagram_from_iterasbuh1hhj\ubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj )}(hj h]h*}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\ubj9)}(hfromh]hfrom}(hj*]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$\ubj )}(hint lenh](jM )}(hinth]hint}(hjC]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?]ubj")}(h h]h }(hjQ]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?]ubj9)}(hlenh]hlen}(hj_]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$\ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj[hhhj[hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj[hhhj[hMubah}(h]j[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj[hMhj[hhubjg)}(hhh]jl)}(h!Copy a datagram from an iov_iter.h]h!Copy a datagram from an iov_iter.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj]hhubah}(h]h ]h"]h$]h&]uh1jfhj[hhhj[hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to copy ``int offset`` offset in the buffer to start copying to ``struct iov_iter *from`` the copy source ``int len`` amount of data to copy to buffer from iovec **Description** Returns 0 or -EFAULT.h](jl)}(h**Parameters**h]j)}(hj]h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM!hj]ubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to copy h](j)}(h``struct sk_buff *skb``h]j)}(hj]h]hstruct sk_buff *skb}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj]ubj)}(hhh]jl)}(hbuffer to copyh]hbuffer to copy}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hMhj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj]ubj)}(h8``int offset`` offset in the buffer to start copying to h](j)}(h``int offset``h]j)}(hj^h]h int offset}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj]ubj)}(hhh]jl)}(h(offset in the buffer to start copying toh]h(offset in the buffer to start copying to}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMhj^ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj]ubj)}(h*``struct iov_iter *from`` the copy source h](j)}(h``struct iov_iter *from``h]j)}(hj<^h]hstruct iov_iter *from}(hj>^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:^ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hj6^ubj)}(hhh]jl)}(hthe copy sourceh]hthe copy source}(hjU^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQ^hM hjR^ubah}(h]h ]h"]h$]h&]uh1jhj6^ubeh}(h]h ]h"]h$]h&]uh1jhjQ^hM hj]ubj)}(h8``int len`` amount of data to copy to buffer from iovec h](j)}(h ``int len``h]j)}(hju^h]hint len}(hjw^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs^ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM!hjo^ubj)}(hhh]jl)}(h+amount of data to copy to buffer from iovech]h+amount of data to copy to buffer from iovec}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hM!hj^ubah}(h]h ]h"]h$]h&]uh1jhjo^ubeh}(h]h ]h"]h$]h&]uh1jhj^hM!hj]ubeh}(h]h ]h"]h$]h&]uh1jhj]ubjl)}(h**Description**h]j)}(hj^h]h Description}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM#hj]ubj)}(hReturns 0 or -EFAULT.h]jl)}(hj^h]hReturns 0 or -EFAULT.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM"hj^ubah}(h]h ]h"]h$]h&]uh1jhj^hM"hj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"zerocopy_sg_from_iter (C function)c.zerocopy_sg_from_iterhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hFint zerocopy_sg_from_iter (struct sk_buff *skb, struct iov_iter *from)h]j )}(hEint zerocopy_sg_from_iter(struct sk_buff *skb, struct iov_iter *from)h](jM )}(hinth]hint}(hj^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^hhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM ubj")}(h h]h }(hj _hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^hhhj _hM ubj3)}(hzerocopy_sg_from_iterh]j9)}(hzerocopy_sg_from_iterh]hzerocopy_sg_from_iter}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^hhhj _hM ubj )}(h,(struct sk_buff *skb, struct iov_iter *from)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj;_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7_ubj")}(h h]h }(hjH_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7_ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjY_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjV_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[_modnameN classnameNj j )}j ]j )}j j!_sbc.zerocopy_sg_from_iterasbuh1hhj7_ubj")}(h h]h }(hjy_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7_ubj )}(hj h]h*}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj7_ubj9)}(hskbh]hskb}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3_ubj )}(hstruct iov_iter *fromh](j)}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubh)}(hhh]j9)}(hiov_iterh]hiov_iter}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]ju_c.zerocopy_sg_from_iterasbuh1hhj_ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubj )}(hj h]h*}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_ubj9)}(hfromh]hfrom}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3_ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj^hhhj _hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^hhhj _hM ubah}(h]j^ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj _hM hj^hhubjg)}(hhh]jl)}(h*Build a zerocopy datagram from an iov_iterh]h*Build a zerocopy datagram from an iov_iter}(hj.`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hj+`hhubah}(h]h ]h"]h$]h&]uh1jfhj^hhhj _hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjF`jjF`jjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to copy ``struct iov_iter *from`` the source to copy from **Description** The function will first copy up to headlen, and then pin the userspace pages and build frags through them. Returns 0, -EFAULT or -EMSGSIZE.h](jl)}(h**Parameters**h]j)}(hjP`h]h Parameters}(hjR`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN`ubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjJ`ubj)}(hhh](j)}(h'``struct sk_buff *skb`` buffer to copy h](j)}(h``struct sk_buff *skb``h]j)}(hjo`h]hstruct sk_buff *skb}(hjq`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm`ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hji`ubj)}(hhh]jl)}(hbuffer to copyh]hbuffer to copy}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hM hj`ubah}(h]h ]h"]h$]h&]uh1jhji`ubeh}(h]h ]h"]h$]h&]uh1jhj`hM hjf`ubj)}(h2``struct iov_iter *from`` the source to copy from h](j)}(h``struct iov_iter *from``h]j)}(hj`h]hstruct iov_iter *from}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hj`ubj)}(hhh]jl)}(hthe source to copy fromh]hthe source to copy from}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hM hj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hM hjf`ubeh}(h]h ]h"]h$]h&]uh1jhjJ`ubjl)}(h**Description**h]j)}(hj`h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjJ`ubj)}(hThe function will first copy up to headlen, and then pin the userspace pages and build frags through them. Returns 0, -EFAULT or -EMSGSIZE.h](jl)}(hjThe function will first copy up to headlen, and then pin the userspace pages and build frags through them.h]hjThe function will first copy up to headlen, and then pin the userspace pages and build frags through them.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chM hj`ubjl)}(h Returns 0, -EFAULT or -EMSGSIZE.h]h Returns 0, -EFAULT or -EMSGSIZE.}(hj ahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj`ubeh}(h]h ]h"]h$]h&]uh1jhj ahM hjJ`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+skb_copy_and_csum_datagram_msg (C function) c.skb_copy_and_csum_datagram_msghNtauh1hhj" hhhNhNubh)}(hhh](j)}(hVint skb_copy_and_csum_datagram_msg (struct sk_buff *skb, int hlen, struct msghdr *msg)h]j )}(hUint skb_copy_and_csum_datagram_msg(struct sk_buff *skb, int hlen, struct msghdr *msg)h](jM )}(hinth]hint}(hjAahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj=ahhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMoubj")}(h h]h }(hjPahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ahhhjOahMoubj3)}(hskb_copy_and_csum_datagram_msgh]j9)}(hskb_copy_and_csum_datagram_msgh]hskb_copy_and_csum_datagram_msg}(hjbahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^aubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=ahhhjOahMoubj )}(h3(struct sk_buff *skb, int hlen, struct msghdr *msg)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj~ahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzaubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNj j )}j ]j )}j jdasb c.skb_copy_and_csum_datagram_msgasbuh1hhjzaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzaubj )}(hj h]h*}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzaubj9)}(hskbh]hskb}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvaubj )}(hint hlenh](jM )}(hinth]hint}(hjahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj9)}(hhlenh]hhlen}(hj bhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvaubj )}(hstruct msghdr *msgh](j)}(hjh]hstruct}(hj%bhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!bubj")}(h h]h }(hj2bhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!bubh)}(hhh]j9)}(hmsghdrh]hmsghdr}(hjCbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@bubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEbmodnameN classnameNj j )}j ]ja c.skb_copy_and_csum_datagram_msgasbuh1hhj!bubj")}(h h]h }(hjabhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!bubj )}(hj h]h*}(hjobhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!bubj9)}(hmsgh]hmsg}(hj|bhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!bubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvaubeh}(h]h ]h"]h$]h&]jPjQuh1j hj=ahhhjOahMoubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9ahhhjOahMoubah}(h]j4aah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjOahMohj6ahhubjg)}(hhh]jl)}(h$Copy and checksum skb to user iovec.h]h$Copy and checksum skb to user iovec.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMohjbhhubah}(h]h ]h"]h$]h&]uh1jfhj6ahhhjOahMoubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1hhhhj" hNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` skbuff ``int hlen`` hardware length ``struct msghdr *msg`` destination **Description** Caller _must_ check that skb will fit to this iovec. **Return** 0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.h](jl)}(h**Parameters**h]j)}(hjbh]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMshjbubj)}(hhh](j)}(h``struct sk_buff *skb`` skbuff h](j)}(h``struct sk_buff *skb``h]j)}(hjbh]hstruct sk_buff *skb}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMphjbubj)}(hhh]jl)}(hskbuffh]hskbuff}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhMphjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMphjbubj)}(h``int hlen`` hardware length h](j)}(h ``int hlen``h]j)}(hj ch]hint hlen}(hj"chhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMqhjcubj)}(hhh]jl)}(hhardware lengthh]hhardware length}(hj9chhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5chMqhj6cubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj5chMqhjbubj)}(h#``struct msghdr *msg`` destination h](j)}(h``struct msghdr *msg``h]j)}(hjYch]hstruct msghdr *msg}(hj[chhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWcubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMrhjScubj)}(hhh]jl)}(h destinationh]h destination}(hjrchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnchMrhjocubah}(h]h ]h"]h$]h&]uh1jhjScubeh}(h]h ]h"]h$]h&]uh1jhjnchMrhjbubeh}(h]h ]h"]h$]h&]uh1jhjbubjl)}(h**Description**h]j)}(hjch]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMthjbubj)}(h5Caller _must_ check that skb will fit to this iovec. h]jl)}(h4Caller _must_ check that skb will fit to this iovec.h]h4Caller _must_ check that skb will fit to this iovec.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMshjcubah}(h]h ]h"]h$]h&]uh1jhjchMshjbubjl)}(h **Return**h]j)}(hjch]hReturn}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMuhjbubjl)}(hK0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.h]hK0 - success. -EINVAL - checksum failure. -EFAULT - fault during copy.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMvhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h datagram_poll_queue (C function)c.datagram_poll_queuehNtauh1hhj" hhhNhNubh)}(hhh](j)}(hw__poll_t datagram_poll_queue (struct file *file, struct socket *sock, poll_table *wait, struct sk_buff_head *rcv_queue)h]j )}(hv__poll_t datagram_poll_queue(struct file *file, struct socket *sock, poll_table *wait, struct sk_buff_head *rcv_queue)h](h)}(hhh]j9)}(h__poll_th]h__poll_t}(hj dhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj dubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNj j )}j ]j )}j datagram_poll_queuesbc.datagram_poll_queueasbuh1hhjdhhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj")}(h h]h }(hj/dhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdhhhj.dhMubj3)}(hdatagram_poll_queueh]j9)}(hj+dh]hdatagram_poll_queue}(hjAdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=dubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjdhhhj.dhMubj )}(hZ(struct file *file, struct socket *sock, poll_table *wait, struct sk_buff_head *rcv_queue)h](j )}(hstruct file *fileh](j)}(hjh]hstruct}(hj\dhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXdubj")}(h h]h }(hjidhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXdubh)}(hhh]j9)}(hfileh]hfile}(hjzdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|dmodnameN classnameNj j )}j ]j)dc.datagram_poll_queueasbuh1hhjXdubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXdubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXdubj9)}(hfileh]hfile}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXdubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTdubj )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubh)}(hhh]j9)}(hsocketh]hsocket}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNj j )}j ]j)dc.datagram_poll_queueasbuh1hhjdubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjdubj9)}(hsockh]hsock}(hj#ehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTdubj )}(hpoll_table *waith](h)}(hhh]j9)}(h poll_tableh]h poll_table}(hj?ehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsk_receive_queue. **Return** poll bitmask indicating the socket's current stateh](jl)}(h**Parameters**h]j)}(hj4fh]h Parameters}(hj6fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2fubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj.fubj)}(hhh](j)}(h"``struct file *file`` file struct h](j)}(h``struct file *file``h]j)}(hjSfh]hstruct file *file}(hjUfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQfubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjMfubj)}(hhh]jl)}(h file structh]h file struct}(hjlfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhfhMhjifubah}(h]h ]h"]h$]h&]uh1jhjMfubeh}(h]h ]h"]h$]h&]uh1jhjhfhMhjJfubj)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjfh]hstruct socket *sock}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjfubj)}(hhh]jl)}(hsocketh]hsocket}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjJfubj)}(h ``poll_table *wait`` poll table h](j)}(h``poll_table *wait``h]j)}(hjfh]hpoll_table *wait}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjfubj)}(hhh]jl)}(h poll tableh]h poll table}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjJfubj)}(h9``struct sk_buff_head *rcv_queue`` receive queue to poll h](j)}(h"``struct sk_buff_head *rcv_queue``h]j)}(hjfh]hstruct sk_buff_head *rcv_queue}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjfubj)}(hhh]jl)}(hreceive queue to pollh]hreceive queue to poll}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghMhjgubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjghMhjJfubeh}(h]h ]h"]h$]h&]uh1jhj.fubjl)}(h**Description**h]j)}(hj9gh]h Description}(hj;ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7gubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj.fubj)}(hPerforms polling on the given receive queue, handling shutdown, error, and connection state. This is useful for protocols that deliver userspace-bound packets through a custom queue instead of sk->sk_receive_queue. h]jl)}(hPerforms polling on the given receive queue, handling shutdown, error, and connection state. This is useful for protocols that deliver userspace-bound packets through a custom queue instead of sk->sk_receive_queue.h]hPerforms polling on the given receive queue, handling shutdown, error, and connection state. This is useful for protocols that deliver userspace-bound packets through a custom queue instead of sk->sk_receive_queue.}(hjSghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjOgubah}(h]h ]h"]h$]h&]uh1jhjaghMhj.fubjl)}(h **Return**h]j)}(hjjgh]hReturn}(hjlghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhgubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj.fubjl)}(h2poll bitmask indicating the socket's current stateh]h4poll bitmask indicating the socket’s current state}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhj.fubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdatagram_poll (C function)c.datagram_pollhNtauh1hhj" hhhNhNubh)}(hhh](j)}(hQ__poll_t datagram_poll (struct file *file, struct socket *sock, poll_table *wait)h]j )}(hP__poll_t datagram_poll(struct file *file, struct socket *sock, poll_table *wait)h](h)}(hhh]j9)}(h__poll_th]h__poll_t}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]j )}j datagram_pollsbc.datagram_pollasbuh1hhjghhhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjghhhjghMubj3)}(h datagram_pollh]j9)}(hjgh]h datagram_poll}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjghhhjghMubj )}(h:(struct file *file, struct socket *sock, poll_table *wait)h](j )}(hstruct file *fileh](j)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(hfileh]hfile}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!hmodnameN classnameNj j )}j ]jgc.datagram_pollasbuh1hhjgubj")}(h h]h }(hj=hhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjKhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hfileh]hfile}(hjXhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(hstruct socket *sockh](j)}(hjh]hstruct}(hjqhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmhubj")}(h h]h }(hj~hhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmhubh)}(hhh]j9)}(hsocketh]hsocket}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]jgc.datagram_pollasbuh1hhjmhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmhubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmhubj9)}(hsockh]hsock}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(hpoll_table *waith](h)}(hhh]j9)}(h poll_tableh]h poll_table}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]jgc.datagram_pollasbuh1hhjhubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj9)}(hwaith]hwait}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubeh}(h]h ]h"]h$]h&]jPjQuh1j hjghhhjghMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjghhhjghMubah}(h]jgah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjghMhjghhubjg)}(hhh]jl)}(hgeneric datagram pollh]hgeneric datagram poll}(hjGihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjDihhubah}(h]h ]h"]h$]h&]uh1jfhjghhhjghMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_ijj_ijjjuh1hhhhj" hNhNubj)}(hX0**Parameters** ``struct file *file`` file struct ``struct socket *sock`` socket ``poll_table *wait`` poll table **Description** Datagram poll: Again totally generic. This also handles sequenced packet sockets providing the socket receive queue is only ever holding data ready to receive. **Note** when you *don't* use this routine for this protocol, and you use a different write policy from sock_writeable() then please supply your own write_space callback. **Return** poll bitmask indicating the socket's current stateh](jl)}(h**Parameters**h]j)}(hjiih]h Parameters}(hjkihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgiubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjciubj)}(hhh](j)}(h"``struct file *file`` file struct h](j)}(h``struct file *file``h]j)}(hjih]hstruct file *file}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjiubj)}(hhh]jl)}(h file structh]h file struct}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjiubj)}(h``struct socket *sock`` socket h](j)}(h``struct socket *sock``h]j)}(hjih]hstruct socket *sock}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjiubj)}(hhh]jl)}(hsocketh]hsocket}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjiubj)}(h ``poll_table *wait`` poll table h](j)}(h``poll_table *wait``h]j)}(hjih]hpoll_table *wait}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjiubj)}(hhh]jl)}(h poll tableh]h poll table}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhMhjjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjiubeh}(h]h ]h"]h$]h&]uh1jhjciubjl)}(h**Description**h]j)}(hj5jh]h Description}(hj7jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3jubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjciubj)}(hDatagram poll: Again totally generic. This also handles sequenced packet sockets providing the socket receive queue is only ever holding data ready to receive. h]jl)}(hDatagram poll: Again totally generic. This also handles sequenced packet sockets providing the socket receive queue is only ever holding data ready to receive.h]hDatagram poll: Again totally generic. This also handles sequenced packet sockets providing the socket receive queue is only ever holding data ready to receive.}(hjOjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjKjubah}(h]h ]h"]h$]h&]uh1jhj]jhMhjciubjl)}(h**Note**h]j)}(hjfjh]hNote}(hjhjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdjubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjciubj)}(hhh]j)}(hwhen you *don't* use this routine for this protocol, and you use a different write policy from sock_writeable() then please supply your own write_space callback. h](j)}(h4when you *don't* use this routine for this protocol,h](h when you }(hjjhhhNhNubj)}(h*don't*h]hdon’t}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh$ use this routine for this protocol,}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjjubj)}(hhh]jl)}(hland you use a different write policy from sock_writeable() then please supply your own write_space callback.h]hland you use a different write policy from sock_writeable() then please supply your own write_space callback.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMhj|jubah}(h]h ]h"]h$]h&]uh1jhjciubjl)}(h **Return**h]j)}(hjjh]hReturn}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjciubjl)}(h2poll bitmask indicating the socket's current stateh]h4poll bitmask indicating the socket’s current state}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.chMhjciubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#sk_stream_wait_connect (C function)c.sk_stream_wait_connecthNtauh1hhj" hhhNhNubh)}(hhh](j)}(h;int sk_stream_wait_connect (struct sock *sk, long *timeo_p)h]j )}(h:int sk_stream_wait_connect(struct sock *sk, long *timeo_p)h](jM )}(hinth]hint}(hjkhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj khhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK6ubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj khhhjkhK6ubj3)}(hsk_stream_wait_connecth]j9)}(hsk_stream_wait_connecth]hsk_stream_wait_connect}(hj0khhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,kubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj khhhjkhK6ubj )}(h (struct sock *sk, long *timeo_p)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjLkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHkubj")}(h h]h }(hjYkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHkubh)}(hhh]j9)}(hsockh]hsock}(hjjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlkmodnameN classnameNj j )}j ]j )}j j2ksbc.sk_stream_wait_connectasbuh1hhjHkubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHkubj )}(hj h]h*}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHkubj9)}(hskh]hsk}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDkubj )}(h long *timeo_ph](jM )}(hlongh]hlong}(hjkhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(htimeo_ph]htimeo_p}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDkubeh}(h]h ]h"]h$]h&]jPjQuh1j hj khhhjkhK6ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjkhhhjkhK6ubah}(h]jkah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjkhK6hjkhhubjg)}(hhh]jl)}(h1Wait for a socket to get into the connected stateh]h1Wait for a socket to get into the connected state}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK6hjlhhubah}(h]h ]h"]h$]h&]uh1jfhjkhhhjkhK6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)ljj)ljjjuh1hhhhj" hNhNubj)}(h**Parameters** ``struct sock *sk`` sock to wait on ``long *timeo_p`` for how long to wait **Description** Must be called with the socket locked.h](jl)}(h**Parameters**h]j)}(hj3lh]h Parameters}(hj5lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1lubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK:hj-lubj)}(hhh](j)}(h$``struct sock *sk`` sock to wait on h](j)}(h``struct sock *sk``h]j)}(hjRlh]hstruct sock *sk}(hjTlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPlubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK7hjLlubj)}(hhh]jl)}(hsock to wait onh]hsock to wait on}(hjklhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjglhK7hjhlubah}(h]h ]h"]h$]h&]uh1jhjLlubeh}(h]h ]h"]h$]h&]uh1jhjglhK7hjIlubj)}(h'``long *timeo_p`` for how long to wait h](j)}(h``long *timeo_p``h]j)}(hjlh]h long *timeo_p}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK8hjlubj)}(hhh]jl)}(hfor how long to waith]hfor how long to wait}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhK8hjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhK8hjIlubeh}(h]h ]h"]h$]h&]uh1jhj-lubjl)}(h**Description**h]j)}(hjlh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK:hj-lubjl)}(h&Must be called with the socket locked.h]h&Must be called with the socket locked.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chK9hj-lubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sk_stream_wait_memory (C function)c.sk_stream_wait_memoryhNtauh1hhj" hhhNhNubh)}(hhh](j)}(h:int sk_stream_wait_memory (struct sock *sk, long *timeo_p)h]j )}(h9int sk_stream_wait_memory(struct sock *sk, long *timeo_p)h](jM )}(hinth]hint}(hj mhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKuubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmhhhjmhKuubj3)}(hsk_stream_wait_memoryh]j9)}(hsk_stream_wait_memoryh]hsk_stream_wait_memory}(hj,mhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(mubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjmhhhjmhKuubj )}(h (struct sock *sk, long *timeo_p)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjHmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDmubj")}(h h]h }(hjUmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDmubh)}(hhh]j9)}(hsockh]hsock}(hjfmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmmodnameN classnameNj j )}j ]j )}j j.msbc.sk_stream_wait_memoryasbuh1hhjDmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDmubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDmubj9)}(hskh]hsk}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@mubj )}(h long *timeo_ph](jM )}(hlongh]hlong}(hjmhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(htimeo_ph]htimeo_p}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@mubeh}(h]h ]h"]h$]h&]jPjQuh1j hjmhhhjmhKuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjmhhhjmhKuubah}(h]jlah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhKuhjmhhubjg)}(hhh]jl)}(h!Wait for more memory for a socketh]h!Wait for more memory for a socket}(hj nhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKuhj nhhubah}(h]h ]h"]h$]h&]uh1jfhjmhhhjmhKuubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%njj%njjjuh1hhhhj" hNhNubj)}(ha**Parameters** ``struct sock *sk`` socket to wait for memory ``long *timeo_p`` for how longh](jl)}(h**Parameters**h]j)}(hj/nh]h Parameters}(hj1nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-nubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKyhj)nubj)}(hhh](j)}(h.``struct sock *sk`` socket to wait for memory h](j)}(h``struct sock *sk``h]j)}(hjNnh]hstruct sock *sk}(hjPnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLnubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKvhjHnubj)}(hhh]jl)}(hsocket to wait for memoryh]hsocket to wait for memory}(hjgnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjcnhKvhjdnubah}(h]h ]h"]h$]h&]uh1jhjHnubeh}(h]h ]h"]h$]h&]uh1jhjcnhKvhjEnubj)}(h``long *timeo_p`` for how longh](j)}(h``long *timeo_p``h]j)}(hjnh]h long *timeo_p}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKxhjnubj)}(hhh]jl)}(h for how longh]h for how long}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:35: ./net/core/stream.chKwhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhKxhjEnubeh}(h]h ]h"]h$]h&]uh1jhj)nubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj" hhhNhNubeh}(h]socket-buffer-functionsah ]h"]socket buffer functionsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Socket Filterh]h Socket Filter}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhhhhhK'ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_filter_trim_cap (C function)c.sk_filter_trim_caphNtauh1hhjnhhhNhNubh)}(hhh](j)}(h`enum skb_drop_reason sk_filter_trim_cap (struct sock *sk, struct sk_buff *skb, unsigned int cap)h]j )}(h_enum skb_drop_reason sk_filter_trim_cap(struct sock *sk, struct sk_buff *skb, unsigned int cap)h](j)}(hjh]henum}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK|ubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnhhhjohK|ubh)}(hhh]j9)}(hskb_drop_reasonh]hskb_drop_reason}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]j )}j sk_filter_trim_capsbc.sk_filter_trim_capasbuh1hhjnhhhjohK|ubj")}(h h]h }(hj:ohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnhhhjohK|ubj3)}(hsk_filter_trim_caph]j9)}(hj7oh]hsk_filter_trim_cap}(hjLohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjnhhhjohK|ubj )}(h8(struct sock *sk, struct sk_buff *skb, unsigned int cap)h](j )}(hstruct sock *skh](j)}(hjh]hstruct}(hjgohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcoubj")}(h h]h }(hjtohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcoubh)}(hhh]j9)}(hsockh]hsock}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]j5oc.sk_filter_trim_capasbuh1hhjcoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcoubj )}(hj h]h*}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcoubj9)}(hskh]hsk}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_oubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]j5oc.sk_filter_trim_capasbuh1hhjoubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hj h]h*}(hj!phhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hskbh]hskb}(hj.phhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_oubj )}(hunsigned int caph](jM )}(hunsignedh]hunsigned}(hjGphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjCpubj")}(h h]h }(hjUphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCpubjM )}(hinth]hint}(hjcphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjCpubj")}(h h]h }(hjqphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCpubj9)}(hcaph]hcap}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_oubeh}(h]h ]h"]h$]h&]jPjQuh1j hjnhhhjohK|ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjnhhhjohK|ubah}(h]jnah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjohK|hjnhhubjg)}(hhh]jl)}(h$run a packet through a socket filterh]h$run a packet through a socket filter}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK|hjphhubah}(h]h ]h"]h$]h&]uh1jfhjnhhhjohK|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1hhhhjnhNhNubj)}(hX**Parameters** ``struct sock *sk`` sock associated with :c:type:`sk_buff` ``struct sk_buff *skb`` buffer to filter ``unsigned int cap`` limit on how short the eBPF program may trim the packet **Description** Run the eBPF program and then cut skb->data to correct size returned by the program. If pkt_len is 0 we toss packet. If skb->len is smaller than pkt_len we keep whole skb->data. This is the socket level wrapper to bpf_prog_run. It returns 0 if the packet should be accepted or a drop_reason if the packet should be tossed.h](jl)}(h**Parameters**h]j)}(hjph]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKhjpubj)}(hhh](j)}(h;``struct sock *sk`` sock associated with :c:type:`sk_buff` h](j)}(h``struct sock *sk``h]j)}(hjph]hstruct sock *sk}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK}hjpubj)}(hhh]jl)}(h&sock associated with :c:type:`sk_buff`h](hsock associated with }(hjqhhhNhNubh)}(h:c:type:`sk_buff`h]j)}(hj qh]hsk_buff}(hjqhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj qubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsk_buffuh1hhjphK}hjqubeh}(h]h ]h"]h$]h&]uh1jkhjphK}hjqubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphK}hjpubj)}(h)``struct sk_buff *skb`` buffer to filter h](j)}(h``struct sk_buff *skb``h]j)}(hjBqh]hstruct sk_buff *skb}(hjDqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@qubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chK~hjdata to correct size returned by the program. If pkt_len is 0 we toss packet. If skb->len is smaller than pkt_len we keep whole skb->data. This is the socket level wrapper to bpf_prog_run. It returns 0 if the packet should be accepted or a drop_reason if the packet should be tossed.h]hXBRun the eBPF program and then cut skb->data to correct size returned by the program. If pkt_len is 0 we toss packet. If skb->len is smaller than pkt_len we keep whole skb->data. This is the socket level wrapper to bpf_prog_run. It returns 0 if the packet should be accepted or a drop_reason if the packet should be tossed.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chKhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjnhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbpf_prog_create (C function)c.bpf_prog_createhNtauh1hhjnhhhNhNubh)}(hhh](j)}(hJint bpf_prog_create (struct bpf_prog **pfp, struct sock_fprog_kern *fprog)h]j )}(hIint bpf_prog_create(struct bpf_prog **pfp, struct sock_fprog_kern *fprog)h](jM )}(hinth]hint}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM`ubj")}(h h]h }(hj rhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqhhhj rhM`ubj3)}(hbpf_prog_createh]j9)}(hbpf_prog_createh]hbpf_prog_create}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjqhhhj rhM`ubj )}(h6(struct bpf_prog **pfp, struct sock_fprog_kern *fprog)h](j )}(hstruct bpf_prog **pfph](j)}(hjh]hstruct}(hj8rhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4rubj")}(h h]h }(hjErhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4rubh)}(hhh]j9)}(hbpf_progh]hbpf_prog}(hjVrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXrmodnameN classnameNj j )}j ]j )}j jrsbc.bpf_prog_createasbuh1hhj4rubj")}(h h]h }(hjvrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4rubj )}(hj h]h*}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4rubj )}(hj h]h*}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4rubj9)}(hpfph]hpfp}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4rubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0rubj )}(hstruct sock_fprog_kern *fprogh](j)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubh)}(hhh]j9)}(hsock_fprog_kernh]hsock_fprog_kern}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]jrrc.bpf_prog_createasbuh1hhjrubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj )}(hj h]h*}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj9)}(hfprogh]hfprog}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj0rubeh}(h]h ]h"]h$]h&]jPjQuh1j hjqhhhj rhM`ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjqhhhj rhM`ubah}(h]jqah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj rhM`hjqhhubjg)}(hhh]jl)}(hcreate an unattached filterh]hcreate an unattached filter}(hj8shhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM`hj5shhubah}(h]h ]h"]h$]h&]uh1jfhjqhhhj rhM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPsjjPsjjjuh1hhhhjnhNhNubj)}(hX**Parameters** ``struct bpf_prog **pfp`` the unattached filter that is created ``struct sock_fprog_kern *fprog`` the filter program **Description** Create a filter independent of any socket. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.h](jl)}(h**Parameters**h]j)}(hjZsh]h Parameters}(hj\shhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXsubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMdhjTsubj)}(hhh](j)}(h@``struct bpf_prog **pfp`` the unattached filter that is created h](j)}(h``struct bpf_prog **pfp``h]j)}(hjysh]hstruct bpf_prog **pfp}(hj{shhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwsubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMahjssubj)}(hhh]jl)}(h%the unattached filter that is createdh]h%the unattached filter that is created}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMahjsubah}(h]h ]h"]h$]h&]uh1jhjssubeh}(h]h ]h"]h$]h&]uh1jhjshMahjpsubj)}(h5``struct sock_fprog_kern *fprog`` the filter program h](j)}(h!``struct sock_fprog_kern *fprog``h]j)}(hjsh]hstruct sock_fprog_kern *fprog}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMbhjsubj)}(hhh]jl)}(hthe filter programh]hthe filter program}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMbhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMbhjpsubeh}(h]h ]h"]h$]h&]uh1jhjTsubjl)}(h**Description**h]j)}(hjsh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMdhjTsubjl)}(hXCreate a filter independent of any socket. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.h]hXCreate a filter independent of any socket. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMchjTsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjnhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&bpf_prog_create_from_user (C function)c.bpf_prog_create_from_userhNtauh1hhjnhhhNhNubh)}(hhh](j)}(h~int bpf_prog_create_from_user (struct bpf_prog **pfp, struct sock_fprog *fprog, bpf_aux_classic_check_t trans, bool save_orig)h]j )}(h}int bpf_prog_create_from_user(struct bpf_prog **pfp, struct sock_fprog *fprog, bpf_aux_classic_check_t trans, bool save_orig)h](jM )}(hinth]hint}(hj2thhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.thhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMubj")}(h h]h }(hjAthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.thhhj@thMubj3)}(hbpf_prog_create_from_userh]j9)}(hbpf_prog_create_from_userh]hbpf_prog_create_from_user}(hjSthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOtubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.thhhj@thMubj )}(h`(struct bpf_prog **pfp, struct sock_fprog *fprog, bpf_aux_classic_check_t trans, bool save_orig)h](j )}(hstruct bpf_prog **pfph](j)}(hjh]hstruct}(hjothhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjktubj")}(h h]h }(hj|thhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjktubh)}(hhh]j9)}(hbpf_progh]hbpf_prog}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]j )}j jUtsbc.bpf_prog_create_from_userasbuh1hhjktubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjktubj )}(hj h]h*}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjktubj )}(hj h]h*}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjktubj9)}(hpfph]hpfp}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjktubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgtubj )}(hstruct sock_fprog *fprogh](j)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubh)}(hhh]j9)}(h sock_fprogh]h sock_fprog}(hj uhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj uubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]jtc.bpf_prog_create_from_userasbuh1hhjtubj")}(h h]h }(hj*uhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hj8uhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hfprogh]hfprog}(hjEuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgtubj )}(hbpf_aux_classic_check_t transh](h)}(hhh]j9)}(hbpf_aux_classic_check_th]hbpf_aux_classic_check_t}(hjauhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^uubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcumodnameN classnameNj j )}j ]jtc.bpf_prog_create_from_userasbuh1hhjZuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZuubj9)}(htransh]htrans}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgtubj )}(hbool save_origh](jM )}(hjh]hbool}(hjuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj9)}(h save_origh]h save_orig}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgtubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.thhhj@thMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*thhhj@thMubah}(h]j%tah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@thMhj'thhubjg)}(hhh]jl)}(h,create an unattached filter from user bufferh]h,create an unattached filter from user buffer}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjuhhubah}(h]h ]h"]h$]h&]uh1jfhj'thhhj@thMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjnhNhNubj)}(hX**Parameters** ``struct bpf_prog **pfp`` the unattached filter that is created ``struct sock_fprog *fprog`` the filter program ``bpf_aux_classic_check_t trans`` post-classic verifier transformation handler ``bool save_orig`` save classic BPF program **Description** This function effectively does the same as bpf_prog_create(), only that it builds up its insns buffer from user space provided buffer. It also allows for passing a bpf_aux_classic_check_t handler.h](jl)}(h**Parameters**h]j)}(hj vh]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj vubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjvubj)}(hhh](j)}(h@``struct bpf_prog **pfp`` the unattached filter that is created h](j)}(h``struct bpf_prog **pfp``h]j)}(hj,vh]hstruct bpf_prog **pfp}(hj.vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*vubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhj&vubj)}(hhh]jl)}(h%the unattached filter that is createdh]h%the unattached filter that is created}(hjEvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAvhMhjBvubah}(h]h ]h"]h$]h&]uh1jhj&vubeh}(h]h ]h"]h$]h&]uh1jhjAvhMhj#vubj)}(h0``struct sock_fprog *fprog`` the filter program h](j)}(h``struct sock_fprog *fprog``h]j)}(hjevh]hstruct sock_fprog *fprog}(hjgvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcvubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhj_vubj)}(hhh]jl)}(hthe filter programh]hthe filter program}(hj~vhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzvhMhj{vubah}(h]h ]h"]h$]h&]uh1jhj_vubeh}(h]h ]h"]h$]h&]uh1jhjzvhMhj#vubj)}(hO``bpf_aux_classic_check_t trans`` post-classic verifier transformation handler h](j)}(h!``bpf_aux_classic_check_t trans``h]j)}(hjvh]hbpf_aux_classic_check_t trans}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjvubj)}(hhh]jl)}(h,post-classic verifier transformation handlerh]h,post-classic verifier transformation handler}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhj#vubj)}(h,``bool save_orig`` save classic BPF program h](j)}(h``bool save_orig``h]j)}(hjvh]hbool save_orig}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjvubj)}(hhh]jl)}(hsave classic BPF programh]hsave classic BPF program}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhj#vubeh}(h]h ]h"]h$]h&]uh1jhjvubjl)}(h**Description**h]j)}(hjwh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjvubjl)}(hThis function effectively does the same as bpf_prog_create(), only that it builds up its insns buffer from user space provided buffer. It also allows for passing a bpf_aux_classic_check_t handler.h]hThis function effectively does the same as bpf_prog_create(), only that it builds up its insns buffer from user space provided buffer. It also allows for passing a bpf_aux_classic_check_t handler.}(hj(whhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjnhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsk_attach_filter (C function)c.sk_attach_filterhNtauh1hhjnhhhNhNubh)}(hhh](j)}(h@int sk_attach_filter (struct sock_fprog *fprog, struct sock *sk)h]j )}(h?int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk)h](jM )}(hinth]hint}(hjWwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjSwhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMubj")}(h h]h }(hjfwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSwhhhjewhMubj3)}(hsk_attach_filterh]j9)}(hsk_attach_filterh]hsk_attach_filter}(hjxwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtwubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjSwhhhjewhMubj )}(h+(struct sock_fprog *fprog, struct sock *sk)h](j )}(hstruct sock_fprog *fprogh](j)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubh)}(hhh]j9)}(h sock_fprogh]h sock_fprog}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]j )}j jzwsbc.sk_attach_filterasbuh1hhjwubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj9)}(hfprogh]hfprog}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwubj )}(hstruct sock *skh](j)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(hhh]j9)}(hsockh]hsock}(hj$xhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!xubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&xmodnameN classnameNj j )}j ]jwc.sk_attach_filterasbuh1hhjxubj")}(h h]h }(hjBxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjPxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hskh]hsk}(hj]xhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjwubeh}(h]h ]h"]h$]h&]jPjQuh1j hjSwhhhjewhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjOwhhhjewhMubah}(h]jJwah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjewhMhjLwhhubjg)}(hhh]jl)}(hattach a socket filterh]hattach a socket filter}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjxhhubah}(h]h ]h"]h$]h&]uh1jfhjLwhhhjewhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxjjxjjjuh1hhhhjnhNhNubj)}(hXs**Parameters** ``struct sock_fprog *fprog`` the filter program ``struct sock *sk`` the socket to use **Description** Attach the user's filter code. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.h](jl)}(h**Parameters**h]j)}(hjxh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM hjxubj)}(hhh](j)}(h0``struct sock_fprog *fprog`` the filter program h](j)}(h``struct sock_fprog *fprog``h]j)}(hjxh]hstruct sock_fprog *fprog}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chMhjxubj)}(hhh]jl)}(hthe filter programh]hthe filter program}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjxubj)}(h&``struct sock *sk`` the socket to use h](j)}(h``struct sock *sk``h]j)}(hjyh]hstruct sock *sk}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM hjxubj)}(hhh]jl)}(hthe socket to useh]hthe socket to use}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhM hjyubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjyhM hjxubeh}(h]h ]h"]h$]h&]uh1jhjxubjl)}(h**Description**h]j)}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:yubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM hjxubjl)}(hAttach the user's filter code. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.h]hAttach the user’s filter code. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.}(hjRyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:41: ./net/core/filter.chM hjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjnhhhNhNubeh}(h] socket-filterah ]h"] socket filterah$]h&]uh1hhhhhhhhK'ubh)}(hhh](h)}(hGeneric Network Statisticsh]hGeneric Network Statistics}(hjsyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjpyhhhhhK-ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_stats_basic (C struct)c.gnet_stats_basichNtauh1hhjpyhhhNhNubh)}(hhh](j)}(hgnet_stats_basich]j )}(hstruct gnet_stats_basich](j)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyhhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyhhhjyhKubj3)}(hgnet_stats_basich]j9)}(hjyh]hgnet_stats_basic}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjyhhhjyhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjyhhhjyhKubah}(h]jyah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyhKhjyhhubjg)}(hhh]jl)}(h!byte/packet throughput statisticsh]h!byte/packet throughput statistics}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjyhhubah}(h]h ]h"]h$]h&]uh1jfhjyhhhjyhKubeh}(h]h ](jstructeh"]h$]h&]jjjjyjjyjjjuh1hhhhjpyhNhNubj)}(h**Definition**:: struct gnet_stats_basic { __u64 bytes; __u32 packets; }; **Members** ``bytes`` number of seen bytes ``packets`` number of seen packetsh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh:}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjyubj)}(h@struct gnet_stats_basic { __u64 bytes; __u32 packets; };h]h@struct gnet_stats_basic { __u64 bytes; __u32 packets; };}hjzsbah}(h]h ]h"]h$]h&]jPjQuh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjyubjl)}(h **Members**h]j)}(hj*zh]hMembers}(hj,zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(zubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK!hjyubj)}(hhh](j)}(h``bytes`` number of seen bytes h](j)}(h ``bytes``h]j)}(hjIzh]hbytes}(hjKzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGzubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjCzubj)}(hhh]jl)}(hnumber of seen bytesh]hnumber of seen bytes}(hjbzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^zhKhj_zubah}(h]h ]h"]h$]h&]uh1jhjCzubeh}(h]h ]h"]h$]h&]uh1jhj^zhKhj@zubj)}(h"``packets`` number of seen packetsh](j)}(h ``packets``h]j)}(hjzh]hpackets}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhj|zubj)}(hhh]jl)}(hnumber of seen packetsh]hnumber of seen packets}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKhjzubah}(h]h ]h"]h$]h&]uh1jhj|zubeh}(h]h ]h"]h$]h&]uh1jhjzhKhj@zubeh}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjpyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_stats_rate_est (C struct)c.gnet_stats_rate_esthNtauh1hhjpyhhhNhNubh)}(hhh](j)}(hgnet_stats_rate_esth]j )}(hstruct gnet_stats_rate_esth](j)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzhhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzhhhjzhKubj3)}(hgnet_stats_rate_esth]j9)}(hjzh]hgnet_stats_rate_est}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjzhhhjzhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjzhhhjzhKubah}(h]jzah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjzhKhjzhhubjg)}(hhh]jl)}(hrate estimatorh]hrate estimator}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK hj{hhubah}(h]h ]h"]h$]h&]uh1jfhjzhhhjzhKubeh}(h]h ](jstructeh"]h$]h&]jjjj6{jj6{jjjuh1hhhhjpyhNhNubj)}(h**Definition**:: struct gnet_stats_rate_est { __u32 bps; __u32 pps; }; **Members** ``bps`` current byte rate ``pps`` current packet rateh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjB{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>{ubh:}(hj>{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK$hj:{ubj)}(h=struct gnet_stats_rate_est { __u32 bps; __u32 pps; };h]h=struct gnet_stats_rate_est { __u32 bps; __u32 pps; };}hj[{sbah}(h]h ]h"]h$]h&]jPjQuh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK&hj:{ubjl)}(h **Members**h]j)}(hjl{h]hMembers}(hjn{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj{ubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK+hj:{ubj)}(hhh](j)}(h``bps`` current byte rate h](j)}(h``bps``h]j)}(hj{h]hbps}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK"hj{ubj)}(hhh]jl)}(hcurrent byte rateh]hcurrent byte rate}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hK"hj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hK"hj{ubj)}(h``pps`` current packet rateh](j)}(h``pps``h]j)}(hj{h]hpps}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK"hj{ubj)}(hhh]jl)}(hcurrent packet rateh]hcurrent packet rate}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK#hj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hK"hj{ubeh}(h]h ]h"]h$]h&]uh1jhj:{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjpyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h gnet_stats_rate_est64 (C struct)c.gnet_stats_rate_est64hNtauh1hhjpyhhhNhNubh)}(hhh](j)}(hgnet_stats_rate_est64h]j )}(hstruct gnet_stats_rate_est64h](j)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|hhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK)ubj")}(h h]h }(hj,|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|hhhj+|hK)ubj3)}(hgnet_stats_rate_est64h]j9)}(hj|h]hgnet_stats_rate_est64}(hj>|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:|ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj|hhhj+|hK)ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj|hhhj+|hK)ubah}(h]j|ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj+|hK)hj|hhubjg)}(hhh]jl)}(hrate estimatorh]hrate estimator}(hj`|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK*hj]|hhubah}(h]h ]h"]h$]h&]uh1jfhj|hhhj+|hK)ubeh}(h]h ](jstructeh"]h$]h&]jjjjx|jjx|jjjuh1hhhhjpyhNhNubj)}(h**Definition**:: struct gnet_stats_rate_est64 { __u64 bps; __u64 pps; }; **Members** ``bps`` current byte rate ``pps`` current packet rateh](jl)}(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&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK.hj||ubj)}(h?struct gnet_stats_rate_est64 { __u64 bps; __u64 pps; };h]h?struct gnet_stats_rate_est64 { __u64 bps; __u64 pps; };}hj|sbah}(h]h ]h"]h$]h&]jPjQuh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK0hj||ubjl)}(h **Members**h]j)}(hj|h]hMembers}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK5hj||ubj)}(hhh](j)}(h``bps`` current byte rate h](j)}(h``bps``h]j)}(hj|h]hbps}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK,hj|ubj)}(hhh]jl)}(hcurrent byte rateh]hcurrent byte rate}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hK,hj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hK,hj|ubj)}(h``pps`` current packet rateh](j)}(h``pps``h]j)}(hj}h]hpps}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK,hj}ubj)}(hhh]jl)}(hcurrent packet rateh]hcurrent packet rate}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK-hj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hK,hj|ubeh}(h]h ]h"]h$]h&]uh1jhj||ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjpyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_stats_queue (C struct)c.gnet_stats_queuehNtauh1hhjpyhhhNhNubh)}(hhh](j)}(hgnet_stats_queueh]j )}(hstruct gnet_stats_queueh](j)}(hjh]hstruct}(hj`}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\}hhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK3ubj")}(h h]h }(hjn}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\}hhhjm}hK3ubj3)}(hgnet_stats_queueh]j9)}(hjZ}h]hgnet_stats_queue}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj\}hhhjm}hK3ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjX}hhhjm}hK3ubah}(h]jS}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjm}hK3hjU}hhubjg)}(hhh]jl)}(hqueuing statisticsh]hqueuing statistics}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK4hj}hhubah}(h]h ]h"]h$]h&]uh1jfhjU}hhhjm}hK3ubeh}(h]h ](jstructeh"]h$]h&]jjjj}jj}jjjuh1hhhhjpyhNhNubj)}(hXc**Definition**:: struct gnet_stats_queue { __u32 qlen; __u32 backlog; __u32 drops; __u32 requeues; __u32 overlimits; }; **Members** ``qlen`` queue length ``backlog`` backlog size of queue ``drops`` number of dropped packets ``requeues`` number of requeues ``overlimits`` number of enqueues over the limith](jl)}(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&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK8hj}ubj)}(hzstruct gnet_stats_queue { __u32 qlen; __u32 backlog; __u32 drops; __u32 requeues; __u32 overlimits; };h]hzstruct gnet_stats_queue { __u32 qlen; __u32 backlog; __u32 drops; __u32 requeues; __u32 overlimits; };}hj}sbah}(h]h ]h"]h$]h&]jPjQuh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK:hj}ubjl)}(h **Members**h]j)}(hj}h]hMembers}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKBhj}ubj)}(hhh](j)}(h``qlen`` queue length h](j)}(h``qlen``h]j)}(hj~h]hqlen}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ~ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK6hj ~ubj)}(hhh]jl)}(h queue lengthh]h queue length}(hj(~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$~hK6hj%~ubah}(h]h ]h"]h$]h&]uh1jhj ~ubeh}(h]h ]h"]h$]h&]uh1jhj$~hK6hj~ubj)}(h"``backlog`` backlog size of queue h](j)}(h ``backlog``h]j)}(hjH~h]hbacklog}(hjJ~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF~ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK7hjB~ubj)}(hhh]jl)}(hbacklog size of queueh]hbacklog size of queue}(hja~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]~hK7hj^~ubah}(h]h ]h"]h$]h&]uh1jhjB~ubeh}(h]h ]h"]h$]h&]uh1jhj]~hK7hj~ubj)}(h$``drops`` number of dropped packets h](j)}(h ``drops``h]j)}(hj~h]hdrops}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK8hj{~ubj)}(hhh]jl)}(hnumber of dropped packetsh]hnumber of dropped packets}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hK8hj~ubah}(h]h ]h"]h$]h&]uh1jhj{~ubeh}(h]h ]h"]h$]h&]uh1jhj~hK8hj~ubj)}(h ``requeues`` number of requeues h](j)}(h ``requeues``h]j)}(hj~h]hrequeues}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK9hj~ubj)}(hhh]jl)}(hnumber of requeuesh]hnumber of requeues}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hK9hj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hK9hj~ubj)}(h0``overlimits`` number of enqueues over the limith](j)}(h``overlimits``h]j)}(hj~h]h overlimits}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK9hj~ubj)}(hhh]jl)}(h!number of enqueues over the limith]h!number of enqueues over the limit}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK:hj ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhK9hj~ubeh}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjpyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgnet_estimator (C struct)c.gnet_estimatorhNtauh1hhjpyhhhNhNubh)}(hhh](j)}(hgnet_estimatorh]j )}(hstruct gnet_estimatorh](j)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIhhh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhK@ubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIhhhjZhK@ubj3)}(hgnet_estimatorh]j9)}(hjGh]hgnet_estimator}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjIhhhjZhK@ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjEhhhjZhK@ubah}(h]j@ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjZhK@hjBhhubjg)}(hhh]jl)}(hrate estimator configurationh]hrate estimator configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKDhjhhubah}(h]h ]h"]h$]h&]uh1jfhjBhhhjZhK@ubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjpyhNhNubj)}(h**Definition**:: struct gnet_estimator { signed char interval; unsigned char ewma_log; }; **Members** ``interval`` sampling period ``ewma_log`` the log of measurement window weighth](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKHhjubj)}(hVstruct gnet_estimator { signed char interval; unsigned char ewma_log; };h]hVstruct gnet_estimator { signed char interval; unsigned char ewma_log; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKJhjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKOhjubj)}(hhh](j)}(h``interval`` sampling period h](j)}(h ``interval``h]j)}(hjh]hinterval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKFhjubj)}(hhh]jl)}(hsampling periodh]hsampling period}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKFhjubj)}(h1``ewma_log`` the log of measurement window weighth](j)}(h ``ewma_log``h]j)}(hj5h]hewma_log}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKFhj/ubj)}(hhh]jl)}(h$the log of measurement window weighth]h$the log of measurement window weight}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh^/var/lib/git/docbuild/linux/Documentation/networking/kapi:47: ./include/uapi/linux/gen_stats.hhKGhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhKFhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjpyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)gnet_stats_start_copy_compat (C function)c.gnet_stats_start_copy_compathNtauh1hhjpyhhhNhNubh)}(hhh](j)}(hint gnet_stats_start_copy_compat (struct sk_buff *skb, int type, int tc_stats_type, int xstats_type, spinlock_t *lock, struct gnet_dump *d, int padattr)h]j )}(hint gnet_stats_start_copy_compat(struct sk_buff *skb, int type, int tc_stats_type, int xstats_type, spinlock_t *lock, struct gnet_dump *d, int padattr)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK(ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhK(ubj3)}(hgnet_stats_start_copy_compath]j9)}(hgnet_stats_start_copy_compath]hgnet_stats_start_copy_compat}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhK(ubj )}(hw(struct sk_buff *skb, int type, int tc_stats_type, int xstats_type, spinlock_t *lock, struct gnet_dump *d, int padattr)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj̀hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjȀubj")}(h h]h }(hjـhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjȀubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.gnet_stats_start_copy_compatasbuh1hhjȀubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjȀubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjȀubj9)}(hskbh]hskb}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjȀubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjĀubj )}(hint typeh](jM )}(hinth]hint}(hj>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:ubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj9)}(htypeh]htype}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjĀubj )}(hint tc_stats_typeh](jM )}(hinth]hint}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjoubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj9)}(h tc_stats_typeh]h tc_stats_type}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjĀubj )}(hint xstats_typeh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h xstats_typeh]h xstats_type}(hjāhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjĀubj )}(hspinlock_t *lockh](h)}(hhh]j9)}(h spinlock_th]h spinlock_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj݁ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.gnet_stats_start_copy_compatasbuh1hhjفubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjفubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjفubj9)}(hlockh]hlock}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjفubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjĀubj )}(hstruct gnet_dump *dh](j)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubh)}(hhh]j9)}(h gnet_dumph]h gnet_dump}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNj j )}j ]jc.gnet_stats_start_copy_compatasbuh1hhj.ubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj )}(hj h]h*}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.ubj9)}(hdh]hd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjĀubj )}(h int padattrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hpadattrh]hpadattr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjĀubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhK(ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhK(ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhK(hjhhubjg)}(hhh]jl)}(h-start dumping procedure in compatibility modeh]h-start dumping procedure in compatibility mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK(hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhK(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjpyhNhNubj)}(hX1**Parameters** ``struct sk_buff *skb`` socket buffer to put statistics TLVs into ``int type`` TLV type for top level statistic TLV ``int tc_stats_type`` TLV type for backward compatibility struct tc_stats TLV ``int xstats_type`` TLV type for backward compatibility xstats TLV ``spinlock_t *lock`` statistics lock ``struct gnet_dump *d`` dumping handle ``int padattr`` padding attribute **Description** Initializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS. The dumping handle is marked to be in backward compatibility mode telling all gnet_stats_copy_XXX() functions to fill a local copy of struct tc_stats. Returns 0 on success or -1 if the room in the socket buffer was not sufficient.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK,hjubj)}(hhh](j)}(hB``struct sk_buff *skb`` socket buffer to put statistics TLVs into h](j)}(h``struct sk_buff *skb``h]j)}(hj)h]hstruct sk_buff *skb}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK)hj#ubj)}(hhh]jl)}(h)socket buffer to put statistics TLVs intoh]h)socket buffer to put statistics TLVs into}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hK)hj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hK)hj ubj)}(h2``int type`` TLV type for top level statistic TLV h](j)}(h ``int type``h]j)}(hjbh]hint type}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK*hj\ubj)}(hhh]jl)}(h$TLV type for top level statistic TLVh]h$TLV type for top level statistic TLV}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhK*hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhK*hj ubj)}(hN``int tc_stats_type`` TLV type for backward compatibility struct tc_stats TLV h](j)}(h``int tc_stats_type``h]j)}(hjh]hint tc_stats_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK+hjubj)}(hhh]jl)}(h7TLV type for backward compatibility struct tc_stats TLVh]h7TLV type for backward compatibility struct tc_stats TLV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK+hj ubj)}(hC``int xstats_type`` TLV type for backward compatibility xstats TLV h](j)}(h``int xstats_type``h]j)}(hjԃh]hint xstats_type}(hjփhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj҃ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK,hj΃ubj)}(hhh]jl)}(h.TLV type for backward compatibility xstats TLVh]h.TLV type for backward compatibility xstats TLV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK,hjubah}(h]h ]h"]h$]h&]uh1jhj΃ubeh}(h]h ]h"]h$]h&]uh1jhjhK,hj ubj)}(h%``spinlock_t *lock`` statistics lock h](j)}(h``spinlock_t *lock``h]j)}(hj h]hspinlock_t *lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK-hjubj)}(hhh]jl)}(hstatistics lockh]hstatistics lock}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hK-hj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hK-hj ubj)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjFh]hstruct gnet_dump *d}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK.hj@ubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[hK.hj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hK.hj ubj)}(h"``int padattr`` padding attribute h](j)}(h``int padattr``h]j)}(hjh]h int padattr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK/hjyubj)}(hhh]jl)}(hpadding attributeh]hpadding attribute}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK/hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhK/hj ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK1hjubjl)}(hInitializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS.h]hInitializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS.}(hjЄhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK0hjubjl)}(hThe dumping handle is marked to be in backward compatibility mode telling all gnet_stats_copy_XXX() functions to fill a local copy of struct tc_stats.h]hThe dumping handle is marked to be in backward compatibility mode telling all gnet_stats_copy_XXX() functions to fill a local copy of struct tc_stats.}(hj߄hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK4hjubjl)}(hOReturns 0 on success or -1 if the room in the socket buffer was not sufficient.h]hOReturns 0 on success or -1 if the room in the socket buffer was not sufficient.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK7hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjpyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_start_copy (C function)c.gnet_stats_start_copyhNtauh1hhjpyhhhNhNubh)}(hhh](j)}(hmint gnet_stats_start_copy (struct sk_buff *skb, int type, spinlock_t *lock, struct gnet_dump *d, int padattr)h]j )}(hlint gnet_stats_start_copy(struct sk_buff *skb, int type, spinlock_t *lock, struct gnet_dump *d, int padattr)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK`ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj+hK`ubj3)}(hgnet_stats_start_copyh]j9)}(hgnet_stats_start_copyh]hgnet_stats_start_copy}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj+hK`ubj )}(hS(struct sk_buff *skb, int type, spinlock_t *lock, struct gnet_dump *d, int padattr)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]j )}j j@sbc.gnet_stats_start_copyasbuh1hhjVubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubj )}(hint typeh](jM )}(hinth]hint}(hj̅hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjȅubj")}(h h]h }(hjڅhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjȅubj9)}(htypeh]htype}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjȅubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubj )}(hspinlock_t *lockh](h)}(hhh]j9)}(h spinlock_th]h spinlock_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.gnet_stats_start_copyasbuh1hhjubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hlockh]hlock}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubj )}(hstruct gnet_dump *dh](j)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubh)}(hhh]j9)}(h gnet_dumph]h gnet_dump}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]jc.gnet_stats_start_copyasbuh1hhjRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRubj9)}(hjh]hd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubj )}(h int padattrh](jM )}(hinth]hint}(hjņhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjӆhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hpadattrh]hpadattr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj+hK`ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj+hK`ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj+hK`hjhhubjg)}(hhh]jl)}(h-start dumping procedure in compatibility modeh]h-start dumping procedure in compatibility mode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chK`hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj+hK`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhjpyhNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` socket buffer to put statistics TLVs into ``int type`` TLV type for top level statistic TLV ``spinlock_t *lock`` statistics lock ``struct gnet_dump *d`` dumping handle ``int padattr`` padding attribute **Description** Initializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS. Returns 0 on success or -1 if the room in the socket buffer was not sufficient.h](jl)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKdhj'ubj)}(hhh](j)}(hB``struct sk_buff *skb`` socket buffer to put statistics TLVs into h](j)}(h``struct sk_buff *skb``h]j)}(hjLh]hstruct sk_buff *skb}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKahjFubj)}(hhh]jl)}(h)socket buffer to put statistics TLVs intoh]h)socket buffer to put statistics TLVs into}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahKahjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahKahjCubj)}(h2``int type`` TLV type for top level statistic TLV h](j)}(h ``int type``h]j)}(hjh]hint type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKbhjubj)}(hhh]jl)}(h$TLV type for top level statistic TLVh]h$TLV type for top level statistic TLV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKbhjCubj)}(h%``spinlock_t *lock`` statistics lock h](j)}(h``spinlock_t *lock``h]j)}(hjh]hspinlock_t *lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKchjubj)}(hhh]jl)}(hstatistics lockh]hstatistics lock}(hjׇhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjӇhKchjԇubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӇhKchjCubj)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjh]hstruct gnet_dump *d}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKdhjubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKdhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKdhjCubj)}(h"``int padattr`` padding attribute h](j)}(h``int padattr``h]j)}(hj0h]h int padattr}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKehj*ubj)}(hhh]jl)}(hpadding attributeh]hpadding attribute}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhKehjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhKehjCubeh}(h]h ]h"]h$]h&]uh1jhj'ubjl)}(h**Description**h]j)}(hjkh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKghj'ubjl)}(hInitializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS.h]hInitializes the dumping handle, grabs the statistic lock and appends an empty TLV header to the socket buffer for use a container for all other statistic TLVS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKfhj'ubjl)}(hOReturns 0 on success or -1 if the room in the socket buffer was not sufficient.h]hOReturns 0 on success or -1 if the room in the socket buffer was not sufficient.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKjhj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjpyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_copy_basic (C function)c.gnet_stats_copy_basichNtauh1hhjpyhhhNhNubh)}(hhh](j)}(hint gnet_stats_copy_basic (struct gnet_dump *d, const struct gnet_stats_basic_sync __percpu *cpu, const struct gnet_stats_basic_sync *b, bool running)h]j )}(hint gnet_stats_copy_basic(struct gnet_dump *d, const struct gnet_stats_basic_sync __percpu *cpu, const struct gnet_stats_basic_sync *b, bool running)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKubj")}(h h]h }(hjΈhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj͈hKubj3)}(hgnet_stats_copy_basich]j9)}(hgnet_stats_copy_basich]hgnet_stats_copy_basic}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj܈ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj͈hKubj )}(h|(struct gnet_dump *d, const struct gnet_stats_basic_sync __percpu *cpu, const struct gnet_stats_basic_sync *b, bool running)h](j )}(hstruct gnet_dump *dh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h gnet_dumph]h gnet_dump}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.gnet_stats_copy_basicasbuh1hhjubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjh]hd}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h0const struct gnet_stats_basic_sync __percpu *cpuh](j)}(hj h]hconst}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubh)}(hhh]j9)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j6c.gnet_stats_copy_basicasbuh1hhjiubj")}(h h]h }(hjĉhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubh__percpu}(hjihhhNhNubj")}(h h]h }(hj։hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj9)}(hcpuh]hcpu}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h%const struct gnet_stats_basic_sync *bh](j)}(hj h]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNj j )}j ]j6c.gnet_stats_copy_basicasbuh1hhjubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbh]hb}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool runningh](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hrunningh]hrunning}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj͈hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj͈hKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj͈hKhjhhubjg)}(hhh]jl)}(h(copy basic statistics into statistic TLVh]h(copy basic statistics into statistic TLV}(hjڊhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj׊hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj͈hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjpyhNhNubj)}(hXx**Parameters** ``struct gnet_dump *d`` dumping handle ``const struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu ``const struct gnet_stats_basic_sync *b`` basic statistics ``bool running`` true if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULL **Context** task; must not be run from IRQ or BH contexts **Description** Appends the basic statistics to the top level TLV created by gnet_stats_start_copy(). Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjh]hstruct gnet_dump *d}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hKhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hKhjubj)}(hL``const struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu h](j)}(h4``const struct gnet_stats_basic_sync __percpu *cpu``h]j)}(hjTh]h0const struct gnet_stats_basic_sync __percpu *cpu}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjNubj)}(hhh]jl)}(hcopy statistic per cpuh]hcopy statistic per cpu}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihKhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihKhjubj)}(h;``const struct gnet_stats_basic_sync *b`` basic statistics h](j)}(h)``const struct gnet_stats_basic_sync *b``h]j)}(hjh]h%const struct gnet_stats_basic_sync *b}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjubj)}(hhh]jl)}(hbasic statisticsh]hbasic statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``bool running`` true if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULL h](j)}(h``bool running``h]j)}(hjƋh]h bool running}(hjȋhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjċubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjubj)}(hhh]jl)}(htrue if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULLh](htrue if }(hjߋhhhNhNubj)}(h**b**h]hb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߋubh" represents a running qdisc, thus }(hjߋhhhNhNubj)}(h**b**h]hb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߋubhC’s internal values might change during basic reads. Only used if }(hjߋhhhNhNubj)}(h**cpu**h]hcpu}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߋubh is NULL}(hjߋhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhj܋ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjۋhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Context**h]j)}(hj8h]hContext}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjubjl)}(h-task; must not be run from IRQ or BH contextsh]h-task; must not be run from IRQ or BH contexts}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjubjl)}(h**Description**h]j)}(hj_h]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjubjl)}(hUAppends the basic statistics to the top level TLV created by gnet_stats_start_copy().h]hUAppends the basic statistics to the top level TLV created by gnet_stats_start_copy().}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjubjl)}(hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h]hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjpyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%gnet_stats_copy_basic_hw (C function)c.gnet_stats_copy_basic_hwhNtauh1hhjpyhhhNhNubh)}(hhh](j)}(hint gnet_stats_copy_basic_hw (struct gnet_dump *d, const struct gnet_stats_basic_sync __percpu *cpu, const struct gnet_stats_basic_sync *b, bool running)h]j )}(hint gnet_stats_copy_basic_hw(struct gnet_dump *d, const struct gnet_stats_basic_sync __percpu *cpu, const struct gnet_stats_basic_sync *b, bool running)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM ubj")}(h h]h }(hjŒhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hgnet_stats_copy_basic_hwh]j9)}(hgnet_stats_copy_basic_hwh]hgnet_stats_copy_basic_hw}(hjԌhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjЌubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h|(struct gnet_dump *d, const struct gnet_stats_basic_sync __percpu *cpu, const struct gnet_stats_basic_sync *b, bool running)h](j )}(hstruct gnet_dump *dh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h gnet_dumph]h gnet_dump}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j֌sbc.gnet_stats_copy_basic_hwasbuh1hhjubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj<hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjh]hd}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h0const struct gnet_stats_basic_sync __percpu *cpuh](j)}(hj h]hconst}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubh)}(hhh]j9)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j*c.gnet_stats_copy_basic_hwasbuh1hhj]ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubh__percpu}(hj]hhhNhNubj")}(h h]h }(hjʍhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj )}(hj h]h*}(hj؍hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj]ubj9)}(hcpuh]hcpu}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h%const struct gnet_stats_basic_sync *bh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]j*c.gnet_stats_copy_basic_hwasbuh1hhjubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hj~h]hb}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool runningh](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hrunningh]hrunning}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h+copy basic hw statistics into statistic TLVh]h+copy basic hw statistics into statistic TLV}(hj͎hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM hjʎhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjpyhNhNubj)}(hXx**Parameters** ``struct gnet_dump *d`` dumping handle ``const struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu ``const struct gnet_stats_basic_sync *b`` basic statistics ``bool running`` true if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULL **Context** task; must not be run from IRQ or BH contexts **Description** Appends the basic statistics to the top level TLV created by gnet_stats_start_copy(). Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjh]hstruct gnet_dump *d}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjubj)}(hL``const struct gnet_stats_basic_sync __percpu *cpu`` copy statistic per cpu h](j)}(h4``const struct gnet_stats_basic_sync __percpu *cpu``h]j)}(hjGh]h0const struct gnet_stats_basic_sync __percpu *cpu}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjAubj)}(hhh]jl)}(hcopy statistic per cpuh]hcopy statistic per cpu}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubj)}(h;``const struct gnet_stats_basic_sync *b`` basic statistics h](j)}(h)``const struct gnet_stats_basic_sync *b``h]j)}(hjh]h%const struct gnet_stats_basic_sync *b}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjzubj)}(hhh]jl)}(hbasic statisticsh]hbasic statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``bool running`` true if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULL h](j)}(h``bool running``h]j)}(hjh]h bool running}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubj)}(hhh]jl)}(htrue if **b** represents a running qdisc, thus **b**'s internal values might change during basic reads. Only used if **cpu** is NULLh](htrue if }(hjҏhhhNhNubj)}(h**b**h]hb}(hjڏhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҏubh" represents a running qdisc, thus }(hjҏhhhNhNubj)}(h**b**h]hb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҏubhC’s internal values might change during basic reads. Only used if }(hjҏhhhNhNubj)}(h**cpu**h]hcpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҏubh is NULL}(hjҏhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjϏubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjΏhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Context**h]j)}(hj+h]hContext}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubjl)}(h-task; must not be run from IRQ or BH contextsh]h-task; must not be run from IRQ or BH contexts}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubjl)}(h**Description**h]j)}(hjRh]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubjl)}(hUAppends the basic statistics to the top level TLV created by gnet_stats_start_copy().h]hUAppends the basic statistics to the top level TLV created by gnet_stats_start_copy().}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubjl)}(hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h]hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjpyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%gnet_stats_copy_rate_est (C function)c.gnet_stats_copy_rate_esthNtauh1hhjpyhhhNhNubh)}(hhh](j)}(h^int gnet_stats_copy_rate_est (struct gnet_dump *d, struct net_rate_estimator __rcu **rate_est)h]j )}(h]int gnet_stats_copy_rate_est(struct gnet_dump *d, struct net_rate_estimator __rcu **rate_est)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM(ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM(ubj3)}(hgnet_stats_copy_rate_esth]j9)}(hgnet_stats_copy_rate_esth]hgnet_stats_copy_rate_est}(hjǐhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjÐubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM(ubj )}(hA(struct gnet_dump *d, struct net_rate_estimator __rcu **rate_est)h](j )}(hstruct gnet_dump *dh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjߐubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjߐubh)}(hhh]j9)}(h gnet_dumph]h gnet_dump}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jɐsbc.gnet_stats_copy_rate_estasbuh1hhjߐubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjߐubj )}(hj h]h*}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjߐubj9)}(hjh]hd}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjߐubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjېubj )}(h*struct net_rate_estimator __rcu **rate_esth](j)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]jc.gnet_stats_copy_rate_estasbuh1hhjPubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh__rcu}(hjPhhhNhNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hrate_esth]hrate_est}(hjʑhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjېubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM(ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM(ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM(hjhhubjg)}(hhh]jl)}(h2copy rate estimator statistics into statistics TLVh]h2copy rate estimator statistics into statistics TLV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM(hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjpyhNhNubj)}(hX\**Parameters** ``struct gnet_dump *d`` dumping handle ``struct net_rate_estimator __rcu **rate_est`` rate estimator **Description** Appends the rate estimator statistics to the top level TLV created by gnet_stats_start_copy(). Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM,hjubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hj5h]hstruct gnet_dump *d}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM)hj/ubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhM)hjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhM)hj,ubj)}(h>``struct net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjnh]h*struct net_rate_estimator __rcu **rate_est}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM*hjhubj)}(hhh]jl)}(hrate estimatorh]hrate estimator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM*hjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhM*hj,ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM,hjubjl)}(h^Appends the rate estimator statistics to the top level TLV created by gnet_stats_start_copy().h]h^Appends the rate estimator statistics to the top level TLV created by gnet_stats_start_copy().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM+hjubjl)}(hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h]hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.}(hjΒhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM.hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjpyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gnet_stats_copy_queue (C function)c.gnet_stats_copy_queuehNtauh1hhjpyhhhNhNubh)}(hhh](j)}(hint gnet_stats_copy_queue (struct gnet_dump *d, const struct gnet_stats_queue __percpu *cpu_q, const struct gnet_stats_queue *q, __u32 qlen)h]j )}(hint gnet_stats_copy_queue(struct gnet_dump *d, const struct gnet_stats_queue __percpu *cpu_q, const struct gnet_stats_queue *q, __u32 qlen)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMtubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMtubj3)}(hgnet_stats_copy_queueh]j9)}(hgnet_stats_copy_queueh]hgnet_stats_copy_queue}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMtubj )}(hr(struct gnet_dump *d, const struct gnet_stats_queue __percpu *cpu_q, const struct gnet_stats_queue *q, __u32 qlen)h](j )}(hstruct gnet_dump *dh](j)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubh)}(hhh]j9)}(h gnet_dumph]h gnet_dump}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j )}j j sbc.gnet_stats_copy_queueasbuh1hhj6ubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hjh]hd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubj )}(h-const struct gnet_stats_queue __percpu *cpu_qh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjƓhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjӓhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hgnet_stats_queueh]hgnet_stats_queue}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jtc.gnet_stats_copy_queueasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh__percpu}(hjhhhNhNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hcpu_qh]hcpu_q}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubj )}(h const struct gnet_stats_queue *qh](j)}(hj h]hconst}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubh)}(hhh]j9)}(hgnet_stats_queueh]hgnet_stats_queue}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jtc.gnet_stats_copy_queueasbuh1hhjDubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj9)}(hqh]hq}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubj )}(h __u32 qlenh](h)}(hhh]j9)}(h__u32h]h__u32}(hj֔hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjӔubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjؔmodnameN classnameNj j )}j ]jtc.gnet_stats_copy_queueasbuh1hhjϔubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjϔubj9)}(hqlenh]hqlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjϔubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hMtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj hMtubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMthjhhubjg)}(hhh]jl)}(h)copy queue statistics into statistics TLVh]h)copy queue statistics into statistics TLV}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMthj)hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhjpyhNhNubj)}(hX**Parameters** ``struct gnet_dump *d`` dumping handle ``const struct gnet_stats_queue __percpu *cpu_q`` per cpu queue statistics ``const struct gnet_stats_queue *q`` queue statistics ``__u32 qlen`` queue length statistics **Description** Appends the queue statistics to the top level TLV created by gnet_stats_start_copy(). Using per cpu queue statistics if they are available. Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h](jl)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMxhjHubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjmh]hstruct gnet_dump *d}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMuhjgubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMuhjdubj)}(hK``const struct gnet_stats_queue __percpu *cpu_q`` per cpu queue statistics h](j)}(h1``const struct gnet_stats_queue __percpu *cpu_q``h]j)}(hjh]h-const struct gnet_stats_queue __percpu *cpu_q}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMvhjubj)}(hhh]jl)}(hper cpu queue statisticsh]hper cpu queue statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjdubj)}(h6``const struct gnet_stats_queue *q`` queue statistics h](j)}(h$``const struct gnet_stats_queue *q``h]j)}(hjߕh]h const struct gnet_stats_queue *q}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݕubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMwhjٕubj)}(hhh]jl)}(hqueue statisticsh]hqueue statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjٕubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjdubj)}(h'``__u32 qlen`` queue length statistics h](j)}(h``__u32 qlen``h]j)}(hjh]h __u32 qlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMxhjubj)}(hhh]jl)}(hqueue length statisticsh]hqueue length statistics}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMxhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMxhjdubeh}(h]h ]h"]h$]h&]uh1jhjHubjl)}(h**Description**h]j)}(hjSh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMzhjHubjl)}(hAppends the queue statistics to the top level TLV created by gnet_stats_start_copy(). Using per cpu queue statistics if they are available.h]hAppends the queue statistics to the top level TLV created by gnet_stats_start_copy(). Using per cpu queue statistics if they are available.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMyhjHubjl)}(hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h]hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chM}hjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjpyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h gnet_stats_copy_app (C function)c.gnet_stats_copy_apphNtauh1hhjpyhhhNhNubh)}(hhh](j)}(h@int gnet_stats_copy_app (struct gnet_dump *d, void *st, int len)h]j )}(h?int gnet_stats_copy_app(struct gnet_dump *d, void *st, int len)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hgnet_stats_copy_apph]j9)}(hgnet_stats_copy_apph]hgnet_stats_copy_app}(hjȖhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjĖubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h((struct gnet_dump *d, void *st, int len)h](j )}(hstruct gnet_dump *dh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h gnet_dumph]h gnet_dump}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jʖsbc.gnet_stats_copy_appasbuh1hhjubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjh]hd}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjܖubj )}(hvoid *sth](jM )}(hvoidh]hvoid}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(hsth]hst}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjܖubj )}(hint lenh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjܖubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h8copy application specific statistics into statistics TLVh]h8copy application specific statistics into statistics TLV}(hjݗhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjڗhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjpyhNhNubj)}(hX**Parameters** ``struct gnet_dump *d`` dumping handle ``void *st`` application specific statistics data ``int len`` length of data **Description** Appends the application specific statistics to the top level TLV created by gnet_stats_start_copy() and remembers the data for XSTATS if the dumping handle is in backward compatibility mode. Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubj)}(hhh](j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjh]hstruct gnet_dump *d}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(h2``void *st`` application specific statistics data h](j)}(h ``void *st``h]j)}(hjWh]hvoid *st}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjQubj)}(hhh]jl)}(h$application specific statistics datah]h$application specific statistics data}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubj)}(h``int len`` length of data h](j)}(h ``int len``h]j)}(hjh]hint len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubj)}(hhh]jl)}(hlength of datah]hlength of data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj˘h]h Description}(hj͘hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɘubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubjl)}(hAppends the application specific statistics to the top level TLV created by gnet_stats_start_copy() and remembers the data for XSTATS if the dumping handle is in backward compatibility mode.h]hAppends the application specific statistics to the top level TLV created by gnet_stats_start_copy() and remembers the data for XSTATS if the dumping handle is in backward compatibility mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubjl)}(hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h]hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjpyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#gnet_stats_finish_copy (C function)c.gnet_stats_finish_copyhNtauh1hhjpyhhhNhNubh)}(hhh](j)}(h0int gnet_stats_finish_copy (struct gnet_dump *d)h]j )}(h/int gnet_stats_finish_copy(struct gnet_dump *d)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj-hMubj3)}(hgnet_stats_finish_copyh]j9)}(hgnet_stats_finish_copyh]hgnet_stats_finish_copy}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj-hMubj )}(h(struct gnet_dump *d)h]j )}(hstruct gnet_dump *dh](j)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubh)}(hhh]j9)}(h gnet_dumph]h gnet_dump}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNj j )}j ]j )}j jBsbc.gnet_stats_finish_copyasbuh1hhjXubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXubj9)}(hjh]hd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj-hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj-hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj-hMhjhhubjg)}(hhh]jl)}(hfinish dumping procedureh]hfinish dumping procedure}(hjޙhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjۙhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj-hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjpyhNhNubj)}(hX**Parameters** ``struct gnet_dump *d`` dumping handle **Description** Corrects the length of the top level TLV to include all TLVs added by gnet_stats_copy_XXX() calls. Adds the backward compatibility TLVs if gnet_stats_start_copy_compat() was used and releases the statistics lock. Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubj)}(hhh]j)}(h'``struct gnet_dump *d`` dumping handle h](j)}(h``struct gnet_dump *d``h]j)}(hjh]hstruct gnet_dump *d}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubj)}(hhh]jl)}(hdumping handleh]hdumping handle}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjZh]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubjl)}(hCorrects the length of the top level TLV to include all TLVs added by gnet_stats_copy_XXX() calls. Adds the backward compatibility TLVs if gnet_stats_start_copy_compat() was used and releases the statistics lock.h]hCorrects the length of the top level TLV to include all TLVs added by gnet_stats_copy_XXX() calls. Adds the backward compatibility TLVs if gnet_stats_start_copy_compat() was used and releases the statistics lock.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubjl)}(hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.h]hpReturns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:50: ./net/core/gen_stats.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjpyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgen_new_estimator (C function)c.gen_new_estimatorhNtauh1hhjpyhhhNhNubh)}(hhh](j)}(hint gen_new_estimator (struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h]j )}(hint gen_new_estimator(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKqubj3)}(hgen_new_estimatorh]j9)}(hgen_new_estimatorh]hgen_new_estimator}(hjϚhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj˚ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKqubj )}(h(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h](j )}(h$struct gnet_stats_basic_sync *bstatsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jњsbc.gen_new_estimatorasbuh1hhjubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbstatsh]hbstats}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h1struct gnet_stats_basic_sync __percpu *cpu_bstatsh](j)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubh)}(hhh]j9)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNj j )}j ]j%c.gen_new_estimatorasbuh1hhjYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubh__percpu}(hjYhhhNhNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(h cpu_bstatsh]h cpu_bstats}(hjƛhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h*struct net_rate_estimator __rcu **rate_esth](j)}(hjh]hstruct}(hjߛhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjۛubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjۛubh)}(hhh]j9)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j%c.gen_new_estimatorasbuh1hhjۛubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjۛubh__rcu}(hjۛhhhNhNubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjۛubj )}(hj h]h*}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjۛubj )}(hj h]h*}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjۛubj9)}(hrate_esth]hrate_est}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjۛubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hspinlock_t *lockh](h)}(hhh]j9)}(h spinlock_th]h spinlock_t}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]j%c.gen_new_estimatorasbuh1hhjjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj9)}(hlockh]hlock}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool runningh](jM )}(hjh]hbool}(hjÜhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjМhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hrunningh]hrunning}(hjޜhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct nlattr *opth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hnlattrh]hnlattr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j%c.gen_new_estimatorasbuh1hhjubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hopth]hopt}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKqubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKqubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKqhjhhubjg)}(hhh]jl)}(hcreate a new rate estimatorh]hcreate a new rate estimator}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKqhjuhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjpyhNhNubj)}(hX**Parameters** ``struct gnet_stats_basic_sync *bstats`` basic statistics ``struct gnet_stats_basic_sync __percpu *cpu_bstats`` bstats per cpu ``struct net_rate_estimator __rcu **rate_est`` rate estimator statistics ``spinlock_t *lock`` lock for statistics and control path ``bool running`` true if **bstats** represents a running qdisc, thus **bstats**' internal values might change during basic reads. Only used if **bstats_cpu** is NULL ``struct nlattr *opt`` rate estimator configuration TLV **Description** Creates a new rate estimator with :c:type:`bstats` as source and :c:type:`rate_est` as destination. A new timer with the interval specified in the configuration TLV is created. Upon each interval, the latest statistics will be read from :c:type:`bstats` and the estimated rate will be stored in :c:type:`rate_est` with the statistics lock grabbed during this period. Returns 0 on success or a negative error code.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKuhjubj)}(hhh](j)}(h:``struct gnet_stats_basic_sync *bstats`` basic statistics h](j)}(h(``struct gnet_stats_basic_sync *bstats``h]j)}(hjh]h$struct gnet_stats_basic_sync *bstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKrhjubj)}(hhh]jl)}(hbasic statisticsh]hbasic statistics}(hjҝhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjΝhKrhjϝubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjΝhKrhjubj)}(hE``struct gnet_stats_basic_sync __percpu *cpu_bstats`` bstats per cpu h](j)}(h5``struct gnet_stats_basic_sync __percpu *cpu_bstats``h]j)}(hjh]h1struct gnet_stats_basic_sync __percpu *cpu_bstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKshjubj)}(hhh]jl)}(hbstats per cpuh]hbstats per cpu}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKshjubj)}(hI``struct net_rate_estimator __rcu **rate_est`` rate estimator statistics h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hj+h]h*struct net_rate_estimator __rcu **rate_est}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKthj%ubj)}(hhh]jl)}(hrate estimator statisticsh]hrate estimator statistics}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hKthjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hKthjubj)}(h:``spinlock_t *lock`` lock for statistics and control path h](j)}(h``spinlock_t *lock``h]j)}(hjdh]hspinlock_t *lock}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKuhj^ubj)}(hhh]jl)}(h$lock for statistics and control pathh]h$lock for statistics and control path}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhKuhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhKuhjubj)}(h``bool running`` true if **bstats** represents a running qdisc, thus **bstats**' internal values might change during basic reads. Only used if **bstats_cpu** is NULL h](j)}(h``bool running``h]j)}(hjh]h bool running}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKxhjubj)}(hhh]jl)}(htrue if **bstats** represents a running qdisc, thus **bstats**' internal values might change during basic reads. Only used if **bstats_cpu** is NULLh](htrue if }(hjhhhNhNubj)}(h **bstats**h]hbstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" represents a running qdisc, thus }(hjhhhNhNubj)}(h **bstats**h]hbstats}(hjОhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB’ internal values might change during basic reads. Only used if }(hjhhhNhNubj)}(h**bstats_cpu**h]h bstats_cpu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is NULL}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKxhjubj)}(h8``struct nlattr *opt`` rate estimator configuration TLV h](j)}(h``struct nlattr *opt``h]j)}(hj h]hstruct nlattr *opt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKyhjubj)}(hhh]jl)}(h rate estimator configuration TLVh]h rate estimator configuration TLV}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hKyhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hKyhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjHh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chK{hjubjl)}(hXnCreates a new rate estimator with :c:type:`bstats` as source and :c:type:`rate_est` as destination. A new timer with the interval specified in the configuration TLV is created. Upon each interval, the latest statistics will be read from :c:type:`bstats` and the estimated rate will be stored in :c:type:`rate_est` with the statistics lock grabbed during this period.h](h"Creates a new rate estimator with }(hj^hhhNhNubh)}(h:c:type:`bstats`h]j)}(hjhh]hbstats}(hjjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjbstatsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKzhj^ubh as source and }(hj^hhhNhNubh)}(h:c:type:`rate_est`h]j)}(hjh]hrate_est}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjrate_estuh1hhjhKzhj^ubh as destination. A new timer with the interval specified in the configuration TLV is created. Upon each interval, the latest statistics will be read from }(hj^hhhNhNubh)}(h:c:type:`bstats`h]j)}(hjh]hbstats}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjbstatsuh1hhjhKzhj^ubh* and the estimated rate will be stored in }(hj^hhhNhNubh)}(h:c:type:`rate_est`h]j)}(hjҟh]hrate_est}(hjԟhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjПubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjrate_estuh1hhjhKzhj^ubh5 with the statistics lock grabbed during this period.}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhKzhjubjl)}(h.Returns 0 on success or a negative error code.h]h.Returns 0 on success or a negative error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjpyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgen_kill_estimator (C function)c.gen_kill_estimatorhNtauh1hhjpyhhhNhNubh)}(hhh](j)}(hDvoid gen_kill_estimator (struct net_rate_estimator __rcu **rate_est)h]j )}(hCvoid gen_kill_estimator(struct net_rate_estimator __rcu **rate_est)h](.jM )}(hvoidh]hvoid}(hj(hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$hhhj6hKubj3)}(hgen_kill_estimatorh]j9)}(hgen_kill_estimatorh]hgen_kill_estimator}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$hhhj6hKubj )}(h,(struct net_rate_estimator __rcu **rate_est)h]j )}(h*struct net_rate_estimator __rcu **rate_esth](j)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubh)}(hhh]j9)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jKsbc.gen_kill_estimatorasbuh1hhjaubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubh__rcu}(hjahhhNhNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj )}(hj h]h*}(hjàhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaubj )}(hj h]h*}(hjРhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaubj9)}(hrate_esth]hrate_est}(hjݠhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubah}(h]h ]h"]h$]h&]jPjQuh1j hj$hhhj6hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj6hKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6hKhjhhubjg)}(hhh]jl)}(hremove a rate estimatorh]hremove a rate estimator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj6hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjpyhNhNubj)}(h}**Parameters** ``struct net_rate_estimator __rcu **rate_est`` rate estimator **Description** Removes the rate estimator.h](jl)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj#ubj)}(hhh]j)}(h>``struct net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjHh]h*struct net_rate_estimator __rcu **rate_est}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjBubj)}(hhh]jl)}(hrate estimatorh]hrate estimator}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hKhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hKhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj#ubjl)}(hRemoves the rate estimator.h]hRemoves the rate estimator.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjpyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"gen_replace_estimator (C function)c.gen_replace_estimatorhNtauh1hhjpyhhhNhNubh)}(hhh](j)}(hint gen_replace_estimator (struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h]j )}(hint gen_replace_estimator(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h](jM )}(hinth]hint}(hjȡhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjġhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKubj")}(h h]h }(hjסhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjġhhhj֡hKubj3)}(hgen_replace_estimatorh]j9)}(hgen_replace_estimatorh]hgen_replace_estimator}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjġhhhj֡hKubj )}(h(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt)h](j )}(h$struct gnet_stats_basic_sync *bstatsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j )}j jsbc.gen_replace_estimatorasbuh1hhjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbstatsh]hbstats}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h1struct gnet_stats_basic_sync __percpu *cpu_bstatsh](j)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubh)}(hhh]j9)}(hgnet_stats_basic_synch]hgnet_stats_basic_sync}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j?c.gen_replace_estimatorasbuh1hhjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubh__percpu}(hjshhhNhNubj")}(h h]h }(hjŢhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h*}(hjӢhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(h cpu_bstatsh]h cpu_bstats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h*struct net_rate_estimator __rcu **rate_esth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j?c.gen_replace_estimatorasbuh1hhjubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh__rcu}(hjhhhNhNubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hrate_esth]hrate_est}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hspinlock_t *lockh](h)}(hhh]j9)}(h spinlock_th]h spinlock_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j?c.gen_replace_estimatorasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hlockh]hlock}(hjģhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool runningh](jM )}(hjh]hbool}(hjݣhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj٣ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj٣ubj9)}(hrunningh]hrunning}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj٣ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct nlattr *opth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hnlattrh]hnlattr}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j?c.gen_replace_estimatorasbuh1hhj ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hopth]hopt}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjġhhhj֡hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj֡hKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj֡hKhjhhubjg)}(hhh]jl)}(h$replace rate estimator configurationh]h$replace rate estimator configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj֡hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjpyhNhNubj)}(hX**Parameters** ``struct gnet_stats_basic_sync *bstats`` basic statistics ``struct gnet_stats_basic_sync __percpu *cpu_bstats`` bstats per cpu ``struct net_rate_estimator __rcu **rate_est`` rate estimator statistics ``spinlock_t *lock`` lock for statistics and control path ``bool running`` true if **bstats** represents a running qdisc, thus **bstats**' internal values might change during basic reads. Only used if **cpu_bstats** is NULL ``struct nlattr *opt`` rate estimator configuration TLV **Description** Replaces the configuration of a rate estimator by calling gen_kill_estimator() and gen_new_estimator(). Returns 0 on success or a negative error code.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh](j)}(h:``struct gnet_stats_basic_sync *bstats`` basic statistics h](j)}(h(``struct gnet_stats_basic_sync *bstats``h]j)}(hjӤh]h$struct gnet_stats_basic_sync *bstats}(hjդhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѤubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjͤubj)}(hhh]jl)}(hbasic statisticsh]hbasic statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjͤubeh}(h]h ]h"]h$]h&]uh1jhjhKhjʤubj)}(hE``struct gnet_stats_basic_sync __percpu *cpu_bstats`` bstats per cpu h](j)}(h5``struct gnet_stats_basic_sync __percpu *cpu_bstats``h]j)}(hj h]h1struct gnet_stats_basic_sync __percpu *cpu_bstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh]jl)}(hbstats per cpuh]hbstats per cpu}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hKhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hKhjʤubj)}(hI``struct net_rate_estimator __rcu **rate_est`` rate estimator statistics h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjEh]h*struct net_rate_estimator __rcu **rate_est}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj?ubj)}(hhh]jl)}(hrate estimator statisticsh]hrate estimator statistics}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhKhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhKhjʤubj)}(h:``spinlock_t *lock`` lock for statistics and control path h](j)}(h``spinlock_t *lock``h]j)}(hj~h]hspinlock_t *lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjxubj)}(hhh]jl)}(h$lock for statistics and control pathh]h$lock for statistics and control path}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhKhjʤubj)}(h``bool running`` true if **bstats** represents a running qdisc, thus **bstats**' internal values might change during basic reads. Only used if **cpu_bstats** is NULL h](j)}(h``bool running``h]j)}(hjh]h bool running}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh]jl)}(htrue if **bstats** represents a running qdisc, thus **bstats**' internal values might change during basic reads. Only used if **cpu_bstats** is NULLh](htrue if }(hjХhhhNhNubj)}(h **bstats**h]hbstats}(hjإhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjХubh" represents a running qdisc, thus }(hjХhhhNhNubj)}(h **bstats**h]hbstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjХubhB’ internal values might change during basic reads. Only used if }(hjХhhhNhNubj)}(h**cpu_bstats**h]h cpu_bstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjХubh is NULL}(hjХhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjͥubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̥hKhjʤubj)}(h8``struct nlattr *opt`` rate estimator configuration TLV h](j)}(h``struct nlattr *opt``h]j)}(hj'h]hstruct nlattr *opt}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhj!ubj)}(hhh]jl)}(h rate estimator configuration TLVh]h rate estimator configuration TLV}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hKhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hKhjʤubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjbh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubjl)}(hgReplaces the configuration of a rate estimator by calling gen_kill_estimator() and gen_new_estimator().h]hgReplaces the configuration of a rate estimator by calling gen_kill_estimator() and gen_new_estimator().}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubjl)}(h.Returns 0 on success or a negative error code.h]h.Returns 0 on success or a negative error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjpyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!gen_estimator_active (C function)c.gen_estimator_activehNtauh1hhjpyhhhNhNubh)}(hhh](j)}(hFbool gen_estimator_active (struct net_rate_estimator __rcu **rate_est)h]j )}(hEbool gen_estimator_active(struct net_rate_estimator __rcu **rate_est)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKubj")}(h h]h }(hjĦhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjæhKubj3)}(hgen_estimator_activeh]j9)}(hgen_estimator_activeh]hgen_estimator_active}(hj֦hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjҦubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjæhKubj )}(h,(struct net_rate_estimator __rcu **rate_est)h]j )}(h*struct net_rate_estimator __rcu **rate_esth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hnet_rate_estimatorh]hnet_rate_estimator}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jئsbc.gen_estimator_activeasbuh1hhjubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh__rcu}(hjhhhNhNubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hrate_esth]hrate_est}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjæhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjæhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjæhKhjhhubjg)}(hhh]jl)}(h%test if estimator is currently in useh]h%test if estimator is currently in use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjæhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjpyhNhNubj)}(h**Parameters** ``struct net_rate_estimator __rcu **rate_est`` rate estimator **Description** Returns true if estimator is active, and false if not.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubj)}(hhh]j)}(h>``struct net_rate_estimator __rcu **rate_est`` rate estimator h](j)}(h.``struct net_rate_estimator __rcu **rate_est``h]j)}(hjէh]h*struct net_rate_estimator __rcu **rate_est}(hjקhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӧubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjϧubj)}(hhh]jl)}(hrate estimatorh]hrate estimator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjϧubeh}(h]h ]h"]h$]h&]uh1jhjhKhj̧ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubjl)}(h6Returns true if estimator is active, and false if not.h]h6Returns true if estimator is active, and false if not.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:53: ./net/core/gen_estimator.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjpyhhhNhNubeh}(h]generic-network-statisticsah ]h"]generic network statisticsah$]h&]uh1hhhhhhhhK-ubh)}(hhh](h)}(hSUN RPC subsystemh]hSUN RPC subsystem}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhhhhhK9ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xdr_encode_opaque_fixed (C function)c.xdr_encode_opaque_fixedhNtauh1hhjDhhhNhNubh)}(hhh](j)}(hR__be32 * xdr_encode_opaque_fixed (__be32 *p, const void *ptr, unsigned int nbytes)h]j )}(hP__be32 *xdr_encode_opaque_fixed(__be32 *p, const void *ptr, unsigned int nbytes)h](h)}(hhh]j9)}(h__be32h]h__be32}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]j )}j xdr_encode_opaque_fixedsbc.xdr_encode_opaque_fixedasbuh1hhjjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK)ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjhhhjhK)ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjhhhjhK)ubj3)}(hxdr_encode_opaque_fixedh]j9)}(hjh]hxdr_encode_opaque_fixed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjjhhhjhK)ubj )}(h1(__be32 *p, const void *ptr, unsigned int nbytes)h](j )}(h __be32 *ph](h)}(hhh]j9)}(h__be32h]h__be32}(hjШhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjͨubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjҨmodnameN classnameNj j )}j ]jc.xdr_encode_opaque_fixedasbuh1hhjɨubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjɨubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjɨubj9)}(hj h]hp}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjɨubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjŨubj )}(hconst void *ptrh](j)}(hj h]hconst}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hvoidh]hvoid}(hj<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hptrh]hptr}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjŨubj )}(hunsigned int nbytesh](jM )}(hunsignedh]hunsigned}(hj~hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj9)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjŨubeh}(h]h ]h"]h$]h&]jPjQuh1j hjjhhhjhK)ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjfhhhjhK)ubah}(h]jaah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhK)hjchhubjg)}(hhh]jl)}(hEncode fixed length opaque datah]hEncode fixed length opaque data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK)hjݩhhubah}(h]h ]h"]h$]h&]uh1jfhjchhhjhK)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``__be32 *p`` pointer to current position in XDR buffer. ``const void *ptr`` pointer to data to encode (or NULL) ``unsigned int nbytes`` size of data. **Description** Copy the array of data of length nbytes at ptr to the XDR buffer at position p, then align to the next 32-bit boundary by padding with zero bytes (see RFC1832). **Note** if ptr is NULL, only the padding is performed. Returns the updated current XDR buffer positionh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK-hjubj)}(hhh](j)}(h9``__be32 *p`` pointer to current position in XDR buffer. h](j)}(h ``__be32 *p``h]j)}(hj!h]h __be32 *p}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK*hjubj)}(hhh]jl)}(h*pointer to current position in XDR buffer.h]h*pointer to current position in XDR buffer.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hK*hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hK*hjubj)}(h8``const void *ptr`` pointer to data to encode (or NULL) h](j)}(h``const void *ptr``h]j)}(hjZh]hconst void *ptr}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK+hjTubj)}(hhh]jl)}(h#pointer to data to encode (or NULL)h]h#pointer to data to encode (or NULL)}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohK+hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohK+hjubj)}(h&``unsigned int nbytes`` size of data. h](j)}(h``unsigned int nbytes``h]j)}(hjh]hunsigned int nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK,hjubj)}(hhh]jl)}(h size of data.h]h size of data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK,hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjΪh]h Description}(hjЪhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̪ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK.hjubjl)}(hCopy the array of data of length nbytes at ptr to the XDR buffer at position p, then align to the next 32-bit boundary by padding with zero bytes (see RFC1832).h]hCopy the array of data of length nbytes at ptr to the XDR buffer at position p, then align to the next 32-bit boundary by padding with zero bytes (see RFC1832).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK-hjubjl)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK1hjubjl)}(h.if ptr is NULL, only the padding is performed.h]h.if ptr is NULL, only the padding is performed.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK1hjubjl)}(h/Returns the updated current XDR buffer positionh]h/Returns the updated current XDR buffer position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK3hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_encode_opaque (C function)c.xdr_encode_opaquehNtauh1hhjDhhhNhNubh)}(hhh](j)}(hL__be32 * xdr_encode_opaque (__be32 *p, const void *ptr, unsigned int nbytes)h]j )}(hJ__be32 *xdr_encode_opaque(__be32 *p, const void *ptr, unsigned int nbytes)h](h)}(hhh]j9)}(h__be32h]h__be32}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNj j )}j ]j )}j xdr_encode_opaquesbc.xdr_encode_opaqueasbuh1hhjEhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKGubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEhhhjmhKGubj )}(hj h]h*}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEhhhjmhKGubj3)}(hxdr_encode_opaqueh]j9)}(hjjh]hxdr_encode_opaque}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjEhhhjmhKGubj )}(h1(__be32 *p, const void *ptr, unsigned int nbytes)h](j )}(h __be32 *ph](h)}(hhh]j9)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jhc.xdr_encode_opaqueasbuh1hhjubj")}(h h]h }(hjɫhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj׫hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hj h]hp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst void *ptrh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hptrh]hptr}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int nbytesh](jM )}(hunsignedh]hunsigned}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubjM )}(hinth]hint}(hjuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj9)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjEhhhjmhKGubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAhhhjmhKGubah}(h]j<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhKGhj>hhubjg)}(hhh]jl)}(h"Encode variable length opaque datah]h"Encode variable length opaque data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKGhjhhubah}(h]h ]h"]h$]h&]uh1jfhj>hhhjmhKGubeh}(h]h ](jfunctioneh"]h$]h&]jjjjӬjjӬjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``__be32 *p`` pointer to current position in XDR buffer. ``const void *ptr`` pointer to data to encode (or NULL) ``unsigned int nbytes`` size of data. **Description** Returns the updated current XDR buffer positionh](jl)}(h**Parameters**h]j)}(hjݬh]h Parameters}(hj߬hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj۬ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKKhj׬ubj)}(hhh](j)}(h9``__be32 *p`` pointer to current position in XDR buffer. h](j)}(h ``__be32 *p``h]j)}(hjh]h __be32 *p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKHhjubj)}(hhh]jl)}(h*pointer to current position in XDR buffer.h]h*pointer to current position in XDR buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKHhjubj)}(h8``const void *ptr`` pointer to data to encode (or NULL) h](j)}(h``const void *ptr``h]j)}(hj5h]hconst void *ptr}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKIhj/ubj)}(hhh]jl)}(h#pointer to data to encode (or NULL)h]h#pointer to data to encode (or NULL)}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhKIhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhKIhjubj)}(h&``unsigned int nbytes`` size of data. h](j)}(h``unsigned int nbytes``h]j)}(hjnh]hunsigned int nbytes}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKJhjhubj)}(hhh]jl)}(h size of data.h]h size of data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKJhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhKJhjubeh}(h]h ]h"]h$]h&]uh1jhj׬ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKLhj׬ubjl)}(h/Returns the updated current XDR buffer positionh]h/Returns the updated current XDR buffer position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKKhj׬ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!xdr_terminate_string (C function)c.xdr_terminate_stringhNtauh1hhjDhhhNhNubh)}(hhh](j)}(hDvoid xdr_terminate_string (const struct xdr_buf *buf, const u32 len)h]j )}(hCvoid xdr_terminate_string(const struct xdr_buf *buf, const u32 len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK]ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhK]ubj3)}(hxdr_terminate_stringh]j9)}(hxdr_terminate_stringh]hxdr_terminate_string}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhK]ubj )}(h*(const struct xdr_buf *buf, const u32 len)h](j )}(hconst struct xdr_buf *bufh](j)}(hj h]hconst}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNj j )}j ]j )}j jsbc.xdr_terminate_stringasbuh1hhj'ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubj )}(h const u32 lenh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjŮhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu32h]hu32}(hj֮hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjӮubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjخmodnameN classnameNj j )}j ]jc.xdr_terminate_stringasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj#ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhK]ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhK]ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhK]hjhhubjg)}(hhh]jl)}(h.'\0'-terminate a string residing in an xdr_bufh]h2‘0’-terminate a string residing in an xdr_buf}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK]hj)hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhK]ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``const struct xdr_buf *buf`` XDR buffer where string resides ``const u32 len`` length of string, in bytesh](jl)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKahjHubj)}(hhh](j)}(h>``const struct xdr_buf *buf`` XDR buffer where string resides h](j)}(h``const struct xdr_buf *buf``h]j)}(hjmh]hconst struct xdr_buf *buf}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK^hjgubj)}(hhh]jl)}(hXDR buffer where string residesh]hXDR buffer where string resides}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK^hjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhK^hjdubj)}(h,``const u32 len`` length of string, in bytesh](j)}(h``const u32 len``h]j)}(hjh]h const u32 len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK`hjubj)}(hhh]jl)}(hlength of string, in bytesh]hlength of string, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chK_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK`hjdubeh}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_to_bvec (C function)c.xdr_buf_to_bvechNtauh1hhjDhhhNhNubh)}(hhh](j)}(h]int xdr_buf_to_bvec (struct bio_vec *bvec, unsigned int bvec_size, const struct xdr_buf *xdr)h]j )}(h\int xdr_buf_to_bvec(struct bio_vec *bvec, unsigned int bvec_size, const struct xdr_buf *xdr)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hxdr_buf_to_bvech]j9)}(hxdr_buf_to_bvech]hxdr_buf_to_bvec}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(hI(struct bio_vec *bvec, unsigned int bvec_size, const struct xdr_buf *xdr)h](j )}(hstruct bio_vec *bvech](j)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubh)}(hhh]j9)}(hbio_vech]hbio_vec}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNj j )}j ]j )}j j#sbc.xdr_buf_to_bvecasbuh1hhj9ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj9)}(hbvech]hbvec}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(hunsigned int bvec_sizeh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj˰hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjٰhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h bvec_sizeh]h bvec_size}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubj )}(hconst struct xdr_buf *xdrh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]jwc.xdr_buf_to_bvecasbuh1hhjubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h2Copy components of an xdr_buf into a bio_vec arrayh]h2Copy components of an xdr_buf into a bio_vec array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hXL**Parameters** ``struct bio_vec *bvec`` bio_vec array to populate ``unsigned int bvec_size`` element count of **bvec** ``const struct xdr_buf *xdr`` xdr_buf to be copied **Description** Returns the number of entries consumed in **bvec** on success, or -ESERVERFAULT when **xdr** does not fit within **bvec_size** entries.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh](j)}(h3``struct bio_vec *bvec`` bio_vec array to populate h](j)}(h``struct bio_vec *bvec``h]j)}(hjݱh]hstruct bio_vec *bvec}(hj߱hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj۱ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjױubj)}(hhh]jl)}(hbio_vec array to populateh]hbio_vec array to populate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjױubeh}(h]h ]h"]h$]h&]uh1jhjhKhjԱubj)}(h5``unsigned int bvec_size`` element count of **bvec** h](j)}(h``unsigned int bvec_size``h]j)}(hjh]hunsigned int bvec_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh]jl)}(helement count of **bvec**h](helement count of }(hj/hhhNhNubj)}(h**bvec**h]hbvec}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jkhj+hKhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hKhjԱubj)}(h3``const struct xdr_buf *xdr`` xdr_buf to be copied h](j)}(h``const struct xdr_buf *xdr``h]j)}(hj]h]hconst struct xdr_buf *xdr}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjWubj)}(hhh]jl)}(hxdr_buf to be copiedh]hxdr_buf to be copied}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhKhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhKhjԱubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubjl)}(hReturns the number of entries consumed in **bvec** on success, or -ESERVERFAULT when **xdr** does not fit within **bvec_size** entries.h](h*Returns the number of entries consumed in }(hjhhhNhNubj)}(h**bvec**h]hbvec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh# on success, or -ESERVERFAULT when }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjȲhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh does not fit within }(hjhhhNhNubj)}(h **bvec_size**h]h bvec_size}(hjڲhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh entries.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_to_sg (C function)c.xdr_buf_to_sghNtauh1hhjDhhhNhNubh)}(hhh](j)}(h~int xdr_buf_to_sg (const struct xdr_buf *buf, unsigned int offset, unsigned int len, struct scatterlist *sg, unsigned int nsg)h]j )}(h}int xdr_buf_to_sg(const struct xdr_buf *buf, unsigned int offset, unsigned int len, struct scatterlist *sg, unsigned int nsg)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj!hKubj3)}(h xdr_buf_to_sgh]j9)}(h xdr_buf_to_sgh]h xdr_buf_to_sg}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj!hKubj )}(hl(const struct xdr_buf *buf, unsigned int offset, unsigned int len, struct scatterlist *sg, unsigned int nsg)h](j )}(hconst struct xdr_buf *bufh](j)}(hj h]hconst}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j6sbc.xdr_buf_to_sgasbuh1hhjLubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hbufh]hbuf}(hjijhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubj )}(hunsigned int offseth](jM )}(hunsignedh]hunsigned}(hjݳhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjٳubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjٳubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjٳubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjٳubj9)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjٳubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hj.hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj*ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubjM )}(hinth]hint}(hjJhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj*ubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubj9)}(hlenh]hlen}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubj )}(hstruct scatterlist *sgh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubh)}(hhh]j9)}(h scatterlisth]h scatterlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_buf_to_sgasbuh1hhj{ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubj )}(hj h]h*}(hjɴhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj{ubj9)}(hsgh]hsg}(hjִhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubj )}(hunsigned int nsgh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hnsgh]hnsg}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj!hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj!hKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj!hKhjhhubjg)}(hhh]jl)}(h,Populate a scatterlist from an xdr_buf rangeh]h,Populate a scatterlist from an xdr_buf range}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjNhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj!hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhjDhNhNubj)}(hX;**Parameters** ``const struct xdr_buf *buf`` xdr_buf to map ``unsigned int offset`` starting byte offset within **buf** ``unsigned int len`` number of bytes to cover ``struct scatterlist *sg`` scatterlist array initialized with sg_init_table() ``unsigned int nsg`` number of entries available in **sg** **Description** **sg** is traversed with sg_next(), so callers may pass a list assembled with sg_chain(). **Return** on success, the number of scatterlist entries used; the last used entry is marked with sg_mark_end(). On failure, a negative errno.h](jl)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjmubj)}(hhh](j)}(h-``const struct xdr_buf *buf`` xdr_buf to map h](j)}(h``const struct xdr_buf *buf``h]j)}(hjh]hconst struct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjubj)}(hhh]jl)}(hxdr_buf to maph]hxdr_buf to map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h<``unsigned int offset`` starting byte offset within **buf** h](j)}(h``unsigned int offset``h]j)}(hj˵h]hunsigned int offset}(hj͵hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɵubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjŵubj)}(hhh]jl)}(h#starting byte offset within **buf**h](hstarting byte offset within }(hjhhhNhNubj)}(h**buf**h]hbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjŵubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h.``unsigned int len`` number of bytes to cover h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj ubj)}(hhh]jl)}(hnumber of bytes to coverh]hnumber of bytes to cover}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hKhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hKhjubj)}(hN``struct scatterlist *sg`` scatterlist array initialized with sg_init_table() h](j)}(h``struct scatterlist *sg``h]j)}(hjKh]hstruct scatterlist *sg}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjEubj)}(hhh]jl)}(h2scatterlist array initialized with sg_init_table()h]h2scatterlist array initialized with sg_init_table()}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hKhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hKhjubj)}(h;``unsigned int nsg`` number of entries available in **sg** h](j)}(h``unsigned int nsg``h]j)}(hjh]hunsigned int nsg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhj~ubj)}(hhh]jl)}(h%number of entries available in **sg**h](hnumber of entries available in }(hjhhhNhNubj)}(h**sg**h]hsg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjmubjl)}(h**Description**h]j)}(hjͶh]h Description}(hj϶hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˶ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjmubjl)}(hY**sg** is traversed with sg_next(), so callers may pass a list assembled with sg_chain().h](j)}(h**sg**h]hsg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhS is traversed with sg_next(), so callers may pass a list assembled with sg_chain().}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjmubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjmubjl)}(hon success, the number of scatterlist entries used; the last used entry is marked with sg_mark_end(). On failure, a negative errno.h]hon success, the number of scatterlist entries used; the last used entry is marked with sg_mark_end(). On failure, a negative errno.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chKhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_buf_to_sg_alloc (C function)c.xdr_buf_to_sg_allochNtauh1hhjDhhhNhNubh)}(hhh](j)}(hint xdr_buf_to_sg_alloc (const struct xdr_buf *buf, unsigned int offset, unsigned int len, struct scatterlist *sg_head, unsigned int sg_head_nents, struct scatterlist **sg_overflow, gfp_t gfp)h]j )}(hint xdr_buf_to_sg_alloc(const struct xdr_buf *buf, unsigned int offset, unsigned int len, struct scatterlist *sg_head, unsigned int sg_head_nents, struct scatterlist **sg_overflow, gfp_t gfp)h](jM )}(hinth]hint}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjChhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMLubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjChhhjUhMLubj3)}(hxdr_buf_to_sg_alloch]j9)}(hxdr_buf_to_sg_alloch]hxdr_buf_to_sg_alloc}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjChhhjUhMLubj )}(h(const struct xdr_buf *buf, unsigned int offset, unsigned int len, struct scatterlist *sg_head, unsigned int sg_head_nents, struct scatterlist **sg_overflow, gfp_t gfp)h](j )}(hconst struct xdr_buf *bufh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jjsbc.xdr_buf_to_sg_allocasbuh1hhjubj")}(h h]h }(hjݷhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubj )}(hunsigned int offseth](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubjM )}(hinth]hint}(hj-hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hoffseth]hoffset}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^ubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubjM )}(hinth]hint}(hj~hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubj )}(hstruct scatterlist *sg_headh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h scatterlisth]h scatterlist}(hjѸhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjθubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjӸmodnameN classnameNj j )}j ]jٷc.xdr_buf_to_sg_allocasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsg_headh]hsg_head}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubj )}(hunsigned int sg_head_nentsh](jM )}(hunsignedh]hunsigned}(hj#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h sg_head_nentsh]h sg_head_nents}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubj )}(h struct scatterlist **sg_overflowh](j)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubh)}(hhh]j9)}(h scatterlisth]h scatterlist}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jٷc.xdr_buf_to_sg_allocasbuh1hhjpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpubj )}(hj h]h*}(hj˹hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpubj9)}(h sg_overflowh]h sg_overflow}(hjعhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubj )}(h gfp_t gfph](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jٷc.xdr_buf_to_sg_allocasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfph]hgfp}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjChhhjUhMLubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?hhhjUhMLubah}(h]j:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUhMLhj<hhubjg)}(hhh]jl)}(h+Populate a scatterlist for an xdr_buf rangeh]h+Populate a scatterlist for an xdr_buf range}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMLhjGhhubah}(h]h ]h"]h$]h&]uh1jfhj<hhhjUhMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``const struct xdr_buf *buf`` xdr_buf to map ``unsigned int offset`` starting byte offset within **buf** ``unsigned int len`` number of bytes to cover ``struct scatterlist *sg_head`` caller-provided scatterlist array (typically stack-allocated) ``unsigned int sg_head_nents`` number of entries in **sg_head** ``struct scatterlist **sg_overflow`` OUT: chained extension, or NULL when **sg_head** sufficed ``gfp_t gfp`` memory allocation flags for overflow **Description** Populates **sg_head** directly when the xdr_buf fits. When more entries are needed, an overflow scatterlist is allocated and chained from **sg_head** so that the result is traversable with sg_next(). **Return** on success, the number of populated scatterlist entries (counting only data entries, not chain entries). **sg_head** is the head of the resulting list. Caller must kfree **sg_overflow** when done. On failure, a negative errno.h](jl)}(h**Parameters**h]j)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMPhjfubj)}(hhh](j)}(h-``const struct xdr_buf *buf`` xdr_buf to map h](j)}(h``const struct xdr_buf *buf``h]j)}(hjh]hconst struct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMMhjubj)}(hhh]jl)}(hxdr_buf to maph]hxdr_buf to map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubj)}(h<``unsigned int offset`` starting byte offset within **buf** h](j)}(h``unsigned int offset``h]j)}(hjĺh]hunsigned int offset}(hjƺhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjºubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMNhjubj)}(hhh]jl)}(h#starting byte offset within **buf**h](hstarting byte offset within }(hjݺhhhNhNubj)}(h**buf**h]hbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݺubeh}(h]h ]h"]h$]h&]uh1jkhjٺhMNhjںubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjٺhMNhjubj)}(h.``unsigned int len`` number of bytes to cover h](j)}(h``unsigned int len``h]j)}(hj h]hunsigned int len}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMOhjubj)}(hhh]jl)}(hnumber of bytes to coverh]hnumber of bytes to cover}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMOhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMOhjubj)}(h^``struct scatterlist *sg_head`` caller-provided scatterlist array (typically stack-allocated) h](j)}(h``struct scatterlist *sg_head``h]j)}(hjDh]hstruct scatterlist *sg_head}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMPhj>ubj)}(hhh]jl)}(h=caller-provided scatterlist array (typically stack-allocated)h]h=caller-provided scatterlist array (typically stack-allocated)}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMPhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMPhjubj)}(h@``unsigned int sg_head_nents`` number of entries in **sg_head** h](j)}(h``unsigned int sg_head_nents``h]j)}(hj}h]hunsigned int sg_head_nents}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMQhjwubj)}(hhh]jl)}(h number of entries in **sg_head**h](hnumber of entries in }(hjhhhNhNubj)}(h **sg_head**h]hsg_head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(h_``struct scatterlist **sg_overflow`` OUT: chained extension, or NULL when **sg_head** sufficed h](j)}(h$``struct scatterlist **sg_overflow``h]j)}(hjĻh]h struct scatterlist **sg_overflow}(hjƻhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj»ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMRhjubj)}(hhh]jl)}(h9OUT: chained extension, or NULL when **sg_head** sufficedh](h%OUT: chained extension, or NULL when }(hjݻhhhNhNubj)}(h **sg_head**h]hsg_head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݻubh sufficed}(hjݻhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjٻhMRhjڻubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjٻhMRhjubj)}(h3``gfp_t gfp`` memory allocation flags for overflow h](j)}(h ``gfp_t gfp``h]j)}(hjh]h gfp_t gfp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMShj ubj)}(hhh]jl)}(h$memory allocation flags for overflowh]h$memory allocation flags for overflow}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hMShj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMShjubeh}(h]h ]h"]h$]h&]uh1jhjfubjl)}(h**Description**h]j)}(hjJh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMUhjfubjl)}(hPopulates **sg_head** directly when the xdr_buf fits. When more entries are needed, an overflow scatterlist is allocated and chained from **sg_head** so that the result is traversable with sg_next().h](h Populates }(hj`hhhNhNubj)}(h **sg_head**h]hsg_head}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubhv directly when the xdr_buf fits. When more entries are needed, an overflow scatterlist is allocated and chained from }(hj`hhhNhNubj)}(h **sg_head**h]hsg_head}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubh2 so that the result is traversable with sg_next().}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMThjfubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMYhjfubjl)}(hon success, the number of populated scatterlist entries (counting only data entries, not chain entries). **sg_head** is the head of the resulting list. Caller must kfree **sg_overflow** when done. On failure, a negative errno.h](hjon success, the number of populated scatterlist entries (counting only data entries, not chain entries). }(hjhhhNhNubj)}(h **sg_head**h]hsg_head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh7 is the head of the resulting list. Caller must kfree }(hjhhhNhNubj)}(h**sg_overflow**h]h sg_overflow}(hjżhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh* when done. On failure, a negative errno.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMZhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_inline_pages (C function)c.xdr_inline_pageshNtauh1hhjDhhhNhNubh)}(hhh](j)}(hzvoid xdr_inline_pages (struct xdr_buf *xdr, unsigned int offset, struct page **pages, unsigned int base, unsigned int len)h]j )}(hyvoid xdr_inline_pages(struct xdr_buf *xdr, unsigned int offset, struct page **pages, unsigned int base, unsigned int len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubj3)}(hxdr_inline_pagesh]j9)}(hxdr_inline_pagesh]hxdr_inline_pages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMubj )}(hd(struct xdr_buf *xdr, unsigned int offset, struct page **pages, unsigned int base, unsigned int len)h](j )}(hstruct xdr_buf *xdrh](j)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNj j )}j ]j )}j j!sbc.xdr_inline_pagesasbuh1hhj7ubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj7ubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubj )}(hunsigned int offseth](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjɽhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj׽hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubj )}(hstruct page **pagesh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]juc.xdr_inline_pagesasbuh1hhjubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpagesh]hpages}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubj )}(hunsigned int baseh](jM )}(hunsignedh]hunsigned}(hj{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj9)}(hbaseh]hbase}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hj̾hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjȾubj")}(h h]h }(hjھhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjȾubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjȾubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjȾubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjȾubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMhjhhubjg)}(hhh]jl)}(h(Prepare receive buffer for a large replyh]h(Prepare receive buffer for a large reply}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj+hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct xdr_buf *xdr`` xdr_buf into which reply will be placed ``unsigned int offset`` expected offset where data payload will start, in bytes ``struct page **pages`` vector of struct page pointers ``unsigned int base`` offset in first page where receive should start, in bytes ``unsigned int len`` expected size of the upper layer data payload, in bytesh](jl)}(h**Parameters**h]j)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjJubj)}(hhh](j)}(h@``struct xdr_buf *xdr`` xdr_buf into which reply will be placed h](j)}(h``struct xdr_buf *xdr``h]j)}(hjoh]hstruct xdr_buf *xdr}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjiubj)}(hhh]jl)}(h'xdr_buf into which reply will be placedh]h'xdr_buf into which reply will be placed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhjfubj)}(hP``unsigned int offset`` expected offset where data payload will start, in bytes h](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(h7expected offset where data payload will start, in bytesh]h7expected offset where data payload will start, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjfubj)}(h7``struct page **pages`` vector of struct page pointers h](j)}(h``struct page **pages``h]j)}(hjh]hstruct page **pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߿ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjۿubj)}(hhh]jl)}(hvector of struct page pointersh]hvector of struct page pointers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjۿubeh}(h]h ]h"]h$]h&]uh1jhjhMhjfubj)}(hP``unsigned int base`` offset in first page where receive should start, in bytes h](j)}(h``unsigned int base``h]j)}(hjh]hunsigned int base}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(h9offset in first page where receive should start, in bytesh]h9offset in first page where receive should start, in bytes}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjfubj)}(hL``unsigned int len`` expected size of the upper layer data payload, in bytesh](j)}(h``unsigned int len``h]j)}(hjSh]hunsigned int len}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjMubj)}(hhh]jl)}(h7expected size of the upper layer data payload, in bytesh]h7expected size of the upper layer data payload, in bytes}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjfubeh}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_copy_from_pages (C function)c._copy_from_pageshNtauh1hhjDhhhNhNubh)}(hhh](j)}(hOvoid _copy_from_pages (char *p, struct page **pages, size_t pgbase, size_t len)h]j )}(hNvoid _copy_from_pages(char *p, struct page **pages, size_t pgbase, size_t len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMaubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMaubj3)}(h_copy_from_pagesh]j9)}(h_copy_from_pagesh]h_copy_from_pages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMaubj )}(h9(char *p, struct page **pages, size_t pgbase, size_t len)h](j )}(hchar *ph](jM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hj h]hp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct page **pagesh](j)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubh)}(hhh]j9)}(hpageh]hpage}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j )}j jsbc._copy_from_pagesasbuh1hhj'ubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj9)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h size_t pgbaseh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jec._copy_from_pagesasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hpgbaseh]hpgbase}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h size_t lenh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jec._copy_from_pagesasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMaubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMaubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMahjhhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhjhhhjhMaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1hhhhjDhNhNubj)}(hX$**Parameters** ``char *p`` pointer to destination ``struct page **pages`` array of pages ``size_t pgbase`` offset of source data ``size_t len`` length **Description** Copies data into an arbitrary memory location from an array of pages The copy is assumed to be non-overlapping.h](jl)}(h**Parameters**h]j)}(hj^h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMehjXubj)}(hhh](j)}(h#``char *p`` pointer to destination h](j)}(h ``char *p``h]j)}(hj}h]hchar *p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMbhjwubj)}(hhh]jl)}(hpointer to destinationh]hpointer to destination}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjtubj)}(h'``struct page **pages`` array of pages h](j)}(h``struct page **pages``h]j)}(hjh]hstruct page **pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMchjubj)}(hhh]jl)}(harray of pagesh]harray of pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjtubj)}(h(``size_t pgbase`` offset of source data h](j)}(h``size_t pgbase``h]j)}(hjh]h size_t pgbase}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMdhjubj)}(hhh]jl)}(hoffset of source datah]hoffset of source data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjtubj)}(h``size_t len`` length h](j)}(h``size_t len``h]j)}(hj(h]h size_t len}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMehj"ubj)}(hhh]jl)}(hlengthh]hlength}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hMehj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMehjtubeh}(h]h ]h"]h$]h&]uh1jhjXubjl)}(h**Description**h]j)}(hjch]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMghjXubjl)}(hoCopies data into an arbitrary memory location from an array of pages The copy is assumed to be non-overlapping.h]hoCopies data into an arbitrary memory location from an array of pages The copy is assumed to be non-overlapping.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMfhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_stream_pos (C function)c.xdr_stream_poshNtauh1hhjDhhhNhNubh)}(hhh](j)}(h:unsigned int xdr_stream_pos (const struct xdr_stream *xdr)h]j )}(h9unsigned int xdr_stream_pos(const struct xdr_stream *xdr)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMEubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMEubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhMEubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMEubj3)}(hxdr_stream_posh]j9)}(hxdr_stream_posh]hxdr_stream_pos}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMEubj )}(h(const struct xdr_stream *xdr)h]j )}(hconst struct xdr_stream *xdrh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNj j )}j ]j )}j jsbc.xdr_stream_posasbuh1hhjubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMEubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMEubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMEhjhhubjg)}(hhh]jl)}(h:Return the current offset from the start of the xdr_streamh]h:Return the current offset from the start of the xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMEhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMEubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hO**Parameters** ``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMIhjubj)}(hhh]j)}(h=``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](j)}(h ``const struct xdr_stream *xdr``h]j)}(hjh]hconst struct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMKhjubj)}(hhh]jl)}(hpointer to struct xdr_streamh]hpointer to struct xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_page_pos (C function)c.xdr_page_poshNtauh1hhjDhhhNhNubh)}(hhh](j)}(h8unsigned int xdr_page_pos (const struct xdr_stream *xdr)h]j )}(h7unsigned int xdr_page_pos(const struct xdr_stream *xdr)h](jM )}(hunsignedh]hunsigned}(hj:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM[ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhjHhM[ubjM )}(hinth]hint}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6hhhjHhM[ubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhjHhM[ubj3)}(h xdr_page_posh]j9)}(h xdr_page_posh]h xdr_page_pos}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6hhhjHhM[ubj )}(h(const struct xdr_stream *xdr)h]j )}(hconst struct xdr_stream *xdrh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jysbc.xdr_page_posasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj6hhhjHhM[ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhjHhM[ubah}(h]j-ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHhM[hj/hhubjg)}(hhh]jl)}(h9Return the current offset from the start of the xdr pagesh]h9Return the current offset from the start of the xdr pages}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM[hj.hhubah}(h]h ]h"]h$]h&]uh1jfhj/hhhjHhM[ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhjDhNhNubj)}(hO**Parameters** ``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](jl)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM_hjMubj)}(hhh]j)}(h=``const struct xdr_stream *xdr`` pointer to struct xdr_streamh](j)}(h ``const struct xdr_stream *xdr``h]j)}(hjrh]hconst struct xdr_stream *xdr}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMahjlubj)}(hhh]jl)}(hpointer to struct xdr_streamh]hpointer to struct xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM\hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMahjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_init_encode (C function)c.xdr_init_encodehNtauh1hhjDhhhNhNubh)}(hhh](j)}(hdvoid xdr_init_encode (struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h]j )}(hcvoid xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMhubj3)}(hxdr_init_encodeh]j9)}(hxdr_init_encodeh]hxdr_init_encode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMhubj )}(hO(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNj j )}j ]j )}j jsbc.xdr_init_encodeasbuh1hhjubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct xdr_buf *bufh](j)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jCc.xdr_init_encodeasbuh1hhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h __be32 *ph](h)}(hhh]j9)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jCc.xdr_init_encodeasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hj h]hp}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct rpc_rqst *rqsth](j)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubh)}(hhh]j9)}(hrpc_rqsth]hrpc_rqst}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]jCc.xdr_init_encodeasbuh1hhj;ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj;ubj9)}(hrqsth]hrqst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMhubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMhubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhhjhhubjg)}(hhh]jl)}(h0Initialize a struct xdr_stream for sending data.h]h0Initialize a struct xdr_stream for sending data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hXx**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``struct xdr_buf *buf`` pointer to XDR buffer in which to encode data ``__be32 *p`` current pointer inside XDR buffer ``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debugging **Note** at the moment the RPC client only passes the length of our scratch buffer in the xdr_buf's header kvec. Previously this meant we needed to call xdr_adjust_iovec() after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMlhjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMihjubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMihjubj)}(hF``struct xdr_buf *buf`` pointer to XDR buffer in which to encode data h](j)}(h``struct xdr_buf *buf``h]j)}(hj:h]hstruct xdr_buf *buf}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMjhj4ubj)}(hhh]jl)}(h-pointer to XDR buffer in which to encode datah]h-pointer to XDR buffer in which to encode data}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhMjhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMjhjubj)}(h0``__be32 *p`` current pointer inside XDR buffer h](j)}(h ``__be32 *p``h]j)}(hjsh]h __be32 *p}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMkhjmubj)}(hhh]jl)}(h!current pointer inside XDR bufferh]h!current pointer inside XDR buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjubj)}(hI``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debugging h](j)}(h``struct rpc_rqst *rqst``h]j)}(hjh]hstruct rpc_rqst *rqst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMlhjubj)}(hhh]jl)}(h.pointer to controlling rpc_rqst, for debuggingh]h.pointer to controlling rpc_rqst, for debugging}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMnhjubj)}(hhh]j)}(hX=at the moment the RPC client only passes the length of our scratch buffer in the xdr_buf's header kvec. Previously this meant we needed to call xdr_adjust_iovec() after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.h](j)}(h:at the moment the RPC client only passes the length of ourh]h:at the moment the RPC client only passes the length of our}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMrhjubj)}(hhh]jl)}(hXscratch buffer in the xdr_buf's header kvec. Previously this meant we needed to call xdr_adjust_iovec() after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.h]hXscratch buffer in the xdr_buf’s header kvec. Previously this meant we needed to call xdr_adjust_iovec() after encoding the data. With the new scheme, the xdr_stream manages the details of the buffer length, and takes care of adjusting the kvec length for us.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_init_encode_pages (C function)c.xdr_init_encode_pageshNtauh1hhjDhhhNhNubh)}(hhh](j)}(hHvoid xdr_init_encode_pages (struct xdr_stream *xdr, struct xdr_buf *buf)h]j )}(hGvoid xdr_init_encode_pages(struct xdr_stream *xdr, struct xdr_buf *buf)h](jM )}(hvoidh]hvoid}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjShhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjShhhjehMubj3)}(hxdr_init_encode_pagesh]j9)}(hxdr_init_encode_pagesh]hxdr_init_encode_pages}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjShhhjehMubj )}(h-(struct xdr_stream *xdr, struct xdr_buf *buf)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jzsbc.xdr_init_encode_pagesasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct xdr_buf *bufh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]jc.xdr_init_encode_pagesasbuh1hhjubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjShhhjehMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjOhhhjehMubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjehMhjLhhubjg)}(hhh]jl)}(h0Initialize an xdr_stream for encoding into pagesh]h0Initialize an xdr_stream for encoding into pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjLhhhjehMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``struct xdr_buf *buf`` pointer to XDR buffer into which to encode datah](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hG``struct xdr_buf *buf`` pointer to XDR buffer into which to encode datah](j)}(h``struct xdr_buf *buf``h]j)}(hjh]hstruct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(h/pointer to XDR buffer into which to encode datah]h/pointer to XDR buffer into which to encode data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __xdr_commit_encode (C function)c.__xdr_commit_encodehNtauh1hhjDhhhNhNubh)}(hhh](j)}(h1void __xdr_commit_encode (struct xdr_stream *xdr)h]j )}(h0void __xdr_commit_encode(struct xdr_stream *xdr)h](jM )}(hvoidh]hvoid}(hj[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjWhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWhhhjihMubj3)}(h__xdr_commit_encodeh]j9)}(h__xdr_commit_encodeh]h__xdr_commit_encode}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjWhhhjihMubj )}(h(struct xdr_stream *xdr)h]j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j~sbc.__xdr_commit_encodeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjWhhhjihMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjShhhjihMubah}(h]jNah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjihMhjPhhubjg)}(hhh]jl)}(h$Ensure all data is written to bufferh]h$Ensure all data is written to buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjPhhhjihMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream **Description** We handle encoding across page boundaries by giving the caller a temporary location to write to, then later copying the data into place; xdr_commit_encode does that copying. Normally the caller doesn't need to call this directly, as the following xdr_reserve_space will do it. But an explicit call may be required at the end of encoding, or any other time when the xdr_buf data might be read.h](jl)}(h**Parameters**h]j)}(hj=h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj7ubj)}(hhh]j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hj\h]hstruct xdr_stream *xdr}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjVubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj7ubjl)}(hWe handle encoding across page boundaries by giving the caller a temporary location to write to, then later copying the data into place; xdr_commit_encode does that copying.h]hWe handle encoding across page boundaries by giving the caller a temporary location to write to, then later copying the data into place; xdr_commit_encode does that copying.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj7ubjl)}(hNormally the caller doesn't need to call this directly, as the following xdr_reserve_space will do it. But an explicit call may be required at the end of encoding, or any other time when the xdr_buf data might be read.h]hNormally the caller doesn’t need to call this directly, as the following xdr_reserve_space will do it. But an explicit call may be required at the end of encoding, or any other time when the xdr_buf data might be read.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_reserve_space (C function)c.xdr_reserve_spacehNtauh1hhjDhhhNhNubh)}(hhh](j)}(hB__be32 * xdr_reserve_space (struct xdr_stream *xdr, size_t nbytes)h]j )}(h@__be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes)h](h)}(hhh]j9)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j xdr_reserve_spacesbc.xdr_reserve_spaceasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hxdr_reserve_spaceh]j9)}(hj h]hxdr_reserve_space}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h'(struct xdr_stream *xdr, size_t nbytes)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNj j )}j ]j c.xdr_reserve_spaceasbuh1hhjFubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubj )}(h size_t nbytesh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.xdr_reserve_spaceasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h Reserve buffer space for sendingh]h Reserve buffer space for sending}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhjDhNhNubj)}(hXS**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``size_t nbytes`` number of bytes to reserve **Description** Checks that we have enough buffer space to encode 'nbytes' more bytes of data. If so, update the total xdr_buf length, and adjust the length of the current kvec. The returned pointer is valid only until the next call to xdr_reserve_space() or xdr_commit_encode() on **xdr**. The current implementation of this API guarantees that space reserved for a four-byte data item remains valid until **xdr** is destroyed, but that might not always be true in the future.h](jl)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj/ubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjTh]hstruct xdr_stream *xdr}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjNubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjKubj)}(h-``size_t nbytes`` number of bytes to reserve h](j)}(h``size_t nbytes``h]j)}(hjh]h size_t nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hnumber of bytes to reserveh]hnumber of bytes to reserve}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjKubeh}(h]h ]h"]h$]h&]uh1jhj/ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj/ubjl)}(hChecks that we have enough buffer space to encode 'nbytes' more bytes of data. If so, update the total xdr_buf length, and adjust the length of the current kvec.h]hChecks that we have enough buffer space to encode ‘nbytes’ more bytes of data. If so, update the total xdr_buf length, and adjust the length of the current kvec.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj/ubjl)}(hX+The returned pointer is valid only until the next call to xdr_reserve_space() or xdr_commit_encode() on **xdr**. The current implementation of this API guarantees that space reserved for a four-byte data item remains valid until **xdr** is destroyed, but that might not always be true in the future.h](hhThe returned pointer is valid only until the next call to xdr_reserve_space() or xdr_commit_encode() on }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhv. The current implementation of this API guarantees that space reserved for a four-byte data item remains valid until }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh? is destroyed, but that might not always be true in the future.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_reserve_space_vec (C function)c.xdr_reserve_space_vechNtauh1hhjDhhhNhNubh)}(hhh](j)}(hAint xdr_reserve_space_vec (struct xdr_stream *xdr, size_t nbytes)h]j )}(h@int xdr_reserve_space_vec(struct xdr_stream *xdr, size_t nbytes)h](jM )}(hinth]hint}(hj@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj<hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<hhhjNhMubj3)}(hxdr_reserve_space_vech]j9)}(hxdr_reserve_space_vech]hxdr_reserve_space_vec}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj<hhhjNhMubj )}(h'(struct xdr_stream *xdr, size_t nbytes)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jcsbc.xdr_reserve_space_vecasbuh1hhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(h size_t nbytesh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_reserve_space_vecasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubeh}(h]h ]h"]h$]h&]jPjQuh1j hj<hhhjNhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj8hhhjNhMubah}(h]j3ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjNhMhj5hhubjg)}(hhh]jl)}(h3Reserves a large amount of buffer space for sendingh]h3Reserves a large amount of buffer space for sending}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjEhhubah}(h]h ]h"]h$]h&]uh1jfhj5hhhjNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``size_t nbytes`` number of bytes to reserve **Description** The size argument passed to xdr_reserve_space() is determined based on the number of bytes remaining in the current page to avoid invalidating iov_base pointers when xdr_commit_encode() is called. Return values: ``0``: success ``-EMSGSIZE``: not enough space is available in **xdr**h](jl)}(h**Parameters**h]j)}(hjjh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjdubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h-``size_t nbytes`` number of bytes to reserve h](j)}(h``size_t nbytes``h]j)}(hjh]h size_t nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hnumber of bytes to reserveh]hnumber of bytes to reserve}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjdubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjdubjl)}(hThe size argument passed to xdr_reserve_space() is determined based on the number of bytes remaining in the current page to avoid invalidating iov_base pointers when xdr_commit_encode() is called.h]hThe size argument passed to xdr_reserve_space() is determined based on the number of bytes remaining in the current page to avoid invalidating iov_base pointers when xdr_commit_encode() is called.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjdubj)}(hhh]j)}(hUReturn values: ``0``: success ``-EMSGSIZE``: not enough space is available in **xdr**h](j)}(hReturn values:h]hReturn values:}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM hj%ubj)}(hhh]jl)}(hF``0``: success ``-EMSGSIZE``: not enough space is available in **xdr**h](j)}(h``0``h]h0}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh : success }(hj;hhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh#: not enough space is available in }(hj;hhhNhNubj)}(h**xdr**h]hxdr}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jkhj7hM hj8ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj7hM hj"ubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_truncate_encode (C function)c.xdr_truncate_encodehNtauh1hhjDhhhNhNubh)}(hhh](j)}(h=void xdr_truncate_encode (struct xdr_stream *xdr, size_t len)h]j )}(hbuf->len == len, and xdr->p points at offset len from the start of the buffer, and head, tail, and page lengths are adjusted to correspond. If this means moving xdr->p to a different buffer, we assume that the end pointer should be set to the end of the current page, except in the case of the head buffer when we assume the head buffer's current length represents the end of the available buffer. This is *not* safe to use on a buffer that already has inlined page cache pages (as in a zero-copy server read reply), except for the simple case of truncating from one position in the tail to another.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMGhjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMDhjubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(h$``size_t len`` new length of buffer h](j)}(h``size_t len``h]j)}(hj+h]h size_t len}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMEhj%ubj)}(hhh]jl)}(hnew length of bufferh]hnew length of buffer}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMEhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMEhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjfh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMGhjubjl)}(hTruncates the xdr stream, so that xdr->buf->len == len, and xdr->p points at offset len from the start of the buffer, and head, tail, and page lengths are adjusted to correspond.h]hTruncates the xdr stream, so that xdr->buf->len == len, and xdr->p points at offset len from the start of the buffer, and head, tail, and page lengths are adjusted to correspond.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMFhjubjl)}(hXIf this means moving xdr->p to a different buffer, we assume that the end pointer should be set to the end of the current page, except in the case of the head buffer when we assume the head buffer's current length represents the end of the available buffer.h]hXIf this means moving xdr->p to a different buffer, we assume that the end pointer should be set to the end of the current page, except in the case of the head buffer when we assume the head buffer’s current length represents the end of the available buffer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMJhjubjl)}(hThis is *not* safe to use on a buffer that already has inlined page cache pages (as in a zero-copy server read reply), except for the simple case of truncating from one position in the tail to another.h](hThis is }(hjhhhNhNubj)}(h*not*h]hnot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh safe to use on a buffer that already has inlined page cache pages (as in a zero-copy server read reply), except for the simple case of truncating from one position in the tail to another.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMOhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h xdr_truncate_decode (C function)c.xdr_truncate_decodehNtauh1hhjDhhhNhNubh)}(hhh](j)}(h=void xdr_truncate_decode (struct xdr_stream *xdr, size_t len)h]j )}(hint xdr_restrict_buflen(struct xdr_stream *xdr, int newbuflen)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hxdr_restrict_buflenh]j9)}(hxdr_restrict_buflenh]hxdr_restrict_buflen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h'(struct xdr_stream *xdr, int newbuflen)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_restrict_buflenasbuh1hhjubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int newbuflenh](jM )}(hinth]hint}(hjfhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj9)}(h newbuflenh]h newbuflen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hdecrease available buffer spaceh]hdecrease available buffer space}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``int newbuflen`` new maximum number of bytes available **Description** Adjust our idea of how much space is available in the buffer. If we've already used too much space in the buffer, returns -1. If the available space is already smaller than newbuflen, returns 0 and does nothing. Otherwise, adjusts xdr->buf->buflen to newbuflen and ensures xdr->end is set at most offset newbuflen from the start of the buffer.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``int newbuflen`` new maximum number of bytes available h](j)}(h``int newbuflen``h]j)}(hj&h]h int newbuflen}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj ubj)}(hhh]jl)}(h%new maximum number of bytes availableh]h%new maximum number of bytes available}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjah]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjl)}(hXXAdjust our idea of how much space is available in the buffer. If we've already used too much space in the buffer, returns -1. If the available space is already smaller than newbuflen, returns 0 and does nothing. Otherwise, adjusts xdr->buf->buflen to newbuflen and ensures xdr->end is set at most offset newbuflen from the start of the buffer.h]hXZAdjust our idea of how much space is available in the buffer. If we’ve already used too much space in the buffer, returns -1. If the available space is already smaller than newbuflen, returns 0 and does nothing. Otherwise, adjusts xdr->buf->buflen to newbuflen and ensures xdr->end is set at most offset newbuflen from the start of the buffer.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_write_pages (C function)c.xdr_write_pageshNtauh1hhjDhhhNhNubh)}(hhh](j)}(hgvoid xdr_write_pages (struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len)h]j )}(hfvoid xdr_write_pages(struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hxdr_write_pagesh]j9)}(hxdr_write_pagesh]hxdr_write_pages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hR(struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_write_pagesasbuh1hhjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct page **pagesh](j)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubh)}(hhh]j9)}(hpageh]hpage}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]jc.xdr_write_pagesasbuh1hhjQubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int baseh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hbaseh]hbase}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hj#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h5Insert a list of pages into an XDR buffer for sendingh]h5Insert a list of pages into an XDR buffer for sending}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``struct page **pages`` array of pages to insert ``unsigned int base`` starting offset of first data byte in **pages** ``unsigned int len`` number of data bytes in **pages** to insert **Description** After the **pages** are added, the tail iovec is instantiated pointing to end of the head buffer, and the stream is set up to encode subsequent items into the tail.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``struct page **pages`` array of pages to insert h](j)}(h``struct page **pages``h]j)}(hjh]hstruct page **pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(harray of pages to inserth]harray of pages to insert}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hF``unsigned int base`` starting offset of first data byte in **pages** h](j)}(h``unsigned int base``h]j)}(hj8h]hunsigned int base}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj2ubj)}(hhh]jl)}(h/starting offset of first data byte in **pages**h](h&starting offset of first data byte in }(hjQhhhNhNubj)}(h **pages**h]hpages}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jkhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjubj)}(hA``unsigned int len`` number of data bytes in **pages** to insert h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjyubj)}(hhh]jl)}(h+number of data bytes in **pages** to inserth](hnumber of data bytes in }(hjhhhNhNubj)}(h **pages**h]hpages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to insert}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjl)}(hAfter the **pages** are added, the tail iovec is instantiated pointing to end of the head buffer, and the stream is set up to encode subsequent items into the tail.h](h After the }(hjhhhNhNubj)}(h **pages**h]hpages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh are added, the tail iovec is instantiated pointing to end of the head buffer, and the stream is set up to encode subsequent items into the tail.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_init_decode (C function)c.xdr_init_decodehNtauh1hhjDhhhNhNubh)}(hhh](j)}(hdvoid xdr_init_decode (struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h]j )}(hcvoid xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](jM )}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMAubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj1hMAubj3)}(hxdr_init_decodeh]j9)}(hxdr_init_decodeh]hxdr_init_decode}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj1hMAubj )}(hO(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p, struct rpc_rqst *rqst)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jFsbc.xdr_init_decodeasbuh1hhj\ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\ubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubj )}(hstruct xdr_buf *bufh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_init_decodeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubj )}(h __be32 *ph](h)}(hhh]j9)}(h__be32h]h__be32}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]jc.xdr_init_decodeasbuh1hhj>ubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubj )}(hj h]h*}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj>ubj9)}(hj h]hp}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubj )}(hstruct rpc_rqst *rqsth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_rqsth]hrpc_rqst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_init_decodeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hrqsth]hrqst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj1hMAubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj1hMAubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hMAhjhhubjg)}(hhh]jl)}(h+Initialize an xdr_stream for decoding data.h]h+Initialize an xdr_stream for decoding data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMAhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj1hMAubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``struct xdr_buf *buf`` pointer to XDR buffer from which to decode data ``__be32 *p`` current pointer inside XDR buffer ``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debuggingh](jl)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMEhj3ubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjXh]hstruct xdr_stream *xdr}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMBhjRubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMBhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMBhjOubj)}(hH``struct xdr_buf *buf`` pointer to XDR buffer from which to decode data h](j)}(h``struct xdr_buf *buf``h]j)}(hjh]hstruct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMChjubj)}(hhh]jl)}(h/pointer to XDR buffer from which to decode datah]h/pointer to XDR buffer from which to decode data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChjOubj)}(h0``__be32 *p`` current pointer inside XDR buffer h](j)}(h ``__be32 *p``h]j)}(hjh]h __be32 *p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMDhjubj)}(hhh]jl)}(h!current pointer inside XDR bufferh]h!current pointer inside XDR buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjOubj)}(hH``struct rpc_rqst *rqst`` pointer to controlling rpc_rqst, for debuggingh](j)}(h``struct rpc_rqst *rqst``h]j)}(hjh]hstruct rpc_rqst *rqst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMFhjubj)}(hhh]jl)}(h.pointer to controlling rpc_rqst, for debuggingh]h.pointer to controlling rpc_rqst, for debugging}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_init_decode_pages (C function)c.xdr_init_decode_pageshNtauh1hhjDhhhNhNubh)}(hhh](j)}(hovoid xdr_init_decode_pages (struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, unsigned int len)h]j )}(hnvoid xdr_init_decode_pages(struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, unsigned int len)h](jM )}(hvoidh]hvoid}(hj]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjYhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMZubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYhhhjkhMZubj3)}(hxdr_init_decode_pagesh]j9)}(hxdr_init_decode_pagesh]hxdr_init_decode_pages}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjYhhhjkhMZubj )}(hT(struct xdr_stream *xdr, struct xdr_buf *buf, struct page **pages, unsigned int len)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_init_decode_pagesasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct xdr_buf *bufh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]jc.xdr_init_decode_pagesasbuh1hhjubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct page **pagesh](j)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(hhh]j9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_init_decode_pagesasbuh1hhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjYhhhjkhMZubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjUhhhjkhMZubah}(h]jPah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjkhMZhjRhhubjg)}(hhh]jl)}(h0Initialize an xdr_stream for decoding into pagesh]h0Initialize an xdr_stream for decoding into pages}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMZhjXhhubah}(h]h ]h"]h$]h&]uh1jfhjRhhhjkhMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``struct xdr_buf *buf`` pointer to XDR buffer from which to decode data ``struct page **pages`` list of pages to decode into ``unsigned int len`` length in bytes of buffer in pagesh](jl)}(h**Parameters**h]j)}(hj}h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM^hjwubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM[hjubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjubj)}(hH``struct xdr_buf *buf`` pointer to XDR buffer from which to decode data h](j)}(h``struct xdr_buf *buf``h]j)}(hjh]hstruct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM\hjubj)}(hhh]jl)}(h/pointer to XDR buffer from which to decode datah]h/pointer to XDR buffer from which to decode data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubj)}(h5``struct page **pages`` list of pages to decode into h](j)}(h``struct page **pages``h]j)}(hjh]hstruct page **pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM]hjubj)}(hhh]jl)}(hlist of pages to decode intoh]hlist of pages to decode into}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hM]hj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hM]hjubj)}(h7``unsigned int len`` length in bytes of buffer in pagesh](j)}(h``unsigned int len``h]j)}(hjGh]hunsigned int len}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM_hjAubj)}(hhh]jl)}(h"length in bytes of buffer in pagesh]h"length in bytes of buffer in pages}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM^hj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hM_hjubeh}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_finish_decode (C function)c.xdr_finish_decodehNtauh1hhjDhhhNhNubh)}(hhh](j)}(h/void xdr_finish_decode (struct xdr_stream *xdr)h]j )}(h.void xdr_finish_decode(struct xdr_stream *xdr)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMmubj3)}(hxdr_finish_decodeh]j9)}(hxdr_finish_decodeh]hxdr_finish_decode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMmubj )}(h(struct xdr_stream *xdr)h]j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_finish_decodeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMmubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMmubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMmhjhhubjg)}(hhh]jl)}(h,Clean up the xdr_stream after decoding data.h]h,Clean up the xdr_stream after decoding data.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMmhj^hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMmubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhjDhNhNubj)}(hI**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream structh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMqhj}ubj)}(hhh]j)}(h7``struct xdr_stream *xdr`` pointer to xdr_stream structh](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMshjubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_inline_decode (C function)c.xdr_inline_decodehNtauh1hhjDhhhNhNubh)}(hhh](j)}(hB__be32 * xdr_inline_decode (struct xdr_stream *xdr, size_t nbytes)h]j )}(h@__be32 *xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes)h](h)}(hhh]j9)}(h__be32h]h__be32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j xdr_inline_decodesbc.xdr_inline_decodeasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubj )}(hj h]h*}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj hMubj3)}(hxdr_inline_decodeh]j9)}(hjh]hxdr_inline_decode}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMubj )}(h'(struct xdr_stream *xdr, size_t nbytes)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]jc.xdr_inline_decodeasbuh1hhjWubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSubj )}(h size_t nbytesh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_inline_decodeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMhjhhubjg)}(hhh]jl)}(hRetrieve XDR data to decodeh]hRetrieve XDR data to decode}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj!hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjDhNhNubj)}(hX\**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``size_t nbytes`` number of bytes of data to decode **Description** Check if the input buffer is long enough to enable us to decode 'nbytes' more bytes of data starting at the current position. If so return the current pointer, then update the current pointer position.h](jl)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj@ubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjeh]hstruct xdr_stream *xdr}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj_ubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj\ubj)}(h4``size_t nbytes`` number of bytes of data to decode h](j)}(h``size_t nbytes``h]j)}(hjh]h size_t nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(h!number of bytes of data to decodeh]h!number of bytes of data to decode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj\ubeh}(h]h ]h"]h$]h&]uh1jhj@ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj@ubjl)}(hCheck if the input buffer is long enough to enable us to decode 'nbytes' more bytes of data starting at the current position. If so return the current pointer, then update the current pointer position.h]hCheck if the input buffer is long enough to enable us to decode ‘nbytes’ more bytes of data starting at the current position. If so return the current pointer, then update the current pointer position.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_read_pages (C function)c.xdr_read_pageshNtauh1hhjDhhhNhNubh)}(hhh](j)}(hFunsigned int xdr_read_pages (struct xdr_stream *xdr, unsigned int len)h]j )}(hEunsigned int xdr_read_pages(struct xdr_stream *xdr, unsigned int len)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj,hMubjM )}(hinth]hint}(hj;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhj,hMubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj,hMubj3)}(hxdr_read_pagesh]j9)}(hxdr_read_pagesh]hxdr_read_pages}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj,hMubj )}(h*(struct xdr_stream *xdr, unsigned int len)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j]sbc.xdr_read_pagesasbuh1hhjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj,hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj,hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,hMhjhhubjg)}(hhh]jl)}(h5align page-based XDR data to current pointer positionh]h5align page-based XDR data to current pointer position}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``unsigned int len`` number of bytes of page data **Description** Moves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + **len** bytes is moved into the XDR tail[]. The xdr_stream current position is then advanced past that data to align to the next XDR object in the tail. Returns the number of XDR encoded bytes now contained in the pagesh](jl)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjgubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``unsigned int len`` number of bytes of page data h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hnumber of bytes of page datah]hnumber of bytes of page data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjgubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjgubjl)}(hX#Moves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + **len** bytes is moved into the XDR tail[]. The xdr_stream current position is then advanced past that data to align to the next XDR object in the tail.h](hMoves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + }(hjhhhNhNubj)}(h**len**h]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes is moved into the XDR tail[]. The xdr_stream current position is then advanced past that data to align to the next XDR object in the tail.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjgubjl)}(hBReturns the number of XDR encoded bytes now contained in the pagesh]hBReturns the number of XDR encoded bytes now contained in the pages}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_set_pagelen (C function)c.xdr_set_pagelenhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h?void xdr_set_pagelen (struct xdr_stream *xdr, unsigned int len)h]j )}(h>void xdr_set_pagelen(struct xdr_stream *xdr, unsigned int len)h](jM )}(hvoidh]hvoid}(hjfhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjthMubj3)}(hxdr_set_pagelenh]j9)}(hxdr_set_pagelenh]hxdr_set_pagelen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjthMubj )}(h*(struct xdr_stream *xdr, unsigned int len)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_set_pagelenasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjbhhhjthMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^hhhjthMubah}(h]jYah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjthMhj[hhubjg)}(hhh]jl)}(h Sets the length of the XDR pagesh]h Sets the length of the XDR pages}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjthhubah}(h]h ]h"]h$]h&]uh1jfhj[hhhjthMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``unsigned int len`` new length of the XDR page data **Description** Either grows or shrinks the length of the xdr pages by setting pagelen to **len** bytes. When shrinking, any extra data is moved into buf->tail, whereas when growing any data beyond the current pointer is moved into the tail. Returns True if the operation was successful, and False otherwise.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``unsigned int len`` new length of the XDR page data h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hnew length of the XDR page datah]hnew length of the XDR page data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj,h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjl)}(hEither grows or shrinks the length of the xdr pages by setting pagelen to **len** bytes. When shrinking, any extra data is moved into buf->tail, whereas when growing any data beyond the current pointer is moved into the tail.h](hJEither grows or shrinks the length of the xdr pages by setting pagelen to }(hjBhhhNhNubj)}(h**len**h]hlen}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh bytes. When shrinking, any extra data is moved into buf->tail, whereas when growing any data beyond the current pointer is moved into the tail.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubjl)}(hBReturns True if the operation was successful, and False otherwise.h]hBReturns True if the operation was successful, and False otherwise.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_enter_page (C function)c.xdr_enter_pagehNtauh1hhjDhhhNhNubh)}(hhh](j)}(h>void xdr_enter_page (struct xdr_stream *xdr, unsigned int len)h]j )}(h=void xdr_enter_page(struct xdr_stream *xdr, unsigned int len)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hxdr_enter_pageh]j9)}(hxdr_enter_pageh]hxdr_enter_page}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h*(struct xdr_stream *xdr, unsigned int len)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_enter_pageasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj=ubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubjM )}(hinth]hint}(hj]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj=ubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj9)}(hlenh]hlen}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hdecode data from the XDR pageh]hdecode data from the XDR page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream struct ``unsigned int len`` number of bytes of page data **Description** Moves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + "len" bytes is moved into the XDR tail[]. The current pointer is then repositioned at the beginning of the first XDR page.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM hjubj)}(hhh](j)}(h8``struct xdr_stream *xdr`` pointer to xdr_stream struct h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hpointer to xdr_stream structh]hpointer to xdr_stream struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``unsigned int len`` number of bytes of page data h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hnumber of bytes of page datah]hnumber of bytes of page data}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjXh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM hjubjl)}(hXMoves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + "len" bytes is moved into the XDR tail[]. The current pointer is then repositioned at the beginning of the first XDR page.h]hX Moves data beyond the current pointer position from the XDR head[] buffer into the page list. Any data that lies beyond current position + “len” bytes is moved into the XDR tail[]. The current pointer is then repositioned at the beginning of the first XDR page.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_subsegment (C function)c.xdr_buf_subsegmenthNtauh1hhjDhhhNhNubh)}(hhh](j)}(hoint xdr_buf_subsegment (const struct xdr_buf *buf, struct xdr_buf *subbuf, unsigned int base, unsigned int len)h]j )}(hnint xdr_buf_subsegment(const struct xdr_buf *buf, struct xdr_buf *subbuf, unsigned int base, unsigned int len)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM=ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM=ubj3)}(hxdr_buf_subsegmenth]j9)}(hxdr_buf_subsegmenth]hxdr_buf_subsegment}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM=ubj )}(hX(const struct xdr_buf *buf, struct xdr_buf *subbuf, unsigned int base, unsigned int len)h](j )}(hconst struct xdr_buf *bufh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_buf_subsegmentasbuh1hhjubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct xdr_buf *subbufh](j)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j/c.xdr_buf_subsegmentasbuh1hhjcubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hsubbufh]hsubbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int baseh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hbaseh]hbase}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hj(hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubjM )}(hinth]hint}(hjDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$ubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj9)}(hlenh]hlen}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM=ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM=ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM=hjhhubjg)}(hhh]jl)}(hset subbuf to a portion of bufh]hset subbuf to a portion of buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM=hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``const struct xdr_buf *buf`` an xdr buffer ``struct xdr_buf *subbuf`` the result buffer ``unsigned int base`` beginning of range in bytes ``unsigned int len`` length of range in bytes **Description** sets **subbuf** to an xdr buffer representing the portion of **buf** of length **len** starting at offset **base**. **buf** and **subbuf** may be pointers to the same struct xdr_buf. Returns -1 if base or length are out of bounds.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMAhjubj)}(hhh](j)}(h,``const struct xdr_buf *buf`` an xdr buffer h](j)}(h``const struct xdr_buf *buf``h]j)}(hjh]hconst struct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM>hjubj)}(hhh]jl)}(h an xdr bufferh]h an xdr buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(h-``struct xdr_buf *subbuf`` the result buffer h](j)}(h``struct xdr_buf *subbuf``h]j)}(hjh]hstruct xdr_buf *subbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM?hjubj)}(hhh]jl)}(hthe result bufferh]hthe result buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubj)}(h2``unsigned int base`` beginning of range in bytes h](j)}(h``unsigned int base``h]j)}(hj=h]hunsigned int base}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM@hj7ubj)}(hhh]jl)}(hbeginning of range in bytesh]hbeginning of range in bytes}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhM@hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM@hjubj)}(h.``unsigned int len`` length of range in bytes h](j)}(h``unsigned int len``h]j)}(hjvh]hunsigned int len}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMAhjpubj)}(hhh]jl)}(hlength of range in bytesh]hlength of range in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMChjubjl)}(hssets **subbuf** to an xdr buffer representing the portion of **buf** of length **len** starting at offset **base**.h](hsets }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. to an xdr buffer representing the portion of }(hjhhhNhNubj)}(h**buf**h]hbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh of length }(hjhhhNhNubj)}(h**len**h]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh starting at offset }(hjhhhNhNubj)}(h**base**h]hbase}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMBhjubjl)}(hB**buf** and **subbuf** may be pointers to the same struct xdr_buf.h](j)}(h**buf**h]hbuf}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, may be pointers to the same struct xdr_buf.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMEhjubjl)}(h/Returns -1 if base or length are out of bounds.h]h/Returns -1 if base or length are out of bounds.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMGhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xdr_stream_subsegment (C function)c.xdr_stream_subsegmenthNtauh1hhjDhhhNhNubh)}(hhh](j)}(h`bool xdr_stream_subsegment (struct xdr_stream *xdr, struct xdr_buf *subbuf, unsigned int nbytes)h]j )}(h_bool xdr_stream_subsegment(struct xdr_stream *xdr, struct xdr_buf *subbuf, unsigned int nbytes)h](jM )}(hjh]hbool}(hj|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM{ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxhhhjhM{ubj3)}(hxdr_stream_subsegmenth]j9)}(hxdr_stream_subsegmenth]hxdr_stream_subsegment}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjxhhhjhM{ubj )}(hE(struct xdr_stream *xdr, struct xdr_buf *subbuf, unsigned int nbytes)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.xdr_stream_subsegmentasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct xdr_buf *subbufh](j)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]jc.xdr_stream_subsegmentasbuh1hhj&ubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj )}(hj h]h*}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj9)}(hsubbufh]hsubbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int nbytesh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hnbytesh]hnbytes}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjxhhhjhM{ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjthhhjhM{ubah}(h]joah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM{hjqhhubjg)}(hhh]jl)}(h&set **subbuf** to a portion of **xdr**h](hset }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to a portion of }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM{hjhhubah}(h]h ]h"]h$]h&]uh1jfhjqhhhjhM{ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjDhNhNubj)}(hXG**Parameters** ``struct xdr_stream *xdr`` an xdr_stream set up for decoding ``struct xdr_buf *subbuf`` the result buffer ``unsigned int nbytes`` length of **xdr** to extract, in bytes **Description** Sets up **subbuf** to represent a portion of **xdr**. The portion starts at the current offset in **xdr**, and extends for a length of **nbytes**. If this is successful, **xdr** is advanced to the next XDR data item following that portion. Return values: ``true``: **subbuf** has been initialized, and **xdr** has been advanced. ``false``: a bounds error has occurredh](jl)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj8ubj)}(hhh](j)}(h=``struct xdr_stream *xdr`` an xdr_stream set up for decoding h](j)}(h``struct xdr_stream *xdr``h]j)}(hj]h]hstruct xdr_stream *xdr}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM|hjWubj)}(hhh]jl)}(h!an xdr_stream set up for decodingh]h!an xdr_stream set up for decoding}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhM|hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM|hjTubj)}(h-``struct xdr_buf *subbuf`` the result buffer h](j)}(h``struct xdr_buf *subbuf``h]j)}(hjh]hstruct xdr_buf *subbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM}hjubj)}(hhh]jl)}(hthe result bufferh]hthe result buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM}hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM}hjTubj)}(h?``unsigned int nbytes`` length of **xdr** to extract, in bytes h](j)}(h``unsigned int nbytes``h]j)}(hjh]hunsigned int nbytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM~hjubj)}(hhh]jl)}(h&length of **xdr** to extract, in bytesh](h length of }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to extract, in bytes}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM~hjTubeh}(h]h ]h"]h$]h&]uh1jhj8ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj8ubjl)}(hSets up **subbuf** to represent a portion of **xdr**. The portion starts at the current offset in **xdr**, and extends for a length of **nbytes**. If this is successful, **xdr** is advanced to the next XDR data item following that portion.h](hSets up }(hj2hhhNhNubj)}(h **subbuf**h]hsubbuf}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh to represent a portion of }(hj2hhhNhNubj)}(h**xdr**h]hxdr}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh.. The portion starts at the current offset in }(hj2hhhNhNubj)}(h**xdr**h]hxdr}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh, and extends for a length of }(hj2hhhNhNubj)}(h **nbytes**h]hnbytes}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh. If this is successful, }(hj2hhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh> is advanced to the next XDR data item following that portion.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj8ubj)}(hhh]j)}(hReturn values: ``true``: **subbuf** has been initialized, and **xdr** has been advanced. ``false``: a bounds error has occurredh](j)}(hReturn values:h]hReturn values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hp``true``: **subbuf** has been initialized, and **xdr** has been advanced. ``false``: a bounds error has occurredh](j)}(h``true``h]htrue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: }(hjhhhNhNubj)}(h **subbuf**h]hsubbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh has been initialized, and }(hjhhhNhNubj)}(h**xdr**h]hxdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh has been advanced. }(hjhhhNhNubj)}(h ``false``h]hfalse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: a bounds error has occurred}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'xdr_stream_move_subsegment (C function)c.xdr_stream_move_subsegmenthNtauh1hhjDhhhNhNubh)}(hhh](j)}(hunsigned int xdr_stream_move_subsegment (struct xdr_stream *xdr, unsigned int offset, unsigned int target, unsigned int length)h]j )}(h~unsigned int xdr_stream_move_subsegment(struct xdr_stream *xdr, unsigned int offset, unsigned int target, unsigned int length)h](jM )}(hunsignedh]hunsigned}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhjFhMubjM )}(hinth]hint}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4hhhjFhMubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhjFhMubj3)}(hxdr_stream_move_subsegmenth]j9)}(hxdr_stream_move_subsegmenth]hxdr_stream_move_subsegment}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhjFhMubj )}(hW(struct xdr_stream *xdr, unsigned int offset, unsigned int target, unsigned int length)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jwsbc.xdr_stream_move_subsegmentasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int offseth](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hoffseth]hoffset}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int targeth](jM )}(hunsignedh]hunsigned}(hjThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubjM )}(hinth]hint}(hjphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj9)}(htargeth]htarget}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lengthh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlengthh]hlength}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj4hhhjFhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0hhhjFhMubah}(h]j+ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjFhMhj-hhubjg)}(hhh]jl)}(h)Move part of a stream to another positionh]h)Move part of a stream to another position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj-hhhjFhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` the source xdr_stream ``unsigned int offset`` the source offset of the segment ``unsigned int target`` the target offset of the segment ``unsigned int length`` the number of bytes to move **Description** Moves **length** bytes from **offset** to **target** in the xdr_stream, overwriting anything in its space. Returns the number of bytes in the segment.h](jl)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj#ubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` the source xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjHh]hstruct xdr_stream *xdr}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjBubj)}(hhh]jl)}(hthe source xdr_streamh]hthe source xdr_stream}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj?ubj)}(h9``unsigned int offset`` the source offset of the segment h](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj{ubj)}(hhh]jl)}(h the source offset of the segmenth]h the source offset of the segment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj?ubj)}(h9``unsigned int target`` the target offset of the segment h](j)}(h``unsigned int target``h]j)}(hjh]hunsigned int target}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(h the target offset of the segmenth]h the target offset of the segment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj?ubj)}(h4``unsigned int length`` the number of bytes to move h](j)}(h``unsigned int length``h]j)}(hjh]hunsigned int length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hthe number of bytes to moveh]hthe number of bytes to move}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubjl)}(h**Description**h]j)}(hj.h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj#ubjl)}(hMoves **length** bytes from **offset** to **target** in the xdr_stream, overwriting anything in its space. Returns the number of bytes in the segment.h](hMoves }(hjDhhhNhNubj)}(h **length**h]hlength}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh bytes from }(hjDhhhNhNubj)}(h **offset**h]hoffset}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh to }(hjDhhhNhNubj)}(h **target**h]htarget}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubhb in the xdr_stream, overwriting anything in its space. Returns the number of bytes in the segment.}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_stream_zero (C function)c.xdr_stream_zerohNtauh1hhjDhhhNhNubh)}(hhh](j)}(h_unsigned int xdr_stream_zero (struct xdr_stream *xdr, unsigned int offset, unsigned int length)h]j )}(h^unsigned int xdr_stream_zero(struct xdr_stream *xdr, unsigned int offset, unsigned int length)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hxdr_stream_zeroh]j9)}(hxdr_stream_zeroh]hxdr_stream_zero}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hB(struct xdr_stream *xdr, unsigned int offset, unsigned int length)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j )}j jsbc.xdr_stream_zeroasbuh1hhjubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int offseth](jM )}(hunsignedh]hunsigned}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj9)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lengthh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlengthh]hlength}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h#zero out a portion of an xdr_streamh]h#zero out a portion of an xdr_stream}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhj$hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct xdr_stream *xdr`` an xdr_stream to zero out ``unsigned int offset`` the starting point in the stream ``unsigned int length`` the number of bytes to zeroh](jl)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjCubj)}(hhh](j)}(h5``struct xdr_stream *xdr`` an xdr_stream to zero out h](j)}(h``struct xdr_stream *xdr``h]j)}(hjhh]hstruct xdr_stream *xdr}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjbubj)}(hhh]jl)}(han xdr_stream to zero outh]han xdr_stream to zero out}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj_ubj)}(h9``unsigned int offset`` the starting point in the stream h](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(h the starting point in the streamh]h the starting point in the stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj_ubj)}(h3``unsigned int length`` the number of bytes to zeroh](j)}(h``unsigned int length``h]j)}(hjh]hunsigned int length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hthe number of bytes to zeroh]hthe number of bytes to zero}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj_ubeh}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxdr_buf_trim (C function)c.xdr_buf_trimhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h9void xdr_buf_trim (struct xdr_buf *buf, unsigned int len)h]j )}(h8void xdr_buf_trim(struct xdr_buf *buf, unsigned int len)h](jM )}(hvoidh]hvoid}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhjBhMubj3)}(h xdr_buf_trimh]j9)}(h xdr_buf_trimh]h xdr_buf_trim}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhjBhMubj )}(h'(struct xdr_buf *buf, unsigned int len)h](j )}(hstruct xdr_buf *bufh](j)}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubh)}(hhh]j9)}(hxdr_bufh]hxdr_buf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jWsbc.xdr_buf_trimasbuh1hhjmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubeh}(h]h ]h"]h$]h&]jPjQuh1j hj0hhhjBhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,hhhjBhMubah}(h]j'ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjBhMhj)hhubjg)}(hhh]jl)}(h,lop at most "len" bytes off the end of "buf"h]h4lop at most “len” bytes off the end of “buf”}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjBhhubah}(h]h ]h"]h$]h&]uh1jfhj)hhhjBhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct xdr_buf *buf`` buf to be trimmed ``unsigned int len`` number of bytes to reduce "buf" by **Description** Trim an xdr_buf by the given number of bytes by fixing up the lengths. Note that it's possible that we'll trim less than that amount if the xdr_buf is too small, or if (for instance) it's all in the head and the parser has already read too far into it.h](jl)}(h**Parameters**h]j)}(hjgh]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjaubj)}(hhh](j)}(h*``struct xdr_buf *buf`` buf to be trimmed h](j)}(h``struct xdr_buf *buf``h]j)}(hjh]hstruct xdr_buf *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(hbuf to be trimmedh]hbuf to be trimmed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubj)}(h8``unsigned int len`` number of bytes to reduce "buf" by h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjubj)}(hhh]jl)}(h"number of bytes to reduce "buf" byh]h&number of bytes to reduce “buf” by}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubeh}(h]h ]h"]h$]h&]uh1jhjaubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjaubjl)}(hTrim an xdr_buf by the given number of bytes by fixing up the lengths. Note that it's possible that we'll trim less than that amount if the xdr_buf is too small, or if (for instance) it's all in the head and the parser has already read too far into it.h]hXTrim an xdr_buf by the given number of bytes by fixing up the lengths. Note that it’s possible that we’ll trim less than that amount if the xdr_buf is too small, or if (for instance) it’s all in the head and the parser has already read too far into it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)xdr_stream_decode_string_dup (C function)c.xdr_stream_decode_string_duphNtauh1hhjDhhhNhNubh)}(hhh](j)}(hissize_t xdr_stream_decode_string_dup (struct xdr_stream *xdr, char **str, size_t maxlen, gfp_t gfp_flags)h]j )}(hhssize_t xdr_stream_decode_string_dup(struct xdr_stream *xdr, char **str, size_t maxlen, gfp_t gfp_flags)h](h)}(hhh]j9)}(hssize_th]hssize_t}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNj j )}j ]j )}j xdr_stream_decode_string_dupsbc.xdr_stream_decode_string_dupasbuh1hhj;hhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM5 ubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;hhhjchM5 ubj3)}(hxdr_stream_decode_string_duph]j9)}(hj`h]hxdr_stream_decode_string_dup}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;hhhjchM5 ubj )}(hD(struct xdr_stream *xdr, char **str, size_t maxlen, gfp_t gfp_flags)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j^c.xdr_stream_decode_string_dupasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h char **strh](jM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hstrh]hstr}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h size_t maxlenh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]j^c.xdr_stream_decode_string_dupasbuh1hhjLubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj9)}(hmaxlenh]hmaxlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hgfp_t gfp_flagsh](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j^c.xdr_stream_decode_string_dupasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h gfp_flagsh]h gfp_flags}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj;hhhjchM5 ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhjchM5 ubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjchM5 hj4hhubjg)}(hhh]jl)}(h+Decode and duplicate variable length stringh]h+Decode and duplicate variable length string}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM5 hjhhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhjchM5 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``char **str`` location to store pointer to string ``size_t maxlen`` maximum acceptable string length ``gfp_t gfp_flags`` GFP mask to use **Description** Return values: On success, returns length of NUL-terminated string stored in ***ptr** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of the string would exceed **maxlen** ``-ENOMEM`` on memory allocation failureh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM9 hj ubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hj2h]hstruct xdr_stream *xdr}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM6 hj,ubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhM6 hjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhM6 hj)ubj)}(h3``char **str`` location to store pointer to string h](j)}(h``char **str``h]j)}(hjkh]h char **str}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM7 hjeubj)}(hhh]jl)}(h#location to store pointer to stringh]h#location to store pointer to string}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM7 hjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhM7 hj)ubj)}(h3``size_t maxlen`` maximum acceptable string length h](j)}(h``size_t maxlen``h]j)}(hjh]h size_t maxlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM8 hjubj)}(hhh]jl)}(h maximum acceptable string lengthh]h maximum acceptable string length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM8 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8 hj)ubj)}(h$``gfp_t gfp_flags`` GFP mask to use h](j)}(h``gfp_t gfp_flags``h]j)}(hjh]hgfp_t gfp_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM9 hjubj)}(hhh]jl)}(hGFP mask to useh]hGFP mask to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM9 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9 hj)ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM; hj ubj)}(hhh]j)}(hReturn values: On success, returns length of NUL-terminated string stored in ***ptr** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of the string would exceed **maxlen** ``-ENOMEM`` on memory allocation failureh](j)}(hReturn values:h]hReturn values:}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM= hj1ubj)}(hhh]jl)}(hOn success, returns length of NUL-terminated string stored in ***ptr** ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of the string would exceed **maxlen** ``-ENOMEM`` on memory allocation failureh](h>On success, returns length of NUL-terminated string stored in }(hjGhhhNhNubj)}(h***ptr**h]h*ptr}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh }(hjGhhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh on XDR buffer overflow }(hjGhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh( if the size of the string would exceed }(hjGhhhNhNubj)}(h **maxlen**h]hmaxlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh }hjGsbj)}(h ``-ENOMEM``h]h-ENOMEM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh on memory allocation failure}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM; hjDubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjChM= hj.ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*xdr_stream_decode_opaque_auth (C function)c.xdr_stream_decode_opaque_authhNtauh1hhjDhhhNhNubh)}(hhh](j)}(hpssize_t xdr_stream_decode_opaque_auth (struct xdr_stream *xdr, u32 *flavor, void **body, unsigned int *body_len)h]j )}(hossize_t xdr_stream_decode_opaque_auth(struct xdr_stream *xdr, u32 *flavor, void **body, unsigned int *body_len)h](h)}(hhh]j9)}(hssize_th]hssize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j xdr_stream_decode_opaque_authsbc.xdr_stream_decode_opaque_authasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMV ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMV ubj3)}(hxdr_stream_decode_opaque_authh]j9)}(hjh]hxdr_stream_decode_opaque_auth}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMV ubj )}(hJ(struct xdr_stream *xdr, u32 *flavor, void **body, unsigned int *body_len)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNj j )}j ]jc.xdr_stream_decode_opaque_authasbuh1hhj0ubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubj )}(hj h]h*}(hj~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0ubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubj )}(h u32 *flavorh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_stream_decode_opaque_authasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hflavorh]hflavor}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubj )}(h void **bodyh](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbodyh]hbody}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubj )}(hunsigned int *body_lenh](jM )}(hunsignedh]hunsigned}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubjM )}(hinth]hint}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj9)}(hbody_lenh]hbody_len}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMV ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMV ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMV hjhhubjg)}(hhh]jl)}(h(Decode struct opaque_auth (RFC5531 S8.2)h]h(Decode struct opaque_auth (RFC5531 S8.2)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMV hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMV ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``u32 *flavor`` location to store decoded flavor ``void **body`` location to store decode body ``unsigned int *body_len`` location to store length of decoded body **Description** Return values: On success, returns the number of buffer bytes consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the decoded size of the body field exceeds 400 octetsh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMZ hjubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjh]hstruct xdr_stream *xdr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMW hjubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMW hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMW hjubj)}(h1``u32 *flavor`` location to store decoded flavor h](j)}(h``u32 *flavor``h]j)}(hj1h]h u32 *flavor}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMX hj+ubj)}(hhh]jl)}(h location to store decoded flavorh]h location to store decoded flavor}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMX hjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMX hjubj)}(h.``void **body`` location to store decode body h](j)}(h``void **body``h]j)}(hjjh]h void **body}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMY hjdubj)}(hhh]jl)}(hlocation to store decode bodyh]hlocation to store decode body}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMY hjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMY hjubj)}(hD``unsigned int *body_len`` location to store length of decoded body h](j)}(h``unsigned int *body_len``h]j)}(hjh]hunsigned int *body_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMZ hjubj)}(hhh]jl)}(h(location to store length of decoded bodyh]h(location to store length of decoded body}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMZ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZ hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM\ hjubj)}(hhh]j)}(hReturn values: On success, returns the number of buffer bytes consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the decoded size of the body field exceeds 400 octetsh](j)}(hReturn values:h]hReturn values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM] hjubj)}(hhh]jl)}(hOn success, returns the number of buffer bytes consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the decoded size of the body field exceeds 400 octetsh](h8On success, returns the number of buffer bytes consumed }(hj hhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh on XDR buffer overflow }(hj hhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh9 if the decoded size of the body field exceeds 400 octets}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chM\ hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM] hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*xdr_stream_encode_opaque_auth (C function)c.xdr_stream_encode_opaque_authhNtauh1hhjDhhhNhNubh)}(hhh](j)}(hmssize_t xdr_stream_encode_opaque_auth (struct xdr_stream *xdr, u32 flavor, void *body, unsigned int body_len)h]j )}(hlssize_t xdr_stream_encode_opaque_auth(struct xdr_stream *xdr, u32 flavor, void *body, unsigned int body_len)h](h)}(hhh]j9)}(hssize_th]hssize_t}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]j )}j xdr_stream_encode_opaque_authsbc.xdr_stream_encode_opaque_authasbuh1hhjnhhhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMr ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnhhhjhMr ubj3)}(hxdr_stream_encode_opaque_authh]j9)}(hjh]hxdr_stream_encode_opaque_auth}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjnhhhjhMr ubj )}(hG(struct xdr_stream *xdr, u32 flavor, void *body, unsigned int body_len)h](j )}(hstruct xdr_stream *xdrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xdr_streamh]h xdr_stream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.xdr_stream_encode_opaque_authasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxdrh]hxdr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 flavorh](h)}(hhh]j9)}(hu32h]hu32}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]jc.xdr_stream_encode_opaque_authasbuh1hhj0ubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubj9)}(hflavorh]hflavor}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h void *bodyh](jM )}(hvoidh]hvoid}(hj|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hbodyh]hbody}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int body_lenh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hbody_lenh]hbody_len}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjnhhhjhMr ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjjhhhjhMr ubah}(h]jeah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMr hjghhubjg)}(hhh]jl)}(h(Encode struct opaque_auth (RFC5531 S8.2)h]h(Encode struct opaque_auth (RFC5531 S8.2)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMr hjhhubah}(h]h ]h"]h$]h&]uh1jfhjghhhjhMr ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct xdr_stream *xdr`` pointer to xdr_stream ``u32 flavor`` verifier flavor to encode ``void *body`` content of body to encode ``unsigned int body_len`` length of body to encode **Description** Return values: On success, returns length in bytes of XDR buffer consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of **body** exceeds 400 octetsh](jl)}(h**Parameters**h]j)}(hjBh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMv hj<ubj)}(hhh](j)}(h1``struct xdr_stream *xdr`` pointer to xdr_stream h](j)}(h``struct xdr_stream *xdr``h]j)}(hjah]hstruct xdr_stream *xdr}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMs hj[ubj)}(hhh]jl)}(hpointer to xdr_streamh]hpointer to xdr_stream}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMs hjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMs hjXubj)}(h)``u32 flavor`` verifier flavor to encode h](j)}(h``u32 flavor``h]j)}(hjh]h u32 flavor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMt hjubj)}(hhh]jl)}(hverifier flavor to encodeh]hverifier flavor to encode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMt hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMt hjXubj)}(h)``void *body`` content of body to encode h](j)}(h``void *body``h]j)}(hjh]h void *body}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMu hjubj)}(hhh]jl)}(hcontent of body to encodeh]hcontent of body to encode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMu hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMu hjXubj)}(h3``unsigned int body_len`` length of body to encode h](j)}(h``unsigned int body_len``h]j)}(hj h]hunsigned int body_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMv hjubj)}(hhh]jl)}(hlength of body to encodeh]hlength of body to encode}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMv hj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMv hjXubeh}(h]h ]h"]h$]h&]uh1jhj<ubjl)}(h**Description**h]j)}(hjGh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMx hj<ubj)}(hhh]j)}(hReturn values: On success, returns length in bytes of XDR buffer consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of **body** exceeds 400 octetsh](j)}(hReturn values:h]hReturn values:}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMy hj`ubj)}(hhh]jl)}(hOn success, returns length in bytes of XDR buffer consumed ``-EBADMSG`` on XDR buffer overflow ``-EMSGSIZE`` if the size of **body** exceeds 400 octetsh](h;On success, returns length in bytes of XDR buffer consumed }(hjvhhhNhNubj)}(h ``-EBADMSG``h]h-EBADMSG}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh on XDR buffer overflow }(hjvhhhNhNubj)}(h ``-EMSGSIZE``h]h -EMSGSIZE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh if the size of }(hjvhhhNhNubj)}(h**body**h]hbody}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh exceeds 400 octets}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhP/var/lib/git/docbuild/linux/Documentation/networking/kapi:59: ./net/sunrpc/xdr.chMx hjsubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhjrhMy hj]ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_reg_xprt_class (C function)c.svc_reg_xprt_classhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h3int svc_reg_xprt_class (struct svc_xprt_class *xcl)h]j )}(h2int svc_reg_xprt_class(struct svc_xprt_class *xcl)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKNubj3)}(hsvc_reg_xprt_classh]j9)}(hsvc_reg_xprt_classh]hsvc_reg_xprt_class}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKNubj )}(h(struct svc_xprt_class *xcl)h]j )}(hstruct svc_xprt_class *xclh](j)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubh)}(hhh]j9)}(hsvc_xprt_classh]hsvc_xprt_class}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]j )}j jsbc.svc_reg_xprt_classasbuh1hhj&ubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj9)}(hxclh]hxcl}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj"ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKNubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKNubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKNhjhhubjg)}(hhh]jl)}(h*Register a server-side RPC transport classh]h*Register a server-side RPC transport class}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKNhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKNubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct svc_xprt_class *xcl`` New transport class to be registered **Description** Returns zero on success; otherwise a negative errno is returned.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKRhjubj)}(hhh]j)}(hD``struct svc_xprt_class *xcl`` New transport class to be registered h](j)}(h``struct svc_xprt_class *xcl``h]j)}(hjh]hstruct svc_xprt_class *xcl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKOhjubj)}(hhh]jl)}(h$New transport class to be registeredh]h$New transport class to be registered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKOhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj)h]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKQhjubjl)}(h@Returns zero on success; otherwise a negative errno is returned.h]h@Returns zero on success; otherwise a negative errno is returned.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!svc_unreg_xprt_class (C function)c.svc_unreg_xprt_classhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h6void svc_unreg_xprt_class (struct svc_xprt_class *xcl)h]j )}(h5void svc_unreg_xprt_class(struct svc_xprt_class *xcl)h](jM )}(hvoidh]hvoid}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjhhhj|hKhubj3)}(hsvc_unreg_xprt_classh]j9)}(hsvc_unreg_xprt_classh]hsvc_unreg_xprt_class}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjjhhhj|hKhubj )}(h(struct svc_xprt_class *xcl)h]j )}(hstruct svc_xprt_class *xclh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsvc_xprt_classh]hsvc_xprt_class}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.svc_unreg_xprt_classasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxclh]hxcl}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjjhhhj|hKhubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjfhhhj|hKhubah}(h]jaah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj|hKhhjchhubjg)}(hhh]jl)}(h,Unregister a server-side RPC transport classh]h,Unregister a server-side RPC transport class}(hj. hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhhj+ hhubah}(h]h ]h"]h$]h&]uh1jfhjchhhj|hKhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjF jjF jjjuh1hhhhjDhNhNubj)}(hS**Parameters** ``struct svc_xprt_class *xcl`` Transport class to be unregisteredh](jl)}(h**Parameters**h]j)}(hjP h]h Parameters}(hjR hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKlhjJ ubj)}(hhh]j)}(hA``struct svc_xprt_class *xcl`` Transport class to be unregisteredh](j)}(h``struct svc_xprt_class *xcl``h]j)}(hjo h]hstruct svc_xprt_class *xcl}(hjq hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKnhji ubj)}(hhh]jl)}(h"Transport class to be unregisteredh]h"Transport class to be unregistered}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKihj ubah}(h]h ]h"]h$]h&]uh1jhji ubeh}(h]h ]h"]h$]h&]uh1jhj hKnhjf ubah}(h]h ]h"]h$]h&]uh1jhjJ ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$svc_xprt_deferred_close (C function)c.svc_xprt_deferred_closehNtauh1hhjDhhhNhNubh)}(hhh](j)}(h4void svc_xprt_deferred_close (struct svc_xprt *xprt)h]j )}(h3void svc_xprt_deferred_close(struct svc_xprt *xprt)h](jM )}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hKubj3)}(hsvc_xprt_deferred_closeh]j9)}(hsvc_xprt_deferred_closeh]hsvc_xprt_deferred_close}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hKubj )}(h(struct svc_xprt *xprt)h]j )}(hstruct svc_xprt *xprth](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hsvc_xprth]hsvc_xprt}(hj$ hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj! ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj& modnameN classnameNj j )}j ]j )}j j sbc.svc_xprt_deferred_closeasbuh1hhj ubj")}(h h]h }(hjD hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hjR hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hxprth]hxprt}(hj_ hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hKubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hKhj hhubjg)}(hhh]jl)}(hClose a transporth]hClose a transport}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct svc_xprt *xprt`` transport instance **Description** Used in contexts that need to defer the work of shutting down the transport to an nfsd thread.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj ubj)}(hhh]j)}(h-``struct svc_xprt *xprt`` transport instance h](j)}(h``struct svc_xprt *xprt``h]j)}(hj h]hstruct svc_xprt *xprt}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj ubj)}(hhh]jl)}(htransport instanceh]htransport instance}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj ubjl)}(h^Used in contexts that need to defer the work of shutting down the transport to an nfsd thread.h]h^Used in contexts that need to defer the work of shutting down the transport to an nfsd thread.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_received (C function)c.svc_xprt_receivedhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h.void svc_xprt_received (struct svc_xprt *xprt)h]j )}(h-void svc_xprt_received(struct svc_xprt *xprt)h](jM )}(hvoidh]hvoid}(hjJ hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjF hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKubj")}(h h]h }(hjY hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjF hhhjX hKubj3)}(hsvc_xprt_receivedh]j9)}(hsvc_xprt_receivedh]hsvc_xprt_received}(hjk hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjg ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjF hhhjX hKubj )}(h(struct svc_xprt *xprt)h]j )}(hstruct svc_xprt *xprth](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hsvc_xprth]hsvc_xprt}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jm sbc.svc_xprt_receivedasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hxprth]hxprt}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hjF hhhjX hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjB hhhjX hKubah}(h]j= ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjX hKhj? hhubjg)}(hhh]jl)}(hstart next receiver threadh]hstart next receiver thread}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj hhubah}(h]h ]h"]h$]h&]uh1jfhj? hhhjX hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj" jj" jjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct svc_xprt *xprt`` controlling transport **Description** The caller must hold the XPT_BUSY bit and must not thereafter touch transport data. **Note** XPT_DATA only gets cleared when a read-attempt finds no (or insufficient) data.h](jl)}(h**Parameters**h]j)}(hj, h]h Parameters}(hj. hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj* ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj& ubj)}(hhh]j)}(h0``struct svc_xprt *xprt`` controlling transport h](j)}(h``struct svc_xprt *xprt``h]j)}(hjK h]hstruct svc_xprt *xprt}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhjE ubj)}(hhh]jl)}(hcontrolling transporth]hcontrolling transport}(hjd hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj` hKhja ubah}(h]h ]h"]h$]h&]uh1jhjE ubeh}(h]h ]h"]h$]h&]uh1jhj` hKhjB ubah}(h]h ]h"]h$]h&]uh1jhj& ubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj& ubjl)}(hSThe caller must hold the XPT_BUSY bit and must not thereafter touch transport data.h]hSThe caller must hold the XPT_BUSY bit and must not thereafter touch transport data.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj& ubjl)}(h**Note**h]j)}(hj h]hNote}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj& ubjl)}(hOXPT_DATA only gets cleared when a read-attempt finds no (or insufficient) data.h]hOXPT_DATA only gets cleared when a read-attempt finds no (or insufficient) data.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chKhj& ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$svc_xprt_create_from_sa (C function)c.svc_xprt_create_from_sahNtauh1hhjDhhhNhNubh)}(hhh](j)}(hint svc_xprt_create_from_sa (struct svc_serv *serv, const char *xprt_name, struct net *net, struct sockaddr *sap, int flags, const struct cred *cred)h]j )}(hint svc_xprt_create_from_sa(struct svc_serv *serv, const char *xprt_name, struct net *net, struct sockaddr *sap, int flags, const struct cred *cred)h](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM.ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hM.ubj3)}(hsvc_xprt_create_from_sah]j9)}(hsvc_xprt_create_from_sah]hsvc_xprt_create_from_sa}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hM.ubj )}(hy(struct svc_serv *serv, const char *xprt_name, struct net *net, struct sockaddr *sap, int flags, const struct cred *cred)h](j )}(hstruct svc_serv *servh](j)}(hjh]hstruct}(hj/ hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ ubj")}(h h]h }(hj< hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ ubh)}(hhh]j9)}(hsvc_servh]hsvc_serv}(hjM hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJ ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjO modnameN classnameNj j )}j ]j )}j j sbc.svc_xprt_create_from_saasbuh1hhj+ ubj")}(h h]h }(hjm hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ ubj )}(hj h]h*}(hj{ hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+ ubj9)}(hservh]hserv}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj' ubj )}(hconst char *xprt_nameh](j)}(hj h]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubjM )}(hcharh]hchar}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(h xprt_nameh]h xprt_name}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj' ubj )}(hstruct net *neth](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]ji c.svc_xprt_create_from_saasbuh1hhj ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hneth]hnet}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj' ubj )}(hstruct sockaddr *saph](j)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubh)}(hhh]j9)}(hsockaddrh]hsockaddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]ji c.svc_xprt_create_from_saasbuh1hhjjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj9)}(hsaph]hsap}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj' ubj )}(h int flagsh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj' ubj )}(hconst struct cred *credh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hcredh]hcred}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNj j )}j ]ji c.svc_xprt_create_from_saasbuh1hhjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj' ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj hM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hM.ubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hM.hj hhubjg)}(hhh]jl)}(h2Add a new listener to **serv** from socket addressh](hAdd a new listener to }(hjhhhNhNubj)}(h**serv**h]hserv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh from socket address}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM.hjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct svc_serv *serv`` target RPC service ``const char *xprt_name`` transport class name ``struct net *net`` network namespace ``struct sockaddr *sap`` socket address pointer ``int flags`` SVC_SOCK flags ``const struct cred *cred`` credential to bind to this transport **Description** Return local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM2hjubj)}(hhh](j)}(h-``struct svc_serv *serv`` target RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hjh]hstruct svc_serv *serv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM/hjubj)}(hhh]jl)}(htarget RPC serviceh]htarget RPC service}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubj)}(h/``const char *xprt_name`` transport class name h](j)}(h``const char *xprt_name``h]j)}(hj;h]hconst char *xprt_name}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM0hj5ubj)}(hhh]jl)}(htransport class nameh]htransport class name}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhM0hjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhM0hjubj)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hjth]hstruct net *net}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM1hjnubj)}(hhh]jl)}(hnetwork namespaceh]hnetwork namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM1hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjubj)}(h0``struct sockaddr *sap`` socket address pointer h](j)}(h``struct sockaddr *sap``h]j)}(hjh]hstruct sockaddr *sap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM2hjubj)}(hhh]jl)}(hsocket address pointerh]hsocket address pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubj)}(h``int flags`` SVC_SOCK flags h](j)}(h ``int flags``h]j)}(hjh]h int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM3hjubj)}(hhh]jl)}(hSVC_SOCK flagsh]hSVC_SOCK flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubj)}(hA``const struct cred *cred`` credential to bind to this transport h](j)}(h``const struct cred *cred``h]j)}(hjh]hconst struct cred *cred}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM4hjubj)}(hhh]jl)}(h$credential to bind to this transporth]h$credential to bind to this transport}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hM4hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM4hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjZh]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM6hjubjl)}(hDReturn local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](h%Return local xprt port on success or }(hjphhhNhNubj)}(h``-EPROTONOSUPPORT``h]h-EPROTONOSUPPORT}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh on failure}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM5hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_create (C function)c.svc_xprt_createhNtauh1hhjDhhhNhNubh)}(hhh](j)}(hint svc_xprt_create (struct svc_serv *serv, const char *xprt_name, struct net *net, const int family, const unsigned short port, int flags, const struct cred *cred)h]j )}(hint svc_xprt_create(struct svc_serv *serv, const char *xprt_name, struct net *net, const int family, const unsigned short port, int flags, const struct cred *cred)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMXubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMXubj3)}(hsvc_xprt_createh]j9)}(hsvc_xprt_createh]hsvc_xprt_create}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMXubj )}(h(struct svc_serv *serv, const char *xprt_name, struct net *net, const int family, const unsigned short port, int flags, const struct cred *cred)h](j )}(hstruct svc_serv *servh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsvc_servh]hsvc_serv}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.svc_xprt_createasbuh1hhjubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hservh]hserv}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst char *xprt_nameh](j)}(hj h]hconst}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubjM )}(hcharh]hchar}(hj{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\ubj9)}(h xprt_nameh]h xprt_name}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net *neth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j(c.svc_xprt_createasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst int familyh](j)}(hj h]hconst}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubjM )}(hinth]hint}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj)ubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubj9)}(hfamilyh]hfamily}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst unsigned short porth](j)}(hj h]hconst}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubjM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubjM )}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj9)}(hporth]hport}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int flagsh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst struct cred *credh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hcredh]hcred}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]j(c.svc_xprt_createasbuh1hhjubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMXubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMXubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMXhjhhubjg)}(hhh]jl)}(hAdd a new listener to **serv**h](hAdd a new listener to }(hjhhhNhNubj)}(h**serv**h]hserv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMXhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMXubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct svc_serv *serv`` target RPC service ``const char *xprt_name`` transport class name ``struct net *net`` network namespace ``const int family`` network address family ``const unsigned short port`` listener port ``int flags`` SVC_SOCK flags ``const struct cred *cred`` credential to bind to this transport **Description** Return local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM\hjubj)}(hhh](j)}(h-``struct svc_serv *serv`` target RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hj h]hstruct svc_serv *serv}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMYhjubj)}(hhh]jl)}(htarget RPC serviceh]htarget RPC service}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubj)}(h/``const char *xprt_name`` transport class name h](j)}(h``const char *xprt_name``h]j)}(hjBh]hconst char *xprt_name}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMZhj<ubj)}(hhh]jl)}(htransport class nameh]htransport class name}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMZhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMZhjubj)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hj{h]hstruct net *net}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM[hjuubj)}(hhh]jl)}(hnetwork namespaceh]hnetwork namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjubj)}(h,``const int family`` network address family h](j)}(h``const int family``h]j)}(hjh]hconst int family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM\hjubj)}(hhh]jl)}(hnetwork address familyh]hnetwork address family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubj)}(h,``const unsigned short port`` listener port h](j)}(h``const unsigned short port``h]j)}(hjh]hconst unsigned short port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM]hjubj)}(hhh]jl)}(h listener porth]h listener port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjubj)}(h``int flags`` SVC_SOCK flags h](j)}(h ``int flags``h]j)}(hj&h]h int flags}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM^hj ubj)}(hhh]jl)}(hSVC_SOCK flagsh]hSVC_SOCK flags}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hM^hj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hM^hjubj)}(hA``const struct cred *cred`` credential to bind to this transport h](j)}(h``const struct cred *cred``h]j)}(hj_h]hconst struct cred *cred}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM_hjYubj)}(hhh]jl)}(h$credential to bind to this transporth]h$credential to bind to this transport}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthM_hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthM_hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMahjubjl)}(hDReturn local xprt port on success or ``-EPROTONOSUPPORT`` on failureh](h%Return local xprt port on success or }(hjhhhNhNubj)}(h``-EPROTONOSUPPORT``h]h-EPROTONOSUPPORT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on failure}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM`hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_print_addr (C function)c.svc_print_addrhNtauh1hhjDhhhNhNubh)}(hhh](j)}(hEchar * svc_print_addr (struct svc_rqst *rqstp, char *buf, size_t len)h]j )}(hCchar *svc_print_addr(struct svc_rqst *rqstp, char *buf, size_t len)h](jM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hsvc_print_addrh]j9)}(hsvc_print_addrh]hsvc_print_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h/(struct svc_rqst *rqstp, char *buf, size_t len)h](j )}(hstruct svc_rqst *rqstph](j)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubh)}(hhh]j9)}(hsvc_rqsth]hsvc_rqst}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNj j )}j ]j )}j j!sbc.svc_print_addrasbuh1hhj7ubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj7ubj9)}(hrqstph]hrqstp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubj )}(h char *bufh](jM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubj )}(h size_t lenh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]juc.svc_print_addrasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h!Format rq_addr field for printingh]h!Format rq_addr field for printing}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjEhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct svc_rqst *rqstp`` svc_rqst struct containing address to print ``char *buf`` target buffer for formatted address ``size_t len`` length of target bufferh](jl)}(h**Parameters**h]j)}(hjjh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjdubj)}(hhh](j)}(hG``struct svc_rqst *rqstp`` svc_rqst struct containing address to print h](j)}(h``struct svc_rqst *rqstp``h]j)}(hjh]hstruct svc_rqst *rqstp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jl)}(h+svc_rqst struct containing address to printh]h+svc_rqst struct containing address to print}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``char *buf`` target buffer for formatted address h](j)}(h ``char *buf``h]j)}(hjh]h char *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jl)}(h#target buffer for formatted addressh]h#target buffer for formatted address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h&``size_t len`` length of target bufferh](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jl)}(hlength of target bufferh]hlength of target buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_enqueue (C function)c.svc_xprt_enqueuehNtauh1hhjDhhhNhNubh)}(hhh](j)}(h-void svc_xprt_enqueue (struct svc_xprt *xprt)h]j )}(h,void svc_xprt_enqueue(struct svc_xprt *xprt)h](jM )}(hvoidh]hvoid}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQhhhjchMubj3)}(hsvc_xprt_enqueueh]j9)}(hsvc_xprt_enqueueh]hsvc_xprt_enqueue}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQhhhjchMubj )}(h(struct svc_xprt *xprt)h]j )}(hstruct svc_xprt *xprth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsvc_xprth]hsvc_xprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jxsbc.svc_xprt_enqueueasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjQhhhjchMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjMhhhjchMubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjchMhjJhhubjg)}(hhh]jl)}(h(Queue a transport on an idle nfsd threadh]h(Queue a transport on an idle nfsd thread}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjchMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhjDhNhNubj)}(hG**Parameters** ``struct svc_xprt *xprt`` transport with data pendingh](jl)}(h**Parameters**h]j)}(hj7h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj1ubj)}(hhh]j)}(h5``struct svc_xprt *xprt`` transport with data pendingh](j)}(h``struct svc_xprt *xprt``h]j)}(hjVh]hstruct svc_xprt *xprt}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjPubj)}(hhh]jl)}(htransport with data pendingh]htransport with data pending}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_reserve (C function) c.svc_reservehNtauh1hhjDhhhNhNubh)}(hhh](j)}(h4void svc_reserve (struct svc_rqst *rqstp, int space)h]j )}(h3void svc_reserve(struct svc_rqst *rqstp, int space)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM"ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM"ubj3)}(h svc_reserveh]j9)}(h svc_reserveh]h svc_reserve}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM"ubj )}(h#(struct svc_rqst *rqstp, int space)h](j )}(hstruct svc_rqst *rqstph](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsvc_rqsth]hsvc_rqst}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsb c.svc_reserveasbuh1hhjubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hrqstph]hrqstp}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int spaceh](jM )}(hinth]hint}(hj_hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj[ubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubj9)}(hspaceh]hspace}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM"ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM"ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM"hjhhubjg)}(hhh]jl)}(h5change the space reserved for the reply to a request.h]h5change the space reserved for the reply to a request.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM"hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hXF**Parameters** ``struct svc_rqst *rqstp`` The request in question ``int space`` new max space to reserve **Description** Each request reserves some space on the output queue of the transport to make sure the reply fits. This function reduces that reserved space to be the amount of space used already, plus **space**.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM&hjubj)}(hhh](j)}(h3``struct svc_rqst *rqstp`` The request in question h](j)}(h``struct svc_rqst *rqstp``h]j)}(hjh]hstruct svc_rqst *rqstp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM#hjubj)}(hhh]jl)}(hThe request in questionh]hThe request in question}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(h'``int space`` new max space to reserve h](j)}(h ``int space``h]j)}(hjh]h int space}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM$hjubj)}(hhh]jl)}(hnew max space to reserveh]hnew max space to reserve}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hM$hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM$hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjZh]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM&hjubjl)}(hEach request reserves some space on the output queue of the transport to make sure the reply fits. This function reduces that reserved space to be the amount of space used already, plus **space**.h](hEach request reserves some space on the output queue of the transport to make sure the reply fits. This function reduces that reserved space to be the amount of space used already, plus }(hjphhhNhNubj)}(h **space**h]hspace}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM%hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_wake_up (C function) c.svc_wake_uphNtauh1hhjDhhhNhNubh)}(hhh](j)}(h(void svc_wake_up (struct svc_serv *serv)h]j )}(h'void svc_wake_up(struct svc_serv *serv)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMcubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMcubj3)}(h svc_wake_uph]j9)}(h svc_wake_uph]h svc_wake_up}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMcubj )}(h(struct svc_serv *serv)h]j )}(hstruct svc_serv *servh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsvc_servh]hsvc_serv}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.svc_wake_upasbuh1hhjubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hservh]hserv}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMcubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMcubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMchjhhubjg)}(hhh]jl)}(h/Wake up a service thread for non-transport workh]h/Wake up a service thread for non-transport work}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMchjnhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hX|**Parameters** ``struct svc_serv *serv`` RPC service **Description** Some svc_serv's will have occasional work to do, even when a xprt is not waiting to be serviced. This function is there to "kick" a task in one of those services so that it can wake up and do that work. Note that we only bother with pool 0 as we don't need to wake up more than one thread for this purpose.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMghjubj)}(hhh]j)}(h&``struct svc_serv *serv`` RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hjh]hstruct svc_serv *serv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMdhjubj)}(hhh]jl)}(h RPC serviceh]h RPC service}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMfhjubjl)}(hX2Some svc_serv's will have occasional work to do, even when a xprt is not waiting to be serviced. This function is there to "kick" a task in one of those services so that it can wake up and do that work. Note that we only bother with pool 0 as we don't need to wake up more than one thread for this purpose.h]hX:Some svc_serv’s will have occasional work to do, even when a xprt is not waiting to be serviced. This function is there to “kick” a task in one of those services so that it can wake up and do that work. Note that we only bother with pool 0 as we don’t need to wake up more than one thread for this purpose.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMehjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_recv (C function) c.svc_recvhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h1int svc_recv (struct svc_rqst *rqstp, long timeo)h]j )}(h0int svc_recv(struct svc_rqst *rqstp, long timeo)h](jM )}(hinth]hint}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.hhhj@hMubj3)}(hsvc_recvh]j9)}(hsvc_recvh]hsvc_recv}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj@hMubj )}(h$(struct svc_rqst *rqstp, long timeo)h](j )}(hstruct svc_rqst *rqstph](j)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(hsvc_rqsth]hsvc_rqst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jUsb c.svc_recvasbuh1hhjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hrqstph]hrqstp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(h long timeoh](jM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(htimeoh]htimeo}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.hhhj@hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*hhhj@hMubah}(h]j%ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@hMhj'hhubjg)}(hhh]jl)}(h5Receive and process the next request on any transporth]h5Receive and process the next request on any transport}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj$hhubah}(h]h ]h"]h$]h&]uh1jfhj'hhhj@hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct svc_rqst *rqstp`` an idle RPC service thread ``long timeo`` timeout (in jiffies) (0 means infinite timeout) **Description** This code is carefully organised not to touch any cachelines in the shared svc_serv structure, only cachelines in the local svc_pool. If the timeout is 0, then the sleep will never time out. Returns -ETIMEDOUT if idle for an extended period -EBUSY if there is more work to do than available threads 0 otherwise.h](jl)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjCubj)}(hhh](j)}(h6``struct svc_rqst *rqstp`` an idle RPC service thread h](j)}(h``struct svc_rqst *rqstp``h]j)}(hjhh]hstruct svc_rqst *rqstp}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjbubj)}(hhh]jl)}(han idle RPC service threadh]han idle RPC service thread}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj_ubj)}(h?``long timeo`` timeout (in jiffies) (0 means infinite timeout) h](j)}(h``long timeo``h]j)}(hjh]h long timeo}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjubj)}(hhh]jl)}(h/timeout (in jiffies) (0 means infinite timeout)h]h/timeout (in jiffies) (0 means infinite timeout)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj_ubeh}(h]h ]h"]h$]h&]uh1jhjCubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjCubjl)}(hThis code is carefully organised not to touch any cachelines in the shared svc_serv structure, only cachelines in the local svc_pool.h]hThis code is carefully organised not to touch any cachelines in the shared svc_serv structure, only cachelines in the local svc_pool.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjCubjl)}(h8If the timeout is 0, then the sleep will never time out.h]h8If the timeout is 0, then the sleep will never time out.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjCubj)}(hhh]j)}(hxReturns -ETIMEDOUT if idle for an extended period -EBUSY if there is more work to do than available threads 0 otherwise.h](j)}(h1Returns -ETIMEDOUT if idle for an extended periodh]h1Returns -ETIMEDOUT if idle for an extended period}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj ubj)}(hhh]jl)}(hF-EBUSY if there is more work to do than available threads 0 otherwise.h]hF-EBUSY if there is more work to do than available threads 0 otherwise.}(hj) hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj% hMhj& ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj% hMhj ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_close (C function)c.svc_xprt_closehNtauh1hhjDhhhNhNubh)}(hhh](j)}(h+void svc_xprt_close (struct svc_xprt *xprt)h]j )}(h*void svc_xprt_close(struct svc_xprt *xprt)h](jM )}(hvoidh]hvoid}(hji hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hje hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM|ubj")}(h h]h }(hjx hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hje hhhjw hM|ubj3)}(hsvc_xprt_closeh]j9)}(hsvc_xprt_closeh]hsvc_xprt_close}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hje hhhjw hM|ubj )}(h(struct svc_xprt *xprt)h]j )}(hstruct svc_xprt *xprth](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hsvc_xprth]hsvc_xprt}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j j sbc.svc_xprt_closeasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hxprth]hxprt}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hje hhhjw hM|ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhja hhhjw hM|ubah}(h]j\ ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjw hM|hj^ hhubjg)}(hhh]jl)}(hClose a client connectionh]hClose a client connection}(hj)!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM|hj&!hhubah}(h]h ]h"]h$]h&]uh1jfhj^ hhhjw hM|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjA!jjA!jjjuh1hhhhjDhNhNubj)}(hC**Parameters** ``struct svc_xprt *xprt`` transport to disconnecth](jl)}(h**Parameters**h]j)}(hjK!h]h Parameters}(hjM!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI!ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjE!ubj)}(hhh]j)}(h1``struct svc_xprt *xprt`` transport to disconnecth](j)}(h``struct svc_xprt *xprt``h]j)}(hjj!h]hstruct svc_xprt *xprt}(hjl!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh!ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjd!ubj)}(hhh]jl)}(htransport to disconnecth]htransport to disconnect}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM}hj!ubah}(h]h ]h"]h$]h&]uh1jhjd!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMhja!ubah}(h]h ]h"]h$]h&]uh1jhjE!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!svc_xprt_destroy_all (C function)c.svc_xprt_destroy_allhNtauh1hhjDhhhNhNubh)}(hhh](j)}(hSvoid svc_xprt_destroy_all (struct svc_serv *serv, struct net *net, bool unregister)h]j )}(hRvoid svc_xprt_destroy_all(struct svc_serv *serv, struct net *net, bool unregister)h](jM )}(hvoidh]hvoid}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj!hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!hhhj!hMubj3)}(hsvc_xprt_destroy_allh]j9)}(hsvc_xprt_destroy_allh]hsvc_xprt_destroy_all}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj!hhhj!hMubj )}(h9(struct svc_serv *serv, struct net *net, bool unregister)h](j )}(hstruct svc_serv *servh](j)}(hjh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubh)}(hhh]j9)}(hsvc_servh]hsvc_serv}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!"modnameN classnameNj j )}j ]j )}j j!sbc.svc_xprt_destroy_allasbuh1hhj!ubj")}(h h]h }(hj?"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj )}(hj h]h*}(hjM"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!ubj9)}(hservh]hserv}(hjZ"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubj )}(hstruct net *neth](j)}(hjh]hstruct}(hjs"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjo"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjo"ubh)}(hhh]j9)}(hneth]hnet}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j;"c.svc_xprt_destroy_allasbuh1hhjo"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjo"ubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjo"ubj9)}(hneth]hnet}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjo"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubj )}(hbool unregisterh](jM )}(hjh]hbool}(hj"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj9)}(h unregisterh]h unregister}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj!hhhj!hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj!hhhj!hMubah}(h]j!ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj!hMhj!hhubjg)}(hhh]jl)}(h+Destroy transports associated with **serv**h](h#Destroy transports associated with }(hj(#hhhNhNubj)}(h**serv**h]hserv}(hj0#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(#ubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj%#hhubah}(h]h ]h"]h$]h&]uh1jfhj!hhhj!hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjN#jjN#jjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct svc_serv *serv`` RPC service to be shut down ``struct net *net`` target network namespace ``bool unregister`` true if it is OK to unregister the destroyed xprts **Description** Server threads may still be running (especially in the case where the service is still running in other network namespaces). So we shut down sockets the same way we would on a running server, by setting XPT_CLOSE, enqueuing, and letting a thread pick it up to do the close. In the case there are no such other threads, threads running, svc_clean_up_xprts() does a simple version of a server's main event loop, and in the case where there are other threads, we may need to wait a little while and then check again to see if they're done.h](jl)}(h**Parameters**h]j)}(hjX#h]h Parameters}(hjZ#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV#ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjR#ubj)}(hhh](j)}(h6``struct svc_serv *serv`` RPC service to be shut down h](j)}(h``struct svc_serv *serv``h]j)}(hjw#h]hstruct svc_serv *serv}(hjy#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju#ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjq#ubj)}(hhh]jl)}(hRPC service to be shut downh]hRPC service to be shut down}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjq#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjn#ubj)}(h-``struct net *net`` target network namespace h](j)}(h``struct net *net``h]j)}(hj#h]hstruct net *net}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj#ubj)}(hhh]jl)}(htarget network namespaceh]htarget network namespace}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjn#ubj)}(hG``bool unregister`` true if it is OK to unregister the destroyed xprts h](j)}(h``bool unregister``h]j)}(hj#h]hbool unregister}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj#ubj)}(hhh]jl)}(h2true if it is OK to unregister the destroyed xprtsh]h2true if it is OK to unregister the destroyed xprts}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjn#ubeh}(h]h ]h"]h$]h&]uh1jhjR#ubjl)}(h**Description**h]j)}(hj$$h]h Description}(hj&$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"$ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjR#ubjl)}(h|Server threads may still be running (especially in the case where the service is still running in other network namespaces).h]h|Server threads may still be running (especially in the case where the service is still running in other network namespaces).}(hj:$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjR#ubjl)}(hXSo we shut down sockets the same way we would on a running server, by setting XPT_CLOSE, enqueuing, and letting a thread pick it up to do the close. In the case there are no such other threads, threads running, svc_clean_up_xprts() does a simple version of a server's main event loop, and in the case where there are other threads, we may need to wait a little while and then check again to see if they're done.h]hXSo we shut down sockets the same way we would on a running server, by setting XPT_CLOSE, enqueuing, and letting a thread pick it up to do the close. In the case there are no such other threads, threads running, svc_clean_up_xprts() does a simple version of a server’s main event loop, and in the case where there are other threads, we may need to wait a little while and then check again to see if they’re done.}(hjI$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjR#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_find_listener (C function)c.svc_find_listenerhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h}struct svc_xprt * svc_find_listener (struct svc_serv *serv, const char *xcl_name, struct net *net, const struct sockaddr *sa)h]j )}(h{struct svc_xprt *svc_find_listener(struct svc_serv *serv, const char *xcl_name, struct net *net, const struct sockaddr *sa)h](j)}(hjh]hstruct}(hjx$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjt$hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMYubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjt$hhhj$hMYubh)}(hhh]j9)}(hsvc_xprth]hsvc_xprt}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNj j )}j ]j )}j svc_find_listenersbc.svc_find_listenerasbuh1hhjt$hhhj$hMYubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjt$hhhj$hMYubj )}(hj h]h*}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjt$hhhj$hMYubj3)}(hsvc_find_listenerh]j9)}(hj$h]hsvc_find_listener}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjt$hhhj$hMYubj )}(hY(struct svc_serv *serv, const char *xcl_name, struct net *net, const struct sockaddr *sa)h](j )}(hstruct svc_serv *servh](j)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubh)}(hhh]j9)}(hsvc_servh]hsvc_serv}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj %ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j$c.svc_find_listenerasbuh1hhj$ubj")}(h h]h }(hj.%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj )}(hj h]h*}(hj<%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj$ubj9)}(hservh]hserv}(hjI%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(hconst char *xcl_nameh](j)}(hj h]hconst}(hjb%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^%ubj")}(h h]h }(hjo%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^%ubjM )}(hcharh]hchar}(hj}%hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^%ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^%ubj )}(hj h]h*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj^%ubj9)}(hxcl_nameh]hxcl_name}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(hstruct net *neth](j)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubh)}(hhh]j9)}(hneth]hnet}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j$c.svc_find_listenerasbuh1hhj%ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj )}(hj h]h*}(hj &hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%ubj9)}(hneth]hnet}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(hconst struct sockaddr *sah](j)}(hj h]hconst}(hj/&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+&ubj")}(h h]h }(hj<&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+&ubj)}(hjh]hstruct}(hjJ&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+&ubj")}(h h]h }(hjW&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+&ubh)}(hhh]j9)}(hsockaddrh]hsockaddr}(hjh&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hje&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjj&modnameN classnameNj j )}j ]j$c.svc_find_listenerasbuh1hhj+&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+&ubj )}(hj h]h*}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+&ubj9)}(hsah]hsa}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjt$hhhj$hMYubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjp$hhhj$hMYubah}(h]jk$ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$hMYhjm$hhubjg)}(hhh]jl)}(hfind an RPC transport instanceh]hfind an RPC transport instance}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMYhj&hhubah}(h]h ]h"]h$]h&]uh1jfhjm$hhhj$hMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&jj&jjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct svc_serv *serv`` pointer to svc_serv to search ``const char *xcl_name`` C string containing transport's class name ``struct net *net`` owner net pointer ``const struct sockaddr *sa`` sockaddr containing address **Description** Return the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, and matching sockaddr.h](jl)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM]hj&ubj)}(hhh](j)}(h8``struct svc_serv *serv`` pointer to svc_serv to search h](j)}(h``struct svc_serv *serv``h]j)}(hj 'h]hstruct svc_serv *serv}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 'ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMZhj'ubj)}(hhh]jl)}(hpointer to svc_serv to searchh]hpointer to svc_serv to search}(hj%'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!'hMZhj"'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj!'hMZhj'ubj)}(hD``const char *xcl_name`` C string containing transport's class name h](j)}(h``const char *xcl_name``h]j)}(hjE'h]hconst char *xcl_name}(hjG'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC'ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM[hj?'ubj)}(hhh]jl)}(h*C string containing transport's class nameh]h,C string containing transport’s class name}(hj^'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZ'hM[hj['ubah}(h]h ]h"]h$]h&]uh1jhj?'ubeh}(h]h ]h"]h$]h&]uh1jhjZ'hM[hj'ubj)}(h&``struct net *net`` owner net pointer h](j)}(h``struct net *net``h]j)}(hj~'h]hstruct net *net}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|'ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM\hjx'ubj)}(hhh]jl)}(howner net pointerh]howner net pointer}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hM\hj'ubah}(h]h ]h"]h$]h&]uh1jhjx'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM\hj'ubj)}(h:``const struct sockaddr *sa`` sockaddr containing address h](j)}(h``const struct sockaddr *sa``h]j)}(hj'h]hconst struct sockaddr *sa}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM]hj'ubj)}(hhh]jl)}(hsockaddr containing addressh]hsockaddr containing address}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'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&ubjl)}(h**Description**h]j)}(hj'h]h Description}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM_hj&ubjl)}(hReturn the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, and matching sockaddr.h]hReturn the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, and matching sockaddr.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM^hj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_find_xprt (C function)c.svc_find_xprthNtauh1hhjDhhhNhNubh)}(hhh](j)}(hstruct svc_xprt * svc_find_xprt (struct svc_serv *serv, const char *xcl_name, struct net *net, const sa_family_t af, const unsigned short port)h]j )}(hstruct svc_xprt *svc_find_xprt(struct svc_serv *serv, const char *xcl_name, struct net *net, const sa_family_t af, const unsigned short port)h](j)}(hjh]hstruct}(hj7(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3(hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM{ubj")}(h h]h }(hjE(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3(hhhjD(hM{ubh)}(hhh]j9)}(hsvc_xprth]hsvc_xprt}(hjV(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjS(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjX(modnameN classnameNj j )}j ]j )}j svc_find_xprtsbc.svc_find_xprtasbuh1hhj3(hhhjD(hM{ubj")}(h h]h }(hjw(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3(hhhjD(hM{ubj )}(hj h]h*}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3(hhhjD(hM{ubj3)}(h svc_find_xprth]j9)}(hjt(h]h svc_find_xprt}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj3(hhhjD(hM{ubj )}(ho(struct svc_serv *serv, const char *xcl_name, struct net *net, const sa_family_t af, const unsigned short port)h](j )}(hstruct svc_serv *servh](j)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubh)}(hhh]j9)}(hsvc_servh]hsvc_serv}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]jr(c.svc_find_xprtasbuh1hhj(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj )}(hj h]h*}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(ubj9)}(hservh]hserv}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubj )}(hconst char *xcl_nameh](j)}(hj h]hconst}(hj!)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj")}(h h]h }(hj.)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubjM )}(hcharh]hchar}(hj<)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj)ubj")}(h h]h }(hjJ)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubj )}(hj h]h*}(hjX)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)ubj9)}(hxcl_nameh]hxcl_name}(hje)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubj )}(hstruct net *neth](j)}(hjh]hstruct}(hj~)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjz)ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz)ubh)}(hhh]j9)}(hneth]hnet}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNj j )}j ]jr(c.svc_find_xprtasbuh1hhjz)ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz)ubj )}(hj h]h*}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjz)ubj9)}(hneth]hnet}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjz)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubj )}(hconst sa_family_t afh](j)}(hj h]hconst}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubh)}(hhh]j9)}(h sa_family_th]h sa_family_t}(hj *hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj *ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNj j )}j ]jr(c.svc_find_xprtasbuh1hhj)ubj")}(h h]h }(hj**hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubj9)}(hafh]haf}(hj8*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubj )}(hconst unsigned short porth](j)}(hj h]hconst}(hjQ*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM*ubj")}(h h]h }(hj^*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjM*ubjM )}(hunsignedh]hunsigned}(hjl*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjM*ubj")}(h h]h }(hjz*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjM*ubjM )}(hshorth]hshort}(hj*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjM*ubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjM*ubj9)}(hporth]hport}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjM*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj3(hhhjD(hM{ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj/(hhhjD(hM{ubah}(h]j*(ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjD(hM{hj,(hhubjg)}(hhh]jl)}(hfind an RPC transport instanceh]hfind an RPC transport instance}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM{hj*hhubah}(h]h ]h"]h$]h&]uh1jfhj,(hhhjD(hM{ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct svc_serv *serv`` pointer to svc_serv to search ``const char *xcl_name`` C string containing transport's class name ``struct net *net`` owner net pointer ``const sa_family_t af`` Address family of transport's local address ``const unsigned short port`` transport's IP port number **Description** Return the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, address family and port. Specifying 0 for the address family or port is effectively a wild-card, and will result in matching the first transport in the service's list that has a matching class name.h](jl)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj*ubj)}(hhh](j)}(h8``struct svc_serv *serv`` pointer to svc_serv to search h](j)}(h``struct svc_serv *serv``h]j)}(hj+h]hstruct svc_serv *serv}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj +ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM|hj +ubj)}(hhh]jl)}(hpointer to svc_serv to searchh]hpointer to svc_serv to search}(hj(+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$+hM|hj%+ubah}(h]h ]h"]h$]h&]uh1jhj +ubeh}(h]h ]h"]h$]h&]uh1jhj$+hM|hj+ubj)}(hD``const char *xcl_name`` C string containing transport's class name h](j)}(h``const char *xcl_name``h]j)}(hjH+h]hconst char *xcl_name}(hjJ+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF+ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM}hjB+ubj)}(hhh]jl)}(h*C string containing transport's class nameh]h,C string containing transport’s class name}(hja+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]+hM}hj^+ubah}(h]h ]h"]h$]h&]uh1jhjB+ubeh}(h]h ]h"]h$]h&]uh1jhj]+hM}hj+ubj)}(h&``struct net *net`` owner net pointer h](j)}(h``struct net *net``h]j)}(hj+h]hstruct net *net}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chM~hj{+ubj)}(hhh]jl)}(howner net pointerh]howner net pointer}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hM~hj+ubah}(h]h ]h"]h$]h&]uh1jhj{+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM~hj+ubj)}(hE``const sa_family_t af`` Address family of transport's local address h](j)}(h``const sa_family_t af``h]j)}(hj+h]hconst sa_family_t af}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj+ubj)}(hhh]jl)}(h+Address family of transport's local addressh]h-Address family of transport’s local address}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMhj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMhj+ubj)}(h9``const unsigned short port`` transport's IP port number h](j)}(h``const unsigned short port``h]j)}(hj+h]hconst unsigned short port}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj+ubj)}(hhh]jl)}(htransport's IP port numberh]htransport’s IP port number}(hj ,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hMhj ,ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj+ubeh}(h]h ]h"]h$]h&]uh1jhj*ubjl)}(h**Description**h]j)}(hj.,h]h Description}(hj0,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,,ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj*ubjl)}(hReturn the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, address family and port.h]hReturn the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, address family and port.}(hjD,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj*ubjl)}(hSpecifying 0 for the address family or port is effectively a wild-card, and will result in matching the first transport in the service's list that has a matching class name.h]hSpecifying 0 for the address family or port is effectively a wild-card, and will result in matching the first transport in the service’s list that has a matching class name.}(hjS,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsvc_xprt_names (C function)c.svc_xprt_nameshNtauh1hhjDhhhNhNubh)}(hhh](j)}(hGint svc_xprt_names (struct svc_serv *serv, char *buf, const int buflen)h]j )}(hFint svc_xprt_names(struct svc_serv *serv, char *buf, const int buflen)h](jM )}(hinth]hint}(hj,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj~,hhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~,hhhj,hMubj3)}(hsvc_xprt_namesh]j9)}(hsvc_xprt_namesh]hsvc_xprt_names}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj~,hhhj,hMubj )}(h4(struct svc_serv *serv, char *buf, const int buflen)h](j )}(hstruct svc_serv *servh](j)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubh)}(hhh]j9)}(hsvc_servh]hsvc_serv}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]j )}j j,sbc.svc_xprt_namesasbuh1hhj,ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubj )}(hj h]h*}(hj -hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,ubj9)}(hservh]hserv}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubj )}(h char *bufh](jM )}(hcharh]hchar}(hj1-hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj--ubj")}(h h]h }(hj?-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj--ubj )}(hj h]h*}(hjM-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj--ubj9)}(hbufh]hbuf}(hjZ-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj--ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubj )}(hconst int buflenh](j)}(hj h]hconst}(hjs-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjo-ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjo-ubjM )}(hinth]hint}(hj-hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjo-ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjo-ubj9)}(hbuflenh]hbuflen}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjo-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj~,hhhj,hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjz,hhhj,hMubah}(h]ju,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,hMhjw,hhubjg)}(hhh]jl)}(h.format a buffer with a list of transport namesh]h.format a buffer with a list of transport names}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj-hhubah}(h]h ]h"]h$]h&]uh1jfhjw,hhhj,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct svc_serv *serv`` pointer to an RPC service ``char *buf`` pointer to a buffer to be filled in ``const int buflen`` length of buffer to be filled in **Description** Fills in **buf** with a string containing a list of transport names, each name terminated with '\n'. Returns positive length of the filled-in string on success; otherwise a negative errno value is returned if an error occurs.h](jl)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj-ubj)}(hhh](j)}(h4``struct svc_serv *serv`` pointer to an RPC service h](j)}(h``struct svc_serv *serv``h]j)}(hj.h]hstruct svc_serv *serv}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj.ubj)}(hhh]jl)}(hpointer to an RPC serviceh]hpointer to an RPC service}(hj..hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*.hMhj+.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj*.hMhj .ubj)}(h2``char *buf`` pointer to a buffer to be filled in h](j)}(h ``char *buf``h]j)}(hjN.h]h char *buf}(hjP.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL.ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhjH.ubj)}(hhh]jl)}(h#pointer to a buffer to be filled inh]h#pointer to a buffer to be filled in}(hjg.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjc.hMhjd.ubah}(h]h ]h"]h$]h&]uh1jhjH.ubeh}(h]h ]h"]h$]h&]uh1jhjc.hMhj .ubj)}(h6``const int buflen`` length of buffer to be filled in h](j)}(h``const int buflen``h]j)}(hj.h]hconst int buflen}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj.ubj)}(hhh]jl)}(h length of buffer to be filled inh]h length of buffer to be filled in}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hMhj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hMhj .ubeh}(h]h ]h"]h$]h&]uh1jhj-ubjl)}(h**Description**h]j)}(hj.h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj-ubjl)}(hdFills in **buf** with a string containing a list of transport names, each name terminated with '\n'.h](h Fills in }(hj.hhhNhNubj)}(h**buf**h]hbuf}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubhX with a string containing a list of transport names, each name terminated with ‘n’.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj-ubjl)}(h|Returns positive length of the filled-in string on success; otherwise a negative errno value is returned if an error occurs.h]h|Returns positive length of the filled-in string on success; otherwise a negative errno value is returned if an error occurs.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:62: ./net/sunrpc/svc_xprt.chMhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xprt_register_transport (C function)c.xprt_register_transporthNtauh1hhjDhhhNhNubh)}(hhh](j)}(h:int xprt_register_transport (struct xprt_class *transport)h]j )}(h9int xprt_register_transport(struct xprt_class *transport)h](jM )}(hinth]hint}(hj(/hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$/hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK[ubj")}(h h]h }(hj7/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$/hhhj6/hK[ubj3)}(hxprt_register_transporth]j9)}(hxprt_register_transporth]hxprt_register_transport}(hjI/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjE/ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$/hhhj6/hK[ubj )}(h(struct xprt_class *transport)h]j )}(hstruct xprt_class *transporth](j)}(hjh]hstruct}(hje/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhja/ubj")}(h h]h }(hjr/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hja/ubh)}(hhh]j9)}(h xprt_classh]h xprt_class}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNj j )}j ]j )}j jK/sbc.xprt_register_transportasbuh1hhja/ubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hja/ubj )}(hj h]h*}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hja/ubj9)}(h transporth]h transport}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hja/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]/ubah}(h]h ]h"]h$]h&]jPjQuh1j hj$/hhhj6/hK[ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj /hhhj6/hK[ubah}(h]j/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6/hK[hj/hhubjg)}(hhh]jl)}(h#register a transport implementationh]h#register a transport implementation}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK[hj/hhubah}(h]h ]h"]h$]h&]uh1jfhj/hhhj6/hK[ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhjDhNhNubj)}(hXl**Parameters** ``struct xprt_class *transport`` transport to register **Description** If a transport implementation is loaded as a kernel module, it can call this interface to make itself known to the RPC client. **Return** 0: transport successfully registered -EEXIST: transport already registered -EINVAL: transport module being unloadedh](jl)}(h**Parameters**h]j)}(hj 0h]h Parameters}(hj 0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK_hj0ubj)}(hhh]j)}(h7``struct xprt_class *transport`` transport to register h](j)}(h ``struct xprt_class *transport``h]j)}(hj)0h]hstruct xprt_class *transport}(hj+0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'0ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK\hj#0ubj)}(hhh]jl)}(htransport to registerh]htransport to register}(hjB0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>0hK\hj?0ubah}(h]h ]h"]h$]h&]uh1jhj#0ubeh}(h]h ]h"]h$]h&]uh1jhj>0hK\hj 0ubah}(h]h ]h"]h$]h&]uh1jhj0ubjl)}(h**Description**h]j)}(hjd0h]h Description}(hjf0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb0ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK^hj0ubjl)}(h~If a transport implementation is loaded as a kernel module, it can call this interface to make itself known to the RPC client.h]h~If a transport implementation is loaded as a kernel module, it can call this interface to make itself known to the RPC client.}(hjz0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK]hj0ubjl)}(h **Return**h]j)}(hj0h]hReturn}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chK`hj0ubjl)}(h0: transport successfully registered -EEXIST: transport already registered -EINVAL: transport module being unloadedh]h0: transport successfully registered -EEXIST: transport already registered -EINVAL: transport module being unloaded}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKahj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&xprt_unregister_transport (C function)c.xprt_unregister_transporthNtauh1hhjDhhhNhNubh)}(hhh](j)}(h 0: transport identifier -ENOENT: transport module not availableh](jl)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj 3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhj3ubj)}(hhh]j)}(h(``const char *netid`` transport to load h](j)}(h``const char *netid``h]j)}(hj=3h]hconst char *netid}(hj?3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;3ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhj73ubj)}(hhh]jl)}(htransport to loadh]htransport to load}(hjV3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjR3hKhjS3ubah}(h]h ]h"]h$]h&]uh1jhj73ubeh}(h]h ]h"]h$]h&]uh1jhjR3hKhj43ubah}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h **Return**h]j)}(hjx3h]hReturn}(hjz3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv3ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhj3ubjl)}(hM> 0: transport identifier -ENOENT: transport module not availableh]hM> 0: transport identifier -ENOENT: transport module not available}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chKhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_reserve_xprt (C function)c.xprt_reserve_xprthNtauh1hhjDhhhNhNubh)}(hhh](j)}(hDint xprt_reserve_xprt (struct rpc_xprt *xprt, struct rpc_task *task)h]j )}(hCint xprt_reserve_xprt(struct rpc_xprt *xprt, struct rpc_task *task)h](jM )}(hinth]hint}(hj3hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj3hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3hhhj3hMubj3)}(hxprt_reserve_xprth]j9)}(hxprt_reserve_xprth]hxprt_reserve_xprt}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj3hhhj3hMubj )}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j )}j j3sbc.xprt_reserve_xprtasbuh1hhj3ubj")}(h h]h }(hj84hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj )}(hj h]h*}(hjF4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3ubj9)}(hxprth]hxprt}(hjS4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubj )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hjl4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh4ubj")}(h h]h }(hjy4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjh4ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j44c.xprt_reserve_xprtasbuh1hhjh4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjh4ubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjh4ubj9)}(htaskh]htask}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjh4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj3hhhj3hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3hhhj3hMubah}(h]j3ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj3hMhj3hhubjg)}(hhh]jl)}(h$serialize write access to transportsh]h$serialize write access to transports}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj4hhubah}(h]h ]h"]h$]h&]uh1jfhj3hhhj3hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhjDhNhNubj)}(hXA**Parameters** ``struct rpc_xprt *xprt`` pointer to the target transport ``struct rpc_task *task`` task that is requesting access to the transport **Description** This prevents mixing the payload of separate requests, and prevents transport connects from colliding with writes. No congestion control is provided.h](jl)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 5ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj 5ubj)}(hhh](j)}(h:``struct rpc_xprt *xprt`` pointer to the target transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj.5h]hstruct rpc_xprt *xprt}(hj05hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,5ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj(5ubj)}(hhh]jl)}(hpointer to the target transporth]hpointer to the target transport}(hjG5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjC5hMhjD5ubah}(h]h ]h"]h$]h&]uh1jhj(5ubeh}(h]h ]h"]h$]h&]uh1jhjC5hMhj%5ubj)}(hJ``struct rpc_task *task`` task that is requesting access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hjg5h]hstruct rpc_task *task}(hji5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje5ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhja5ubj)}(hhh]jl)}(h/task that is requesting access to the transporth]h/task that is requesting access to the transport}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|5hMhj}5ubah}(h]h ]h"]h$]h&]uh1jhja5ubeh}(h]h ]h"]h$]h&]uh1jhj|5hMhj%5ubeh}(h]h ]h"]h$]h&]uh1jhj 5ubjl)}(h**Description**h]j)}(hj5h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj 5ubjl)}(hThis prevents mixing the payload of separate requests, and prevents transport connects from colliding with writes. No congestion control is provided.h]hThis prevents mixing the payload of separate requests, and prevents transport connects from colliding with writes. No congestion control is provided.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj 5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_release_xprt (C function)c.xprt_release_xprthNtauh1hhjDhhhNhNubh)}(hhh](j)}(hEvoid xprt_release_xprt (struct rpc_xprt *xprt, struct rpc_task *task)h]j )}(hDvoid xprt_release_xprt(struct rpc_xprt *xprt, struct rpc_task *task)h](jM )}(hvoidh]hvoid}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhj5hMubj3)}(hxprt_release_xprth]j9)}(hxprt_release_xprth]hxprt_release_xprt}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhj5hMubj )}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj$6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 6ubj")}(h h]h }(hj16hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 6ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjB6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjD6modnameN classnameNj j )}j ]j )}j j 6sbc.xprt_release_xprtasbuh1hhj 6ubj")}(h h]h }(hjb6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 6ubj )}(hj h]h*}(hjp6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj 6ubj9)}(hxprth]hxprt}(hj}6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubj )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]j^6c.xprt_release_xprtasbuh1hhj6ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(htaskh]htask}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj5hhhj5hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj5hhhj5hMubah}(h]j5ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj5hMhj5hhubjg)}(hhh]jl)}(h'allow other requests to use a transporth]h'allow other requests to use a transport}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jfhj5hhhj5hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/7jj/7jjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_xprt *xprt`` transport with other tasks potentially waiting ``struct rpc_task *task`` task that is releasing access to the transport **Description** Note that "task" can be NULL. No congestion control is provided.h](jl)}(h**Parameters**h]j)}(hj97h]h Parameters}(hj;7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj77ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj37ubj)}(hhh](j)}(hI``struct rpc_xprt *xprt`` transport with other tasks potentially waiting h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjX7h]hstruct rpc_xprt *xprt}(hjZ7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV7ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjR7ubj)}(hhh]jl)}(h.transport with other tasks potentially waitingh]h.transport with other tasks potentially waiting}(hjq7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjm7hMhjn7ubah}(h]h ]h"]h$]h&]uh1jhjR7ubeh}(h]h ]h"]h$]h&]uh1jhjm7hMhjO7ubj)}(hI``struct rpc_task *task`` task that is releasing access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hj7h]hstruct rpc_task *task}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj7ubj)}(hhh]jl)}(h.task that is releasing access to the transporth]h.task that is releasing access to the transport}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMhj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjO7ubeh}(h]h ]h"]h$]h&]uh1jhj37ubjl)}(h**Description**h]j)}(hj7h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj37ubjl)}(hANote that "task" can be NULL. No congestion control is provided.h]hENote that “task” can be NULL. No congestion control is provided.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj37ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_release_xprt_cong (C function)c.xprt_release_xprt_conghNtauh1hhjDhhhNhNubh)}(hhh](j)}(hJvoid xprt_release_xprt_cong (struct rpc_xprt *xprt, struct rpc_task *task)h]j )}(hIvoid xprt_release_xprt_cong(struct rpc_xprt *xprt, struct rpc_task *task)h](jM )}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj 8hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hj 8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 8hhhj8hMubj3)}(hxprt_release_xprt_congh]j9)}(hxprt_release_xprt_congh]hxprt_release_xprt_cong}(hj28hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj 8hhhj8hMubj )}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hjN8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJ8ubj")}(h h]h }(hj[8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJ8ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjl8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hji8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjn8modnameN classnameNj j )}j ]j )}j j48sbc.xprt_release_xprt_congasbuh1hhjJ8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJ8ubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJ8ubj9)}(hxprth]hxprt}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJ8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjF8ubj )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j8c.xprt_release_xprt_congasbuh1hhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hj 9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(htaskh]htask}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjF8ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj 8hhhj8hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj 8hhhj8hMubah}(h]j8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8hMhj8hhubjg)}(hhh]jl)}(h'allow other requests to use a transporth]h'allow other requests to use a transport}(hjA9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj>9hhubah}(h]h ]h"]h$]h&]uh1jfhj8hhhj8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjY9jjY9jjjuh1hhhhjDhNhNubj)}(hX3**Parameters** ``struct rpc_xprt *xprt`` transport with other tasks potentially waiting ``struct rpc_task *task`` task that is releasing access to the transport **Description** Note that "task" can be NULL. Another task is awoken to use the transport if the transport's congestion window allows it.h](jl)}(h**Parameters**h]j)}(hjc9h]h Parameters}(hje9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja9ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj]9ubj)}(hhh](j)}(hI``struct rpc_xprt *xprt`` transport with other tasks potentially waiting h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj9h]hstruct rpc_xprt *xprt}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj|9ubj)}(hhh]jl)}(h.transport with other tasks potentially waitingh]h.transport with other tasks potentially waiting}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj|9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjy9ubj)}(hI``struct rpc_task *task`` task that is releasing access to the transport h](j)}(h``struct rpc_task *task``h]j)}(hj9h]hstruct rpc_task *task}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj9ubj)}(hhh]jl)}(h.task that is releasing access to the transporth]h.task that is releasing access to the transport}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjy9ubeh}(h]h ]h"]h$]h&]uh1jhj]9ubjl)}(h**Description**h]j)}(hj9h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj]9ubjl)}(hzNote that "task" can be NULL. Another task is awoken to use the transport if the transport's congestion window allows it.h]hNote that “task” can be NULL. Another task is awoken to use the transport if the transport’s congestion window allows it.}(hj :hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj]9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"xprt_request_get_cong (C function)c.xprt_request_get_conghNtauh1hhjDhhhNhNubh)}(hhh](j)}(hHbool xprt_request_get_cong (struct rpc_xprt *xprt, struct rpc_rqst *req)h]j )}(hGbool xprt_request_get_cong(struct rpc_xprt *xprt, struct rpc_rqst *req)h](jM )}(hjh]hbool}(hj;:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7:hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjI:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7:hhhjH:hMubj3)}(hxprt_request_get_congh]j9)}(hxprt_request_get_congh]hxprt_request_get_cong}(hj[:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjW:ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7:hhhjH:hMubj )}(h-(struct rpc_xprt *xprt, struct rpc_rqst *req)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hjw:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjs:ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs:ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]j )}j j]:sbc.xprt_request_get_congasbuh1hhjs:ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs:ubj )}(hj h]h*}(hj:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjs:ubj9)}(hxprth]hxprt}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjs:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjo:ubj )}(hstruct rpc_rqst *reqh](j)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubh)}(hhh]j9)}(hrpc_rqsth]hrpc_rqst}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj ;modnameN classnameNj j )}j ]j:c.xprt_request_get_congasbuh1hhj:ubj")}(h h]h }(hj%;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj )}(hj h]h*}(hj3;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:ubj9)}(hreqh]hreq}(hj@;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjo:ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj7:hhhjH:hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3:hhhjH:hMubah}(h]j.:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjH:hMhj0:hhubjg)}(hhh]jl)}(h"Request congestion control creditsh]h"Request congestion control credits}(hjj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjg;hhubah}(h]h ]h"]h$]h&]uh1jfhj0:hhhjH:hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_xprt *xprt`` pointer to transport ``struct rpc_rqst *req`` pointer to RPC request **Description** Useful for transports that require congestion control.h](jl)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj;ubj)}(hhh](j)}(h/``struct rpc_xprt *xprt`` pointer to transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj;h]hstruct rpc_xprt *xprt}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj;ubj)}(hhh]jl)}(hpointer to transporth]hpointer to transport}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hMhj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj;ubj)}(h0``struct rpc_rqst *req`` pointer to RPC request h](j)}(h``struct rpc_rqst *req``h]j)}(hj;h]hstruct rpc_rqst *req}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj;ubj)}(hhh]jl)}(hpointer to RPC requesth]hpointer to RPC request}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hMhj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;ubjl)}(h**Description**h]j)}(hj<h]h Description}(hj!<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj;ubjl)}(h6Useful for transports that require congestion control.h]h6Useful for transports that require congestion control.}(hj5<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#xprt_release_rqst_cong (C function)c.xprt_release_rqst_conghNtauh1hhjDhhhNhNubh)}(hhh](j)}(h3void xprt_release_rqst_cong (struct rpc_task *task)h]j )}(h2void xprt_release_rqst_cong(struct rpc_task *task)h](jM )}(hvoidh]hvoid}(hjd<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`<hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjs<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`<hhhjr<hMubj3)}(hxprt_release_rqst_congh]j9)}(hxprt_release_rqst_congh]hxprt_release_rqst_cong}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`<hhhjr<hMubj )}(h(struct rpc_task *task)h]j )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNj j )}j ]j )}j j<sbc.xprt_release_rqst_congasbuh1hhj<ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubj )}(hj h]h*}(hj<hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj<ubj9)}(htaskh]htask}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj<ubah}(h]h ]h"]h$]h&]jPjQuh1j hj`<hhhjr<hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj\<hhhjr<hMubah}(h]jW<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjr<hMhjY<hhubjg)}(hhh]jl)}(h%housekeeping when request is completeh]h%housekeeping when request is complete}(hj$=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj!=hhubah}(h]h ]h"]h$]h&]uh1jfhjY<hhhjr<hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<=jj<=jjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_task *task`` RPC request that recently completed **Description** Useful for transports that require congestion control.h](jl)}(h**Parameters**h]j)}(hjF=h]h Parameters}(hjH=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD=ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj@=ubj)}(hhh]j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hje=h]hstruct rpc_task *task}(hjg=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc=ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj_=ubj)}(hhh]jl)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hj~=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjz=hMhj{=ubah}(h]h ]h"]h$]h&]uh1jhj_=ubeh}(h]h ]h"]h$]h&]uh1jhjz=hMhj\=ubah}(h]h ]h"]h$]h&]uh1jhj@=ubjl)}(h**Description**h]j)}(hj=h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj@=ubjl)}(h6Useful for transports that require congestion control.h]h6Useful for transports that require congestion control.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj@=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_adjust_cwnd (C function)c.xprt_adjust_cwndhNtauh1hhjDhhhNhNubh)}(hhh](j)}(hPvoid xprt_adjust_cwnd (struct rpc_xprt *xprt, struct rpc_task *task, int result)h]j )}(hOvoid xprt_adjust_cwnd(struct rpc_xprt *xprt, struct rpc_task *task, int result)h](jM )}(hvoidh]hvoid}(hj=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj=hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM#ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhj=hM#ubj3)}(hxprt_adjust_cwndh]j9)}(hxprt_adjust_cwndh]hxprt_adjust_cwnd}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhj=hM#ubj )}(h:(struct rpc_xprt *xprt, struct rpc_task *task, int result)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj">hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj")}(h h]h }(hj/>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj@>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjB>modnameN classnameNj j )}j ]j )}j j>sbc.xprt_adjust_cwndasbuh1hhj>ubj")}(h h]h }(hj`>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubj )}(hj h]h*}(hjn>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj>ubj9)}(hxprth]hxprt}(hj{>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubj )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNj j )}j ]j\>c.xprt_adjust_cwndasbuh1hhj>ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubj )}(hj h]h*}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj>ubj9)}(htaskh]htask}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubj )}(h int resulth](jM )}(hinth]hint}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubj9)}(hresulth]hresult}(hj ?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj=hhhj=hM#ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj=hhhj=hM#ubah}(h]j=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj=hM#hj=hhubjg)}(hhh]jl)}(h"adjust transport congestion windowh]h"adjust transport congestion window}(hjJ?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM#hjG?hhubah}(h]h ]h"]h$]h&]uh1jfhj=hhhj=hM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjb?jjb?jjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct rpc_xprt *xprt`` pointer to xprt ``struct rpc_task *task`` recently completed RPC request used to adjust window ``int result`` result code of completed RPC request **Description** The transport code maintains an estimate on the maximum number of out- standing RPC requests, using a smoothed version of the congestion avoidance implemented in 44BSD. This is basically the Van Jacobson congestion algorithm: If a retransmit occurs, the congestion window is halved; otherwise, it is incremented by 1/cwnd when - a reply is received and - a full number of requests are outstanding and - the congestion window hasn't been updated recently.h](jl)}(h**Parameters**h]j)}(hjl?h]h Parameters}(hjn?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj?ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hjf?ubj)}(hhh](j)}(h*``struct rpc_xprt *xprt`` pointer to xprt h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj?h]hstruct rpc_xprt *xprt}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM$hj?ubj)}(hhh]jl)}(hpointer to xprth]hpointer to xprt}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hM$hj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hM$hj?ubj)}(hO``struct rpc_task *task`` recently completed RPC request used to adjust window h](j)}(h``struct rpc_task *task``h]j)}(hj?h]hstruct rpc_task *task}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM%hj?ubj)}(hhh]jl)}(h4recently completed RPC request used to adjust windowh]h4recently completed RPC request used to adjust window}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hM%hj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hM%hj?ubj)}(h4``int result`` result code of completed RPC request h](j)}(h``int result``h]j)}(hj?h]h int result}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM&hj?ubj)}(hhh]jl)}(h$result code of completed RPC requesth]h$result code of completed RPC request}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hM&hj@ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj@hM&hj?ubeh}(h]h ]h"]h$]h&]uh1jhjf?ubjl)}(h**Description**h]j)}(hj8@h]h Description}(hj:@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6@ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM(hjf?ubjl)}(hXFThe transport code maintains an estimate on the maximum number of out- standing RPC requests, using a smoothed version of the congestion avoidance implemented in 44BSD. This is basically the Van Jacobson congestion algorithm: If a retransmit occurs, the congestion window is halved; otherwise, it is incremented by 1/cwnd whenh]hXFThe transport code maintains an estimate on the maximum number of out- standing RPC requests, using a smoothed version of the congestion avoidance implemented in 44BSD. This is basically the Van Jacobson congestion algorithm: If a retransmit occurs, the congestion window is halved; otherwise, it is incremented by 1/cwnd when}(hjN@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hjf?ubj)}(h- a reply is received and - a full number of requests are outstanding and - the congestion window hasn't been updated recently.h]jUQ)}(hhh](jZQ)}(ha reply is received andh]jl)}(hjf@h]ha reply is received and}(hjh@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM-hjd@ubah}(h]h ]h"]h$]h&]uh1jYQhja@ubjZQ)}(h-a full number of requests are outstanding andh]jl)}(hj~@h]h-a full number of requests are outstanding and}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM.hj|@ubah}(h]h ]h"]h$]h&]uh1jYQhja@ubjZQ)}(h3the congestion window hasn't been updated recently.h]jl)}(hj@h]h5the congestion window hasn’t been updated recently.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM/hj@ubah}(h]h ]h"]h$]h&]uh1jYQhja@ubeh}(h]h ]h"]h$]h&]j$R-uh1jTQhju@hM-hj]@ubah}(h]h ]h"]h$]h&]uh1jhju@hM-hjf?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$xprt_wake_pending_tasks (C function)c.xprt_wake_pending_taskshNtauh1hhjDhhhNhNubh)}(hhh](j)}(h@void xprt_wake_pending_tasks (struct rpc_xprt *xprt, int status)h]j )}(h?void xprt_wake_pending_tasks(struct rpc_xprt *xprt, int status)h](jM )}(hvoidh]hvoid}(hj@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMKubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@hhhj@hMKubj3)}(hxprt_wake_pending_tasksh]j9)}(hxprt_wake_pending_tasksh]hxprt_wake_pending_tasks}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@hhhj@hMKubj )}(h#(struct rpc_xprt *xprt, int status)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj")}(h h]h }(hj#AhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj4AhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1Aubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6AmodnameN classnameNj j )}j ]j )}j j@sbc.xprt_wake_pending_tasksasbuh1hhjAubj")}(h h]h }(hjTAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj )}(hj h]h*}(hjbAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAubj9)}(hxprth]hxprt}(hjoAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubj )}(h int statush](jM )}(hinth]hint}(hjAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj9)}(hstatush]hstatus}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubeh}(h]h ]h"]h$]h&]jPjQuh1j hj@hhhj@hMKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj@hhhj@hMKubah}(h]j@ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@hMKhj@hhubjg)}(hhh]jl)}(h-wake all tasks on a transport's pending queueh]h/wake all tasks on a transport’s pending queue}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMKhjAhhubah}(h]h ]h"]h$]h&]uh1jfhj@hhhj@hMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_xprt *xprt`` transport with waiting tasks ``int status`` result code to plant in each task before waking ith](jl)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMOhjAubj)}(hhh](j)}(h7``struct rpc_xprt *xprt`` transport with waiting tasks h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjBh]hstruct rpc_xprt *xprt}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Bubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMLhj Bubj)}(hhh]jl)}(htransport with waiting tasksh]htransport with waiting tasks}(hj(BhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$BhMLhj%Bubah}(h]h ]h"]h$]h&]uh1jhj Bubeh}(h]h ]h"]h$]h&]uh1jhj$BhMLhjBubj)}(hA``int status`` result code to plant in each task before waking ith](j)}(h``int status``h]j)}(hjHBh]h int status}(hjJBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFBubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMNhjBBubj)}(hhh]jl)}(h2result code to plant in each task before waking ith]h2result code to plant in each task before waking it}(hjaBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMMhj^Bubah}(h]h ]h"]h$]h&]uh1jhjBBubeh}(h]h ]h"]h$]h&]uh1jhj]BhMNhjBubeh}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'xprt_wait_for_buffer_space (C function)c.xprt_wait_for_buffer_spacehNtauh1hhjDhhhNhNubh)}(hhh](j)}(h7void xprt_wait_for_buffer_space (struct rpc_xprt *xprt)h]j )}(h6void xprt_wait_for_buffer_space(struct rpc_xprt *xprt)h](jM )}(hvoidh]hvoid}(hjBhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMZubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBhhhjBhMZubj3)}(hxprt_wait_for_buffer_spaceh]j9)}(hxprt_wait_for_buffer_spaceh]hxprt_wait_for_buffer_space}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjBhhhjBhMZubj )}(h(struct rpc_xprt *xprt)h]j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]j )}j jBsbc.xprt_wait_for_buffer_spaceasbuh1hhjBubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj )}(hj h]h*}(hj+ChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBubj9)}(hxprth]hxprt}(hj8ChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubah}(h]h ]h"]h$]h&]jPjQuh1j hjBhhhjBhMZubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjBhhhjBhMZubah}(h]jBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjBhMZhjBhhubjg)}(hhh]jl)}(h)wait for transport output buffer to clearh]h)wait for transport output buffer to clear}(hjbChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMZhj_Chhubah}(h]h ]h"]h$]h&]uh1jfhjBhhhjBhMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzCjjzCjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_xprt *xprt`` transport **Description** Note that we only set the timer for the case of RPC_IS_SOFT(), since we don't in general want to force a socket disconnection due to an incomplete RPC call transmission.h](jl)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM^hj~Cubj)}(hhh]j)}(h$``struct rpc_xprt *xprt`` transport h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjCh]hstruct rpc_xprt *xprt}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM[hjCubj)}(hhh]jl)}(h transporth]h transport}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChM[hjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChM[hjCubah}(h]h ]h"]h$]h&]uh1jhj~Cubjl)}(h**Description**h]j)}(hjCh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM]hj~Cubjl)}(hNote that we only set the timer for the case of RPC_IS_SOFT(), since we don't in general want to force a socket disconnection due to an incomplete RPC call transmission.h]hNote that we only set the timer for the case of RPC_IS_SOFT(), since we don’t in general want to force a socket disconnection due to an incomplete RPC call transmission.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM\hj~Cubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_write_space (C function)c.xprt_write_spacehNtauh1hhjDhhhNhNubh)}(hhh](j)}(h-bool xprt_write_space (struct rpc_xprt *xprt)h]j )}(h,bool xprt_write_space(struct rpc_xprt *xprt)h](jM )}(hjh]hbool}(hj#DhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMtubj")}(h h]h }(hj1DhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDhhhj0DhMtubj3)}(hxprt_write_spaceh]j9)}(hxprt_write_spaceh]hxprt_write_space}(hjCDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?Dubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjDhhhj0DhMtubj )}(h(struct rpc_xprt *xprt)h]j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj_DhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[Dubj")}(h h]h }(hjlDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[Dubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj}DhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNj j )}j ]j )}j jEDsbc.xprt_write_spaceasbuh1hhj[Dubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[Dubj )}(hj h]h*}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj[Dubj9)}(hxprth]hxprt}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[Dubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWDubah}(h]h ]h"]h$]h&]jPjQuh1j hjDhhhj0DhMtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjDhhhj0DhMtubah}(h]jDah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0DhMthjDhhubjg)}(hhh]jl)}(h7wake the task waiting for transport output buffer spaceh]h7wake the task waiting for transport output buffer space}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMthjDhhubah}(h]h ]h"]h$]h&]uh1jfhjDhhhj0DhMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_xprt *xprt`` transport with waiting tasks **Description** Can be called in a soft IRQ context, so xprt_write_space never sleeps.h](jl)}(h**Parameters**h]j)}(hjEh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMxhjDubj)}(hhh]j)}(h7``struct rpc_xprt *xprt`` transport with waiting tasks h](j)}(h``struct rpc_xprt *xprt``h]j)}(hj#Eh]hstruct rpc_xprt *xprt}(hj%EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!Eubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMuhjEubj)}(hhh]jl)}(htransport with waiting tasksh]htransport with waiting tasks}(hjqueue_lock.h](jl)}(h**Parameters**h]j)}(hj5Mh]h Parameters}(hj7MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3Mubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM(hj/Mubj)}(hhh](j)}(hR``struct rpc_xprt *xprt`` transport on which the original request was transmitted h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjTMh]hstruct rpc_xprt *xprt}(hjVMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRMubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM%hjNMubj)}(hhh]jl)}(h7transport on which the original request was transmittedh]h7transport on which the original request was transmitted}(hjmMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjiMhM%hjjMubah}(h]h ]h"]h$]h&]uh1jhjNMubeh}(h]h ]h"]h$]h&]uh1jhjiMhM%hjKMubj)}(h)``__be32 xid`` RPC XID of incoming reply h](j)}(h``__be32 xid``h]j)}(hjMh]h __be32 xid}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM&hjMubj)}(hhh]jl)}(hRPC XID of incoming replyh]hRPC XID of incoming reply}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhM&hjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhM&hjKMubeh}(h]h ]h"]h$]h&]uh1jhj/Mubjl)}(h**Description**h]j)}(hjMh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM(hj/Mubjl)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chM'hj/Mubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_pin_rqst (C function)c.xprt_pin_rqsthNtauh1hhjDhhhNhNubh)}(hhh](j)}(h)void xprt_pin_rqst (struct rpc_rqst *req)h]j )}(h(void xprt_pin_rqst(struct rpc_rqst *req)h](jM )}(hvoidh]hvoid}(hj NhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj NhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMDubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj NhhhjNhMDubj3)}(h xprt_pin_rqsth]j9)}(h xprt_pin_rqsth]h xprt_pin_rqst}(hj.NhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*Nubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj NhhhjNhMDubj )}(h(struct rpc_rqst *req)h]j )}(hstruct rpc_rqst *reqh](j)}(hjh]hstruct}(hjJNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFNubj")}(h h]h }(hjWNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFNubh)}(hhh]j9)}(hrpc_rqsth]hrpc_rqst}(hjhNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjNmodnameN classnameNj j )}j ]j )}j j0Nsbc.xprt_pin_rqstasbuh1hhjFNubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFNubj )}(hj h]h*}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFNubj9)}(hreqh]hreq}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBNubah}(h]h ]h"]h$]h&]jPjQuh1j hj NhhhjNhMDubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjNhhhjNhMDubah}(h]jNah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjNhMDhjNhhubjg)}(hhh]jl)}(h+Pin a request on the transport receive listh]h+Pin a request on the transport receive list}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMDhjNhhubah}(h]h ]h"]h$]h&]uh1jfhjNhhhjNhMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_rqst *req`` Request to pin **Description** Caller must ensure this is atomic with the call to xprt_lookup_rqst() so should be holding xprt->queue_lock.h](jl)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMHhjNubj)}(hhh]j)}(h(``struct rpc_rqst *req`` Request to pin h](j)}(h``struct rpc_rqst *req``h]j)}(hjOh]hstruct rpc_rqst *req}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Oubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMEhjOubj)}(hhh]jl)}(hRequest to pinh]hRequest to pin}(hj'OhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#OhMEhj$Oubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhj#OhMEhjOubah}(h]h ]h"]h$]h&]uh1jhjNubjl)}(h**Description**h]j)}(hjIOh]h Description}(hjKOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGOubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMGhjNubjl)}(hlCaller must ensure this is atomic with the call to xprt_lookup_rqst() so should be holding xprt->queue_lock.h]hlCaller must ensure this is atomic with the call to xprt_lookup_rqst() so should be holding xprt->queue_lock.}(hj_OhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMFhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_unpin_rqst (C function)c.xprt_unpin_rqsthNtauh1hhjDhhhNhNubh)}(hhh](j)}(h+void xprt_unpin_rqst (struct rpc_rqst *req)h]j )}(h*void xprt_unpin_rqst(struct rpc_rqst *req)h](jM )}(hvoidh]hvoid}(hjOhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjOhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMQubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOhhhjOhMQubj3)}(hxprt_unpin_rqsth]j9)}(hxprt_unpin_rqsth]hxprt_unpin_rqst}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjOhhhjOhMQubj )}(h(struct rpc_rqst *req)h]j )}(hstruct rpc_rqst *reqh](j)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubh)}(hhh]j9)}(hrpc_rqsth]hrpc_rqst}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j jOsbc.xprt_unpin_rqstasbuh1hhjOubj")}(h h]h }(hj PhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj9)}(hreqh]hreq}(hj$PhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjOubah}(h]h ]h"]h$]h&]jPjQuh1j hjOhhhjOhMQubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjOhhhjOhMQubah}(h]jOah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjOhMQhjOhhubjg)}(hhh]jl)}(h-Unpin a request on the transport receive listh]h-Unpin a request on the transport receive list}(hjNPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMQhjKPhhubah}(h]h ]h"]h$]h&]uh1jfhjOhhhjOhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfPjjfPjjjuh1hhhhjDhNhNubj)}(hv**Parameters** ``struct rpc_rqst *req`` Request to pin **Description** Caller should be holding xprt->queue_lock.h](jl)}(h**Parameters**h]j)}(hjpPh]h Parameters}(hjrPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnPubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMUhjjPubj)}(hhh]j)}(h(``struct rpc_rqst *req`` Request to pin h](j)}(h``struct rpc_rqst *req``h]j)}(hjPh]hstruct rpc_rqst *req}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMRhjPubj)}(hhh]jl)}(hRequest to pinh]hRequest to pin}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhMRhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMRhjPubah}(h]h ]h"]h$]h&]uh1jhjjPubjl)}(h**Description**h]j)}(hjPh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMThjjPubjl)}(h*Caller should be holding xprt->queue_lock.h]h*Caller should be holding xprt->queue_lock.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMShjjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_update_rtt (C function)c.xprt_update_rtthNtauh1hhjDhhhNhNubh)}(hhh](j)}(h,void xprt_update_rtt (struct rpc_task *task)h]j )}(h+void xprt_update_rtt(struct rpc_task *task)h](jM )}(hvoidh]hvoid}(hjQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj QhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj QhhhjQhMubj3)}(hxprt_update_rtth]j9)}(hxprt_update_rtth]hxprt_update_rtt}(hj0QhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,Qubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj QhhhjQhMubj )}(h(struct rpc_task *task)h]j )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hjLQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHQubj")}(h h]h }(hjYQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHQubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlQmodnameN classnameNj j )}j ]j )}j j2Qsbc.xprt_update_rttasbuh1hhjHQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHQubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHQubj9)}(htaskh]htask}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDQubah}(h]h ]h"]h$]h&]jPjQuh1j hj QhhhjQhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjQhhhjQhMubah}(h]jQah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjQhMhjQhhubjg)}(hhh]jl)}(hUpdate RPC RTT statisticsh]hUpdate RPC RTT statistics}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjQhhubah}(h]h ]h"]h$]h&]uh1jfhjQhhhjQhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_task *task`` RPC request that recently completed **Description** Caller holds xprt->queue_lock.h](jl)}(h**Parameters**h]j)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjQubj)}(hhh]j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hjRh]hstruct rpc_task *task}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj Rubj)}(hhh]jl)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hj)RhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%RhMhj&Rubah}(h]h ]h"]h$]h&]uh1jhj Rubeh}(h]h ]h"]h$]h&]uh1jhj%RhMhjRubah}(h]h ]h"]h$]h&]uh1jhjQubjl)}(h**Description**h]j)}(hjKRh]h Description}(hjMRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIRubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjQubjl)}(hCaller holds xprt->queue_lock.h]hCaller holds xprt->queue_lock.}(hjaRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_complete_rqst (C function)c.xprt_complete_rqsthNtauh1hhjDhhhNhNubh)}(hhh](j)}(h;void xprt_complete_rqst (struct rpc_task *task, int copied)h]j )}(h:void xprt_complete_rqst(struct rpc_task *task, int copied)h](jM )}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRhhhjRhMubj3)}(hxprt_complete_rqsth]j9)}(hxprt_complete_rqsth]hxprt_complete_rqst}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjRhhhjRhMubj )}(h#(struct rpc_task *task, int copied)h](j )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNj j )}j ]j )}j jRsbc.xprt_complete_rqstasbuh1hhjRubj")}(h h]h }(hj ShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj )}(hj h]h*}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRubj9)}(htaskh]htask}(hj&ShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubj )}(h int copiedh](jM )}(hinth]hint}(hj?ShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;Subj")}(h h]h }(hjMShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;Subj9)}(hcopiedh]hcopied}(hj[ShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;Subeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubeh}(h]h ]h"]h$]h&]jPjQuh1j hjRhhhjRhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjRhhhjRhMubah}(h]jRah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjRhMhjRhhubjg)}(hhh]jl)}(h(called when reply processing is completeh]h(called when reply processing is complete}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjShhubah}(h]h ]h"]h$]h&]uh1jfhjRhhhjRhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_task *task`` RPC request that recently completed ``int copied`` actual number of bytes received from the transport **Description** Caller holds xprt->queue_lock.h](jl)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjSubj)}(hhh](j)}(h>``struct rpc_task *task`` RPC request that recently completed h](j)}(h``struct rpc_task *task``h]j)}(hjSh]hstruct rpc_task *task}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjSubj)}(hhh]jl)}(h#RPC request that recently completedh]h#RPC request that recently completed}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMhjSubj)}(hB``int copied`` actual number of bytes received from the transport h](j)}(h``int copied``h]j)}(hjSh]h int copied}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjSubj)}(hhh]jl)}(h2actual number of bytes received from the transporth]h2actual number of bytes received from the transport}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThMhjTubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjThMhjSubeh}(h]h ]h"]h$]h&]uh1jhjSubjl)}(h**Description**h]j)}(hj:Th]h Description}(hjqueue_lock.h]hCaller holds xprt->queue_lock.}(hjPThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,xprt_wait_for_reply_request_def (C function)!c.xprt_wait_for_reply_request_defhNtauh1hhjDhhhNhNubh)}(hhh](j)}(hWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Wubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjVubjl)}(hkSet a request's retransmit timeout using the RTT estimator, and put the task to sleep on the pending queue.h]hmSet a request’s retransmit timeout using the RTT estimator, and put the task to sleep on the pending queue.}(hjRWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*xprt_add_backlog_noncongested (C function)c.xprt_add_backlog_noncongestedhNtauh1hhjDhhhNhNubh)}(hhh](j)}(hQvoid xprt_add_backlog_noncongested (struct rpc_xprt *xprt, struct rpc_task *task)h]j )}(hPvoid xprt_add_backlog_noncongested(struct rpc_xprt *xprt, struct rpc_task *task)h](jM )}(hvoidh]hvoid}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}WhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}WhhhjWhMubj3)}(hxprt_add_backlog_noncongestedh]j9)}(hxprt_add_backlog_noncongestedh]hxprt_add_backlog_noncongested}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}WhhhjWhMubj )}(h.(struct rpc_xprt *xprt, struct rpc_task *task)h](j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]j )}j jWsbc.xprt_add_backlog_noncongestedasbuh1hhjWubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWubj )}(hj h]h*}(hj XhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWubj9)}(hxprth]hxprt}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubj )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hj0XhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,Xubj")}(h h]h }(hj=XhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,Xubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjNXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPXmodnameN classnameNj j )}j ]jWc.xprt_add_backlog_noncongestedasbuh1hhj,Xubj")}(h h]h }(hjlXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,Xubj )}(hj h]h*}(hjzXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,Xubj9)}(htaskh]htask}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,Xubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjWubeh}(h]h ]h"]h$]h&]jPjQuh1j hj}WhhhjWhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjyWhhhjWhMubah}(h]jtWah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjWhMhjvWhhubjg)}(hhh]jl)}(hqueue task on backlogh]hqueue task on backlog}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjXhhubah}(h]h ]h"]h$]h&]uh1jfhjvWhhhjWhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1hhhhjDhNhNubj)}(hX8**Parameters** ``struct rpc_xprt *xprt`` transport whose backlog queue receives the task ``struct rpc_task *task`` task to queue **Description** Like xprt_add_backlog, but does not set XPRT_CONGESTED. For transports whose free_slot path does not synchronize with xprt_throttle_congested via reserve_lock.h](jl)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjXubj)}(hhh](j)}(hJ``struct rpc_xprt *xprt`` transport whose backlog queue receives the task h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjXh]hstruct rpc_xprt *xprt}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjXubj)}(hhh]jl)}(h/transport whose backlog queue receives the taskh]h/transport whose backlog queue receives the task}(hj YhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMhjYubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjXubj)}(h(``struct rpc_task *task`` task to queue h](j)}(h``struct rpc_task *task``h]j)}(hj+Yh]hstruct rpc_task *task}(hj-YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)Yubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj%Yubj)}(hhh]jl)}(h task to queueh]h task to queue}(hjDYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@YhMhjAYubah}(h]h ]h"]h$]h&]uh1jhj%Yubeh}(h]h ]h"]h$]h&]uh1jhj@YhMhjXubeh}(h]h ]h"]h$]h&]uh1jhjXubjl)}(h**Description**h]j)}(hjfYh]h Description}(hjhYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdYubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjXubjl)}(hLike xprt_add_backlog, but does not set XPRT_CONGESTED. For transports whose free_slot path does not synchronize with xprt_throttle_congested via reserve_lock.h]hLike xprt_add_backlog, but does not set XPRT_CONGESTED. For transports whose free_slot path does not synchronize with xprt_throttle_congested via reserve_lock.}(hj|YhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_get (C function) c.xprt_gethNtauh1hhjDhhhNhNubh)}(hhh](j)}(h2struct rpc_xprt * xprt_get (struct rpc_xprt *xprt)h]j )}(h0struct rpc_xprt *xprt_get(struct rpc_xprt *xprt)h](j)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYhhhjYhMubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]j )}j xprt_getsb c.xprt_getasbuh1hhjYhhhjYhMubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYhhhjYhMubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYhhhjYhMubj3)}(hxprt_geth]j9)}(hjYh]hxprt_get}(hj ZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjYhhhjYhMubj )}(h(struct rpc_xprt *xprt)h]j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj%ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!Zubj")}(h h]h }(hj2ZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!Zubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjCZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@Zubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEZmodnameN classnameNj j )}j ]jY c.xprt_getasbuh1hhj!Zubj")}(h h]h }(hjaZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!Zubj )}(hj h]h*}(hjoZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!Zubj9)}(hxprth]hxprt}(hj|ZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!Zubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubah}(h]h ]h"]h$]h&]jPjQuh1j hjYhhhjYhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjYhhhjYhMubah}(h]jYah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjYhMhjYhhubjg)}(hhh]jl)}(h'return a reference to an RPC transport.h]h'return a reference to an RPC transport.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jfhjYhhhjYhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1hhhhjDhNhNubj)}(hD**Parameters** ``struct rpc_xprt *xprt`` pointer to the transporth](jl)}(h**Parameters**h]j)}(hjZh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjZubj)}(hhh]j)}(h2``struct rpc_xprt *xprt`` pointer to the transporth](j)}(h``struct rpc_xprt *xprt``h]j)}(hjZh]hstruct rpc_xprt *xprt}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjZubj)}(hhh]jl)}(hpointer to the transporth]hpointer to the transport}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxprt_put (C function) c.xprt_puthNtauh1hhjDhhhNhNubh)}(hhh](j)}(h%void xprt_put (struct rpc_xprt *xprt)h]j )}(h$void xprt_put(struct rpc_xprt *xprt)h](jM )}(hvoidh]hvoid}(hjA[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj=[hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMubj")}(h h]h }(hjP[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=[hhhjO[hMubj3)}(hxprt_puth]j9)}(hxprt_puth]hxprt_put}(hjb[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^[ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=[hhhjO[hMubj )}(h(struct rpc_xprt *xprt)h]j )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hj~[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjz[ubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz[ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNj j )}j ]j )}j jd[sb c.xprt_putasbuh1hhjz[ubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz[ubj )}(hj h]h*}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjz[ubj9)}(hxprth]hxprt}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjz[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjv[ubah}(h]h ]h"]h$]h&]jPjQuh1j hj=[hhhjO[hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9[hhhjO[hMubah}(h]j4[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjO[hMhj6[hhubjg)}(hhh]jl)}(h(release a reference to an RPC transport.h]h(release a reference to an RPC transport.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj[hhubah}(h]h ]h"]h$]h&]uh1jfhj6[hhhjO[hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\jj\jjjuh1hhhhjDhNhNubj)}(hD**Parameters** ``struct rpc_xprt *xprt`` pointer to the transporth](jl)}(h**Parameters**h]j)}(hj#\h]h Parameters}(hj%\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!\ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj\ubj)}(hhh]j)}(h2``struct rpc_xprt *xprt`` pointer to the transporth](j)}(h``struct rpc_xprt *xprt``h]j)}(hjB\h]hstruct rpc_xprt *xprt}(hjD\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@\ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhj<\ubj)}(hhh]jl)}(hpointer to the transporth]hpointer to the transport}(hj[\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:65: ./net/sunrpc/xprt.chMhjX\ubah}(h]h ]h"]h$]h&]uh1jhj<\ubeh}(h]h ]h"]h$]h&]uh1jhjW\hMhj9\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_wake_up (C function) c.rpc_wake_uphNtauh1hhjDhhhNhNubh)}(hhh](j)}(h/void rpc_wake_up (struct rpc_wait_queue *queue)h]j )}(h.void rpc_wake_up(struct rpc_wait_queue *queue)h](jM )}(hvoidh]hvoid}(hj\hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\hhhj\hMubj3)}(h rpc_wake_uph]j9)}(h rpc_wake_uph]h rpc_wake_up}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj\hhhj\hMubj )}(h(struct rpc_wait_queue *queue)h]j )}(hstruct rpc_wait_queue *queueh](j)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubh)}(hhh]j9)}(hrpc_wait_queueh]hrpc_wait_queue}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNj j )}j ]j )}j j\sb c.rpc_wake_upasbuh1hhj\ubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj )}(hj h]h*}(hj%]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\ubj9)}(hqueueh]hqueue}(hj2]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj\ubah}(h]h ]h"]h$]h&]jPjQuh1j hj\hhhj\hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj\hhhj\hMubah}(h]j\ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj\hMhj\hhubjg)}(hhh]jl)}(hwake up all rpc_tasksh]hwake up all rpc_tasks}(hj\]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjY]hhubah}(h]h ]h"]h$]h&]uh1jfhj\hhhj\hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjt]jjt]jjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_wait_queue *queue`` rpc_wait_queue on which the tasks are sleeping **Description** Grabs queue->lockh](jl)}(h**Parameters**h]j)}(hj~]h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|]ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjx]ubj)}(hhh]j)}(hP``struct rpc_wait_queue *queue`` rpc_wait_queue on which the tasks are sleeping h](j)}(h ``struct rpc_wait_queue *queue``h]j)}(hj]h]hstruct rpc_wait_queue *queue}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj]ubj)}(hhh]jl)}(h.rpc_wait_queue on which the tasks are sleepingh]h.rpc_wait_queue on which the tasks are sleeping}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hMhj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjx]ubjl)}(h**Description**h]j)}(hj]h]h Description}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjx]ubjl)}(hGrabs queue->lockh]hGrabs queue->lock}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjx]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_wake_up_status (C function)c.rpc_wake_up_statushNtauh1hhjDhhhNhNubh)}(hhh](j)}(hBvoid rpc_wake_up_status (struct rpc_wait_queue *queue, int status)h]j )}(hAvoid rpc_wake_up_status(struct rpc_wait_queue *queue, int status)h](jM )}(hvoidh]hvoid}(hj^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMubj")}(h h]h }(hj,^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^hhhj+^hMubj3)}(hrpc_wake_up_statush]j9)}(hrpc_wake_up_statush]hrpc_wake_up_status}(hj>^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:^ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^hhhj+^hMubj )}(h*(struct rpc_wait_queue *queue, int status)h](j )}(hstruct rpc_wait_queue *queueh](j)}(hjh]hstruct}(hjZ^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV^ubj")}(h h]h }(hjg^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjV^ubh)}(hhh]j9)}(hrpc_wait_queueh]hrpc_wait_queue}(hjx^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hju^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjz^modnameN classnameNj j )}j ]j )}j j@^sbc.rpc_wake_up_statusasbuh1hhjV^ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjV^ubj )}(hj h]h*}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjV^ubj9)}(hqueueh]hqueue}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjV^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjR^ubj )}(h int statush](jM )}(hinth]hint}(hj^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubj9)}(hstatush]hstatus}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjR^ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj^hhhj+^hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^hhhj+^hMubah}(h]j^ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj+^hMhj^hhubjg)}(hhh]jl)}(h1wake up all rpc_tasks and set their status value.h]h1wake up all rpc_tasks and set their status value.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj_hhubah}(h]h ]h"]h$]h&]uh1jfhj^hhhj+^hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*_jj*_jjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_wait_queue *queue`` rpc_wait_queue on which the tasks are sleeping ``int status`` status value to set **Description** Grabs queue->lockh](jl)}(h**Parameters**h]j)}(hj4_h]h Parameters}(hj6_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2_ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj._ubj)}(hhh](j)}(hP``struct rpc_wait_queue *queue`` rpc_wait_queue on which the tasks are sleeping h](j)}(h ``struct rpc_wait_queue *queue``h]j)}(hjS_h]hstruct rpc_wait_queue *queue}(hjU_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ_ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhjM_ubj)}(hhh]jl)}(h.rpc_wait_queue on which the tasks are sleepingh]h.rpc_wait_queue on which the tasks are sleeping}(hjl_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjh_hMhji_ubah}(h]h ]h"]h$]h&]uh1jhjM_ubeh}(h]h ]h"]h$]h&]uh1jhjh_hMhjJ_ubj)}(h#``int status`` status value to set h](j)}(h``int status``h]j)}(hj_h]h int status}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj_ubj)}(hhh]jl)}(hstatus value to seth]hstatus value to set}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMhj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjJ_ubeh}(h]h ]h"]h$]h&]uh1jhj._ubjl)}(h**Description**h]j)}(hj_h]h Description}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj._ubjl)}(hGrabs queue->lockh]hGrabs queue->lock}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:68: ./net/sunrpc/sched.chMhj._ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_alloc_iostats (C function)c.rpc_alloc_iostatshNtauh1hhjDhhhNhNubh)}(hhh](j)}(h>struct rpc_iostats * rpc_alloc_iostats (struct rpc_clnt *clnt)h]j )}(hstat structure for OP that will accumulate stats from **task**h](h6stat structure for OP that will accumulate stats from }(hjdhhhNhNubj)}(h**task**h]htask}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhKhjdubeh}(h]h ]h"]h$]h&]uh1jhjddubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_count_iostats (C function)c.rpc_count_iostatshNtauh1hhjDhhhNhNubh)}(hhh](j)}(hOvoid rpc_count_iostats (const struct rpc_task *task, struct rpc_iostats *stats)h]j )}(hNvoid rpc_count_iostats(const struct rpc_task *task, struct rpc_iostats *stats)h](jM )}(hvoidh]hvoid}(hj*ehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&ehhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKubj")}(h h]h }(hj9ehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ehhhj8ehKubj3)}(hrpc_count_iostatsh]j9)}(hrpc_count_iostatsh]hrpc_count_iostats}(hjKehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGeubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&ehhhj8ehKubj )}(h8(const struct rpc_task *task, struct rpc_iostats *stats)h](j )}(hconst struct rpc_task *taskh](j)}(hj h]hconst}(hjgehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjceubj")}(h h]h }(hjtehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjceubj)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjceubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjceubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]j )}j jMesbc.rpc_count_iostatsasbuh1hhjceubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjceubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjceubj9)}(htaskh]htask}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjceubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_eubj )}(hstruct rpc_iostats *statsh](j)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubh)}(hhh]j9)}(h rpc_iostatsh]h rpc_iostats}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNj j )}j ]jec.rpc_count_iostatsasbuh1hhjeubj")}(h h]h }(hj0fhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj )}(hj h]h*}(hj>fhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeubj9)}(hstatsh]hstats}(hjKfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_eubeh}(h]h ]h"]h$]h&]jPjQuh1j hj&ehhhj8ehKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj"ehhhj8ehKubah}(h]jeah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8ehKhjehhubjg)}(hhh]jl)}(htally up per-task statsh]htally up per-task stats}(hjufhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjrfhhubah}(h]h ]h"]h$]h&]uh1jfhjehhhj8ehKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``const struct rpc_task *task`` completed rpc_task ``struct rpc_iostats *stats`` array of stat structures **Description** Uses the statidx from **task**h](jl)}(h**Parameters**h]j)}(hjfh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjfubj)}(hhh](j)}(h3``const struct rpc_task *task`` completed rpc_task h](j)}(h``const struct rpc_task *task``h]j)}(hjfh]hconst struct rpc_task *task}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjfubj)}(hhh]jl)}(hcompleted rpc_taskh]hcompleted rpc_task}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhKhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhKhjfubj)}(h7``struct rpc_iostats *stats`` array of stat structures h](j)}(h``struct rpc_iostats *stats``h]j)}(hjfh]hstruct rpc_iostats *stats}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjfubj)}(hhh]jl)}(harray of stat structuresh]harray of stat structures}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghKhjgubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjghKhjfubeh}(h]h ]h"]h$]h&]uh1jhjfubjl)}(h**Description**h]j)}(hj*gh]h Description}(hj,ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(gubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjfubjl)}(hUses the statidx from **task**h](hUses the statidx from }(hj@ghhhNhNubj)}(h**task**h]htask}(hjHghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@gubeh}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:74: ./net/sunrpc/stats.chKhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_queue_upcall (C function)c.rpc_queue_upcallhNtauh1hhjDhhhNhNubh)}(hhh](j)}(hFint rpc_queue_upcall (struct rpc_pipe *pipe, struct rpc_pipe_msg *msg)h]j )}(hEint rpc_queue_upcall(struct rpc_pipe *pipe, struct rpc_pipe_msg *msg)h](jM )}(hinth]hint}(hj}ghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyghhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK}ubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyghhhjghK}ubj3)}(hrpc_queue_upcallh]j9)}(hrpc_queue_upcallh]hrpc_queue_upcall}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjyghhhjghK}ubj )}(h1(struct rpc_pipe *pipe, struct rpc_pipe_msg *msg)h](j )}(hstruct rpc_pipe *pipeh](j)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(hrpc_pipeh]hrpc_pipe}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]j )}j jgsbc.rpc_queue_upcallasbuh1hhjgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hpipeh]hpipe}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(hstruct rpc_pipe_msg *msgh](j)}(hjh]hstruct}(hj,hhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(hubj")}(h h]h }(hj9hhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(hubh)}(hhh]j9)}(h rpc_pipe_msgh]h rpc_pipe_msg}(hjJhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLhmodnameN classnameNj j )}j ]jgc.rpc_queue_upcallasbuh1hhj(hubj")}(h h]h }(hjhhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(hubj )}(hj h]h*}(hjvhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(hubj9)}(hmsgh]hmsg}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(hubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubeh}(h]h ]h"]h$]h&]jPjQuh1j hjyghhhjghK}ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjughhhjghK}ubah}(h]jpgah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjghK}hjrghhubjg)}(hhh]jl)}(h$queue an upcall message to userspaceh]h$queue an upcall message to userspace}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK}hjhhhubah}(h]h ]h"]h$]h&]uh1jfhjrghhhjghK}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct rpc_pipe *pipe`` upcall pipe on which to queue given message ``struct rpc_pipe_msg *msg`` message to queue **Description** Call with an **inode** created by rpc_mkpipe() to queue an upcall. A userspace process may then later read the upcall by performing a read on an open file for this inode. It is up to the caller to initialize the fields of **msg** (other than **msg->list**) appropriately.h](jl)}(h**Parameters**h]j)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjhubj)}(hhh](j)}(hF``struct rpc_pipe *pipe`` upcall pipe on which to queue given message h](j)}(h``struct rpc_pipe *pipe``h]j)}(hjhh]hstruct rpc_pipe *pipe}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chK~hjhubj)}(hhh]jl)}(h+upcall pipe on which to queue given messageh]h+upcall pipe on which to queue given message}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihK~hjiubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjihK~hjhubj)}(h.``struct rpc_pipe_msg *msg`` message to queue h](j)}(h``struct rpc_pipe_msg *msg``h]j)}(hj'ih]hstruct rpc_pipe_msg *msg}(hj)ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%iubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhj!iubj)}(hhh]jl)}(hmessage to queueh]hmessage to queue}(hj@ihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlist**) appropriately.h](h Call with an }(hjxihhhNhNubj)}(h **inode**h]hinode}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxiubh created by rpc_mkpipe() to queue an upcall. A userspace process may then later read the upcall by performing a read on an open file for this inode. It is up to the caller to initialize the fields of }(hjxihhhNhNubj)}(h**msg**h]hmsg}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxiubh (other than }(hjxihhhNhNubj)}(h **msg->list**h]h msg->list}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxiubh) appropriately.}(hjxihhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chKhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_mkpipe_dentry (C function)c.rpc_mkpipe_dentryhNtauh1hhjDhhhNhNubh)}(hhh](j)}(heint rpc_mkpipe_dentry (struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h]j )}(hdint rpc_mkpipe_dentry(struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h](jM )}(hinth]hint}(hjihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjihhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMiubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjihhhjihMiubj3)}(hrpc_mkpipe_dentryh]j9)}(hrpc_mkpipe_dentryh]hrpc_mkpipe_dentry}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjihhhjihMiubj )}(hO(struct dentry *parent, const char *name, void *private, struct rpc_pipe *pipe)h](j )}(hstruct dentry *parenth](j)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj")}(h h]h }(hj'jhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubh)}(hhh]j9)}(hdentryh]hdentry}(hj8jhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5jubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:jmodnameN classnameNj j )}j ]j )}j jjsbc.rpc_mkpipe_dentryasbuh1hhjjubj")}(h h]h }(hjXjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj )}(hj h]h*}(hjfjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj9)}(hparenth]hparent}(hjsjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjubj )}(hconst char *nameh](j)}(hj h]hconst}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubjM )}(hcharh]hchar}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj )}(hj h]h*}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj9)}(hnameh]hname}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjubj )}(h void *privateh](jM )}(hvoidh]hvoid}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj )}(hj h]h*}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj9)}(hprivateh]hprivate}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjubj )}(hstruct rpc_pipe *pipeh](j)}(hjh]hstruct}(hj+khhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'kubj")}(h h]h }(hj8khhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'kubh)}(hhh]j9)}(hrpc_pipeh]hrpc_pipe}(hjIkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKkmodnameN classnameNj j )}j ]jTjc.rpc_mkpipe_dentryasbuh1hhj'kubj")}(h h]h }(hjgkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'kubj )}(hj h]h*}(hjukhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'kubj9)}(hpipeh]hpipe}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'kubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjihhhjihMiubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjihhhjihMiubah}(h]jiah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjihMihjihhubjg)}(hhh]jl)}(huserspace communicationh]huserspace communication}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMihjkhhubah}(h]h ]h"]h$]h&]uh1jfhjihhhjihMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct dentry *parent`` dentry of directory to create new "pipe" in ``const char *name`` name of pipe ``void *private`` private data to associate with the pipe, for the caller's use ``struct rpc_pipe *pipe`` :c:type:`rpc_pipe` containing input parameters **Description** Data is made available for userspace to read by calls to rpc_queue_upcall(). The actual reads will result in calls to **ops->upcall**, which will be called with the file pointer, message, and userspace buffer to copy to. Writes can come at any time, and do not necessarily have to be responses to upcalls. They will result in calls to **msg->downcall**. The **private** argument passed here will be available to all these methods from the file pointer, via RPC_I(file_inode(file))->private.h](jl)}(h**Parameters**h]j)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMmhjkubj)}(hhh](j)}(hF``struct dentry *parent`` dentry of directory to create new "pipe" in h](j)}(h``struct dentry *parent``h]j)}(hjkh]hstruct dentry *parent}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMkhjkubj)}(hhh]jl)}(h+dentry of directory to create new "pipe" inh]h/dentry of directory to create new “pipe” in}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMkhjlubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjlhMkhjkubj)}(h"``const char *name`` name of pipe h](j)}(h``const char *name``h]j)}(hj&lh]hconst char *name}(hj(lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$lubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMlhj lubj)}(hhh]jl)}(h name of pipeh]h name of pipe}(hj?lhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;lhMlhjupcall**, which will be called with the file pointer, message, and userspace buffer to copy to.h](hwData is made available for userspace to read by calls to rpc_queue_upcall(). The actual reads will result in calls to }(hjmhhhNhNubj)}(h**ops->upcall**h]h ops->upcall}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubhW, which will be called with the file pointer, message, and userspace buffer to copy to.}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMohjkubjl)}(hWrites can come at any time, and do not necessarily have to be responses to upcalls. They will result in calls to **msg->downcall**.h](hsWrites can come at any time, and do not necessarily have to be responses to upcalls. They will result in calls to }(hj)mhhhNhNubj)}(h**msg->downcall**h]h msg->downcall}(hj1mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)mubh.}(hj)mhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMthjkubjl)}(hThe **private** argument passed here will be available to all these methods from the file pointer, via RPC_I(file_inode(file))->private.h](hThe }(hjJmhhhNhNubj)}(h **private**h]hprivate}(hjRmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJmubhy argument passed here will be available to all these methods from the file pointer, via RPC_I(file_inode(file))->private.}(hjJmhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMwhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_unlink (C function) c.rpc_unlinkhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h'void rpc_unlink (struct rpc_pipe *pipe)h]j )}(h&void rpc_unlink(struct rpc_pipe *pipe)h](jM )}(hvoidh]hvoid}(hjmhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmhhhjmhMubj3)}(h rpc_unlinkh]j9)}(h rpc_unlinkh]h rpc_unlink}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjmhhhjmhMubj )}(h(struct rpc_pipe *pipe)h]j )}(hstruct rpc_pipe *pipeh](j)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubh)}(hhh]j9)}(hrpc_pipeh]hrpc_pipe}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]j )}j jmsb c.rpc_unlinkasbuh1hhjmubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hpipeh]hpipe}(hj!nhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubah}(h]h ]h"]h$]h&]jPjQuh1j hjmhhhjmhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjmhhhjmhMubah}(h]j~mah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhMhjmhhubjg)}(hhh]jl)}(h remove a pipeh]h remove a pipe}(hjKnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjHnhhubah}(h]h ]h"]h$]h&]uh1jfhjmhhhjmhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcnjjcnjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_pipe *pipe`` the pipe to be removed **Description** After this call, lookups will no longer find the pipe, and any attempts to read or write using preexisting opens of the pipe will return -EPIPE.h](jl)}(h**Parameters**h]j)}(hjmnh]h Parameters}(hjonhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjknubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjgnubj)}(hhh]j)}(h1``struct rpc_pipe *pipe`` the pipe to be removed h](j)}(h``struct rpc_pipe *pipe``h]j)}(hjnh]hstruct rpc_pipe *pipe}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjnubj)}(hhh]jl)}(hthe pipe to be removedh]hthe pipe to be removed}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjgnubjl)}(h**Description**h]j)}(hjnh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjgnubjl)}(hAfter this call, lookups will no longer find the pipe, and any attempts to read or write using preexisting opens of the pipe will return -EPIPE.h]hAfter this call, lookups will no longer find the pipe, and any attempts to read or write using preexisting opens of the pipe will return -EPIPE.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjgnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#rpc_init_pipe_dir_head (C function)c.rpc_init_pipe_dir_headhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h;void rpc_init_pipe_dir_head (struct rpc_pipe_dir_head *pdh)h]j )}(h:void rpc_init_pipe_dir_head(struct rpc_pipe_dir_head *pdh)h](jM )}(hvoidh]hvoid}(hj ohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjohhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjohhhjohMubj3)}(hrpc_init_pipe_dir_headh]j9)}(hrpc_init_pipe_dir_headh]hrpc_init_pipe_dir_head}(hj-ohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)oubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjohhhjohMubj )}(h(struct rpc_pipe_dir_head *pdh)h]j )}(hstruct rpc_pipe_dir_head *pdhh](j)}(hjh]hstruct}(hjIohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEoubj")}(h h]h }(hjVohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEoubh)}(hhh]j9)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hjgohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjiomodnameN classnameNj j )}j ]j )}j j/osbc.rpc_init_pipe_dir_headasbuh1hhjEoubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEoubj )}(hj h]h*}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEoubj9)}(hpdhh]hpdh}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAoubah}(h]h ]h"]h$]h&]jPjQuh1j hjohhhjohMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjohhhjohMubah}(h]jnah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjohMhjohhubjg)}(hhh]jl)}(h%initialise a struct rpc_pipe_dir_headh]h%initialise a struct rpc_pipe_dir_head}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjohhubah}(h]h ]h"]h$]h&]uh1jfhjohhhjohMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1hhhhjDhNhNubj)}(hW**Parameters** ``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_headh](jl)}(h**Parameters**h]j)}(hjoh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjoubj)}(hhh]j)}(hE``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_headh](j)}(h!``struct rpc_pipe_dir_head *pdh``h]j)}(hj ph]hstruct rpc_pipe_dir_head *pdh}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhj pubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjpubj)}(hhh]jl)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hj&phhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj#pubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhj"phMhjpubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%rpc_init_pipe_dir_object (C function)c.rpc_init_pipe_dir_objecthNtauh1hhjDhhhNhNubh)}(hhh](j)}(h~void rpc_init_pipe_dir_object (struct rpc_pipe_dir_object *pdo, const struct rpc_pipe_dir_object_ops *pdo_ops, void *pdo_data)h]j )}(h}void rpc_init_pipe_dir_object(struct rpc_pipe_dir_object *pdo, const struct rpc_pipe_dir_object_ops *pdo_ops, void *pdo_data)h](jM )}(hvoidh]hvoid}(hjgphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcphhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj")}(h h]h }(hjvphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcphhhjuphMubj3)}(hrpc_init_pipe_dir_objecth]j9)}(hrpc_init_pipe_dir_objecth]hrpc_init_pipe_dir_object}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjcphhhjuphMubj )}(h`(struct rpc_pipe_dir_object *pdo, const struct rpc_pipe_dir_object_ops *pdo_ops, void *pdo_data)h](j )}(hstruct rpc_pipe_dir_object *pdoh](j)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubh)}(hhh]j9)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j )}j jpsbc.rpc_init_pipe_dir_objectasbuh1hhjpubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj )}(hj h]h*}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpubj9)}(hpdoh]hpdo}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(h-const struct rpc_pipe_dir_object_ops *pdo_opsh](j)}(hj h]hconst}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj")}(h h]h }(hj#qhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj)}(hjh]hstruct}(hj1qhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj")}(h h]h }(hj>qhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubh)}(hhh]j9)}(hrpc_pipe_dir_object_opsh]hrpc_pipe_dir_object_ops}(hjOqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQqmodnameN classnameNj j )}j ]jpc.rpc_init_pipe_dir_objectasbuh1hhjqubj")}(h h]h }(hjmqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj )}(hj h]h*}(hj{qhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjqubj9)}(hpdo_opsh]hpdo_ops}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(hvoid *pdo_datah](jM )}(hvoidh]hvoid}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj )}(hj h]h*}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjqubj9)}(hpdo_datah]hpdo_data}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubeh}(h]h ]h"]h$]h&]jPjQuh1j hjcphhhjuphMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj_phhhjuphMubah}(h]jZpah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuphMhj\phhubjg)}(hhh]jl)}(h'initialise a struct rpc_pipe_dir_objecth]h'initialise a struct rpc_pipe_dir_object}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjqhhubah}(h]h ]h"]h$]h&]uh1jfhj\phhhjuphMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj rjj rjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_object ``const struct rpc_pipe_dir_object_ops *pdo_ops`` pointer to const struct rpc_pipe_dir_object_ops ``void *pdo_data`` pointer to caller-defined datah](jl)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjrubj)}(hhh](j)}(hJ``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_object h](j)}(h#``struct rpc_pipe_dir_object *pdo``h]j)}(hj5rh]hstruct rpc_pipe_dir_object *pdo}(hj7rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3rubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj/rubj)}(hhh]jl)}(h%pointer to struct rpc_pipe_dir_objecth]h%pointer to struct rpc_pipe_dir_object}(hjNrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJrhMhjKrubah}(h]h ]h"]h$]h&]uh1jhj/rubeh}(h]h ]h"]h$]h&]uh1jhjJrhMhj,rubj)}(hb``const struct rpc_pipe_dir_object_ops *pdo_ops`` pointer to const struct rpc_pipe_dir_object_ops h](j)}(h1``const struct rpc_pipe_dir_object_ops *pdo_ops``h]j)}(hjnrh]h-const struct rpc_pipe_dir_object_ops *pdo_ops}(hjprhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlrubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjhrubj)}(hhh]jl)}(h/pointer to const struct rpc_pipe_dir_object_opsh]h/pointer to const struct rpc_pipe_dir_object_ops}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jhjhrubeh}(h]h ]h"]h$]h&]uh1jhjrhMhj,rubj)}(h1``void *pdo_data`` pointer to caller-defined datah](j)}(h``void *pdo_data``h]j)}(hjrh]hvoid *pdo_data}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjrubj)}(hhh]jl)}(hpointer to caller-defined datah]hpointer to caller-defined data}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhMhj,rubeh}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$rpc_add_pipe_dir_object (C function)c.rpc_add_pipe_dir_objecthNtauh1hhjDhhhNhNubh)}(hhh](j)}(hmint rpc_add_pipe_dir_object (struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h]j )}(hlint rpc_add_pipe_dir_object(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h](jM )}(hinth]hint}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjrhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrhhhjshMubj3)}(hrpc_add_pipe_dir_objecth]j9)}(hrpc_add_pipe_dir_objecth]hrpc_add_pipe_dir_object}(hj"shhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjrhhhjshMubj )}(hQ(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hj>shhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:subj")}(h h]h }(hjKshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:subh)}(hhh]j9)}(hneth]hnet}(hj\shhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^smodnameN classnameNj j )}j ]j )}j j$ssbc.rpc_add_pipe_dir_objectasbuh1hhj:subj")}(h h]h }(hj|shhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:subj )}(hj h]h*}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:subj9)}(hneth]hnet}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:subeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6subj )}(hstruct rpc_pipe_dir_head *pdhh](j)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubh)}(hhh]j9)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]jxsc.rpc_add_pipe_dir_objectasbuh1hhjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h*}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(hpdhh]hpdh}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6subj )}(hstruct rpc_pipe_dir_object *pdoh](j)}(hjh]hstruct}(hj thhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj")}(h h]h }(hj-thhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubh)}(hhh]j9)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hj>thhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;tubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@tmodnameN classnameNj j )}j ]jxsc.rpc_add_pipe_dir_objectasbuh1hhjtubj")}(h h]h }(hj\thhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hjjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hpdoh]hpdo}(hjwthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6subeh}(h]h ]h"]h$]h&]jPjQuh1j hjrhhhjshMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjrhhhjshMubah}(h]jrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjshMhjrhhubjg)}(hhh]jl)}(h.associate a rpc_pipe_dir_object to a directoryh]h.associate a rpc_pipe_dir_object to a directory}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjthhubah}(h]h ]h"]h$]h&]uh1jfhjrhhhjshMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct net *net`` pointer to struct net ``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_head ``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_objecth](jl)}(h**Parameters**h]j)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjtubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hjth]hstruct net *net}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjtubj)}(hhh]jl)}(hpointer to struct neth]hpointer to struct net}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthMhjtubj)}(hF``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_head h](j)}(h!``struct rpc_pipe_dir_head *pdh``h]j)}(hjuh]hstruct rpc_pipe_dir_head *pdh}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjuubj)}(hhh]jl)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hj4uhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0uhMhj1uubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhj0uhMhjtubj)}(hI``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_objecth](j)}(h#``struct rpc_pipe_dir_object *pdo``h]j)}(hjTuh]hstruct rpc_pipe_dir_object *pdo}(hjVuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRuubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjNuubj)}(hhh]jl)}(h%pointer to struct rpc_pipe_dir_objecth]h%pointer to struct rpc_pipe_dir_object}(hjmuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjjuubah}(h]h ]h"]h$]h&]uh1jhjNuubeh}(h]h ]h"]h$]h&]uh1jhjiuhMhjtubeh}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'rpc_remove_pipe_dir_object (C function)c.rpc_remove_pipe_dir_objecthNtauh1hhjDhhhNhNubh)}(hhh](j)}(hqvoid rpc_remove_pipe_dir_object (struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h]j )}(hpvoid rpc_remove_pipe_dir_object(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h](jM )}(hvoidh]hvoid}(hjuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuhhhjuhMubj3)}(hrpc_remove_pipe_dir_objecth]j9)}(hrpc_remove_pipe_dir_objecth]hrpc_remove_pipe_dir_object}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjuhhhjuhMubj )}(hQ(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubh)}(hhh]j9)}(hneth]hnet}(hj vhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj vmodnameN classnameNj j )}j ]j )}j jusbc.rpc_remove_pipe_dir_objectasbuh1hhjuubj")}(h h]h }(hj)vhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hj7vhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(hneth]hnet}(hjDvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(hstruct rpc_pipe_dir_head *pdhh](j)}(hjh]hstruct}(hj]vhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYvubj")}(h h]h }(hjjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYvubh)}(hhh]j9)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hj{vhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}vmodnameN classnameNj j )}j ]j%vc.rpc_remove_pipe_dir_objectasbuh1hhjYvubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYvubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYvubj9)}(hpdhh]hpdh}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(hstruct rpc_pipe_dir_object *pdoh](j)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubh)}(hhh]j9)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]j%vc.rpc_remove_pipe_dir_objectasbuh1hhjvubj")}(h h]h }(hj whhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjvubj9)}(hpdoh]hpdo}(hj$whhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubeh}(h]h ]h"]h$]h&]jPjQuh1j hjuhhhjuhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjuhhhjuhMubah}(h]juah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuhMhjuhhubjg)}(hhh]jl)}(h-remove a rpc_pipe_dir_object from a directoryh]h-remove a rpc_pipe_dir_object from a directory}(hjNwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhjKwhhubah}(h]h ]h"]h$]h&]uh1jfhjuhhhjuhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfwjjfwjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct net *net`` pointer to struct net ``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_head ``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_objecth](jl)}(h**Parameters**h]j)}(hjpwh]h Parameters}(hjrwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnwubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjjwubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hjwh]hstruct net *net}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjwubj)}(hhh]jl)}(hpointer to struct neth]hpointer to struct net}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhM hjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhM hjwubj)}(hF``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_head h](j)}(h!``struct rpc_pipe_dir_head *pdh``h]j)}(hjwh]hstruct rpc_pipe_dir_head *pdh}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjwubj)}(hhh]jl)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhM hjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhM hjwubj)}(hI``struct rpc_pipe_dir_object *pdo`` pointer to struct rpc_pipe_dir_objecth](j)}(h#``struct rpc_pipe_dir_object *pdo``h]j)}(hjxh]hstruct rpc_pipe_dir_object *pdo}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjwubj)}(hhh]jl)}(h%pointer to struct rpc_pipe_dir_objecth]h%pointer to struct rpc_pipe_dir_object}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hjxubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjxhM hjwubeh}(h]h ]h"]h$]h&]uh1jhjjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.rpc_find_or_alloc_pipe_dir_object (C function)#c.rpc_find_or_alloc_pipe_dir_objecthNtauh1hhjDhhhNhNubh)}(hhh](j)}(hstruct rpc_pipe_dir_object * rpc_find_or_alloc_pipe_dir_object (struct net *net, struct rpc_pipe_dir_head *pdh, int (*match)(struct rpc_pipe_dir_object *, void *), struct rpc_pipe_dir_object *(*alloc)(void *), void *data)h]j )}(hstruct rpc_pipe_dir_object *rpc_find_or_alloc_pipe_dir_object(struct net *net, struct rpc_pipe_dir_head *pdh, int (*match)(struct rpc_pipe_dir_object*, void*), struct rpc_pipe_dir_object *(*alloc)(void*), void *data)h](j)}(hjh]hstruct}(hj[xhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWxhhhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMubj")}(h h]h }(hjixhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWxhhhjhxhMubh)}(hhh]j9)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjzxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|xmodnameN classnameNj j )}j ]j )}j !rpc_find_or_alloc_pipe_dir_objectsb#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjWxhhhjhxhMubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWxhhhjhxhMubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjWxhhhjhxhMubj3)}(h!rpc_find_or_alloc_pipe_dir_objecth]j9)}(hjxh]h!rpc_find_or_alloc_pipe_dir_object}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjWxhhhjhxhMubj )}(h(struct net *net, struct rpc_pipe_dir_head *pdh, int (*match)(struct rpc_pipe_dir_object*, void*), struct rpc_pipe_dir_object *(*alloc)(void*), void *data)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(hhh]j9)}(hneth]hnet}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]jx#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjxubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hneth]hnet}(hj,yhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubj )}(hstruct rpc_pipe_dir_head *pdhh](j)}(hjh]hstruct}(hjEyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAyubj")}(h h]h }(hjRyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAyubh)}(hhh]j9)}(hrpc_pipe_dir_headh]hrpc_pipe_dir_head}(hjcyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`yubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjeymodnameN classnameNj j )}j ]jx#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjAyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAyubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAyubj9)}(hpdhh]hpdh}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubj )}(h0int (*match)(struct rpc_pipe_dir_object*, void*)h](jM )}(hinth]hint}(hjyhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hjh]h(}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(hmatchh]hmatch}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubj )}(hjh]h)}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj )}(hjh]h(}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj")}(h h]h }(hj zhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubh)}(hhh]j9)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hj1zhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.zubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3zmodnameN classnameNj j )}j ]jx#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjyubj )}(hj h]h*}(hjOzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj )}(h,h]h,}(hj\zhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj")}(h h]h }(hjjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubjM )}(hvoidh]hvoid}(hjxzhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyubj )}(hj h]h*}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj )}(hjh]h)}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubj )}(h+struct rpc_pipe_dir_object *(*alloc)(void*)h](j)}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubh)}(hhh]j9)}(hrpc_pipe_dir_objecth]hrpc_pipe_dir_object}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]jx#c.rpc_find_or_alloc_pipe_dir_objectasbuh1hhjzubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj )}(hj h]h*}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj )}(hjh]h(}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj )}(hj h]h*}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj9)}(halloch]halloc}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubj )}(hjh]h)}(hj*{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj )}(hjh]h(}(hj7{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubjM )}(hvoidh]hvoid}(hjD{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjzubj )}(hj h]h*}(hjR{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj )}(hjh]h)}(hj_{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubj )}(h void *datah](jM )}(hvoidh]hvoid}(hjw{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjs{ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs{ubj )}(hj h]h*}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjs{ubj9)}(hdatah]hdata}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjs{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubeh}(h]h ]h"]h$]h&]jPjQuh1j hjWxhhhjhxhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjSxhhhjhxhMubah}(h]jNxah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhxhMhjPxhhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhjPxhhhjhxhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct net *net`` pointer to struct net ``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_head ``int (*match)(struct rpc_pipe_dir_object *, void *)`` match struct rpc_pipe_dir_object to data ``struct rpc_pipe_dir_object *(*alloc)(void *)`` allocate a new struct rpc_pipe_dir_object ``void *data`` user defined data for match() and alloc()h](jl)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM"hj{ubj)}(hhh](j)}(h*``struct net *net`` pointer to struct net h](j)}(h``struct net *net``h]j)}(hj{h]hstruct net *net}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chMhj{ubj)}(hhh]jl)}(hpointer to struct neth]hpointer to struct net}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj{ubj)}(hF``struct rpc_pipe_dir_head *pdh`` pointer to struct rpc_pipe_dir_head h](j)}(h!``struct rpc_pipe_dir_head *pdh``h]j)}(hj5|h]hstruct rpc_pipe_dir_head *pdh}(hj7|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3|ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM hj/|ubj)}(hhh]jl)}(h#pointer to struct rpc_pipe_dir_headh]h#pointer to struct rpc_pipe_dir_head}(hjN|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJ|hM hjK|ubah}(h]h ]h"]h$]h&]uh1jhj/|ubeh}(h]h ]h"]h$]h&]uh1jhjJ|hM hj{ubj)}(h```int (*match)(struct rpc_pipe_dir_object *, void *)`` match struct rpc_pipe_dir_object to data h](j)}(h6``int (*match)(struct rpc_pipe_dir_object *, void *)``h]j)}(hjn|h]h2int (*match)(struct rpc_pipe_dir_object *, void *)}(hjp|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl|ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM!hjh|ubj)}(hhh]jl)}(h(match struct rpc_pipe_dir_object to datah]h(match struct rpc_pipe_dir_object to data}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hM!hj|ubah}(h]h ]h"]h$]h&]uh1jhjh|ubeh}(h]h ]h"]h$]h&]uh1jhj|hM!hj{ubj)}(h[``struct rpc_pipe_dir_object *(*alloc)(void *)`` allocate a new struct rpc_pipe_dir_object h](j)}(h0``struct rpc_pipe_dir_object *(*alloc)(void *)``h]j)}(hj|h]h,struct rpc_pipe_dir_object *(*alloc)(void *)}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM"hj|ubj)}(hhh]jl)}(h)allocate a new struct rpc_pipe_dir_objecth]h)allocate a new struct rpc_pipe_dir_object}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hM"hj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hM"hj{ubj)}(h8``void *data`` user defined data for match() and alloc()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&]uh1jhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM$hj|ubj)}(hhh]jl)}(h)user defined data for match() and alloc()h]h)user defined data for match() and alloc()}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhU/var/lib/git/docbuild/linux/Documentation/networking/kapi:77: ./net/sunrpc/rpc_pipe.chM#hj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hM$hj{ubeh}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpcb_getport_async (C function)c.rpcb_getport_asynchNtauh1hhjDhhhNhNubh)}(hhh](j)}(h/void rpcb_getport_async (struct rpc_task *task)h]j )}(h.void rpcb_getport_async(struct rpc_task *task)h](jM )}(hvoidh]hvoid}(hj:}hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6}hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMubj")}(h h]h }(hjI}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6}hhhjH}hMubj3)}(hrpcb_getport_asynch]j9)}(hrpcb_getport_asynch]hrpcb_getport_async}(hj[}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjW}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6}hhhjH}hMubj )}(h(struct rpc_task *task)h]j )}(hstruct rpc_task *taskh](j)}(hjh]hstruct}(hjw}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjs}ubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs}ubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNj j )}j ]j )}j j]}sbc.rpcb_getport_asyncasbuh1hhjs}ubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs}ubj )}(hj h]h*}(hj}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjs}ubj9)}(htaskh]htask}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjs}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjo}ubah}(h]h ]h"]h$]h&]jPjQuh1j hj6}hhhjH}hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2}hhhjH}hMubah}(h]j-}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjH}hMhj/}hhubjg)}(hhh]jl)}(h7obtain the port for a given RPC service on a given hosth]h7obtain the port for a given RPC service on a given host}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhj}hhubah}(h]h ]h"]h$]h&]uh1jfhj/}hhhjH}hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~jj~jjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_task *task`` task that is waiting for portmapper request **Description** This one can be called for an ongoing RPC request, and can be used in an async (rpciod) context.h](jl)}(h**Parameters**h]j)}(hj~h]h Parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhj~ubj)}(hhh]j)}(hF``struct rpc_task *task`` task that is waiting for portmapper request h](j)}(h``struct rpc_task *task``h]j)}(hj;~h]hstruct rpc_task *task}(hj=~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9~ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhj5~ubj)}(hhh]jl)}(h+task that is waiting for portmapper requesth]h+task that is waiting for portmapper request}(hjT~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjP~hMhjQ~ubah}(h]h ]h"]h$]h&]uh1jhj5~ubeh}(h]h ]h"]h$]h&]uh1jhjP~hMhj2~ubah}(h]h ]h"]h$]h&]uh1jhj~ubjl)}(h**Description**h]j)}(hjv~h]h Description}(hjx~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt~ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhj~ubjl)}(h`This one can be called for an ongoing RPC request, and can be used in an async (rpciod) context.h]h`This one can be called for an ongoing RPC request, and can be used in an async (rpciod) context.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:80: ./net/sunrpc/rpcb_clnt.chMhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_create (C function) c.rpc_createhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h;struct rpc_clnt * rpc_create (struct rpc_create_args *args)h]j )}(h9struct rpc_clnt *rpc_create(struct rpc_create_args *args)h](j)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~hhhj~hM ubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNj j )}j ]j )}j rpc_createsb c.rpc_createasbuh1hhj~hhhj~hM ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~hhhj~hM ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj~hhhj~hM ubj3)}(h rpc_createh]j9)}(hj~h]h rpc_create}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj~hhhj~hM ubj )}(h(struct rpc_create_args *args)h]j )}(hstruct rpc_create_args *argsh](j)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(hrpc_create_argsh]hrpc_create_args}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]j~ c.rpc_createasbuh1hhj1ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(hargsh]hargs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj-ubah}(h]h ]h"]h$]h&]jPjQuh1j hj~hhhj~hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj~hhhj~hM ubah}(h]j~ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj~hM hj~hhubjg)}(hhh]jl)}(h0create an RPC client and transport with one callh]h0create an RPC client and transport with one call}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhj~hhhj~hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hXp**Parameters** ``struct rpc_create_args *args`` rpc_clnt create argument structure **Description** Creates and initializes an RPC transport and an RPC client. It can ping the server in order to determine if it is up, and to see if it supports this program and version. RPC_CLNT_CREATE_NOPING disables this behavior so asynchronous tasks can also use rpc_create.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]j)}(hD``struct rpc_create_args *args`` rpc_clnt create argument structure h](j)}(h ``struct rpc_create_args *args``h]j)}(hjh]hstruct rpc_create_args *args}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jl)}(h"rpc_clnt create argument structureh]h"rpc_clnt create argument structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj2h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubjl)}(h;Creates and initializes an RPC transport and an RPC client.h]h;Creates and initializes an RPC transport and an RPC client.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubjl)}(hIt can ping the server in order to determine if it is up, and to see if it supports this program and version. RPC_CLNT_CREATE_NOPING disables this behavior so asynchronous tasks can also use rpc_create.h]hIt can ping the server in order to determine if it is up, and to see if it supports this program and version. RPC_CLNT_CREATE_NOPING disables this behavior so asynchronous tasks can also use rpc_create.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_clone_client (C function)c.rpc_clone_clienthNtauh1hhjDhhhNhNubh)}(hhh](j)}(h:struct rpc_clnt * rpc_clone_client (struct rpc_clnt *clnt)h]j )}(h8struct rpc_clnt *rpc_clone_client(struct rpc_clnt *clnt)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j rpc_clone_clientsbc.rpc_clone_clientasbuh1hhjhhhjhMubj")}(h h]h }(hjƀhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjԀhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hrpc_clone_clienth]j9)}(hjÀh]hrpc_clone_client}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct rpc_clnt *clnt)h]j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.rpc_clone_clientasbuh1hhjubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj~hhhjhMubah}(h]jyah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhj{hhubjg)}(hhh]jl)}(hClone an RPC client structureh]hClone an RPC client structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj~hhubah}(h]h ]h"]h$]h&]uh1jfhj{hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_clnt *clnt`` RPC client whose parameters are copied **Description** Returns a fresh RPC client or an ERR_PTR.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]j)}(hA``struct rpc_clnt *clnt`` RPC client whose parameters are copied h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjāhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(h&RPC client whose parameters are copiedh]h&RPC client whose parameters are copied}(hjہhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjׁhMhj؁ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjׁhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubjl)}(h)Returns a fresh RPC client or an ERR_PTR.h]h)Returns a fresh RPC client or an ERR_PTR.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&rpc_clone_client_set_auth (C function)c.rpc_clone_client_set_authhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h\struct rpc_clnt * rpc_clone_client_set_auth (struct rpc_clnt *clnt, rpc_authflavor_t flavor)h]j )}(hZstruct rpc_clnt *rpc_clone_client_set_auth(struct rpc_clnt *clnt, rpc_authflavor_t flavor)h](j)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>hhhjOhMubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]j )}j rpc_clone_client_set_authsbc.rpc_clone_client_set_authasbuh1hhj>hhhjOhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>hhhjOhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj>hhhjOhMubj3)}(hrpc_clone_client_set_authh]j9)}(hjh]hrpc_clone_client_set_auth}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj>hhhjOhMubj )}(h0(struct rpc_clnt *clnt, rpc_authflavor_t flavor)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjɂhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjڂhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjׂubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj܂modnameN classnameNj j )}j ]j}c.rpc_clone_client_set_authasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hrpc_authflavor_t flavorh](h)}(hhh]j9)}(hrpc_authflavor_th]hrpc_authflavor_t}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j}c.rpc_clone_client_set_authasbuh1hhj(ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj9)}(hflavorh]hflavor}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj>hhhjOhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj:hhhjOhMubah}(h]j5ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjOhMhj7hhubjg)}(hhh]jl)}(h.Clone an RPC client structure and set its authh]h.Clone an RPC client structure and set its auth}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj7hhhjOhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_clnt *clnt`` RPC client whose parameters are copied ``rpc_authflavor_t flavor`` security flavor for new client **Description** Returns a fresh RPC client or an ERR_PTR.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh](j)}(hA``struct rpc_clnt *clnt`` RPC client whose parameters are copied h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjƃh]hstruct rpc_clnt *clnt}(hjȃhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjăubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(h&RPC client whose parameters are copiedh]h&RPC client whose parameters are copied}(hj߃hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjۃhMhj܃ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjۃhMhjubj)}(h;``rpc_authflavor_t flavor`` security flavor for new client h](j)}(h``rpc_authflavor_t flavor``h]j)}(hjh]hrpc_authflavor_t flavor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(hsecurity flavor for new clienth]hsecurity flavor for new client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj:h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubjl)}(h)Returns a fresh RPC client or an ERR_PTR.h]h)Returns a fresh RPC client or an ERR_PTR.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(rpc_switch_client_transport (C function)c.rpc_switch_client_transporthNtauh1hhjDhhhNhNubh)}(hhh](j)}(htint rpc_switch_client_transport (struct rpc_clnt *clnt, struct xprt_create *args, const struct rpc_timeout *timeout)h]j )}(hsint rpc_switch_client_transport(struct rpc_clnt *clnt, struct xprt_create *args, const struct rpc_timeout *timeout)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhjhMubj3)}(hrpc_switch_client_transporth]j9)}(hrpc_switch_client_transporth]hrpc_switch_client_transport}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{hhhjhMubj )}(hT(struct rpc_clnt *clnt, struct xprt_create *args, const struct rpc_timeout *timeout)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjɄhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjڄhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjׄubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj܄modnameN classnameNj j )}j ]j )}j jsbc.rpc_switch_client_transportasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct xprt_create *argsh](j)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubh)}(hhh]j9)}(h xprt_createh]h xprt_create}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNj j )}j ]jc.rpc_switch_client_transportasbuh1hhj*ubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*ubj9)}(hargsh]hargs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h!const struct rpc_timeout *timeouth](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjƅhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h rpc_timeouth]h rpc_timeout}(hjׅhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjԅubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjمmodnameN classnameNj j )}j ]jc.rpc_switch_client_transportasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htimeouth]htimeout}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj{hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwhhhjhMubah}(h]jrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjthhubjg)}(hhh]jl)}(h#switch the RPC transport on the flyh]h#switch the RPC transport on the fly}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jfhjthhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhjDhNhNubj)}(hX}**Parameters** ``struct rpc_clnt *clnt`` pointer to a struct rpc_clnt ``struct xprt_create *args`` pointer to the new transport arguments ``const struct rpc_timeout *timeout`` pointer to the new timeout parameters **Description** This function allows the caller to switch the RPC transport for the rpc_clnt structure 'clnt' to allow it to connect to a mirrored NFS server, for instance. It assumes that the caller has ensured that there are no active RPC tasks by using some form of locking. Returns zero if "clnt" is now using the new xprt. Otherwise a negative errno is returned, and "clnt" continues to use the old xprt.h](jl)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjVubj)}(hhh](j)}(h7``struct rpc_clnt *clnt`` pointer to a struct rpc_clnt h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj{h]hstruct rpc_clnt *clnt}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjuubj)}(hhh]jl)}(hpointer to a struct rpc_clnth]hpointer to a struct rpc_clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubj)}(hD``struct xprt_create *args`` pointer to the new transport arguments h](j)}(h``struct xprt_create *args``h]j)}(hjh]hstruct xprt_create *args}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(h&pointer to the new transport argumentsh]h&pointer to the new transport arguments}(hj͆hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjɆhMhjʆubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɆhMhjrubj)}(hL``const struct rpc_timeout *timeout`` pointer to the new timeout parameters h](j)}(h%``const struct rpc_timeout *timeout``h]j)}(hjh]h!const struct rpc_timeout *timeout}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(h%pointer to the new timeout parametersh]h%pointer to the new timeout parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubeh}(h]h ]h"]h$]h&]uh1jhjVubjl)}(h**Description**h]j)}(hj(h]h Description}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjVubjl)}(hXThis function allows the caller to switch the RPC transport for the rpc_clnt structure 'clnt' to allow it to connect to a mirrored NFS server, for instance. It assumes that the caller has ensured that there are no active RPC tasks by using some form of locking.h]hX This function allows the caller to switch the RPC transport for the rpc_clnt structure ‘clnt’ to allow it to connect to a mirrored NFS server, for instance. It assumes that the caller has ensured that there are no active RPC tasks by using some form of locking.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjVubjl)}(hReturns zero if "clnt" is now using the new xprt. Otherwise a negative errno is returned, and "clnt" continues to use the old xprt.h]hReturns zero if “clnt” is now using the new xprt. Otherwise a negative errno is returned, and “clnt” continues to use the old xprt.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+rpc_clnt_iterate_for_each_xprt (C function) c.rpc_clnt_iterate_for_each_xprthNtauh1hhjDhhhNhNubh)}(hhh](j)}(hint rpc_clnt_iterate_for_each_xprt (struct rpc_clnt *clnt, int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *), void *data)h]j )}(h{int rpc_clnt_iterate_for_each_xprt(struct rpc_clnt *clnt, int (*fn)(struct rpc_clnt*, struct rpc_xprt*, void*), void *data)h](jM )}(hinth]hint}(hj|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxhhhjhMNubj3)}(hrpc_clnt_iterate_for_each_xprth]j9)}(hrpc_clnt_iterate_for_each_xprth]hrpc_clnt_iterate_for_each_xprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjxhhhjhMNubj )}(hY(struct rpc_clnt *clnt, int (*fn)(struct rpc_clnt*, struct rpc_xprt*, void*), void *data)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjƇhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjׇhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjԇubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjهmodnameN classnameNj j )}j ]j )}j jsb c.rpc_clnt_iterate_for_each_xprtasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h4int (*fn)(struct rpc_clnt*, struct rpc_xprt*, void*)h](jM )}(hinth]hint}(hj+hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj )}(hjh]h(}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj )}(hj h]h*}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj9)}(hfnh]hfn}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubj )}(hjh]h)}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj )}(hjh]h(}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.rpc_clnt_iterate_for_each_xprtasbuh1hhj'ubj )}(hj h]h*}(hjňhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj )}(hj^zh]h,}(hj҈hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj")}(h h]h }(hj߈hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j c.rpc_clnt_iterate_for_each_xprtasbuh1hhj'ubj )}(hj h]h*}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj )}(hj^zh]h,}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubjM )}(hvoidh]hvoid}(hjQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'ubj )}(hj h]h*}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj )}(hjh]h)}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h void *datah](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjxhhhjhMNubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjthhhjhMNubah}(h]joah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMNhjqhhubjg)}(hhh]jl)}(h"Apply a function to all transportsh]h"Apply a function to all transports}(hj׉hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMNhjԉhhubah}(h]h ]h"]h$]h&]uh1jfhjqhhhjhMNubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct rpc_clnt *clnt`` pointer to client ``int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *)`` function to apply ``void *data`` void pointer to function data **Description** Iterates through the list of RPC transports currently attached to the client and applies the function fn(clnt, xprt, data). On error, the iteration stops, and the function returns the error value.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMRhjubj)}(hhh](j)}(h,``struct rpc_clnt *clnt`` pointer to client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMOhjubj)}(hhh]jl)}(hpointer to clienth]hpointer to client}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMOhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMOhjubj)}(hN``int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *)`` function to apply h](j)}(h;``int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *)``h]j)}(hjQh]h7int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *)}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMPhjKubj)}(hhh]jl)}(hfunction to applyh]hfunction to apply}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMPhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMPhjubj)}(h-``void *data`` void pointer to function data h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMQhjubj)}(hhh]jl)}(hvoid pointer to function datah]hvoid pointer to function data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjŊh]h Description}(hjNJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjÊubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMShjubjl)}(h{Iterates through the list of RPC transports currently attached to the client and applies the function fn(clnt, xprt, data).h]h{Iterates through the list of RPC transports currently attached to the client and applies the function fn(clnt, xprt, data).}(hjۊhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMRhjubjl)}(hHOn error, the iteration stops, and the function returns the error value.h]hHOn error, the iteration stops, and the function returns the error value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMUhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_cancel_tasks (C function)c.rpc_cancel_taskshNtauh1hhjDhhhNhNubh)}(hhh](j)}(hunsigned long rpc_cancel_tasks (struct rpc_clnt *clnt, int error, bool (*fnmatch)(const struct rpc_task *, const void *), const void *data)h]j )}(hunsigned long rpc_cancel_tasks(struct rpc_clnt *clnt, int error, bool (*fnmatch)(const struct rpc_task*, const void*), const void *data)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj'hMubjM )}(hlongh]hlong}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhj'hMubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj'hMubj3)}(hrpc_cancel_tasksh]j9)}(hrpc_cancel_tasksh]hrpc_cancel_tasks}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj'hMubj )}(hj(struct rpc_clnt *clnt, int error, bool (*fnmatch)(const struct rpc_task*, const void*), const void *data)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jXsbc.rpc_cancel_tasksasbuh1hhjnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj9)}(hclnth]hclnt}(hjˋhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjubj )}(h int errorh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(herrorh]herror}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjubj )}(h4bool (*fnmatch)(const struct rpc_task*, const void*)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hjh]h(}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfnmatchh]hfnmatch}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubj )}(hjh]h)}(hj\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjh]h(}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj)}(hj h]hconst}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rpc_cancel_tasksasbuh1hhjubj )}(hj h]h*}(hj͌hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj^zh]h,}(hjڌhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjh]h)}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjubj )}(hconst void *datah](j)}(hj h]hconst}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubjM )}(hvoidh]hvoid}(hj^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?ubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubj )}(hj h]h*}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?ubj9)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj'hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj'hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj'hMhjhhubjg)}(hhh]jl)}(h try to cancel a set of RPC tasksh]h try to cancel a set of RPC tasks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj'hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjɍjjɍjjjuh1hhhhjDhNhNubj)}(hX|**Parameters** ``struct rpc_clnt *clnt`` Pointer to RPC client ``int error`` RPC task error value to set ``bool (*fnmatch)(const struct rpc_task *, const void *)`` Pointer to selector function ``const void *data`` User data **Description** Uses **fnmatch** to define a set of RPC tasks that are to be cancelled. The argument **error** must be a negative error value.h](jl)}(h**Parameters**h]j)}(hjӍh]h Parameters}(hjՍhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjэubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj͍ubj)}(hhh](j)}(h0``struct rpc_clnt *clnt`` Pointer to RPC client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(hPointer to RPC clienth]hPointer to RPC client}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``int error`` RPC task error value to set h](j)}(h ``int error``h]j)}(hj+h]h int error}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj%ubj)}(hhh]jl)}(hRPC task error value to seth]hRPC task error value to set}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjubj)}(hX``bool (*fnmatch)(const struct rpc_task *, const void *)`` Pointer to selector function h](j)}(h:``bool (*fnmatch)(const struct rpc_task *, const void *)``h]j)}(hjdh]h6bool (*fnmatch)(const struct rpc_task *, const void *)}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj^ubj)}(hhh]jl)}(hPointer to selector functionh]hPointer to selector function}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjubj)}(h``const void *data`` User data h](j)}(h``const void *data``h]j)}(hjh]hconst void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(h User datah]h User data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj͍ubjl)}(h**Description**h]j)}(hj؎h]h Description}(hjڎhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֎ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj͍ubjl)}(h~Uses **fnmatch** to define a set of RPC tasks that are to be cancelled. The argument **error** must be a negative error value.h](hUses }(hjhhhNhNubj)}(h **fnmatch**h]hfnmatch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhE to define a set of RPC tasks that are to be cancelled. The argument }(hjhhhNhNubj)}(h **error**h]herror}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh must be a negative error value.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj͍ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_release_client (C function)c.rpc_release_clienthNtauh1hhjDhhhNhNubh)}(hhh](j)}(h/void rpc_release_client (struct rpc_clnt *clnt)h]j )}(h.void rpc_release_client(struct rpc_clnt *clnt)h](jM )}(hvoidh]hvoid}(hjAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj=hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhjOhMubj3)}(hrpc_release_clienth]j9)}(hrpc_release_clienth]hrpc_release_client}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhjOhMubj )}(h(struct rpc_clnt *clnt)h]j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jdsbc.rpc_release_clientasbuh1hhjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj )}(hj h]h*}(hjʏhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj9)}(hclnth]hclnt}(hj׏hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubah}(h]h ]h"]h$]h&]jPjQuh1j hj=hhhjOhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9hhhjOhMubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjOhMhj6hhubjg)}(hhh]jl)}(h"release a reference on an rpc_clnth]h"release a reference on an rpc_clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj6hhhjOhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_clnt *clnt`` rpc_clnt to release **Description** Pairs with rpc_hold_client(). The rpc_clnt's resources are freed once its reference count drops to zero.h](jl)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM!hjubj)}(hhh]j)}(h.``struct rpc_clnt *clnt`` rpc_clnt to release h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjBh]hstruct rpc_clnt *clnt}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj<ubj)}(hhh]jl)}(hrpc_clnt to releaseh]hrpc_clnt to release}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj}h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubjl)}(hhPairs with rpc_hold_client(). The rpc_clnt's resources are freed once its reference count drops to zero.h]hjPairs with rpc_hold_client(). The rpc_clnt’s resources are freed once its reference count drops to zero.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!rpc_bind_new_program (C function)c.rpc_bind_new_programhNtauh1hhjDhhhNhNubh)}(hhh](j)}(hjstruct rpc_clnt * rpc_bind_new_program (struct rpc_clnt *old, const struct rpc_program *program, u32 vers)h]j )}(hhstruct rpc_clnt *rpc_bind_new_program(struct rpc_clnt *old, const struct rpc_program *program, u32 vers)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM1ubj")}(h h]h }(hjАhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjϐhM1ubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjސubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j rpc_bind_new_programsbc.rpc_bind_new_programasbuh1hhjhhhjϐhM1ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjϐhM1ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjϐhM1ubj3)}(hrpc_bind_new_programh]j9)}(hjh]hrpc_bind_new_program}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjϐhM1ubj )}(hC(struct rpc_clnt *old, const struct rpc_program *program, u32 vers)h](j )}(hstruct rpc_clnt *oldh](j)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNj j )}j ]jc.rpc_bind_new_programasbuh1hhj8ubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(holdh]hold}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(h!const struct rpc_program *programh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjǑhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjԑhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h rpc_programh]h rpc_program}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rpc_bind_new_programasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hprogramh]hprogram}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(hu32 versh](h)}(hhh]j9)}(hu32h]hu32}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNj j )}j ]jc.rpc_bind_new_programasbuh1hhj3ubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj9)}(hversh]hvers}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjϐhM1ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjϐhM1ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjϐhM1hjhhubjg)}(hhh]jl)}(h,bind a new RPC program to an existing clienth]h,bind a new RPC program to an existing client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM1hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjϐhM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hXb**Parameters** ``struct rpc_clnt *old`` old rpc_client ``const struct rpc_program *program`` rpc program to set ``u32 vers`` rpc program version **Description** Clones the rpc client and sets up a new RPC program. This is mainly of use for enabling different RPC programs to share the same transport. The Sun NFSv2/v3 ACL protocol can do this.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM5hjubj)}(hhh](j)}(h(``struct rpc_clnt *old`` old rpc_client h](j)}(h``struct rpc_clnt *old``h]j)}(hjђh]hstruct rpc_clnt *old}(hjӒhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϒubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM2hj˒ubj)}(hhh]jl)}(hold rpc_clienth]hold rpc_client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhj˒ubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjȒubj)}(h9``const struct rpc_program *program`` rpc program to set h](j)}(h%``const struct rpc_program *program``h]j)}(hj h]h!const struct rpc_program *program}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM3hjubj)}(hhh]jl)}(hrpc program to seth]hrpc program to set}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM3hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjȒubj)}(h!``u32 vers`` rpc program version h](j)}(h ``u32 vers``h]j)}(hjCh]hu32 vers}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM4hj=ubj)}(hhh]jl)}(hrpc program versionh]hrpc program version}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhM4hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM4hjȒubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj~h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM6hjubjl)}(hClones the rpc client and sets up a new RPC program. This is mainly of use for enabling different RPC programs to share the same transport. The Sun NFSv2/v3 ACL protocol can do this.h]hClones the rpc client and sets up a new RPC program. This is mainly of use for enabling different RPC programs to share the same transport. The Sun NFSv2/v3 ACL protocol can do this.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM5hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_run_task (C function)c.rpc_run_taskhNtauh1hhjDhhhNhNubh)}(hhh](j)}(hMstruct rpc_task * rpc_run_task (const struct rpc_task_setup *task_setup_data)h]j )}(hKstruct rpc_task *rpc_run_task(const struct rpc_task_setup *task_setup_data)h](j)}(hjh]hstruct}(hjÓhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjѓhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjГhMubh)}(hhh]j9)}(hrpc_taskh]hrpc_task}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjߓubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j rpc_run_tasksbc.rpc_run_taskasbuh1hhjhhhjГhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjГhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjГhMubj3)}(h rpc_run_taskh]j9)}(hjh]h rpc_run_task}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjГhMubj )}(h.(const struct rpc_task_setup *task_setup_data)h]j )}(h,const struct rpc_task_setup *task_setup_datah](j)}(hj h]hconst}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubh)}(hhh]j9)}(hrpc_task_setuph]hrpc_task_setup}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]jc.rpc_run_taskasbuh1hhj9ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj9)}(htask_setup_datah]htask_setup_data}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjГhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjГhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjГhMhjhhubjg)}(hhh]jl)}(h8Allocate a new RPC task, then run rpc_execute against ith]h8Allocate a new RPC task, then run rpc_execute against it}(hjٔhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj֔hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjГhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hf**Parameters** ``const struct rpc_task_setup *task_setup_data`` pointer to task initialisation datah](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]j)}(hT``const struct rpc_task_setup *task_setup_data`` pointer to task initialisation datah](j)}(h0``const struct rpc_task_setup *task_setup_data``h]j)}(hjh]h,const struct rpc_task_setup *task_setup_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(h#pointer to task initialisation datah]h#pointer to task initialisation data}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_call_sync (C function)c.rpc_call_synchNtauh1hhjDhhhNhNubh)}(hhh](j)}(hSint rpc_call_sync (struct rpc_clnt *clnt, const struct rpc_message *msg, int flags)h]j )}(hRint rpc_call_sync(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags)h](jM )}(hinth]hint}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjphhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjphhhjhMubj3)}(h rpc_call_synch]j9)}(h rpc_call_synch]h rpc_call_sync}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjphhhjhMubj )}(hA(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjϕhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj̕ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjѕmodnameN classnameNj j )}j ]j )}j jsbc.rpc_call_syncasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst struct rpc_message *msgh](j)}(hj h]hconst}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h rpc_messageh]h rpc_message}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]jc.rpc_call_syncasbuh1hhjubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hmsgh]hmsg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int flagsh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hflagsh]hflags}(hjʖhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjphhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjlhhhjhMubah}(h]jgah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjihhubjg)}(hhh]jl)}(hPerform a synchronous RPC callh]hPerform a synchronous RPC call}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjihhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_clnt *clnt`` pointer to RPC client ``const struct rpc_message *msg`` RPC call parameters ``int flags`` RPC call flagsh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh](j)}(h0``struct rpc_clnt *clnt`` pointer to RPC client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj5h]hstruct rpc_clnt *clnt}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj/ubj)}(hhh]jl)}(hpointer to RPC clienth]hpointer to RPC client}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhj,ubj)}(h6``const struct rpc_message *msg`` RPC call parameters h](j)}(h!``const struct rpc_message *msg``h]j)}(hjnh]hconst struct rpc_message *msg}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhubj)}(hhh]jl)}(hRPC call parametersh]hRPC call parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhj,ubj)}(h``int flags`` RPC call flagsh](j)}(h ``int flags``h]j)}(hjh]h int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(hRPC call flagsh]hRPC call flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.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&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_call_async (C function)c.rpc_call_asynchNtauh1hhjDhhhNhNubh)}(hhh](j)}(hint rpc_call_async (struct rpc_clnt *clnt, const struct rpc_message *msg, int flags, const struct rpc_call_ops *tk_ops, void *data)h]j )}(hint rpc_call_async(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags, const struct rpc_call_ops *tk_ops, void *data)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hrpc_call_asynch]j9)}(hrpc_call_asynch]hrpc_call_async}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hp(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags, const struct rpc_call_ops *tk_ops, void *data)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j )}j j$sbc.rpc_call_asyncasbuh1hhj:ubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:ubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubj )}(hconst struct rpc_message *msgh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj˘hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjؘhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h rpc_messageh]h rpc_message}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jxc.rpc_call_asyncasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hmsgh]hmsg}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubj )}(h int flagsh](jM )}(hinth]hint}(hj;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj9)}(hflagsh]hflags}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubj )}(h!const struct rpc_call_ops *tk_opsh](j)}(hj h]hconst}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubh)}(hhh]j9)}(h rpc_call_opsh]h rpc_call_ops}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jxc.rpc_call_asyncasbuh1hhjlubj")}(h h]h }(hjǙhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlubj )}(hj h]h*}(hjՙhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjlubj9)}(htk_opsh]htk_ops}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubj )}(h void *datah](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdatah]hdata}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h Perform an asynchronous RPC callh]h Perform an asynchronous RPC call}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjKhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_clnt *clnt`` pointer to RPC client ``const struct rpc_message *msg`` RPC call parameters ``int flags`` RPC call flags ``const struct rpc_call_ops *tk_ops`` RPC call ops ``void *data`` user call datah](jl)}(h**Parameters**h]j)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjjubj)}(hhh](j)}(h0``struct rpc_clnt *clnt`` pointer to RPC client h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(hpointer to RPC clienth]hpointer to RPC client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``const struct rpc_message *msg`` RPC call parameters h](j)}(h!``const struct rpc_message *msg``h]j)}(hjȚh]hconst struct rpc_message *msg}(hjʚhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƚubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjšubj)}(hhh]jl)}(hRPC call parametersh]hRPC call parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjݚhMhjޚubah}(h]h ]h"]h$]h&]uh1jhjšubeh}(h]h ]h"]h$]h&]uh1jhjݚhMhjubj)}(h``int flags`` RPC call flags h](j)}(h ``int flags``h]j)}(hjh]h int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(hRPC call flagsh]hRPC call flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``const struct rpc_call_ops *tk_ops`` RPC call ops h](j)}(h%``const struct rpc_call_ops *tk_ops``h]j)}(hj:h]h!const struct rpc_call_ops *tk_ops}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj4ubj)}(hhh]jl)}(h RPC call opsh]h RPC call ops}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhM hjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhM hjubj)}(h``void *data`` user call datah](j)}(h``void *data``h]j)}(hjsh]h void *data}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM"hjmubj)}(hhh]jl)}(huser call datah]huser call data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM!hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjubeh}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$rpc_prepare_reply_pages (C function)c.rpc_prepare_reply_pageshNtauh1hhjDhhhNhNubh)}(hhh](j)}(hvoid rpc_prepare_reply_pages (struct rpc_rqst *req, struct page **pages, unsigned int base, unsigned int len, unsigned int hdrsize)h]j )}(hvoid rpc_prepare_reply_pages(struct rpc_rqst *req, struct page **pages, unsigned int base, unsigned int len, unsigned int hdrsize)h](jM )}(hvoidh]hvoid}(hj͛hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjɛhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMbubj")}(h h]h }(hjܛhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjɛhhhjۛhMbubj3)}(hrpc_prepare_reply_pagesh]j9)}(hrpc_prepare_reply_pagesh]hrpc_prepare_reply_pages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjɛhhhjۛhMbubj )}(hf(struct rpc_rqst *req, struct page **pages, unsigned int base, unsigned int len, unsigned int hdrsize)h](j )}(hstruct rpc_rqst *reqh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_rqsth]hrpc_rqst}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNj j )}j ]j )}j jsbc.rpc_prepare_reply_pagesasbuh1hhjubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hreqh]hreq}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct page **pagesh](j)}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(hhh]j9)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jDc.rpc_prepare_reply_pagesasbuh1hhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjƜhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj )}(hj h]h*}(hjӜhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hpagesh]hpages}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int baseh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hbaseh]hbase}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjJhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubjM )}(hinth]hint}(hjfhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj9)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int hdrsizeh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjŝhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hhdrsizeh]hhdrsize}(hjӝhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjɛhhhjۛhMbubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjśhhhjۛhMbubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjۛhMbhj›hhubjg)}(hhh]jl)}(h2Prepare to receive a reply data payload into pagesh]h2Prepare to receive a reply data payload into pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMbhjhhubah}(h]h ]h"]h$]h&]uh1jfhj›hhhjۛhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hXr**Parameters** ``struct rpc_rqst *req`` RPC request to prepare ``struct page **pages`` vector of struct page pointers ``unsigned int base`` offset in first page where receive should start, in bytes ``unsigned int len`` expected size of the upper layer data payload, in bytes ``unsigned int hdrsize`` expected size of upper layer reply header, in XDR wordsh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMfhjubj)}(hhh](j)}(h0``struct rpc_rqst *req`` RPC request to prepare h](j)}(h``struct rpc_rqst *req``h]j)}(hj>h]hstruct rpc_rqst *req}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMchj8ubj)}(hhh]jl)}(hRPC request to prepareh]hRPC request to prepare}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjShMchjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMchj5ubj)}(h7``struct page **pages`` vector of struct page pointers h](j)}(h``struct page **pages``h]j)}(hjwh]hstruct page **pages}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMdhjqubj)}(hhh]jl)}(hvector of struct page pointersh]hvector of struct page pointers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMdhj5ubj)}(hP``unsigned int base`` offset in first page where receive should start, in bytes h](j)}(h``unsigned int base``h]j)}(hjh]hunsigned int base}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMehjubj)}(hhh]jl)}(h9offset in first page where receive should start, in bytesh]h9offset in first page where receive should start, in bytes}(hjɞhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjŞhMehjƞubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjŞhMehj5ubj)}(hM``unsigned int len`` expected size of the upper layer data payload, in bytes h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMfhjubj)}(hhh]jl)}(h7expected size of the upper layer data payload, in bytesh]h7expected size of the upper layer data payload, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMfhj5ubj)}(hP``unsigned int hdrsize`` expected size of upper layer reply header, in XDR wordsh](j)}(h``unsigned int hdrsize``h]j)}(hj"h]hunsigned int hdrsize}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhhjubj)}(hhh]jl)}(h7expected size of upper layer reply header, in XDR wordsh]h7expected size of upper layer reply header, in XDR words}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMghj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhhj5ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_peeraddr (C function)c.rpc_peeraddrhNtauh1hhjDhhhNhNubh)}(hhh](j)}(hQsize_t rpc_peeraddr (struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize)h]j )}(hPsize_t rpc_peeraddr(struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize)h](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j rpc_peeraddrsbc.rpc_peeraddrasbuh1hhjxhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxhhhjhM}ubj3)}(h rpc_peeraddrh]j9)}(hjh]h rpc_peeraddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjxhhhjhM}ubj )}(h=(struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjΟhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjʟubj")}(h h]h }(hj۟hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjʟubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rpc_peeraddrasbuh1hhjʟubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjʟubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjʟubj9)}(hclnth]hclnt}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjʟubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjƟubj )}(hstruct sockaddr *bufh](j)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubh)}(hhh]j9)}(hsockaddrh]hsockaddr}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]jc.rpc_peeraddrasbuh1hhj:ubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:ubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjƟubj )}(hsize_t bufsizeh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rpc_peeraddrasbuh1hhjubj")}(h h]h }(hjϠhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hbufsizeh]hbufsize}(hjݠhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjƟubeh}(h]h ]h"]h$]h&]jPjQuh1j hjxhhhjhM}ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjthhhjhM}ubah}(h]joah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM}hjqhhubjg)}(hhh]jl)}(h,extract remote peer address from clnt's xprth]h.extract remote peer address from clnt’s xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM}hjhhubah}(h]h ]h"]h$]h&]uh1jfhjqhhhjhM}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``struct rpc_clnt *clnt`` RPC client structure ``struct sockaddr *buf`` target buffer ``size_t bufsize`` length of target buffer **Description** Returns the number of bytes that are actually in the stored address.h](jl)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj#ubj)}(hhh](j)}(h/``struct rpc_clnt *clnt`` RPC client structure h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjHh]hstruct rpc_clnt *clnt}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM~hjBubj)}(hhh]jl)}(hRPC client structureh]hRPC client structure}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hM~hj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hM~hj?ubj)}(h'``struct sockaddr *buf`` target buffer h](j)}(h``struct sockaddr *buf``h]j)}(hjh]hstruct sockaddr *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj{ubj)}(hhh]jl)}(h target bufferh]h target buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj?ubj)}(h+``size_t bufsize`` length of target buffer h](j)}(h``size_t bufsize``h]j)}(hjh]hsize_t bufsize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(hlength of target bufferh]hlength of target buffer}(hjӡhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjϡhMhjСubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϡhMhj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj#ubjl)}(hDReturns the number of bytes that are actually in the stored address.h]hDReturns the number of bytes that are actually in the stored address.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_peeraddr2str (C function)c.rpc_peeraddr2strhNtauh1hhjDhhhNhNubh)}(hhh](j)}(hWconst char * rpc_peeraddr2str (struct rpc_clnt *clnt, enum rpc_display_format_t format)h]j )}(hUconst char *rpc_peeraddr2str(struct rpc_clnt *clnt, enum rpc_display_format_t format)h](j)}(hj h]hconst}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhjGhMubjM )}(hcharh]hchar}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6hhhjGhMubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6hhhjGhMubj )}(hj h]h*}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6hhhjGhMubj3)}(hrpc_peeraddr2strh]j9)}(hrpc_peeraddr2strh]hrpc_peeraddr2str}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj6hhhjGhMubj )}(h9(struct rpc_clnt *clnt, enum rpc_display_format_t format)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.rpc_peeraddr2strasbuh1hhjubj")}(h h]h }(hjݢhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h enum rpc_display_format_t formath](j)}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hrpc_display_format_th]hrpc_display_format_t}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j٢c.rpc_peeraddr2strasbuh1hhj ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hformath]hformat}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj6hhhjGhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhjGhMubah}(h]j-ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhMhj/hhubjg)}(hhh]jl)}(h.return remote peer address in printable formath]h.return remote peer address in printable format}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj/hhhjGhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hX9**Parameters** ``struct rpc_clnt *clnt`` RPC client structure ``enum rpc_display_format_t format`` address format **Description** NB: the lifetime of the memory referenced by the returned pointer is the same as the rpc_xprt itself. As long as the caller uses this pointer, it must hold the RCU read lock.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh](j)}(h/``struct rpc_clnt *clnt`` RPC client structure h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjƣh]hstruct rpc_clnt *clnt}(hjȣhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjģubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(hRPC client structureh]hRPC client structure}(hjߣhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjۣhMhjܣubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjۣhMhjubj)}(h4``enum rpc_display_format_t format`` address format h](j)}(h$``enum rpc_display_format_t format``h]j)}(hjh]h enum rpc_display_format_t format}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(haddress formath]haddress format}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj:h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubjl)}(hNB: the lifetime of the memory referenced by the returned pointer is the same as the rpc_xprt itself. As long as the caller uses this pointer, it must hold the RCU read lock.h]hNB: the lifetime of the memory referenced by the returned pointer is the same as the rpc_xprt itself. As long as the caller uses this pointer, it must hold the RCU read lock.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_localaddr (C function)c.rpc_localaddrhNtauh1hhjDhhhNhNubh)}(hhh](j)}(hNint rpc_localaddr (struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen)h]j )}(hMint rpc_localaddr(struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhjhMubj3)}(h rpc_localaddrh]j9)}(h rpc_localaddrh]h rpc_localaddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{hhhjhMubj )}(h<(struct rpc_clnt *clnt, struct sockaddr *buf, size_t buflen)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjɤhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjڤhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjפubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjܤmodnameN classnameNj j )}j ]j )}j jsbc.rpc_localaddrasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sockaddr *bufh](j)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubh)}(hhh]j9)}(hsockaddrh]hsockaddr}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNj j )}j ]jc.rpc_localaddrasbuh1hhj*ubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*ubj9)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h size_t buflenh](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rpc_localaddrasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hbuflenh]hbuflen}(hjͥhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj{hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwhhhjhMubah}(h]jrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjthhubjg)}(hhh]jl)}(h1discover local endpoint address for an RPC clienth]h1discover local endpoint address for an RPC client}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjthhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(hXM**Parameters** ``struct rpc_clnt *clnt`` RPC client structure ``struct sockaddr *buf`` target buffer ``size_t buflen`` size of target buffer, in bytes **Description** Returns zero and fills in "buf" and "buflen" if successful; otherwise, a negative errno is returned. This works even if the underlying transport is not currently connected, or if the upper layer never previously provided a source address. The result of this function call is transient: multiple calls in succession may give different results, depending on how local networking configuration changes over time.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh](j)}(h/``struct rpc_clnt *clnt`` RPC client structure h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj8h]hstruct rpc_clnt *clnt}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj2ubj)}(hhh]jl)}(hRPC client structureh]hRPC client structure}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhj/ubj)}(h'``struct sockaddr *buf`` target buffer h](j)}(h``struct sockaddr *buf``h]j)}(hjqh]hstruct sockaddr *buf}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjkubj)}(hhh]jl)}(h target bufferh]h target buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMhj/ubj)}(h2``size_t buflen`` size of target buffer, in bytes h](j)}(h``size_t buflen``h]j)}(hjh]h size_t buflen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]jl)}(hsize of target buffer, in bytesh]hsize of target buffer, in bytes}(hjæhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj/ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubjl)}(hdReturns zero and fills in "buf" and "buflen" if successful; otherwise, a negative errno is returned.h]hlReturns zero and fills in “buf” and “buflen” if successful; otherwise, a negative errno is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubjl)}(hThis works even if the underlying transport is not currently connected, or if the upper layer never previously provided a source address.h]hThis works even if the underlying transport is not currently connected, or if the upper layer never previously provided a source address.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM!hjubjl)}(hThe result of this function call is transient: multiple calls in succession may give different results, depending on how local networking configuration changes over time.h]hThe result of this function call is transient: multiple calls in succession may give different results, depending on how local networking configuration changes over time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM$hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_net_ns (C function) c.rpc_net_nshNtauh1hhjDhhhNhNubh)}(hhh](j)}(h/struct net * rpc_net_ns (struct rpc_clnt *clnt)h]j )}(h-struct net *rpc_net_ns(struct rpc_clnt *clnt)h](j)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMQubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDhhhjUhMQubh)}(hhh]j9)}(hneth]hnet}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNj j )}j ]j )}j rpc_net_nssb c.rpc_net_nsasbuh1hhjDhhhjUhMQubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDhhhjUhMQubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDhhhjUhMQubj3)}(h rpc_net_nsh]j9)}(hjh]h rpc_net_ns}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjDhhhjUhMQubj )}(h(struct rpc_clnt *clnt)h]j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hj§hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjϧhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjݧubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.rpc_net_nsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjDhhhjUhMQubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj@hhhjUhMQubah}(h]j;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUhMQhj=hhubjg)}(hhh]jl)}(h-Get the network namespace for this RPC clienth]h-Get the network namespace for this RPC client}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMQhj@hhubah}(h]h ]h"]h$]h&]uh1jfhj=hhhjUhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhjDhNhNubj)}(h?**Parameters** ``struct rpc_clnt *clnt`` RPC client to queryh](jl)}(h**Parameters**h]j)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMUhj_ubj)}(hhh]j)}(h-``struct rpc_clnt *clnt`` RPC client to queryh](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMWhj~ubj)}(hhh]jl)}(hRPC client to queryh]hRPC client to query}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMRhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMWhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_max_payload (C function)c.rpc_max_payloadhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h.size_t rpc_max_payload (struct rpc_clnt *clnt)h]j )}(h-size_t rpc_max_payload(struct rpc_clnt *clnt)h](h)}(hhh]j9)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjިubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j rpc_max_payloadsbc.rpc_max_payloadasbuh1hhjڨhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMaubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjڨhhhjhMaubj3)}(hrpc_max_payloadh]j9)}(hjh]hrpc_max_payload}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjڨhhhjhMaubj )}(h(struct rpc_clnt *clnt)h]j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]jc.rpc_max_payloadasbuh1hhj,ubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubj )}(hj h]h*}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,ubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubah}(h]h ]h"]h$]h&]jPjQuh1j hjڨhhhjhMaubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj֨hhhjhMaubah}(h]jѨah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMahjӨhhubjg)}(hhh]jl)}(h2Get maximum payload size for a transport, in bytesh]h2Get maximum payload size for a transport, in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMahjhhubah}(h]h ]h"]h$]h&]uh1jfhjӨhhhjhMaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjɩjjɩjjjuh1hhhhjDhNhNubj)}(hX+**Parameters** ``struct rpc_clnt *clnt`` RPC client to query **Description** For stream transports, this is one RPC record fragment (see RFC 1831), as we don't support multi-record requests yet. For datagram transports, this is the size of an IP packet minus the IP, UDP, and RPC header sizes.h](jl)}(h**Parameters**h]j)}(hjөh]h Parameters}(hjթhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѩubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMehjͩubj)}(hhh]j)}(h.``struct rpc_clnt *clnt`` RPC client to query h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMbhjubj)}(hhh]jl)}(hRPC client to queryh]hRPC client to query}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjͩubjl)}(h**Description**h]j)}(hj-h]h Description}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMdhjͩubjl)}(hFor stream transports, this is one RPC record fragment (see RFC 1831), as we don't support multi-record requests yet. For datagram transports, this is the size of an IP packet minus the IP, UDP, and RPC header sizes.h]hFor stream transports, this is one RPC record fragment (see RFC 1831), as we don’t support multi-record requests yet. For datagram transports, this is the size of an IP packet minus the IP, UDP, and RPC header sizes.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMchjͩubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_max_bc_payload (C function)c.rpc_max_bc_payloadhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h1size_t rpc_max_bc_payload (struct rpc_clnt *clnt)h]j )}(h0size_t rpc_max_bc_payload(struct rpc_clnt *clnt)h](h)}(hhh]j9)}(hsize_th]hsize_t}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]j )}j rpc_max_bc_payloadsbc.rpc_max_bc_payloadasbuh1hhjnhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnhhhjhMuubj3)}(hrpc_max_bc_payloadh]j9)}(hjh]hrpc_max_bc_payload}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjnhhhjhMuubj )}(h(struct rpc_clnt *clnt)h]j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjĪhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjѪhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjߪubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rpc_max_bc_payloadasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjnhhhjhMuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjjhhhjhMuubah}(h]jeah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMuhjghhubjg)}(hhh]jl)}(h.Get maximum backchannel payload size, in bytesh]h.Get maximum backchannel payload size, in bytes}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMuhjBhhubah}(h]h ]h"]h$]h&]uh1jfhjghhhjhMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhjDhNhNubj)}(h?**Parameters** ``struct rpc_clnt *clnt`` RPC client to queryh](jl)}(h**Parameters**h]j)}(hjgh]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMyhjaubj)}(hhh]j)}(h-``struct rpc_clnt *clnt`` RPC client to queryh](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM{hjubj)}(hhh]jl)}(hRPC client to queryh]hRPC client to query}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM{hj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_force_rebind (C function)c.rpc_force_rebindhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h-void rpc_force_rebind (struct rpc_clnt *clnt)h]j )}(h,void rpc_force_rebind(struct rpc_clnt *clnt)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjܫhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjܫhhhjhMubj3)}(hrpc_force_rebindh]j9)}(hrpc_force_rebindh]hrpc_force_rebind}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjܫhhhjhMubj )}(h(struct rpc_clnt *clnt)h]j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]j )}j jsbc.rpc_force_rebindasbuh1hhjubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjܫhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjثhhhjhMubah}(h]jӫah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjիhhubjg)}(hhh]jl)}(h6force transport to check that remote port is unchangedh]h6force transport to check that remote port is unchanged}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjիhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjDhNhNubj)}(h<**Parameters** ``struct rpc_clnt *clnt`` client to rebindh](jl)}(h**Parameters**h]j)}(hj¬h]h Parameters}(hjĬhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubj)}(hhh]j)}(h*``struct rpc_clnt *clnt`` client to rebindh](j)}(h``struct rpc_clnt *clnt``h]j)}(hjh]hstruct rpc_clnt *clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߬ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhj۬ubj)}(hhh]jl)}(hclient to rebindh]hclient to rebind}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chMhjubah}(h]h ]h"]h$]h&]uh1jhj۬ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjجubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'rpc_clnt_test_and_add_xprt (C function)c.rpc_clnt_test_and_add_xprthNtauh1hhjDhhhNhNubh)}(hhh](j)}(hint rpc_clnt_test_and_add_xprt (struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *in_max_connect)h]j )}(hint rpc_clnt_test_and_add_xprt(struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *in_max_connect)h](jM )}(hinth]hint}(hj;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7hhhjIhM ubj3)}(hrpc_clnt_test_and_add_xprth]j9)}(hrpc_clnt_test_and_add_xprth]hrpc_clnt_test_and_add_xprt}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7hhhjIhM ubj )}(ha(struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *in_max_connect)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j^sbc.rpc_clnt_test_and_add_xprtasbuh1hhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hjĭhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hclnth]hclnt}(hjѭhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(hstruct rpc_xprt_switch *xpsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_xprt_switchh]hrpc_xprt_switch}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.rpc_clnt_test_and_add_xprtasbuh1hhjubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxpsh]hxps}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]jc.rpc_clnt_test_and_add_xprtasbuh1hhjVubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVubj9)}(hxprth]hxprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(hvoid *in_max_connecth](jM )}(hvoidh]hvoid}(hjʮhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjƮubj")}(h h]h }(hjخhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjƮubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjƮubj9)}(hin_max_connecth]hin_max_connect}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjƮubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubeh}(h]h ]h"]h$]h&]jPjQuh1j hj7hhhjIhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3hhhjIhM ubah}(h]j.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjIhM hj0hhubjg)}(hhh]jl)}(h*Test and add a new transport to a rpc_clnth]h*Test and add a new transport to a rpc_clnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhj0hhhjIhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct rpc_clnt *clnt`` pointer to struct rpc_clnt ``struct rpc_xprt_switch *xps`` pointer to struct rpc_xprt_switch, ``struct rpc_xprt *xprt`` pointer struct rpc_xprt ``void *in_max_connect`` pointer to the max_connect value for the passed in xprt transporth](jl)}(h**Parameters**h]j)}(hj?h]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj9ubj)}(hhh](j)}(h5``struct rpc_clnt *clnt`` pointer to struct rpc_clnt h](j)}(h``struct rpc_clnt *clnt``h]j)}(hj^h]hstruct rpc_clnt *clnt}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjXubj)}(hhh]jl)}(hpointer to struct rpc_clnth]hpointer to struct rpc_clnt}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshM hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM hjUubj)}(hC``struct rpc_xprt_switch *xps`` pointer to struct rpc_xprt_switch, h](j)}(h``struct rpc_xprt_switch *xps``h]j)}(hjh]hstruct rpc_xprt_switch *xps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jl)}(h"pointer to struct rpc_xprt_switch,h]h"pointer to struct rpc_xprt_switch,}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjUubj)}(h2``struct rpc_xprt *xprt`` pointer struct rpc_xprt h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjЯh]hstruct rpc_xprt *xprt}(hjүhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjίubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjʯubj)}(hhh]jl)}(hpointer struct rpc_xprth]hpointer struct rpc_xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjʯubeh}(h]h ]h"]h$]h&]uh1jhjhM hjUubj)}(hZ``void *in_max_connect`` pointer to the max_connect value for the passed in xprt transporth](j)}(h``void *in_max_connect``h]j)}(hj h]hvoid *in_max_connect}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jl)}(hApointer to the max_connect value for the passed in xprt transporth]hApointer to the max_connect value for the passed in xprt transport}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjUubeh}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-rpc_clnt_setup_test_and_add_xprt (C function)"c.rpc_clnt_setup_test_and_add_xprthNtauh1hhjDhhhNhNubh)}(hhh](j)}(h|int rpc_clnt_setup_test_and_add_xprt (struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *data)h]j )}(h{int rpc_clnt_setup_test_and_add_xprt(struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *data)h](jM )}(hinth]hint}(hjchhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_hhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_hhhjqhM ubj3)}(h rpc_clnt_setup_test_and_add_xprth]j9)}(h rpc_clnt_setup_test_and_add_xprth]h rpc_clnt_setup_test_and_add_xprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj_hhhjqhM ubj )}(hW(struct rpc_clnt *clnt, struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, void *data)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhjubj")}(h h]h }(hjްhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct rpc_xprt_switch *xpsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_xprt_switchh]hrpc_xprt_switch}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]jڰ"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhjubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxpsh]hxps}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct rpc_xprt *xprth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jڰ"c.rpc_clnt_setup_test_and_add_xprtasbuh1hhj~ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubj )}(hj h]h*}(hj̱hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj~ubj9)}(hxprth]hxprt}(hjٱhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h void *datah](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj_hhhjqhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj[hhhjqhM ubah}(h]jVah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjqhM hjXhhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhjXhhhjqhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct rpc_clnt *clnt`` struct rpc_clnt to get the new transport ``struct rpc_xprt_switch *xps`` the rpc_xprt_switch to hold the new transport ``struct rpc_xprt *xprt`` the rpc_xprt to test ``void *data`` a struct rpc_add_xprt_test pointer that holds the test function and test function call data **Description** This is an rpc_clnt_add_xprt setup() function which returns 1 so: 1) caller of the test function must dereference the rpc_xprt_switch and the rpc_xprt. 2) test function must call rpc_xprt_switch_add_xprt, usually in the rpc_call_done routine. Upon success (return of 1), the test function adds the new transport to the rpc_clnt xprt switchh](jl)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjRubj)}(hhh](j)}(hC``struct rpc_clnt *clnt`` struct rpc_clnt to get the new transport h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjwh]hstruct rpc_clnt *clnt}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjqubj)}(hhh]jl)}(h(struct rpc_clnt to get the new transporth]h(struct rpc_clnt to get the new transport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhM hjnubj)}(hN``struct rpc_xprt_switch *xps`` the rpc_xprt_switch to hold the new transport h](j)}(h``struct rpc_xprt_switch *xps``h]j)}(hjh]hstruct rpc_xprt_switch *xps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jl)}(h-the rpc_xprt_switch to hold the new transporth]h-the rpc_xprt_switch to hold the new transport}(hjɲhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjŲhM hjƲubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjŲhM hjnubj)}(h/``struct rpc_xprt *xprt`` the rpc_xprt to test h](j)}(h``struct rpc_xprt *xprt``h]j)}(hjh]hstruct rpc_xprt *xprt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jl)}(hthe rpc_xprt to testh]hthe rpc_xprt to test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjnubj)}(hk``void *data`` a struct rpc_add_xprt_test pointer that holds the test function and test function call data 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jl)}(h[a struct rpc_add_xprt_test pointer that holds the test function and test function call datah]h[a struct rpc_add_xprt_test pointer that holds the test function and test function call data}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hM hjnubeh}(h]h ]h"]h$]h&]uh1jhjRubjl)}(h**Description**h]j)}(hj^h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjRubj)}(hhh]j)}(hThis is an rpc_clnt_add_xprt setup() function which returns 1 so: 1) caller of the test function must dereference the rpc_xprt_switch and the rpc_xprt. 2) test function must call rpc_xprt_switch_add_xprt, usually in the rpc_call_done routine. h](j)}(hAThis is an rpc_clnt_add_xprt setup() function which returns 1 so:h]hAThis is an rpc_clnt_add_xprt setup() function which returns 1 so:}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjwubj)}(hhh]jl)}(h1) caller of the test function must dereference the rpc_xprt_switch and the rpc_xprt. 2) test function must call rpc_xprt_switch_add_xprt, usually in the rpc_call_done routine.h]h1) caller of the test function must dereference the rpc_xprt_switch and the rpc_xprt. 2) test function must call rpc_xprt_switch_add_xprt, usually in the rpc_call_done routine.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM hjtubah}(h]h ]h"]h$]h&]uh1jhjRubjl)}(h`Upon success (return of 1), the test function adds the new transport to the rpc_clnt xprt switchh]h`Upon success (return of 1), the test function adds the new transport to the rpc_clnt xprt switch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrpc_clnt_add_xprt (C function)c.rpc_clnt_add_xprthNtauh1hhjDhhhNhNubh)}(hhh](j)}(hint rpc_clnt_add_xprt (struct rpc_clnt *clnt, struct xprt_create *xprtargs, int (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *), void *data)h]j )}(hint rpc_clnt_add_xprt(struct rpc_clnt *clnt, struct xprt_create *xprtargs, int (*setup)(struct rpc_clnt*, struct rpc_xprt_switch*, struct rpc_xprt*, void*), void *data)h](jM )}(hinth]hint}(hjݳhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjٳhhhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjٳhhhjhM ubj3)}(hrpc_clnt_add_xprth]j9)}(hrpc_clnt_add_xprth]hrpc_clnt_add_xprt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjٳhhhjhM ubj )}(h(struct rpc_clnt *clnt, struct xprt_create *xprtargs, int (*setup)(struct rpc_clnt*, struct rpc_xprt_switch*, struct rpc_xprt*, void*), void *data)h](j )}(hstruct rpc_clnt *clnth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]j )}j jsbc.rpc_clnt_add_xprtasbuh1hhjubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hclnth]hclnt}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct xprt_create *xprtargsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h xprt_createh]h xprt_create}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jTc.rpc_clnt_add_xprtasbuh1hhjubj")}(h h]h }(hjȴhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjִhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hxprtargsh]hxprtargs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hPint (*setup)(struct rpc_clnt*, struct rpc_xprt_switch*, struct rpc_xprt*, void*)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hjh]h(}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsetuph]hsetup}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubj )}(hjh]h)}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjh]h(}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_clnth]hrpc_clnt}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]jTc.rpc_clnt_add_xprtasbuh1hhjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj^zh]h,}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj˵hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_xprt_switchh]hrpc_xprt_switch}(hjܵhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjٵubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj޵modnameN classnameNj j )}j ]jTc.rpc_clnt_add_xprtasbuh1hhjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj^zh]h,}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hrpc_xprth]hrpc_xprt}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]jTc.rpc_clnt_add_xprtasbuh1hhjubj )}(hj h]h*}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj^zh]h,}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjh]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h void *datah](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjǶhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjնhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjٳhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjճhhhjhM ubah}(h]jгah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjҳhhubjg)}(hhh]jl)}(h!Add a new transport to a rpc_clnth]h!Add a new transport to a rpc_clnt}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hj hhubah}(h]h ]h"]h$]h&]uh1jfhjҳhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct rpc_clnt *clnt`` pointer to struct rpc_clnt ``struct xprt_create *xprtargs`` pointer to struct xprt_create ``int (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *)`` callback to test and/or set up the connection ``void *data`` pointer to setup function data **Description** Creates a new transport using the parameters set in args and adds it to clnt. If ping is set, then test that connectivity succeeds before adding the new transport.h](jl)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM! hj(ubj)}(hhh](j)}(h5``struct rpc_clnt *clnt`` pointer to struct rpc_clnt h](j)}(h``struct rpc_clnt *clnt``h]j)}(hjMh]hstruct rpc_clnt *clnt}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjGubj)}(hhh]jl)}(hpointer to struct rpc_clnth]hpointer to struct rpc_clnt}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhM hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM hjDubj)}(h?``struct xprt_create *xprtargs`` pointer to struct xprt_create h](j)}(h ``struct xprt_create *xprtargs``h]j)}(hjh]hstruct xprt_create *xprtargs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jl)}(hpointer to struct xprt_createh]hpointer to struct xprt_create}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjDubj)}(h``int (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *)`` callback to test and/or set up the connection h](j)}(hX``int (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *)``h]j)}(hjh]hTint (*setup)(struct rpc_clnt *, struct rpc_xprt_switch *, struct rpc_xprt *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM hjubj)}(hhh]jl)}(h-callback to test and/or set up the connectionh]h-callback to test and/or set up the connection}(hjطhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjԷhM hjշubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjԷhM hjDubj)}(h.``void *data`` pointer to setup function data h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM! hjubj)}(hhh]jl)}(hpointer to setup function datah]hpointer to setup function data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM! hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM! hjDubeh}(h]h ]h"]h$]h&]uh1jhj(ubjl)}(h**Description**h]j)}(hj3h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM# hj(ubjl)}(hCreates a new transport using the parameters set in args and adds it to clnt. If ping is set, then test that connectivity succeeds before adding the new transport.h]hCreates a new transport using the parameters set in args and adds it to clnt. If ping is set, then test that connectivity succeeds before adding the new transport.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhQ/var/lib/git/docbuild/linux/Documentation/networking/kapi:83: ./net/sunrpc/clnt.chM" hj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubeh}(h]sun-rpc-subsystemah ]h"]sun rpc subsystemah$]h&]uh1hhhhhhhhK9ubeh}(h]linux-networkingah ]h"]linux networkingah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNetwork device supporth]hNetwork device support}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohhhhhKWubh)}(hhh](h)}(hDriver Supporth]hDriver Support}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKZubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_add_pack (C function)c.dev_add_packhNtauh1hhjhhhNhNubh)}(hhh](j)}(h*void dev_add_pack (struct packet_type *pt)h]j )}(h)void dev_add_pack(struct packet_type *pt)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMdubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMdubj3)}(h dev_add_packh]j9)}(h dev_add_packh]h dev_add_pack}(hj˸hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjǸubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMdubj )}(h(struct packet_type *pt)h]j )}(hstruct packet_type *pth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h packet_typeh]h packet_type}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j͸sbc.dev_add_packasbuh1hhjubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpth]hpt}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj߸ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMdubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMdubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMdhjhhubjg)}(hhh]jl)}(hadd packet handlerh]hadd packet handler}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMdhjghhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMdubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct packet_type *pt`` packet type declaration **Description** Add a protocol handler to the networking stack. The passed :c:type:`packet_type` is linked into kernel lists and may not be freed until it has been removed from the kernel lists. This call does not sleep therefore it can not guarantee all CPU's that are in middle of receiving packets will see the new packet type (until the next received packet).h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhhjubj)}(hhh]j)}(h3``struct packet_type *pt`` packet type declaration h](j)}(h``struct packet_type *pt``h]j)}(hjh]hstruct packet_type *pt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMehjubj)}(hhh]jl)}(hpacket type declarationh]hpacket type declaration}(hjĹhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghjubj)}(hX\Add a protocol handler to the networking stack. The passed :c:type:`packet_type` is linked into kernel lists and may not be freed until it has been removed from the kernel lists. This call does not sleep therefore it can not guarantee all CPU's that are in middle of receiving packets will see the new packet type (until the next received packet).h](jl)}(hAdd a protocol handler to the networking stack. The passed :c:type:`packet_type` is linked into kernel lists and may not be freed until it has been removed from the kernel lists.h](h;Add a protocol handler to the networking stack. The passed }(hjhhhNhNubh)}(h:c:type:`packet_type`h]j)}(hj h]h packet_type}(hj hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj packet_typeuh1hhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfhjubhb is linked into kernel lists and may not be freed until it has been removed from the kernel lists.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj'hMfhjubjl)}(hThis call does not sleep therefore it can not guarantee all CPU's that are in middle of receiving packets will see the new packet type (until the next received packet).h]hThis call does not sleep therefore it can not guarantee all CPU’s that are in middle of receiving packets will see the new packet type (until the next received packet).}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMjhjubeh}(h]h ]h"]h$]h&]uh1jhj'hMfhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_remove_pack (C function)c.__dev_remove_packhNtauh1hhjhhhNhNubh)}(hhh](j)}(h/void __dev_remove_pack (struct packet_type *pt)h]j )}(h.void __dev_remove_pack(struct packet_type *pt)h](jM )}(hvoidh]hvoid}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjchhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM~ubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjchhhjuhM~ubj3)}(h__dev_remove_packh]j9)}(h__dev_remove_packh]h__dev_remove_pack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjchhhjuhM~ubj )}(h(struct packet_type *pt)h]j )}(hstruct packet_type *pth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h packet_typeh]h packet_type}(hjºhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjĺmodnameN classnameNj j )}j ]j )}j jsbc.__dev_remove_packasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpth]hpt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjchhhjuhM~ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj_hhhjuhM~ubah}(h]jZah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuhM~hj\hhubjg)}(hhh]jl)}(hremove packet handlerh]hremove packet handler}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM~hj$hhubah}(h]h ]h"]h$]h&]uh1jfhj\hhhjuhM~ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct packet_type *pt`` packet type declaration **Description** Remove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns. The packet type might still be in use by receivers and must not be freed until after all the CPU's have gone through a quiescent state.h](jl)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjCubj)}(hhh]j)}(h3``struct packet_type *pt`` packet type declaration h](j)}(h``struct packet_type *pt``h]j)}(hjhh]hstruct packet_type *pt}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjbubj)}(hhh]jl)}(hpacket type declarationh]hpacket type declaration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjCubj)}(hXhRemove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns. The packet type might still be in use by receivers and must not be freed until after all the CPU's have gone through a quiescent state.h](jl)}(hRemove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns.h](hrRemove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed }(hjhhhNhNubh)}(h:c:type:`packet_type`h]j)}(hjǻh]h packet_type}(hjɻhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjŻubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj packet_typeuh1hhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubhX is removed from the kernel lists and can be freed or reused once this function returns.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubjl)}(hThe packet type might still be in use by receivers and must not be freed until after all the CPU's have gone through a quiescent state.h]hThe packet type might still be in use by receivers and must not be freed until after all the CPU’s have gone through a quiescent state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_remove_pack (C function)c.dev_remove_packhNtauh1hhjhhhNhNubh)}(hhh](j)}(h-void dev_remove_pack (struct packet_type *pt)h]j )}(h,void dev_remove_pack(struct packet_type *pt)h](jM )}(hvoidh]hvoid}(hj$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj2hMubj3)}(hdev_remove_packh]j9)}(hdev_remove_packh]hdev_remove_pack}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj2hMubj )}(h(struct packet_type *pt)h]j )}(hstruct packet_type *pth](j)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubh)}(hhh]j9)}(h packet_typeh]h packet_type}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jGsbc.dev_remove_packasbuh1hhj]ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj]ubj9)}(hpth]hpt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjYubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj2hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj2hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2hMhjhhubjg)}(hhh]jl)}(hremove packet handlerh]hremove packet handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj2hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct packet_type *pt`` packet type declaration **Description** Remove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns. This call sleeps to guarantee that no CPU is looking at the packet type after return.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h3``struct packet_type *pt`` packet type declaration h](j)}(h``struct packet_type *pt``h]j)}(hj%h]hstruct packet_type *pt}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hpacket type declarationh]hpacket type declaration}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj`h]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hX6Remove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns. This call sleeps to guarantee that no CPU is looking at the packet type after return.h](jl)}(hRemove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed :c:type:`packet_type` is removed from the kernel lists and can be freed or reused once this function returns.h](hrRemove a protocol handler that was previously added to the kernel protocol handlers by dev_add_pack(). The passed }(hjzhhhNhNubh)}(h:c:type:`packet_type`h]j)}(hjh]h packet_type}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj packet_typeuh1hhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjzubhX is removed from the kernel lists and can be freed or reused once this function returns.}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjvubjl)}(hUThis call sleeps to guarantee that no CPU is looking at the packet type after return.h]hUThis call sleeps to guarantee that no CPU is looking at the packet type after return.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_get_iflink (C function)c.dev_get_iflinkhNtauh1hhjhhhNhNubh)}(hhh](j)}(h1int dev_get_iflink (const struct net_device *dev)h]j )}(h0int dev_get_iflink(const struct net_device *dev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjݽhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjݽhhhjhMubj3)}(hdev_get_iflinkh]j9)}(hdev_get_iflinkh]hdev_get_iflink}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjݽhhhjhMubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]j )}j jsbc.dev_get_iflinkasbuh1hhjubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjݽhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjٽhhhjhMubah}(h]jԽah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjֽhhubjg)}(hhh]jl)}(h!get 'iflink' value of a interfaceh]h%get ‘iflink’ value of a interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjֽhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjԾjjԾjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const struct net_device *dev`` targeted interface **Description** Indicates the ifindex the interface is linked to. Physical interfaces have the same 'ifindex' and 'iflink' values.h](jl)}(h**Parameters**h]j)}(hj޾h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjܾubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjؾubj)}(hhh]j)}(h4``const struct net_device *dev`` targeted interface h](j)}(h ``const struct net_device *dev``h]j)}(hjh]hconst struct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(htargeted interfaceh]htargeted interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjؾubjl)}(h**Description**h]j)}(hj8h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjؾubj)}(hrIndicates the ifindex the interface is linked to. Physical interfaces have the same 'ifindex' and 'iflink' values.h]jl)}(hrIndicates the ifindex the interface is linked to. Physical interfaces have the same 'ifindex' and 'iflink' values.h]hzIndicates the ifindex the interface is linked to. Physical interfaces have the same ‘ifindex’ and ‘iflink’ values.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjNubah}(h]h ]h"]h$]h&]uh1jhj`hMhjؾubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"dev_fill_metadata_dst (C function)c.dev_fill_metadata_dsthNtauh1hhjhhhNhNubh)}(hhh](j)}(hGint dev_fill_metadata_dst (struct net_device *dev, struct sk_buff *skb)h]j )}(hFint dev_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hdev_fill_metadata_dsth]j9)}(hdev_fill_metadata_dsth]hdev_fill_metadata_dst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h-(struct net_device *dev, struct sk_buff *skb)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjĿhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjѿhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj߿ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.dev_fill_metadata_dstasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]jc.dev_fill_metadata_dstasbuh1hhj2ubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jzah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhj|hhubjg)}(hhh]jl)}(h#Retrieve tunnel egress information.h]h#Retrieve tunnel egress information.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj|hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` targeted interface ``struct sk_buff *skb`` The packet. **Description** For better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h.``struct net_device *dev`` targeted interface h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(htargeted interfaceh]htargeted interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h$``struct sk_buff *skb`` The packet. h](j)}(h``struct sk_buff *skb``h]j)}(hj1h]hstruct sk_buff *skb}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj+ubj)}(hhh]jl)}(h The packet.h]h The packet.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjlh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hFor better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.h]jl)}(hFor better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.h]hFor better visibility of tunnel traffic OVS needs to retrieve egress tunnel information for a packet. Following API allows user to get this info.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_get_by_name (C function)c.__dev_get_by_namehNtauh1hhjhhhNhNubh)}(hhh](j)}(hIstruct net_device * __dev_get_by_name (struct net *net, const char *name)h]j )}(hGstruct net_device *__dev_get_by_name(struct net *net, const char *name)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMzubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j __dev_get_by_namesbc.__dev_get_by_nameasbuh1hhjhhhjhMzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMzubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMzubj3)}(h__dev_get_by_nameh]j9)}(hjh]h__dev_get_by_name}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMzubj )}(h#(struct net *net, const char *name)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(hneth]hnet}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]jc.__dev_get_by_nameasbuh1hhj1ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj-ubj )}(hconst char *nameh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj-ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMzubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMzubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMzhjhhubjg)}(hhh]jl)}(hfind a device by its nameh]hfind a device by its name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMzhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMzubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net *net`` the applicable net namespace ``const char *name`` name to find **Description** Find an interface by name. Must be called under RTNL semaphore. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks.h](jl)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM~hj/ubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjTh]hstruct net *net}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM{hjNubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihM{hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM{hjKubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM|hjubj)}(hhh]jl)}(h name to findh]h name to find}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM|hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM|hjKubeh}(h]h ]h"]h$]h&]uh1jhj/ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM~hj/ubj)}(hXFind an interface by name. Must be called under RTNL semaphore. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks.h]jl)}(hXFind an interface by name. Must be called under RTNL semaphore. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks.h](hFind an interface by name. Must be called under RTNL semaphore. If the name is found a pointer to the device is returned. If the name is not found then }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhb is returned. The reference counters are not incremented so the caller must be careful with locks.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM}hjubah}(h]h ]h"]h$]h&]uh1jhjhM}hj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h dev_get_by_name_rcu (C function)c.dev_get_by_name_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(hKstruct net_device * dev_get_by_name_rcu (struct net *net, const char *name)h]j )}(hIstruct net_device *dev_get_by_name_rcu(struct net *net, const char *name)h](j)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%hhhj6hMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]j )}j dev_get_by_name_rcusbc.dev_get_by_name_rcuasbuh1hhj%hhhj6hMubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%hhhj6hMubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%hhhj6hMubj3)}(hdev_get_by_name_rcuh]j9)}(hjfh]hdev_get_by_name_rcu}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%hhhj6hMubj )}(h#(struct net *net, const char *name)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jdc.dev_get_by_name_rcuasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst char *nameh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hcharh]hchar}(hj.hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnameh]hname}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj%hhhj6hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj!hhhj6hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6hMhjhhubjg)}(hhh]jl)}(hfind a device by its nameh]hfind a device by its name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj~hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj6hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXv**Parameters** ``struct net *net`` the applicable net namespace ``const char *name`` name to find **Description** Find an interface by name. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(h name to findh]h name to find}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(hFind an interface by name. If the name is found a pointer to the device is returned. If the name is not found then ``NULL`` is returned. The reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock.h](hsFind an interface by name. If the name is found a pointer to the device is returned. If the name is not found then }(hjLhhhNhNubj)}(h``NULL``h]hNULL}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh is returned. The reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&9]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_get_by_name (C function)c.netdev_get_by_namehNtauh1hhjhhhNhNubh)}(hhh](j)}(hqstruct net_device * netdev_get_by_name (struct net *net, const char *name, netdevice_tracker *tracker, gfp_t gfp)h]j )}(hostruct net_device *netdev_get_by_name(struct net *net, const char *name, netdevice_tracker *tracker, gfp_t gfp)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j netdev_get_by_namesbc.netdev_get_by_nameasbuh1hhjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hnetdev_get_by_nameh]j9)}(hjh]hnetdev_get_by_name}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hJ(struct net *net, const char *name, netdevice_tracker *tracker, gfp_t gfp)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hneth]hnet}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]jc.netdev_get_by_nameasbuh1hhjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hneth]hnet}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst char *nameh](j)}(hj h]hconst}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hnetdevice_tracker *trackerh](h)}(hhh]j9)}(hnetdevice_trackerh]hnetdevice_tracker}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.netdev_get_by_nameasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htrackerh]htracker}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h gfp_t gfph](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNj j )}j ]jc.netdev_get_by_nameasbuh1hhj%ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj9)}(hgfph]hgfp}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hfind a device by its nameh]hfind a device by its name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX#**Parameters** ``struct net *net`` the applicable net namespace ``const char *name`` name to find ``netdevice_tracker *tracker`` tracking object for the acquired reference ``gfp_t gfp`` allocation flags for the tracker **Description** Find an interface by name. This can be called from any context and does its own locking. The returned handle has the usage count incremented and the caller must use netdev_put() to release it when it is no longer needed. ``NULL`` is returned if no matching device is found.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``const char *name`` name to find h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(h name to findh]h name to find}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hJ``netdevice_tracker *tracker`` tracking object for the acquired reference h](j)}(h``netdevice_tracker *tracker``h]j)}(hj5h]hnetdevice_tracker *tracker}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj/ubj)}(hhh]jl)}(h*tracking object for the acquired referenceh]h*tracking object for the acquired reference}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubj)}(h/``gfp_t gfp`` allocation flags for the tracker h](j)}(h ``gfp_t gfp``h]j)}(hjnh]h gfp_t gfp}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhubj)}(hhh]jl)}(h allocation flags for the trackerh]h allocation flags for the tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hXFind an interface by name. This can be called from any context and does its own locking. The returned handle has the usage count incremented and the caller must use netdev_put() to release it when it is no longer needed. ``NULL`` is returned if no matching device is found.h]jl)}(hXFind an interface by name. This can be called from any context and does its own locking. The returned handle has the usage count incremented and the caller must use netdev_put() to release it when it is no longer needed. ``NULL`` is returned if no matching device is found.h](hFind an interface by name. This can be called from any context and does its own locking. The returned handle has the usage count incremented and the caller must use netdev_put() to release it when it is no longer needed. }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, is returned if no matching device is found.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_get_by_index (C function)c.__dev_get_by_indexhNtauh1hhjhhhNhNubh)}(hhh](j)}(hEstruct net_device * __dev_get_by_index (struct net *net, int ifindex)h]j )}(hCstruct net_device *__dev_get_by_index(struct net *net, int ifindex)h](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNj j )}j ]j )}j __dev_get_by_indexsbc.__dev_get_by_indexasbuh1hhjhhhjhMubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(h__dev_get_by_indexh]j9)}(hjGh]h__dev_get_by_index}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct net *net, int ifindex)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jEc.__dev_get_by_indexasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubj )}(h int ifindexh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hifindexh]hifindex}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hfind a device by its ifindexh]hfind a device by its ifindex}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net *net`` the applicable net namespace ``int ifindex`` index of device **Description** Search for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold the RTNL semaphore.h](jl)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjVubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hj{h]hstruct net *net}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjuubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hjh]h int ifindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hindex of deviceh]hindex of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubeh}(h]h ]h"]h$]h&]uh1jhjVubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjVubj)}(hSearch for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold the RTNL semaphore.h]jl)}(hSearch for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold the RTNL semaphore.h](h*Search for an interface by index. Returns }(hj hhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold the RTNL semaphore.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1jhj)hMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!dev_get_by_index_rcu (C function)c.dev_get_by_index_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(hGstruct net_device * dev_get_by_index_rcu (struct net *net, int ifindex)h]j )}(hEstruct net_device *dev_get_by_index_rcu(struct net *net, int ifindex)h](j)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhj]hMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNj j )}j ]j )}j dev_get_by_index_rcusbc.dev_get_by_index_rcuasbuh1hhjLhhhj]hMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhj]hMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLhhhj]hMubj3)}(hdev_get_by_index_rcuh]j9)}(hjh]hdev_get_by_index_rcu}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjLhhhj]hMubj )}(h(struct net *net, int ifindex)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.dev_get_by_index_rcuasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hneth]hnet}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int ifindexh](jM )}(hinth]hint}(hj:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj6ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj9)}(hifindexh]hifindex}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjLhhhj]hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHhhhj]hMubah}(h]jCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hMhjEhhubjg)}(hhh]jl)}(hfind a device by its ifindexh]hfind a device by its ifindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj}hhubah}(h]h ]h"]h$]h&]uh1jfhjEhhhj]hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXx**Parameters** ``struct net *net`` the applicable net namespace ``int ifindex`` index of device **Description** Search for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold RCU lock.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hjh]h int ifindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hindex of deviceh]hindex of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj5h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hSearch for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold RCU lock.h]jl)}(hSearch for an interface by index. Returns ``NULL`` if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold RCU lock.h](h*Search for an interface by index. Returns }(hjOhhhNhNubj)}(h``NULL``h]hNULL}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh if the device is not found or a pointer to the device. The device has not had its reference counter increased so the caller must be careful about locking. The caller must hold RCU lock.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjKubah}(h]h ]h"]h$]h&]uh1jhjohMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netdev_get_by_index (C function)c.netdev_get_by_indexhNtauh1hhjhhhNhNubh)}(hhh](j)}(hmstruct net_device * netdev_get_by_index (struct net *net, int ifindex, netdevice_tracker *tracker, gfp_t gfp)h]j )}(hkstruct net_device *netdev_get_by_index(struct net *net, int ifindex, netdevice_tracker *tracker, gfp_t gfp)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j netdev_get_by_indexsbc.netdev_get_by_indexasbuh1hhjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hnetdev_get_by_indexh]j9)}(hjh]hnetdev_get_by_index}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hE(struct net *net, int ifindex, netdevice_tracker *tracker, gfp_t gfp)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(hneth]hnet}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNj j )}j ]jc.netdev_get_by_indexasbuh1hhj ubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hjZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hneth]hnet}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int ifindexh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj|ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubj9)}(hifindexh]hifindex}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hnetdevice_tracker *trackerh](h)}(hhh]j9)}(hnetdevice_trackerh]hnetdevice_tracker}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.netdev_get_by_indexasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(htrackerh]htracker}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h gfp_t gfph](h)}(hhh]j9)}(hgfp_th]hgfp_t}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.netdev_get_by_indexasbuh1hhjubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hgfph]hgfp}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hfind a device by its ifindexh]hfind a device by its ifindex}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj`hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net *net`` the applicable net namespace ``int ifindex`` index of device ``netdevice_tracker *tracker`` tracking object for the acquired reference ``gfp_t gfp`` allocation flags for the tracker **Description** Search for an interface by index. Returns NULL if the device is not found or a pointer to the device. The device returned has had a reference added and the pointer is safe until the user calls netdev_put() to indicate they have finished with it.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``int ifindex`` index of device h](j)}(h``int ifindex``h]j)}(hjh]h int ifindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(hindex of deviceh]hindex of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hJ``netdevice_tracker *tracker`` tracking object for the acquired reference h](j)}(h``netdevice_tracker *tracker``h]j)}(hjh]hnetdevice_tracker *tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(h*tracking object for the acquired referenceh]h*tracking object for the acquired reference}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hM hj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hM hjubj)}(h/``gfp_t gfp`` allocation flags for the tracker h](j)}(h ``gfp_t gfp``h]j)}(hjOh]h gfp_t gfp}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjIubj)}(hhh]jl)}(h allocation flags for the trackerh]h allocation flags for the tracker}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhM hjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hSearch for an interface by index. Returns NULL if the device is not found or a pointer to the device. The device returned has had a reference added and the pointer is safe until the user calls netdev_put() to indicate they have finished with it.h]jl)}(hSearch for an interface by index. Returns NULL if the device is not found or a pointer to the device. The device returned has had a reference added and the pointer is safe until the user calls netdev_put() to indicate they have finished with it.h]hSearch for an interface by index. Returns NULL if the device is not found or a pointer to the device. The device returned has had a reference added and the pointer is safe until the user calls netdev_put() to indicate they have finished with it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubah}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h dev_getbyhwaddr_rcu (C function)c.dev_getbyhwaddr_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(h^struct net_device * dev_getbyhwaddr_rcu (struct net *net, unsigned short type, const char *ha)h]j )}(h\struct net_device *dev_getbyhwaddr_rcu(struct net *net, unsigned short type, const char *ha)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j dev_getbyhwaddr_rcusbc.dev_getbyhwaddr_rcuasbuh1hhjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hdev_getbyhwaddr_rcuh]j9)}(hjh]hdev_getbyhwaddr_rcu}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h6(struct net *net, unsigned short type, const char *ha)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubh)}(hhh]j9)}(hneth]hnet}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]jc.dev_getbyhwaddr_rcuasbuh1hhjOubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubj )}(hunsigned short typeh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(htypeh]htype}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubj )}(hconst char *hah](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hcharh]hchar}(hj/hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hhah]hha}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h%find a device by its hardware addressh]h%find a device by its hardware address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net *net`` the applicable net namespace ``unsigned short type`` media type of device ``const char *ha`` hardware address **Description** Search for an interface by MAC address. Returns NULL if the device is not found or a pointer to the device. The caller must hold RCU. The returned device has not had its ref count increased and the caller must therefore be careful about lockingh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h-``unsigned short type`` media type of device h](j)}(h``unsigned short type``h]j)}(hjh]hunsigned short type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hmedia type of deviceh]hmedia type of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``const char *ha`` hardware address h](j)}(h``const char *ha``h]j)}(hj5h]hconst char *ha}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj/ubj)}(hhh]jl)}(hhardware addressh]hhardware address}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjph]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hSearch for an interface by MAC address. Returns NULL if the device is not found or a pointer to the device. The caller must hold RCU. The returned device has not had its ref count increased and the caller must therefore be careful about lockingh]jl)}(hSearch for an interface by MAC address. Returns NULL if the device is not found or a pointer to the device. The caller must hold RCU. The returned device has not had its ref count increased and the caller must therefore be careful about lockingh]hSearch for an interface by MAC address. Returns NULL if the device is not found or a pointer to the device. The caller must hold RCU. The returned device has not had its ref count increased and the caller must therefore be careful about locking}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_getbyhwaddr (C function)c.dev_getbyhwaddrhNtauh1hhjhhhNhNubh)}(hhh](j)}(hZstruct net_device * dev_getbyhwaddr (struct net *net, unsigned short type, const char *ha)h]j )}(hXstruct net_device *dev_getbyhwaddr(struct net *net, unsigned short type, const char *ha)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j dev_getbyhwaddrsbc.dev_getbyhwaddrasbuh1hhjhhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhMubj3)}(hdev_getbyhwaddrh]j9)}(hjh]hdev_getbyhwaddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h6(struct net *net, unsigned short type, const char *ha)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(hhh]j9)}(hneth]hnet}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]jc.dev_getbyhwaddrasbuh1hhj5ubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(hunsigned short typeh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(htypeh]htype}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(hconst char *hah](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hhah]hha}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h%find a device by its hardware addressh]h%find a device by its hardware address}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjehhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXY**Parameters** ``struct net *net`` the applicable net namespace ``unsigned short type`` media type of device ``const char *ha`` hardware address **Description** Similar to dev_getbyhwaddr_rcu(), but the owner needs to hold rtnl_lock. **Context** rtnl_lock() must be held. **Return** pointer to the net_device, or NULL if not foundh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(h1``struct net *net`` the applicable net namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hthe applicable net namespaceh]hthe applicable net namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h-``unsigned short type`` media type of device h](j)}(h``unsigned short type``h]j)}(hjh]hunsigned short type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hmedia type of deviceh]hmedia type of device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``const char *ha`` hardware address h](j)}(h``const char *ha``h]j)}(hjh]hconst char *ha}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hhardware addressh]hhardware address}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjVh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(hHSimilar to dev_getbyhwaddr_rcu(), but the owner needs to hold rtnl_lock.h]hHSimilar to dev_getbyhwaddr_rcu(), but the owner needs to hold rtnl_lock.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(h **Context**h]j)}(hj}h]hContext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(hrtnl_lock() must be held.h]hrtnl_lock() must be held.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(h/pointer to the net_device, or NULL if not foundh]h/pointer to the net_device, or NULL if not found}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_valid_name (C function)c.dev_valid_namehNtauh1hhjhhhNhNubh)}(hhh](j)}(h&bool dev_valid_name (const char *name)h]j )}(h%bool dev_valid_name(const char *name)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM<ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM<ubj3)}(hdev_valid_nameh]j9)}(hdev_valid_nameh]hdev_valid_name}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM<ubj )}(h(const char *name)h]j )}(hconst char *nameh](j)}(hj h]hconst}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubjM )}(hcharh]hchar}(hj@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj!ubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj )}(hj h]h*}(hj\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!ubj9)}(hnameh]hname}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM<ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM<ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM<hjhhubjg)}(hhh]jl)}(h(check if name is okay for network deviceh]h(check if name is okay for network device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM<hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM<ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const char *name`` name string **Description** Network device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM@hjubj)}(hhh]j)}(h!``const char *name`` name string h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM=hjubj)}(hhh]jl)}(h name stringh]h name string}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM?hjubj)}(hrNetwork device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.h]jl)}(hrNetwork device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.h]hrNetwork device names need to be valid file names to allow sysfs to work. We also disallow any kind of whitespace.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM>hj%ubah}(h]h ]h"]h$]h&]uh1jhj7hM>hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_alloc_name (C function)c.dev_alloc_namehNtauh1hhjhhhNhNubh)}(hhh](j)}(h=int dev_alloc_name (struct net_device *dev, const char *name)h]j )}(hubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM`ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM`ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM`hjhhubjg)}(hhh]jl)}(h]notify network peers about existence of **dev**, to be called when rtnl lock is already held.h](h(notify network peers about existence of }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh., to be called when rtnl lock is already held.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM`hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX`**Parameters** ``struct net_device *dev`` network device **Description** Generate traffic such that interested network peers are aware of **dev**, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMdhjubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMbhjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hMbhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMbhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjWh]h Description}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMdhjubjl)}(hXGenerate traffic such that interested network peers are aware of **dev**, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.h](hAGenerate traffic such that interested network peers are aware of }(hjmhhhNhNubj)}(h**dev**h]hdev}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMchjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netdev_notify_peers (C function)c.netdev_notify_peershNtauh1hhjhhhNhNubh)}(hhh](j)}(h1void netdev_notify_peers (struct net_device *dev)h]j )}(h0void netdev_notify_peers(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMsubj3)}(hnetdev_notify_peersh]j9)}(hnetdev_notify_peersh]hnetdev_notify_peers}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMsubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsbc.netdev_notify_peersasbuh1hhjubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMsubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMsubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMshjhhubjg)}(hhh]jl)}(h/notify network peers about existence of **dev**h](h(notify network peers about existence of }(hjnhhhNhNubj)}(h**dev**h]hdev}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMshjkhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMsubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX`**Parameters** ``struct net_device *dev`` network device **Description** Generate traffic such that interested network peers are aware of **dev**, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMwhjubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMthjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMvhjubjl)}(hXGenerate traffic such that interested network peers are aware of **dev**, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.h](hAGenerate traffic such that interested network peers are aware of }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, such as by generating a gratuitous ARP. This may be used when a device wants to inform the rest of the network about some sort of reconfiguration such as a failover event or virtual machine migration.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMuhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(register_netdevice_notifier (C function)c.register_netdevice_notifierhNtauh1hhjhhhNhNubh)}(hhh](j)}(h;int register_netdevice_notifier (struct notifier_block *nb)h]j )}(h:int register_netdevice_notifier(struct notifier_block *nb)h](jM )}(hinth]hint}(hjOhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhj]hMubj3)}(hregister_netdevice_notifierh]j9)}(hregister_netdevice_notifierh]hregister_netdevice_notifier}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhj]hMubj )}(h(struct notifier_block *nb)h]j )}(hstruct notifier_block *nbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hnotifier_blockh]hnotifier_block}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jrsbc.register_netdevice_notifierasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnbh]hnb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjKhhhj]hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjGhhhj]hMubah}(h]jBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hMhjDhhubjg)}(hhh]jl)}(h!register a network notifier blockh]h!register a network notifier block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjDhhhj]hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct notifier_block *nb`` notifier **Description** Register a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure. When registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.h](jl)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj+ubj)}(hhh]j)}(h'``struct notifier_block *nb`` notifier h](j)}(h``struct notifier_block *nb``h]j)}(hjPh]hstruct notifier_block *nb}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjJubj)}(hhh]jl)}(hnotifierh]hnotifier}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj+ubjl)}(hRegister a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure.h]hRegister a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj+ubjl)}(hWhen registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.h]hWhen registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*unregister_netdevice_notifier (C function)c.unregister_netdevice_notifierhNtauh1hhjhhhNhNubh)}(hhh](j)}(h=int unregister_netdevice_notifier (struct notifier_block *nb)h]j )}(hubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkhhhj}hM>ubj3)}(hregister_netdevice_notifier_neth]j9)}(hregister_netdevice_notifier_neth]hregister_netdevice_notifier_net}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjkhhhj}hM>ubj )}(h,(struct net *net, struct notifier_block *nb)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb!c.register_netdevice_notifier_netasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct notifier_block *nbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hnotifier_blockh]hnotifier_block}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNj j )}j ]j!c.register_netdevice_notifier_netasbuh1hhjubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnbh]hnb}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjkhhhj}hM>ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjghhhj}hM>ubah}(h]jbah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}hM>hjdhhubjg)}(hhh]jl)}(h+register a per-netns network notifier blockh]h+register a per-netns network notifier block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM>hjhhubah}(h]h ]h"]h$]h&]uh1jfhjdhhhj}hM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net *net`` network namespace ``struct notifier_block *nb`` notifier **Description** Register a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure. When registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMBhjubj)}(hhh](j)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM?hjubj)}(hhh]jl)}(hnetwork namespaceh]hnetwork namespace}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubj)}(h'``struct notifier_block *nb`` notifier h](j)}(h``struct notifier_block *nb``h]j)}(hjh]hstruct notifier_block *nb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM@hjubj)}(hhh]jl)}(hnotifierh]hnotifier}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hM@hj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hM@hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjTh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMBhjubjl)}(hRegister a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure.h]hRegister a notifier to be called when network device events occur. The notifier passed is linked into the kernel structures and must not be reused until it has been unregistered. A negative errno code is returned on a failure.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMAhjubjl)}(hWhen registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.h]hWhen registered all registration and up events are replayed to the new notifier to allow device to have a race free view of the network device list.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMFhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.unregister_netdevice_notifier_net (C function)#c.unregister_netdevice_notifier_nethNtauh1hhjhhhNhNubh)}(hhh](j)}(hRint unregister_netdevice_notifier_net (struct net *net, struct notifier_block *nb)h]j )}(hQint unregister_netdevice_notifier_net(struct net *net, struct notifier_block *nb)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMYubj3)}(h!unregister_netdevice_notifier_neth]j9)}(h!unregister_netdevice_notifier_neth]h!unregister_netdevice_notifier_net}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMYubj )}(h,(struct net *net, struct notifier_block *nb)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb#c.unregister_netdevice_notifier_netasbuh1hhjubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hneth]hnet}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct notifier_block *nbh](j)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubh)}(hhh]j9)}(hnotifier_blockh]hnotifier_block}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]j#c.unregister_netdevice_notifier_netasbuh1hhjSubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSubj9)}(hnbh]hnb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMYubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMYubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMYhjhhubjg)}(hhh]jl)}(h-unregister a per-netns network notifier blockh]h-unregister a per-netns network notifier block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMYhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net *net`` network namespace ``struct notifier_block *nb`` notifier **Description** Unregister a notifier previously registered by register_netdevice_notifier_net(). The notifier is unlinked from the kernel structures and may then be reused. A negative errno code is returned on a failure. After unregistering unregister and down device events are synthesized for all devices on the device list to the removed notifier to remove the need for special case cleanup code.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM]hjubj)}(hhh](j)}(h&``struct net *net`` network namespace h](j)}(h``struct net *net``h]j)}(hjh]hstruct net *net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM[hjubj)}(hhh]jl)}(hnetwork namespaceh]hnetwork namespace}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hM[hj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hM[hjubj)}(h'``struct notifier_block *nb`` notifier h](j)}(h``struct notifier_block *nb``h]j)}(hjRh]hstruct notifier_block *nb}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM\hjLubj)}(hhh]jl)}(hnotifierh]hnotifier}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghM\hjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghM\hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM^hjubjl)}(hUnregister a notifier previously registered by register_netdevice_notifier_net(). The notifier is unlinked from the kernel structures and may then be reused. A negative errno code is returned on a failure.h]hUnregister a notifier previously registered by register_netdevice_notifier_net(). The notifier is unlinked from the kernel structures and may then be reused. A negative errno code is returned on a failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM]hjubjl)}(hAfter unregistering unregister and down device events are synthesized for all devices on the device list to the removed notifier to remove the need for special case cleanup code.h]hAfter unregistering unregister and down device events are synthesized for all devices on the device list to the removed notifier to remove the need for special case cleanup code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMbhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%call_netdevice_notifiers (C function)c.call_netdevice_notifiershNtauh1hhjhhhNhNubh)}(hhh](j)}(hHint call_netdevice_notifiers (unsigned long val, struct net_device *dev)h]j )}(hGint call_netdevice_notifiers(unsigned long val, struct net_device *dev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hcall_netdevice_notifiersh]j9)}(hcall_netdevice_notifiersh]hcall_netdevice_notifiers}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h+(unsigned long val, struct net_device *dev)h](j )}(hunsigned long valh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hlongh]hlong}(hj:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.call_netdevice_notifiersasbuh1hhjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h call all network notifier blocksh]h call all network notifier blocks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(hX-**Parameters** ``unsigned long val`` value passed unmodified to notifier function ``struct net_device *dev`` net_device pointer passed unmodified to notifier function **Description** Call all network notifier blocks. Parameters and return value are as for raw_notifier_call_chain().h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh](j)}(hC``unsigned long val`` value passed unmodified to notifier function h](j)}(h``unsigned long val``h]j)}(hj3h]hunsigned long val}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj-ubj)}(hhh]jl)}(h,value passed unmodified to notifier functionh]h,value passed unmodified to notifier function}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhM hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM hj*ubj)}(hU``struct net_device *dev`` net_device pointer passed unmodified to notifier function h](j)}(h``struct net_device *dev``h]j)}(hjlh]hstruct net_device *dev}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjfubj)}(hhh]jl)}(h9net_device pointer passed unmodified to notifier functionh]h9net_device pointer passed unmodified to notifier function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhM hj*ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hdCall all network notifier blocks. Parameters and return value are as for raw_notifier_call_chain().h]jl)}(hdCall all network notifier blocks. Parameters and return value are as for raw_notifier_call_chain().h]hdCall all network notifier blocks. Parameters and return value are as for raw_notifier_call_chain().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubah}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_forward_skb (C function)c.dev_forward_skbhNtauh1hhjhhhNhNubh)}(hhh](j)}(hAint dev_forward_skb (struct net_device *dev, struct sk_buff *skb)h]j )}(h@int dev_forward_skb(struct net_device *dev, struct sk_buff *skb)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hdev_forward_skbh]j9)}(hdev_forward_skbh]hdev_forward_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h-(struct net_device *dev, struct sk_buff *skb)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]j )}j jsbc.dev_forward_skbasbuh1hhj/ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jmc.dev_forward_skbasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h loopback an skb to another netifh]h loopback an skb to another netif}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj#hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` destination network device ``struct sk_buff *skb`` buffer to forward **Description** return values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped, but freed) dev_forward_skb can be used for injecting an skb from the start_xmit function of one device into the receive queue of another device. The receiving device may be in another namespace, so we have to clear all information in the skb that could impact namespace isolation.h](jl)}(h**Parameters**h]j)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjBubj)}(hhh](j)}(h6``struct net_device *dev`` destination network device h](j)}(h``struct net_device *dev``h]j)}(hjgh]hstruct net_device *dev}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjaubj)}(hhh]jl)}(hdestination network deviceh]hdestination network device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hM hj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hM hj^ubj)}(h*``struct sk_buff *skb`` buffer to forward h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(hbuffer to forwardh]hbuffer to forward}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj^ubeh}(h]h ]h"]h$]h&]uh1jhjBubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjBubj)}(hhh]j)}(h_return values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped, but freed) h](j)}(hreturn values:h]hreturn values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(hONET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped, but freed)h]hONET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped, but freed)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjBubjl)}(hdev_forward_skb can be used for injecting an skb from the start_xmit function of one device into the receive queue of another device.h]hdev_forward_skb can be used for injecting an skb from the start_xmit function of one device into the receive queue of another device.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjBubjl)}(hThe receiving device may be in another namespace, so we have to clear all information in the skb that could impact namespace isolation.h]hThe receiving device may be in another namespace, so we have to clear all information in the skb that could impact namespace isolation.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_nit_active_rcu (C function)c.dev_nit_active_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(h6bool dev_nit_active_rcu (const struct net_device *dev)h]j )}(h5bool dev_nit_active_rcu(const struct net_device *dev)h](jM )}(hjh]hbool}(hjihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjehhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjehhhjvhM ubj3)}(hdev_nit_active_rcuh]j9)}(hdev_nit_active_rcuh]hdev_nit_active_rcu}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjehhhjvhM ubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.dev_nit_active_rcuasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjehhhjvhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjahhhjvhM ubah}(h]j\ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjvhM hj^hhubjg)}(hhh]jl)}(h4return true if any network interface taps are in useh]h4return true if any network interface taps are in use}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj@hhubah}(h]h ]h"]h$]h&]uh1jfhj^hhhjvhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhjhNhNubj)}(h**Parameters** ``const struct net_device *dev`` network device to check for the presence of taps **Description** The caller must hold the RCU lockh](jl)}(h**Parameters**h]j)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj_ubj)}(hhh]j)}(hR``const struct net_device *dev`` network device to check for the presence of taps h](j)}(h ``const struct net_device *dev``h]j)}(hjh]hconst struct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj~ubj)}(hhh]jl)}(h0network device to check for the presence of tapsh]h0network device to check for the presence of taps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM hj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj_ubjl)}(h!The caller must hold the RCU lockh]h!The caller must hold the RCU lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netif_set_real_num_rx_queues (C function)c.netif_set_real_num_rx_queueshNtauh1hhjhhhNhNubh)}(hhh](j)}(hKint netif_set_real_num_rx_queues (struct net_device *dev, unsigned int rxq)h]j )}(hJint netif_set_real_num_rx_queues(struct net_device *dev, unsigned int rxq)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hnetif_set_real_num_rx_queuesh]j9)}(hnetif_set_real_num_rx_queuesh]hnetif_set_real_num_rx_queues}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h*(struct net_device *dev, unsigned int rxq)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNj j )}j ]j )}j j'sbc.netif_set_real_num_rx_queuesasbuh1hhj=ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=ubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubj )}(hunsigned int rxqh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hrxqh]hrxq}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h#set actual number of RX queues usedh]h#set actual number of RX queues used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhjhNhNubj)}(hXV**Parameters** ``struct net_device *dev`` Network device ``unsigned int rxq`` Actual number of RX queues **Description** This must be called either with the rtnl_lock held or before registration of the net device. Returns 0 on success, or a negative error code. If called before registration, it always succeeds.h](jl)}(h**Parameters**h]j)}(hj7h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj1ubj)}(hhh](j)}(h*``struct net_device *dev`` Network device h](j)}(h``struct net_device *dev``h]j)}(hjVh]hstruct net_device *dev}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjPubj)}(hhh]jl)}(hNetwork deviceh]hNetwork device}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhM hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM hjMubj)}(h0``unsigned int rxq`` Actual number of RX queues h](j)}(h``unsigned int rxq``h]j)}(hjh]hunsigned int rxq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(hActual number of RX queuesh]hActual number of RX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjMubeh}(h]h ]h"]h$]h&]uh1jhj1ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj1ubj)}(hThis must be called either with the rtnl_lock held or before registration of the net device. Returns 0 on success, or a negative error code. If called before registration, it always succeeds.h]jl)}(hThis must be called either with the rtnl_lock held or before registration of the net device. Returns 0 on success, or a negative error code. If called before registration, it always succeeds.h]hThis must be called either with the rtnl_lock held or before registration of the net device. Returns 0 on success, or a negative error code. If called before registration, it always succeeds.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubah}(h]h ]h"]h$]h&]uh1jhjhM hj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netif_set_real_num_queues (C function)c.netif_set_real_num_queueshNtauh1hhjhhhNhNubh)}(hhh](j)}(hZint netif_set_real_num_queues (struct net_device *dev, unsigned int txq, unsigned int rxq)h]j )}(hYint netif_set_real_num_queues(struct net_device *dev, unsigned int txq, unsigned int rxq)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj'hM ubj3)}(hnetif_set_real_num_queuesh]j9)}(hnetif_set_real_num_queuesh]hnetif_set_real_num_queues}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj'hM ubj )}(h<(struct net_device *dev, unsigned int txq, unsigned int rxq)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]j )}j j<sbc.netif_set_real_num_queuesasbuh1hhjRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjNubj )}(hunsigned int txqh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(htxqh]htxq}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjNubj )}(hunsigned int rxqh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hrxqh]hrxq}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjNubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj'hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj'hM ubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj'hM hjhhubjg)}(hhh]jl)}(h*set actual number of RX and TX queues usedh]h*set actual number of RX and TX queues used}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjxhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj'hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX$**Parameters** ``struct net_device *dev`` Network device ``unsigned int txq`` Actual number of TX queues ``unsigned int rxq`` Actual number of RX queues **Description** Set the real number of both TX and RX queues. Does nothing if the number of queues is already correct.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh](j)}(h*``struct net_device *dev`` Network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(hNetwork deviceh]hNetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h0``unsigned int txq`` Actual number of TX queues h](j)}(h``unsigned int txq``h]j)}(hjh]hunsigned int txq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(hActual number of TX queuesh]hActual number of TX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubj)}(h0``unsigned int rxq`` Actual number of RX queues h](j)}(h``unsigned int rxq``h]j)}(hj.h]hunsigned int rxq}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj(ubj)}(hhh]jl)}(hActual number of RX queuesh]hActual number of RX queues}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChM hjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjih]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hfSet the real number of both TX and RX queues. Does nothing if the number of queues is already correct.h]jl)}(hfSet the real number of both TX and RX queues. Does nothing if the number of queues is already correct.h]hfSet the real number of both TX and RX queues. Does nothing if the number of queues is already correct.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubah}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_set_tso_max_size (C function)c.netif_set_tso_max_sizehNtauh1hhjhhhNhNubh)}(hhh](j)}(hGvoid netif_set_tso_max_size (struct net_device *dev, unsigned int size)h]j )}(hFvoid netif_set_tso_max_size(struct net_device *dev, unsigned int size)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hnetif_set_tso_max_sizeh]j9)}(hnetif_set_tso_max_sizeh]hnetif_set_tso_max_size}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h+(struct net_device *dev, unsigned int size)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.netif_set_tso_max_sizeasbuh1hhjubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int sizeh](jM )}(hunsignedh]hunsigned}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj9)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h(set the max size of TSO frames supportedh]h(set the max size of TSO frames supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` netdev to update ``unsigned int size`` max skb->len of a TSO frame **Description** Set the limit on the size of TSO super-frames the device can handle. Unless explicitly set the stack will assume the value of ``GSO_LEGACY_MAX_SIZE``.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh](j)}(h,``struct net_device *dev`` netdev to update h](j)}(h``struct net_device *dev``h]j)}(hj h]hstruct net_device *dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(hnetdev to updateh]hnetdev to update}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h2``unsigned int size`` max skb->len of a TSO frame h](j)}(h``unsigned int size``h]j)}(hjCh]hunsigned int size}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj=ubj)}(hhh]jl)}(hmax skb->len of a TSO frameh]hmax skb->len of a TSO frame}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhM hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj~h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjl)}(hSet the limit on the size of TSO super-frames the device can handle. Unless explicitly set the stack will assume the value of ``GSO_LEGACY_MAX_SIZE``.h](h~Set the limit on the size of TSO super-frames the device can handle. Unless explicitly set the stack will assume the value of }(hjhhhNhNubj)}(h``GSO_LEGACY_MAX_SIZE``h]hGSO_LEGACY_MAX_SIZE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_set_tso_max_segs (C function)c.netif_set_tso_max_segshNtauh1hhjhhhNhNubh)}(hhh](j)}(hGvoid netif_set_tso_max_segs (struct net_device *dev, unsigned int segs)h]j )}(hFvoid netif_set_tso_max_segs(struct net_device *dev, unsigned int segs)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM. ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM. ubj3)}(hnetif_set_tso_max_segsh]j9)}(hnetif_set_tso_max_segsh]hnetif_set_tso_max_segs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM. ubj )}(h+(struct net_device *dev, unsigned int segs)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]j )}j jsbc.netif_set_tso_max_segsasbuh1hhjubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hunsigned int segsh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hsegsh]hsegs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM. ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM. ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM. hjhhubjg)}(hhh]jl)}(h,set the max number of segs supported for TSOh]h,set the max number of segs supported for TSO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM. hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM. ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX1**Parameters** ``struct net_device *dev`` netdev to update ``unsigned int segs`` max number of TCP segments **Description** Set the limit on the number of TCP segments the device can generate from a single TSO super-frame. Unless explicitly set the stack will assume the value of ``GSO_MAX_SEGS``.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2 hjubj)}(hhh](j)}(h,``struct net_device *dev`` netdev to update h](j)}(h``struct net_device *dev``h]j)}(hj'h]hstruct net_device *dev}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/ hj!ubj)}(hhh]jl)}(hnetdev to updateh]hnetdev to update}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hM/ hj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hM/ hjubj)}(h1``unsigned int segs`` max number of TCP segments h](j)}(h``unsigned int segs``h]j)}(hj`h]hunsigned int segs}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0 hjZubj)}(hhh]jl)}(hmax number of TCP segmentsh]hmax number of TCP segments}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhM0 hjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhM0 hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2 hjubjl)}(hSet the limit on the number of TCP segments the device can generate from a single TSO super-frame. Unless explicitly set the stack will assume the value of ``GSO_MAX_SEGS``.h](hSet the limit on the number of TCP segments the device can generate from a single TSO super-frame. Unless explicitly set the stack will assume the value of }(hjhhhNhNubj)}(h``GSO_MAX_SEGS``h]h GSO_MAX_SEGS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1 hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_inherit_tso_max (C function)c.netif_inherit_tso_maxhNtauh1hhjhhhNhNubh)}(hhh](j)}(hQvoid netif_inherit_tso_max (struct net_device *to, const struct net_device *from)h]j )}(hPvoid netif_inherit_tso_max(struct net_device *to, const struct net_device *from)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM? ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM? ubj3)}(hnetif_inherit_tso_maxh]j9)}(hnetif_inherit_tso_maxh]hnetif_inherit_tso_max}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM? ubj )}(h6(struct net_device *to, const struct net_device *from)h](j )}(hstruct net_device *toh](j)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j jsbc.netif_inherit_tso_maxasbuh1hhj+ubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubj )}(hj h]h*}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+ubj9)}(htoh]hto}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(hconst struct net_device *fromh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jic.netif_inherit_tso_maxasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM? ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM? ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM? hjhhubjg)}(hhh]jl)}(h3copy all TSO limits from a lower device to an upperh]h3copy all TSO limits from a lower device to an upper}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM? hj:hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM? ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *to`` netdev to update ``const struct net_device *from`` netdev from which to copy the limitsh](jl)}(h**Parameters**h]j)}(hj_h]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMC hjYubj)}(hhh](j)}(h+``struct net_device *to`` netdev to update h](j)}(h``struct net_device *to``h]j)}(hj~h]hstruct net_device *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM@ hjxubj)}(hhh]jl)}(hnetdev to updateh]hnetdev to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM@ hjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhM@ hjuubj)}(hF``const struct net_device *from`` netdev from which to copy the limitsh](j)}(h!``const struct net_device *from``h]j)}(hjh]hconst struct net_device *from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMB hjubj)}(hhh]jl)}(h$netdev from which to copy the limitsh]h$netdev from which to copy the limits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMA hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMB hjuubeh}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-netif_get_num_default_rss_queues (C function)"c.netif_get_num_default_rss_queueshNtauh1hhjhhhNhNubh)}(hhh](j)}(h+int netif_get_num_default_rss_queues (void)h]j )}(h*int netif_get_num_default_rss_queues(void)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMK ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMK ubj3)}(h netif_get_num_default_rss_queuesh]j9)}(h netif_get_num_default_rss_queuesh]h netif_get_num_default_rss_queues}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMK ubj )}(h(void)h]j )}(hvoidh]jM )}(hvoidh]hvoid}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjJubah}(h]h ]h"]h$]h&]noemphjPjQuh1j hjFubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhMK ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhjhMK ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMK hjhhubjg)}(hhh]jl)}(hdefault number of RSS queuesh]hdefault number of RSS queues}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMK hjuhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMK ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``void`` no arguments **Description** Default value is the number of physical cores if there are only 1 or 2, or divided by 2 if there are more.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMO hjubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjh]hvoid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhjubj)}(hhh]jl)}(h no argumentsh]h no arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chKhjubjl)}(hjDefault value is the number of physical cores if there are only 1 or 2, or divided by 2 if there are more.h]hjDefault value is the number of physical cores if there are only 1 or 2, or divided by 2 if there are more.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chML hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_device_detach (C function)c.netif_device_detachhNtauh1hhjhhhNhNubh)}(hhh](j)}(h1void netif_device_detach (struct net_device *dev)h]j )}(h0void netif_device_detach(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhjGhM ubj3)}(hnetif_device_detachh]j9)}(hnetif_device_detachh]hnetif_device_detach}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhjGhM ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j\sbc.netif_device_detachasbuh1hhjrubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnubah}(h]h ]h"]h$]h&]jPjQuh1j hj5hhhjGhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1hhhjGhM ubah}(h]j,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhM hj.hhubjg)}(hhh]jl)}(hmark device as removedh]hmark device as removed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhj.hhhjGhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device **Description** Mark device as removed from system and therefore no longer available.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj:h]hstruct net_device *dev}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj4ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhM hjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhM hj1ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjuh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjl)}(hEMark device as removed from system and therefore no longer available.h]hEMark device as removed from system and therefore no longer available.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_device_attach (C function)c.netif_device_attachhNtauh1hhjhhhNhNubh)}(hhh](j)}(h1void netif_device_attach (struct net_device *dev)h]j )}(h0void netif_device_attach(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(hnetif_device_attachh]j9)}(hnetif_device_attachh]hnetif_device_attach}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.netif_device_attachasbuh1hhjubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(hmark device as attachedh]hmark device as attached}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjwhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device **Description** Mark device as attached from system and restart if needed.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubjl)}(h:Mark device as attached from system and restart if needed.h]h:Mark device as attached from system and restart if needed.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_loopback_xmit (C function)c.dev_loopback_xmithNtauh1hhjhhhNhNubh)}(hhh](j)}(hMint dev_loopback_xmit (struct net *net, struct sock *sk, struct sk_buff *skb)h]j )}(hLint dev_loopback_xmit(struct net *net, struct sock *sk, struct sk_buff *skb)h](jM )}(hinth]hint}(hj;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7hhhjIhM ubj3)}(hdev_loopback_xmith]j9)}(hdev_loopback_xmith]hdev_loopback_xmit}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7hhhjIhM ubj )}(h7(struct net *net, struct sock *sk, struct sk_buff *skb)h](j )}(hstruct net *neth](j)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubh)}(hhh]j9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j^sbc.dev_loopback_xmitasbuh1hhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hneth]hnet}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(hstruct sock *skh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsockh]hsock}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.dev_loopback_xmitasbuh1hhjubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskh]hsk}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNj j )}j ]jc.dev_loopback_xmitasbuh1hhjVubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubeh}(h]h ]h"]h$]h&]jPjQuh1j hj7hhhjIhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3hhhjIhM ubah}(h]j.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjIhM hj0hhubjg)}(hhh]jl)}(hloop back **skb**h](h loop back }(hjhhhNhNubj)}(h**skb**h]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhj0hhhjIhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net *net`` network namespace this loopback is happening in ``struct sock *sk`` sk needed to be a netfilter okfn ``struct sk_buff *skb`` buffer to transmith](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjubj)}(hhh](j)}(hD``struct net *net`` network namespace this loopback is happening in h](j)}(h``struct net *net``h]j)}(hj*h]hstruct net *net}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!hj$ubj)}(hhh]jl)}(h/network namespace this loopback is happening inh]h/network namespace this loopback is happening in}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hM!hj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hM!hj!ubj)}(h5``struct sock *sk`` sk needed to be a netfilter okfn h](j)}(h``struct sock *sk``h]j)}(hjch]hstruct sock *sk}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hj]ubj)}(hhh]jl)}(h sk needed to be a netfilter okfnh]h sk needed to be a netfilter okfn}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhM"hjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhM"hj!ubj)}(h*``struct sk_buff *skb`` buffer to transmith](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjubj)}(hhh]jl)}(hbuffer to transmith]hbuffer to transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hj!ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_queue_xmit (C function)c.__dev_queue_xmithNtauh1hhjhhhNhNubh)}(hhh](j)}(hEint __dev_queue_xmit (struct sk_buff *skb, struct net_device *sb_dev)h]j )}(hDint __dev_queue_xmit(struct sk_buff *skb, struct net_device *sb_dev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h__dev_queue_xmith]j9)}(h__dev_queue_xmith]h__dev_queue_xmit}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h0(struct sk_buff *skb, struct net_device *sb_dev)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]j )}j jsbc.__dev_queue_xmitasbuh1hhj/ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(hstruct net_device *sb_devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jmc.__dev_queue_xmitasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsb_devh]hsb_dev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(htransmit a bufferh]htransmit a buffer}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj#hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhjhNhNubj)}(hXs**Parameters** ``struct sk_buff *skb`` buffer to transmit ``struct net_device *sb_dev`` suboordinate device used for L2 forwarding offload **Description** Queue a buffer for transmission to a network device. The caller must have set the device and priority and built the buffer before calling this function. The function can be called from an interrupt. When calling this method, interrupts MUST be enabled. This is because the BH enable code must have IRQs enabled so that it will not deadlock. Regardless of the return value, the skb is consumed, so it is currently difficult to retry a send to this method. (You can bump the ref count before sending to hold a reference for retry if you are careful.) **Return** * 0 - buffer successfully transmitted * positive qdisc return code - NET_XMIT_DROP etc. * negative errno - other errorsh](jl)}(h**Parameters**h]j)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubj)}(hhh](j)}(h+``struct sk_buff *skb`` buffer to transmit h](j)}(h``struct sk_buff *skb``h]j)}(hjgh]hstruct sk_buff *skb}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjaubj)}(hhh]jl)}(hbuffer to transmith]hbuffer to transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubj)}(hQ``struct net_device *sb_dev`` suboordinate device used for L2 forwarding offload h](j)}(h``struct net_device *sb_dev``h]j)}(hjh]hstruct net_device *sb_dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(h2suboordinate device used for L2 forwarding offloadh]h2suboordinate device used for L2 forwarding offload}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj^ubeh}(h]h ]h"]h$]h&]uh1jhjBubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubjl)}(hQueue a buffer for transmission to a network device. The caller must have set the device and priority and built the buffer before calling this function. The function can be called from an interrupt.h]hQueue a buffer for transmission to a network device. The caller must have set the device and priority and built the buffer before calling this function. The function can be called from an interrupt.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubjl)}(hWhen calling this method, interrupts MUST be enabled. This is because the BH enable code must have IRQs enabled so that it will not deadlock.h]hWhen calling this method, interrupts MUST be enabled. This is because the BH enable code must have IRQs enabled so that it will not deadlock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubjl)}(hRegardless of the return value, the skb is consumed, so it is currently difficult to retry a send to this method. (You can bump the ref count before sending to hold a reference for retry if you are careful.)h]hRegardless of the return value, the skb is consumed, so it is currently difficult to retry a send to this method. (You can bump the ref count before sending to hold a reference for retry if you are careful.)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubjl)}(h **Return**h]j)}(hj h]hReturn}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubjUQ)}(hhh](jZQ)}(h<0 - buffer successfully transmittedh]jl)}(hj;h]h<0 - buffer successfully transmitted}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj9ubah}(h]h ]h"]h$]h&]uh1jYQhj6ubjZQ)}(h/positive qdisc return code - NET_XMIT_DROP etc.h]jl)}(hjSh]h/positive qdisc return code - NET_XMIT_DROP etc.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjQubah}(h]h ]h"]h$]h&]uh1jYQhj6ubjZQ)}(h)negative errno - other errorsh]jl)}(hjkh]h)negative errno - other errors}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjiubah}(h]h ]h"]h$]h&]uh1jYQhj6ubeh}(h]h ]h"]h$]h&]j$Rj uh1jTQhjJhMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h rps_may_expire_flow (C function)c.rps_may_expire_flowhNtauh1hhjhhhNhNubh)}(hhh](j)}(h\bool rps_may_expire_flow (struct net_device *dev, u16 rxq_index, u32 flow_id, u16 filter_id)h]j )}(h[bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, u32 flow_id, u16 filter_id)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hrps_may_expire_flowh]j9)}(hrps_may_expire_flowh]hrps_may_expire_flow}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hC(struct net_device *dev, u16 rxq_index, u32 flow_id, u16 filter_id)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.rps_may_expire_flowasbuh1hhjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u16 rxq_indexh](h)}(hhh]j9)}(hu16h]hu16}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]jc.rps_may_expire_flowasbuh1hhjQubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj9)}(h rxq_indexh]h rxq_index}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 flow_idh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rps_may_expire_flowasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hflow_idh]hflow_id}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u16 filter_idh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.rps_may_expire_flowasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h filter_idh]h filter_id}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h3check whether an RFS hardware filter may be removedh]h3check whether an RFS hardware filter may be removed}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj;hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` Device on which the filter was set ``u16 rxq_index`` RX queue index ``u32 flow_id`` Flow ID passed to ndo_rx_flow_steer() ``u16 filter_id`` Filter ID returned by ndo_rx_flow_steer() **Description** Drivers that implement ndo_rx_flow_steer() should periodically call this function for each installed filter and remove the filters for which it returns ``true``.h](jl)}(h**Parameters**h]j)}(hj`h]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjZubj)}(hhh](j)}(h>``struct net_device *dev`` Device on which the filter was set h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjyubj)}(hhh]jl)}(h"Device on which the filter was seth]h"Device on which the filter was set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubj)}(h!``u16 rxq_index`` RX queue index h](j)}(h``u16 rxq_index``h]j)}(hjh]h u16 rxq_index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hRX queue indexh]hRX queue index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubj)}(h6``u32 flow_id`` Flow ID passed to ndo_rx_flow_steer() h](j)}(h``u32 flow_id``h]j)}(hjh]h u32 flow_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(h%Flow ID passed to ndo_rx_flow_steer()h]h%Flow ID passed to ndo_rx_flow_steer()}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubj)}(h<``u16 filter_id`` Filter ID returned by ndo_rx_flow_steer() h](j)}(h``u16 filter_id``h]j)}(hj*h]h u16 filter_id}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj$ubj)}(hhh]jl)}(h)Filter ID returned by ndo_rx_flow_steer()h]h)Filter ID returned by ndo_rx_flow_steer()}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhjvubeh}(h]h ]h"]h$]h&]uh1jhjZubjl)}(h**Description**h]j)}(hjeh]h Description}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjZubjl)}(hDrivers that implement ndo_rx_flow_steer() should periodically call this function for each installed filter and remove the filters for which it returns ``true``.h](hDrivers that implement ndo_rx_flow_steer() should periodically call this function for each installed filter and remove the filters for which it returns }(hj{hhhNhNubj)}(h``true``h]htrue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh.}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__netif_rx (C function) c.__netif_rxhNtauh1hhjhhhNhNubh)}(hhh](j)}(h$int __netif_rx (struct sk_buff *skb)h]j )}(h#int __netif_rx(struct sk_buff *skb)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h __netif_rxh]j9)}(h __netif_rxh]h __netif_rx}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.__netif_rxasbuh1hhjubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h&Slightly optimized version of netif_rxh]h&Slightly optimized version of netif_rx}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjyhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX **Parameters** ``struct sk_buff *skb`` buffer to post **Description** This behaves as netif_rx except that it does not disable bottom halves. As a result this function may only be invoked from the interrupt context (either hard or soft interrupt).h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h'``struct sk_buff *skb`` buffer to post h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hbuffer to posth]hbuffer to post}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hThis behaves as netif_rx except that it does not disable bottom halves. As a result this function may only be invoked from the interrupt context (either hard or soft interrupt).h]jl)}(hThis behaves as netif_rx except that it does not disable bottom halves. As a result this function may only be invoked from the interrupt context (either hard or soft interrupt).h]hThis behaves as netif_rx except that it does not disable bottom halves. As a result this function may only be invoked from the interrupt context (either hard or soft interrupt).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubah}(h]h ]h"]h$]h&]uh1jhj hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_rx (C function) c.netif_rxhNtauh1hhjhhhNhNubh)}(hhh](j)}(h"int netif_rx (struct sk_buff *skb)h]j )}(h!int netif_rx(struct sk_buff *skb)h](jM )}(hinth]hint}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjChhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjChhhjUhMubj3)}(hnetif_rxh]j9)}(hnetif_rxh]hnetif_rx}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjChhhjUhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jjsb c.netif_rxasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|ubah}(h]h ]h"]h$]h&]jPjQuh1j hjChhhjUhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?hhhjUhMubah}(h]j:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUhMhj<hhubjg)}(hhh]jl)}(hpost buffer to the network codeh]hpost buffer to the network code}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj<hhhjUhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to post **Description** This function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function. return values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped)h](jl)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj#ubj)}(hhh]j)}(h'``struct sk_buff *skb`` buffer to post h](j)}(h``struct sk_buff *skb``h]j)}(hjHh]hstruct sk_buff *skb}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjBubj)}(hhh]jl)}(hbuffer to posth]hbuffer to post}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj#ubj)}(hXQThis function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function. return values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped)h](jl)}(hXThis function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function.h]hXThis function receives a packet from a device driver and queues it for the upper (protocol) levels to process via the backlog NAPI device. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. The network buffer is passed via the backlog NAPI device. Modern NIC driver should use NAPI and GRO. This function can used from interrupt and from process context. The caller from process context must not disable interrupts before invoking this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(hSreturn values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped)h]hSreturn values: NET_RX_SUCCESS (no congestion) NET_RX_DROP (packet was dropped)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netdev_is_rx_handler_busy (C function)c.netdev_is_rx_handler_busyhNtauh1hhjhhhNhNubh)}(hhh](j)}(h7bool netdev_is_rx_handler_busy (struct net_device *dev)h]j )}(h6bool netdev_is_rx_handler_busy(struct net_device *dev)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM(ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM(ubj3)}(hnetdev_is_rx_handler_busyh]j9)}(hnetdev_is_rx_handler_busyh]hnetdev_is_rx_handler_busy}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM(ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj* hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj; hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8 ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj= modnameN classnameNj j )}j ]j )}j j sbc.netdev_is_rx_handler_busyasbuh1hhj ubj")}(h h]h }(hj[ hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hji hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hdevh]hdev}(hjv hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM(ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM(ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM(hjhhubjg)}(hhh]jl)}(h&check if receive handler is registeredh]h&check if receive handler is registered}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM(hj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` device to check **Description** Check if a receive handler is already registered for a given device. Return true if there one. The caller must hold the rtnl_mutex.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM,hj ubj)}(hhh]j)}(h+``struct net_device *dev`` device to check h](j)}(h``struct net_device *dev``h]j)}(hj h]hstruct net_device *dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM)hj ubj)}(hhh]jl)}(hdevice to checkh]hdevice to check}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM)hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM)hj ubah}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+hj ubj)}(hCheck if a receive handler is already registered for a given device. Return true if there one. The caller must hold the rtnl_mutex.h](jl)}(h^Check if a receive handler is already registered for a given device. Return true if there one.h]h^Check if a receive handler is already registered for a given device. Return true if there one.}(hj6 hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM*hj2 ubjl)}(h$The caller must hold the rtnl_mutex.h]h$The caller must hold the rtnl_mutex.}(hjE hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM-hj2 ubeh}(h]h ]h"]h$]h&]uh1jhjD hM*hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_rx_handler_register (C function)c.netdev_rx_handler_registerhNtauh1hhjhhhNhNubh)}(hhh](j)}(hmint netdev_rx_handler_register (struct net_device *dev, rx_handler_func_t *rx_handler, void *rx_handler_data)h]j )}(hlint netdev_rx_handler_register(struct net_device *dev, rx_handler_func_t *rx_handler, void *rx_handler_data)h](jM )}(hinth]hint}(hjz hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjv hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM8ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjv hhhj hM8ubj3)}(hnetdev_rx_handler_registerh]j9)}(hnetdev_rx_handler_registerh]hnetdev_rx_handler_register}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjv hhhj hM8ubj )}(hN(struct net_device *dev, rx_handler_func_t *rx_handler, void *rx_handler_data)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j j sbc.netdev_rx_handler_registerasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hdevh]hdev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hrx_handler_func_t *rx_handlerh](h)}(hhh]j9)}(hrx_handler_func_th]hrx_handler_func_t}(hj, hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj) ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj. modnameN classnameNj j )}j ]j c.netdev_rx_handler_registerasbuh1hhj% ubj")}(h h]h }(hjJ hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj% ubj )}(hj h]h*}(hjX hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj% ubj9)}(h rx_handlerh]h rx_handler}(hje hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj% ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hvoid *rx_handler_datah](jM )}(hvoidh]hvoid}(hj~ hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjz ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjz ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjz ubj9)}(hrx_handler_datah]hrx_handler_data}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjz ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjv hhhj hM8ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjr hhhj hM8ubah}(h]jm ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hM8hjo hhubjg)}(hhh]jl)}(hregister receive handlerh]hregister receive handler}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM8hj hhubah}(h]h ]h"]h$]h&]uh1jfhjo hhhj hM8ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` device to register a handler for ``rx_handler_func_t *rx_handler`` receive handler to register ``void *rx_handler_data`` data pointer that is used by rx handler **Description** Register a receive handler for a device. This handler will then be called from __netif_receive_skb. A negative errno code is returned on a failure. The caller must hold the rtnl_mutex. For a general description of rx_handler, see enum rx_handler_result.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM<hj ubj)}(hhh](j)}(h<``struct net_device *dev`` device to register a handler for h](j)}(h``struct net_device *dev``h]j)}(hj h]hstruct net_device *dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM9hj ubj)}(hhh]jl)}(h device to register a handler forh]h device to register a handler for}(hj+ hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj' hM9hj( ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj' hM9hj ubj)}(h>``rx_handler_func_t *rx_handler`` receive handler to register h](j)}(h!``rx_handler_func_t *rx_handler``h]j)}(hjK h]hrx_handler_func_t *rx_handler}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM:hjE ubj)}(hhh]jl)}(hreceive handler to registerh]hreceive handler to register}(hjd hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj` hM:hja ubah}(h]h ]h"]h$]h&]uh1jhjE ubeh}(h]h ]h"]h$]h&]uh1jhj` hM:hj ubj)}(hB``void *rx_handler_data`` data pointer that is used by rx handler h](j)}(h``void *rx_handler_data``h]j)}(hj h]hvoid *rx_handler_data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM;hj~ ubj)}(hhh]jl)}(h'data pointer that is used by rx handlerh]h'data pointer that is used by rx handler}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj 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 ubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM=hj ubj)}(hRegister a receive handler for a device. This handler will then be called from __netif_receive_skb. A negative errno code is returned on a failure. The caller must hold the rtnl_mutex. For a general description of rx_handler, see enum rx_handler_result.h](jl)}(hRegister a receive handler for a device. This handler will then be called from __netif_receive_skb. A negative errno code is returned on a failure.h]hRegister a receive handler for a device. This handler will then be called from __netif_receive_skb. A negative errno code is returned on a failure.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM<hj ubjl)}(h$The caller must hold the rtnl_mutex.h]h$The caller must hold the rtnl_mutex.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM@hj ubjl)}(hDFor a general description of rx_handler, see enum rx_handler_result.h]hDFor a general description of rx_handler, see enum rx_handler_result.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMBhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM<hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netdev_rx_handler_unregister (C function)c.netdev_rx_handler_unregisterhNtauh1hhjhhhNhNubh)}(hhh](j)}(h:void netdev_rx_handler_unregister (struct net_device *dev)h]j )}(h9void netdev_rx_handler_unregister(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj, hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj( hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMXubj")}(h h]h }(hj; hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj( hhhj: hMXubj3)}(hnetdev_rx_handler_unregisterh]j9)}(hnetdev_rx_handler_unregisterh]hnetdev_rx_handler_unregister}(hjM hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjI ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj( hhhj: hMXubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hji hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje ubj")}(h h]h }(hjv hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hje ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jO sbc.netdev_rx_handler_unregisterasbuh1hhje ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hje ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hje ubj9)}(hdevh]hdev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hje ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hja ubah}(h]h ]h"]h$]h&]jPjQuh1j hj( hhhj: hMXubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj$ hhhj: hMXubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj: hMXhj! hhubjg)}(hhh]jl)}(hunregister receive handlerh]hunregister receive handler}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMXhj hhubah}(h]h ]h"]h$]h&]uh1jfhj! hhhj: hMXubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` device to unregister a handler from **Description** Unregister a receive handler from a device. The caller must hold the rtnl_mutex.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM\hjubj)}(hhh]j)}(h?``struct net_device *dev`` device to unregister a handler from h](j)}(h``struct net_device *dev``h]j)}(hj-h]hstruct net_device *dev}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMYhj'ubj)}(hhh]jl)}(h#device to unregister a handler fromh]h#device to unregister a handler from}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMYhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMYhj$ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjhh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM[hjubj)}(hQUnregister a receive handler from a device. The caller must hold the rtnl_mutex.h](jl)}(h+Unregister a receive handler from a device.h]h+Unregister a receive handler from a device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMZhj~ubjl)}(h$The caller must hold the rtnl_mutex.h]h$The caller must hold the rtnl_mutex.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM\hj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_receive_skb_core (C function)c.netif_receive_skb_corehNtauh1hhjhhhNhNubh)}(hhh](j)}(h0int netif_receive_skb_core (struct sk_buff *skb)h]j )}(h/int netif_receive_skb_core(struct sk_buff *skb)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM~ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM~ubj3)}(hnetif_receive_skb_coreh]j9)}(hnetif_receive_skb_coreh]hnetif_receive_skb_core}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM~ubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]j )}j jsbc.netif_receive_skb_coreasbuh1hhjubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM~ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM~ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM~hjhhubjg)}(hhh]jl)}(h,special purpose version of netif_receive_skbh]h,special purpose version of netif_receive_skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM~hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM~ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to process **Description** More direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if ``(page_is_)pfmemalloc``. This function may only be called from softirq context and interrupts should be enabled. Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h*``struct sk_buff *skb`` buffer to process h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hbuffer to processh]hbuffer to process}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hXMore direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if ``(page_is_)pfmemalloc``. This function may only be called from softirq context and interrupts should be enabled. Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh](jl)}(hMore direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if ``(page_is_)pfmemalloc``.h](hMore direct receive version of netif_receive_skb(). It should only be used by callers that have a need to skip RPS and Generic XDP. Caller must also take care of handling if }(hjhhhNhNubj)}(h``(page_is_)pfmemalloc``h]h(page_is_)pfmemalloc}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(hWThis function may only be called from softirq context and interrupts should be enabled.h]hWThis function may only be called from softirq context and interrupts should be enabled.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(h^Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh]h^Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was dropped}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_receive_skb (C function)c.netif_receive_skbhNtauh1hhjhhhNhNubh)}(hhh](j)}(h+int netif_receive_skb (struct sk_buff *skb)h]j )}(h*int netif_receive_skb(struct sk_buff *skb)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}hhhjhMfubj3)}(hnetif_receive_skbh]j9)}(hnetif_receive_skbh]hnetif_receive_skb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}hhhjhMfubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.netif_receive_skbasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj}hhhjhMfubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjyhhhjhMfubah}(h]jtah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMfhjvhhubjg)}(hhh]jl)}(h#process receive buffer from networkh]h#process receive buffer from network}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMfhj>hhubah}(h]h ]h"]h$]h&]uh1jfhjvhhhjhMfubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to process **Description** netif_receive_skb() is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. This function may only be called from softirq context and interrupts should be enabled. Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh](jl)}(h**Parameters**h]j)}(hjch]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMjhj]ubj)}(hhh]j)}(h*``struct sk_buff *skb`` buffer to process h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMghj|ubj)}(hhh]jl)}(hbuffer to processh]hbuffer to process}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMghjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMghjyubah}(h]h ]h"]h$]h&]uh1jhj]ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMihj]ubj)}(hXlnetif_receive_skb() is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers. This function may only be called from softirq context and interrupts should be enabled. Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh](jl)}(hnetif_receive_skb() is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers.h]hnetif_receive_skb() is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhhjubjl)}(hWThis function may only be called from softirq context and interrupts should be enabled.h]hWThis function may only be called from softirq context and interrupts should be enabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMlhjubjl)}(h^Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was droppedh]h^Return values (usually ignored): NET_RX_SUCCESS: no congestion NET_RX_DROP: packet was dropped}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMohjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_receive_skb_list (C function)c.netif_receive_skb_listhNtauh1hhjhhhNhNubh)}(hhh](j)}(h4void netif_receive_skb_list (struct list_head *head)h]j )}(h3void netif_receive_skb_list(struct list_head *head)h](jM )}(hvoidh]hvoid}(hj*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj8hMubj3)}(hnetif_receive_skb_listh]j9)}(hnetif_receive_skb_listh]hnetif_receive_skb_list}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&hhhj8hMubj )}(h(struct list_head *head)h]j )}(hstruct list_head *headh](j)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubh)}(hhh]j9)}(h list_headh]h list_head}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jMsbc.netif_receive_skb_listasbuh1hhjcubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hheadh]hhead}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_ubah}(h]h ]h"]h$]h&]jPjQuh1j hj&hhhj8hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj"hhhj8hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8hMhjhhubjg)}(hhh]jl)}(h)process many receive buffers from networkh]h)process many receive buffers from network}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXF**Parameters** ``struct list_head *head`` list of skbs to process. **Description** Since return value of netif_receive_skb() is normally ignored, and wouldn't be meaningful for a list, this function returns void. This function may only be called from softirq context and interrupts should be enabled.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h4``struct list_head *head`` list of skbs to process. h](j)}(h``struct list_head *head``h]j)}(hj+h]hstruct list_head *head}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj%ubj)}(hhh]jl)}(hlist of skbs to process.h]hlist of skbs to process.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjfh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hSince return value of netif_receive_skb() is normally ignored, and wouldn't be meaningful for a list, this function returns void. This function may only be called from softirq context and interrupts should be enabled.h](jl)}(hSince return value of netif_receive_skb() is normally ignored, and wouldn't be meaningful for a list, this function returns void.h]hSince return value of netif_receive_skb() is normally ignored, and wouldn’t be meaningful for a list, this function returns void.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj|ubjl)}(hWThis function may only be called from softirq context and interrupts should be enabled.h]hWThis function may only be called from softirq context and interrupts should be enabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__napi_schedule (C function)c.__napi_schedulehNtauh1hhjhhhNhNubh)}(hhh](j)}(h,void __napi_schedule (struct napi_struct *n)h]j )}(h+void __napi_schedule(struct napi_struct *n)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMnubj3)}(h__napi_scheduleh]j9)}(h__napi_scheduleh]h__napi_schedule}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMnubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNj j )}j ]j )}j jsbc.__napi_scheduleasbuh1hhjubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjDh]hn}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMnubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMnubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMnhjhhubjg)}(hhh]jl)}(hschedule for receiveh]hschedule for receive}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMnhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct napi_struct *n`` entry to schedule **Description** The entry's receive function will be scheduled to run. Consider using __napi_schedule_irqoff() if hard irqs are masked.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMrhjubj)}(hhh]j)}(h,``struct napi_struct *n`` entry to schedule h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMohjubj)}(hhh]jl)}(hentry to scheduleh]hentry to schedule}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMqhjubjl)}(hwThe entry's receive function will be scheduled to run. Consider using __napi_schedule_irqoff() if hard irqs are masked.h]hyThe entry’s receive function will be scheduled to run. Consider using __napi_schedule_irqoff() if hard irqs are masked.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMphjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_schedule_prep (C function)c.napi_schedule_prephNtauh1hhjhhhNhNubh)}(hhh](j)}(h/bool napi_schedule_prep (struct napi_struct *n)h]j )}(h.bool napi_schedule_prep(struct napi_struct *n)h](jM )}(hjh]hbool}(hjDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@hhhjQhMubj3)}(hnapi_schedule_preph]j9)}(hnapi_schedule_preph]hnapi_schedule_prep}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@hhhjQhMubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jfsbc.napi_schedule_prepasbuh1hhj|ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj|ubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubah}(h]h ]h"]h$]h&]jPjQuh1j hj@hhhjQhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj<hhhjQhMubah}(h]j7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjQhMhj9hhubjg)}(hhh]jl)}(hcheck if napi can be scheduledh]hcheck if napi can be scheduled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj9hhhjQhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct napi_struct *n`` napi context **Description** Test if NAPI routine is already running, and if not mark it as running. This is used as a condition variable to insure only one NAPI poll instance runs. We also make sure there is no pending NAPI disable.h](jl)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h'``struct napi_struct *n`` napi context h](j)}(h``struct napi_struct *n``h]j)}(hjCh]hstruct napi_struct *n}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj=ubj)}(hhh]jl)}(h napi contexth]h napi context}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj~h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(hTest if NAPI routine is already running, and if not mark it as running. This is used as a condition variable to insure only one NAPI poll instance runs. We also make sure there is no pending NAPI disable.h]hTest if NAPI routine is already running, and if not mark it as running. This is used as a condition variable to insure only one NAPI poll instance runs. We also make sure there is no pending NAPI disable.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#__napi_schedule_irqoff (C function)c.__napi_schedule_irqoffhNtauh1hhjhhhNhNubh)}(hhh](j)}(h3void __napi_schedule_irqoff (struct napi_struct *n)h]j )}(h2void __napi_schedule_irqoff(struct napi_struct *n)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h__napi_schedule_irqoffh]j9)}(h__napi_schedule_irqoffh]h__napi_schedule_irqoff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsbc.__napi_schedule_irqoffasbuh1hhjubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjDh]hn}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hschedule for receiveh]hschedule for receive}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXA**Parameters** ``struct napi_struct *n`` entry to schedule **Description** Variant of __napi_schedule() assuming hard irqs are masked. On PREEMPT_RT enabled kernels this maps to __napi_schedule() because the interrupt disabled assumption might not be true due to force-threaded interrupts and spinlock substitution.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h,``struct napi_struct *n`` entry to schedule h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hentry to scheduleh]hentry to schedule}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(h;Variant of __napi_schedule() assuming hard irqs are masked.h]h;Variant of __napi_schedule() assuming hard irqs are masked.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(hOn PREEMPT_RT enabled kernels this maps to __napi_schedule() because the interrupt disabled assumption might not be true due to force-threaded interrupts and spinlock substitution.h]hOn PREEMPT_RT enabled kernels this maps to __napi_schedule() because the interrupt disabled assumption might not be true due to force-threaded interrupts and spinlock substitution.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_threaded_enable (C function)c.netif_threaded_enablehNtauh1hhjhhhNhNubh)}(hhh](j)}(h3void netif_threaded_enable (struct net_device *dev)h]j )}(h2void netif_threaded_enable(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNhhhj`hMubj3)}(hnetif_threaded_enableh]j9)}(hnetif_threaded_enableh]hnetif_threaded_enable}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjNhhhj`hMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jusbc.netif_threaded_enableasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjNhhhj`hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjJhhhj`hMubah}(h]jEah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj`hMhjGhhubjg)}(hhh]jl)}(henable threaded NAPIsh]henable threaded NAPIs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjGhhhj`hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` net_device instance **Description** Enable threaded mode for the NAPI instances of the device. This may be useful for devices where multiple NAPI instances get scheduled by a single interrupt. Threaded NAPI allows moving the NAPI processing to cores other than the core where IRQ is mapped. This function should be called before **dev** is registered.h](jl)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj.ubj)}(hhh]j)}(h/``struct net_device *dev`` net_device instance h](j)}(h``struct net_device *dev``h]j)}(hjSh]hstruct net_device *dev}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjMubj)}(hhh]jl)}(hnet_device instanceh]hnet_device instance}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj.ubjl)}(hEnable threaded mode for the NAPI instances of the device. This may be useful for devices where multiple NAPI instances get scheduled by a single interrupt. Threaded NAPI allows moving the NAPI processing to cores other than the core where IRQ is mapped.h]hEnable threaded mode for the NAPI instances of the device. This may be useful for devices where multiple NAPI instances get scheduled by a single interrupt. Threaded NAPI allows moving the NAPI processing to cores other than the core where IRQ is mapped.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj.ubjl)}(hhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j )}j jsbc.netif_queue_set_napiasbuh1hhj-ubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubj )}(hj h]h*}(hj}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj-ubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubj )}(hunsigned int queue_indexh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h queue_indexh]h queue_index}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubj )}(henum netdev_queue_type typeh](j)}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hnetdev_queue_typeh]hnetdev_queue_type}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jkc.netif_queue_set_napiasbuh1hhjubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(htypeh]htype}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubj )}(hstruct napi_struct *napih](j)}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]jkc.netif_queue_set_napiasbuh1hhjSubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSubj9)}(hnapih]hnapi}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hAssociate queue with the napih]hAssociate queue with the napi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` device to which NAPI and queue belong ``unsigned int queue_index`` Index of queue ``enum netdev_queue_type type`` queue type as RX or TX ``struct napi_struct *napi`` NAPI context, pass NULL to clear previously set NAPI **Description** Set queue with its corresponding napi context. This should be done after registering the NAPI handler for the queue-vector and the queues have been mapped to the corresponding interrupt vector.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh](j)}(hA``struct net_device *dev`` device to which NAPI and queue belong h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(h%device to which NAPI and queue belongh]h%device to which NAPI and queue belong}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubj)}(h,``unsigned int queue_index`` Index of queue h](j)}(h``unsigned int queue_index``h]j)}(hjRh]hunsigned int queue_index}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjLubj)}(hhh]jl)}(hIndex of queueh]hIndex of queue}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubj)}(h7``enum netdev_queue_type type`` queue type as RX or TX h](j)}(h``enum netdev_queue_type type``h]j)}(hjh]henum netdev_queue_type type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(hqueue type as RX or TXh]hqueue type as RX or TX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hR``struct napi_struct *napi`` NAPI context, pass NULL to clear previously set NAPI h](j)}(h``struct napi_struct *napi``h]j)}(hjh]hstruct napi_struct *napi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]jl)}(h4NAPI context, pass NULL to clear previously set NAPIh]h4NAPI context, pass NULL to clear previously set NAPI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(hSet queue with its corresponding napi context. This should be done after registering the NAPI handler for the queue-vector and the queues have been mapped to the corresponding interrupt vector.h]hSet queue with its corresponding napi context. This should be done after registering the NAPI handler for the queue-vector and the queues have been mapped to the corresponding interrupt vector.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_disable (C function)c.napi_disablehNtauh1hhjhhhNhNubh)}(hhh](j)}(h)void napi_disable (struct napi_struct *n)h]j )}(h(void napi_disable(struct napi_struct *n)h](jM )}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@hhhjRhM ubj3)}(h napi_disableh]j9)}(h napi_disableh]h napi_disable}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@hhhjRhM ubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jgsbc.napi_disableasbuh1hhj}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}ubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubah}(h]h ]h"]h$]h&]jPjQuh1j hj@hhhjRhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj<hhhjRhM ubah}(h]j7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjRhM hj9hhubjg)}(hhh]jl)}(hprevent NAPI from schedulingh]hprevent NAPI from scheduling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhj9hhhjRhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct napi_struct *n`` NAPI context **Description** Stop NAPI from being scheduled on this context. Waits till any outstanding processing completes. Takes netdev_lock() for associated net_device.h](jl)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjDh]hstruct napi_struct *n}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj>ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhM hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM hj;ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubjl)}(hStop NAPI from being scheduled on this context. Waits till any outstanding processing completes. Takes netdev_lock() for associated net_device.h]hStop NAPI from being scheduled on this context. Waits till any outstanding processing completes. Takes netdev_lock() for associated net_device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_enable (C function) c.napi_enablehNtauh1hhjhhhNhNubh)}(hhh](j)}(h(void napi_enable (struct napi_struct *n)h]j )}(h'void napi_enable(struct napi_struct *n)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM/ubj3)}(h napi_enableh]j9)}(h napi_enableh]h napi_enable}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM/ubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNj j )}j ]j )}j jsb c.napi_enableasbuh1hhjubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjDh]hn}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM/ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM/ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM/hjhhubjg)}(hhh]jl)}(henable NAPI schedulingh]henable NAPI scheduling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM/hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct napi_struct *n`` NAPI context **Description** Enable scheduling of a NAPI instance. Must be paired with napi_disable(). Takes netdev_lock() for associated net_device.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM3hjubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM0hjubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2hjubjl)}(hxEnable scheduling of a NAPI instance. Must be paired with napi_disable(). Takes netdev_lock() for associated net_device.h]hxEnable scheduling of a NAPI instance. Must be paired with napi_disable(). Takes netdev_lock() for associated net_device.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM1hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netdev_has_upper_dev (C function)c.netdev_has_upper_devhNtauh1hhjhhhNhNubh)}(hhh](j)}(hPbool netdev_has_upper_dev (struct net_device *dev, struct net_device *upper_dev)h]j )}(hObool netdev_has_upper_dev(struct net_device *dev, struct net_device *upper_dev)h](jM )}(hjh]hbool}(hjD hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@ hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hjR hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ hhhjQ hMubj3)}(hnetdev_has_upper_devh]j9)}(hnetdev_has_upper_devh]hnetdev_has_upper_dev}(hjd hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj` ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@ hhhjQ hMubj )}(h6(struct net_device *dev, struct net_device *upper_dev)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj| ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj| ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jf sbc.netdev_has_upper_devasbuh1hhj| ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj| ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj| ubj9)}(hdevh]hdev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj| ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjx ubj )}(hstruct net_device *upper_devh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj !ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNj j )}j ]j c.netdev_has_upper_devasbuh1hhj ubj")}(h h]h }(hj.!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netdev_has_upper_dev_all_rcu (C function)c.netdev_has_upper_dev_all_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(hXbool netdev_has_upper_dev_all_rcu (struct net_device *dev, struct net_device *upper_dev)h]j )}(hWbool netdev_has_upper_dev_all_rcu(struct net_device *dev, struct net_device *upper_dev)h](jM )}(hjh]hbool}(hjm"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hji"hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hj{"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hji"hhhjz"hMubj3)}(hnetdev_has_upper_dev_all_rcuh]j9)}(hnetdev_has_upper_dev_all_rcuh]hnetdev_has_upper_dev_all_rcu}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hji"hhhjz"hMubj )}(h6(struct net_device *dev, struct net_device *upper_dev)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j )}j j"sbc.netdev_has_upper_dev_all_rcuasbuh1hhj"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"ubj9)}(hdevh]hdev}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj"ubj )}(hstruct net_device *upper_devh](j)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj")}(h h]h }(hj(#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj9#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;#modnameN classnameNj j )}j ]j"c.netdev_has_upper_dev_all_rcuasbuh1hhj#ubj")}(h h]h }(hjW#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj )}(hj h]h*}(hje#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj9)}(h upper_devh]h upper_dev}(hjr#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj"ubeh}(h]h ]h"]h$]h&]jPjQuh1j hji"hhhjz"hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhje"hhhjz"hMubah}(h]j`"ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjz"hMhjb"hhubjg)}(hhh]jl)}(h,Check if device is linked to an upper deviceh]h,Check if device is linked to an upper device}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj#hhubah}(h]h ]h"]h$]h&]uh1jfhjb"hhhjz"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhjhNhNubj)}(hX+**Parameters** ``struct net_device *dev`` device ``struct net_device *upper_dev`` upper device to check **Description** Find out if a device is linked to specified upper device and return true in case it is. Note that this checks the entire upper device chain. The caller must hold rcu lock.h](jl)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj#ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj#h]hstruct net_device *dev}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj#ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj#ubj)}(h7``struct net_device *upper_dev`` upper device to check h](j)}(h ``struct net_device *upper_dev``h]j)}(hj$h]hstruct net_device *upper_dev}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj$ubj)}(hhh]jl)}(hupper device to checkh]hupper device to check}(hj/$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+$hMhj,$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj+$hMhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#ubjl)}(h**Description**h]j)}(hjQ$h]h Description}(hjS$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO$ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj#ubjl)}(hFind out if a device is linked to specified upper device and return true in case it is. Note that this checks the entire upper device chain. The caller must hold rcu lock.h]hFind out if a device is linked to specified upper device and return true in case it is. Note that this checks the entire upper device chain. The caller must hold rcu lock.}(hjg$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netdev_has_any_upper_dev (C function)c.netdev_has_any_upper_devhNtauh1hhjhhhNhNubh)}(hhh](j)}(h6bool netdev_has_any_upper_dev (struct net_device *dev)h]j )}(h5bool netdev_has_any_upper_dev(struct net_device *dev)h](jM )}(hjh]hbool}(hj$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$hhhj$hMubj3)}(hnetdev_has_any_upper_devh]j9)}(hnetdev_has_any_upper_devh]hnetdev_has_any_upper_dev}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$hhhj$hMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNj j )}j ]j )}j j$sbc.netdev_has_any_upper_devasbuh1hhj$ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj )}(hj h]h*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj$ubj9)}(hdevh]hdev}(hj+%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubah}(h]h ]h"]h$]h&]jPjQuh1j hj$hhhj$hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj$hhhj$hMubah}(h]j$ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$hMhj$hhubjg)}(hhh]jl)}(h(Check if device is linked to some deviceh]h(Check if device is linked to some device}(hjU%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjR%hhubah}(h]h ]h"]h$]h&]uh1jfhj$hhhj$hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjm%jjm%jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` device **Description** Find out if a device is linked to an upper device and return true in case it is. The caller must hold the RTNL lock.h](jl)}(h**Parameters**h]j)}(hjw%h]h Parameters}(hjy%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju%ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjq%ubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj%h]hstruct net_device *dev}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj%ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhjq%ubjl)}(h**Description**h]j)}(hj%h]h Description}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjq%ubjl)}(htFind out if a device is linked to an upper device and return true in case it is. The caller must hold the RTNL lock.h]htFind out if a device is linked to an upper device and return true in case it is. The caller must hold the RTNL lock.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjq%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(netdev_master_upper_dev_get (C function)c.netdev_master_upper_dev_gethNtauh1hhjhhhNhNubh)}(hhh](j)}(hHstruct net_device * netdev_master_upper_dev_get (struct net_device *dev)h]j )}(hFstruct net_device *netdev_master_upper_dev_get(struct net_device *dev)h](j)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMubj")}(h h]h }(hj$&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj#&hMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj5&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7&modnameN classnameNj j )}j ]j )}j netdev_master_upper_dev_getsbc.netdev_master_upper_dev_getasbuh1hhj&hhhj#&hMubj")}(h h]h }(hjV&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj#&hMubj )}(hj h]h*}(hjd&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&hhhj#&hMubj3)}(hnetdev_master_upper_dev_geth]j9)}(hjS&h]hnetdev_master_upper_dev_get}(hju&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjq&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&hhhj#&hMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]jQ&c.netdev_master_upper_dev_getasbuh1hhj&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj )}(hj h]h*}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj9)}(hdevh]hdev}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj&ubah}(h]h ]h"]h$]h&]jPjQuh1j hj&hhhj#&hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj&hhhj#&hMubah}(h]j &ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj#&hMhj &hhubjg)}(hhh]jl)}(hGet master upper deviceh]hGet master upper device}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj'hhubah}(h]h ]h"]h$]h&]uh1jfhj &hhhj#&hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)'jj)'jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` device **Description** Find a master upper device and return pointer to it or NULL in case it's not there. The caller must hold the RTNL lock.h](jl)}(h**Parameters**h]j)}(hj3'h]h Parameters}(hj5'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1'ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj-'ubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjR'h]hstruct net_device *dev}(hjT'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP'ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhjL'ubj)}(hhh]jl)}(hdeviceh]hdevice}(hjk'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjg'hMhjh'ubah}(h]h ]h"]h$]h&]uh1jhjL'ubeh}(h]h ]h"]h$]h&]uh1jhjg'hMhjI'ubah}(h]h ]h"]h$]h&]uh1jhj-'ubjl)}(h**Description**h]j)}(hj'h]h Description}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj-'ubjl)}(hwFind a master upper device and return pointer to it or NULL in case it's not there. The caller must hold the RTNL lock.h]hyFind a master upper device and return pointer to it or NULL in case it’s not there. The caller must hold the RTNL lock.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMhj-'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*netdev_upper_get_next_dev_rcu (C function)c.netdev_upper_get_next_dev_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(hcstruct net_device * netdev_upper_get_next_dev_rcu (struct net_device *dev, struct list_head **iter)h]j )}(hastruct net_device *netdev_upper_get_next_dev_rcu(struct net_device *dev, struct list_head **iter)h](j)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'hhhj'hM ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]j )}j netdev_upper_get_next_dev_rcusbc.netdev_upper_get_next_dev_rcuasbuh1hhj'hhhj'hM ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'hhhj'hM ubj )}(hj h]h*}(hj (hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'hhhj'hM ubj3)}(hnetdev_upper_get_next_dev_rcuh]j9)}(hj(h]hnetdev_upper_get_next_dev_rcu}(hj1(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj'hhhj'hM ubj )}(h1(struct net_device *dev, struct list_head **iter)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjL(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjH(ubj")}(h h]h }(hjY(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjH(ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjg(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjl(modnameN classnameNj j )}j ]j (c.netdev_upper_get_next_dev_rcuasbuh1hhjH(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjH(ubj )}(hj h]h*}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjH(ubj9)}(hdevh]hdev}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjH(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjD(ubj )}(hstruct list_head **iterh](j)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubh)}(hhh]j9)}(h list_headh]h list_head}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]j (c.netdev_upper_get_next_dev_rcuasbuh1hhj(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj )}(hj h]h*}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(ubj )}(hj h]h*}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(ubj9)}(hiterh]hiter}(hj )hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjD(ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj'hhhj'hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj'hhhj'hM ubah}(h]j'ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj'hM hj'hhubjg)}(hhh]jl)}(h Get the next dev from upper listh]h Get the next dev from upper list}(hjJ)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjG)hhubah}(h]h ]h"]h$]h&]uh1jfhj'hhhj'hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjb)jjb)jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` device ``struct list_head **iter`` list_head ** of the current position **Description** Gets the next device from the dev's upper list, starting from iter position. The caller must hold RCU read lock.h](jl)}(h**Parameters**h]j)}(hjl)h]h Parameters}(hjn)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj)ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjf)ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj)h]hstruct net_device *dev}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj)ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hM hj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hM hj)ubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hj)h]hstruct list_head **iter}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj)ubj)}(hhh]jl)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hM hj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hM hj)ubeh}(h]h ]h"]h$]h&]uh1jhjf)ubjl)}(h**Description**h]j)}(hj)h]h Description}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjf)ubjl)}(hpGets the next device from the dev's upper list, starting from iter position. The caller must hold RCU read lock.h]hrGets the next device from the dev’s upper list, starting from iter position. The caller must hold RCU read lock.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjf)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*netdev_lower_get_next_private (C function)c.netdev_lower_get_next_privatehNtauh1hhjhhhNhNubh)}(hhh](j)}(hVvoid * netdev_lower_get_next_private (struct net_device *dev, struct list_head **iter)h]j )}(hTvoid *netdev_lower_get_next_private(struct net_device *dev, struct list_head **iter)h](jM )}(hvoidh]hvoid}(hjD*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@*hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hjS*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@*hhhjR*hM ubj )}(hj h]h*}(hja*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@*hhhjR*hM ubj3)}(hnetdev_lower_get_next_privateh]j9)}(hnetdev_lower_get_next_privateh]hnetdev_lower_get_next_private}(hjr*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjn*ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@*hhhjR*hM ubj )}(h1(struct net_device *dev, struct list_head **iter)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNj j )}j ]j )}j jt*sbc.netdev_lower_get_next_privateasbuh1hhj*ubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubj )}(hj h]h*}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*ubj9)}(hdevh]hdev}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*ubj )}(hstruct list_head **iterh](j)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj")}(h h]h }(hj +hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubh)}(hhh]j9)}(h list_headh]h list_head}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj +modnameN classnameNj j )}j ]j*c.netdev_lower_get_next_privateasbuh1hhj*ubj")}(h h]h }(hj<+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubj )}(hj h]h*}(hjJ+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*ubj )}(hj h]h*}(hjW+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*ubj9)}(hiterh]hiter}(hjd+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj@*hhhjR*hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj<*hhhjR*hM ubah}(h]j7*ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjR*hM hj9*hhubjg)}(hhh]jl)}(h4Get the next ->private from the lower neighbour listh]h4Get the next ->private from the lower neighbour list}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj+hhubah}(h]h ]h"]h$]h&]uh1jfhj9*hhhjR*hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhjhNhNubj)}(hXy**Parameters** ``struct net_device *dev`` device ``struct list_head **iter`` list_head ** of the current position **Description** Gets the next netdev_adjacent->private from the dev's lower neighbour list, starting from iter position. The caller must hold either hold the RTNL lock or its own locking that guarantees that the neighbour lower list will remain unchanged.h](jl)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj+ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj+h]hstruct net_device *dev}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj+ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hM hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hM hj+ubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hj,h]hstruct list_head **iter}(hj ,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj,ubj)}(hhh]jl)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hj!,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,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+ubjl)}(h**Description**h]j)}(hjC,h]h Description}(hjE,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA,ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj+ubjl)}(hGets the next netdev_adjacent->private from the dev's lower neighbour list, starting from iter position. The caller must hold either hold the RTNL lock or its own locking that guarantees that the neighbour lower list will remain unchanged.h]hGets the next netdev_adjacent->private from the dev’s lower neighbour list, starting from iter position. The caller must hold either hold the RTNL lock or its own locking that guarantees that the neighbour lower list will remain unchanged.}(hjY,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_lower_get_next_private_rcu (C function)#c.netdev_lower_get_next_private_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(hZvoid * netdev_lower_get_next_private_rcu (struct net_device *dev, struct list_head **iter)h]j )}(hXvoid *netdev_lower_get_next_private_rcu(struct net_device *dev, struct list_head **iter)h](jM )}(hvoidh]hvoid}(hj,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj,hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,hhhj,hM ubj )}(hj h]h*}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,hhhj,hM ubj3)}(h!netdev_lower_get_next_private_rcuh]j9)}(h!netdev_lower_get_next_private_rcuh]h!netdev_lower_get_next_private_rcu}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,hhhj,hM ubj )}(h1(struct net_device *dev, struct list_head **iter)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]j )}j j,sb#c.netdev_lower_get_next_private_rcuasbuh1hhj,ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubj )}(hj h]h*}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,ubj9)}(hdevh]hdev}(hj+-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubj )}(hstruct list_head **iterh](j)}(hjh]hstruct}(hjD-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@-ubj")}(h h]h }(hjQ-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@-ubh)}(hhh]j9)}(h list_headh]h list_head}(hjb-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjd-modnameN classnameNj j )}j ]j -#c.netdev_lower_get_next_private_rcuasbuh1hhj@-ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@-ubj )}(hj h]h*}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@-ubj )}(hj h]h*}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@-ubj9)}(hiterh]hiter}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj,hhhj,hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,hhhj,hM ubah}(h]j{,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,hM hj},hhubjg)}(hhh]jl)}(hAGet the next ->private from the lower neighbour list, RCU varianth]hAGet the next ->private from the lower neighbour list, RCU variant}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj-hhubah}(h]h ]h"]h$]h&]uh1jfhj},hhhj,hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` device ``struct list_head **iter`` list_head ** of the current position **Description** Gets the next netdev_adjacent->private from the dev's lower neighbour list, starting from iter position. The caller must hold RCU read lock.h](jl)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj-ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj.h]hstruct net_device *dev}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj .ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj,.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(.hM hj).ubah}(h]h ]h"]h$]h&]uh1jhj .ubeh}(h]h ]h"]h$]h&]uh1jhj(.hM hj .ubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hjL.h]hstruct list_head **iter}(hjN.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ.ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjF.ubj)}(hhh]jl)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hje.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhja.hM hjb.ubah}(h]h ]h"]h$]h&]uh1jhjF.ubeh}(h]h ]h"]h$]h&]uh1jhja.hM hj .ubeh}(h]h ]h"]h$]h&]uh1jhj-ubjl)}(h**Description**h]j)}(hj.h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj-ubjl)}(hGets the next netdev_adjacent->private from the dev's lower neighbour list, starting from iter position. The caller must hold RCU read lock.h]hGets the next netdev_adjacent->private from the dev’s lower neighbour list, starting from iter position. The caller must hold RCU read lock.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_lower_get_next (C function)c.netdev_lower_get_nexthNtauh1hhjhhhNhNubh)}(hhh](j)}(hNvoid * netdev_lower_get_next (struct net_device *dev, struct list_head **iter)h]j )}(hLvoid *netdev_lower_get_next(struct net_device *dev, struct list_head **iter)h](jM )}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM ubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.hhhj.hM ubj )}(hj h]h*}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.hhhj.hM ubj3)}(hnetdev_lower_get_nexth]j9)}(hnetdev_lower_get_nexth]hnetdev_lower_get_next}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj.hM ubj )}(h1(struct net_device *dev, struct list_head **iter)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj")}(h h]h }(hj#/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj4/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6/modnameN classnameNj j )}j ]j )}j j.sbc.netdev_lower_get_nextasbuh1hhj/ubj")}(h h]h }(hjT/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hjb/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(hdevh]hdev}(hjo/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubj )}(hstruct list_head **iterh](j)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubh)}(hhh]j9)}(h list_headh]h list_head}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNj j )}j ]jP/c.netdev_lower_get_nextasbuh1hhj/ubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj )}(hj h]h*}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(hiterh]hiter}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.hhhj.hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj.hhhj.hM ubah}(h]j.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.hM hj.hhubjg)}(hhh]jl)}(h1Get the next device from the lower neighbour listh]h1Get the next device from the lower neighbour list}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj0hhubah}(h]h ]h"]h$]h&]uh1jfhj.hhhj.hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.0jj.0jjjuh1hhhhjhNhNubj)}(hX`**Parameters** ``struct net_device *dev`` device ``struct list_head **iter`` list_head ** of the current position **Description** Gets the next netdev_adjacent from the dev's lower neighbour list, starting from iter position. The caller must hold RTNL lock or its own locking that guarantees that the neighbour lower list will remain unchanged.h](jl)}(h**Parameters**h]j)}(hj80h]h Parameters}(hj:0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj60ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj20ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjW0h]hstruct net_device *dev}(hjY0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU0ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hjQ0ubj)}(hhh]jl)}(hdeviceh]hdevice}(hjp0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjl0hM hjm0ubah}(h]h ]h"]h$]h&]uh1jhjQ0ubeh}(h]h ]h"]h$]h&]uh1jhjl0hM hjN0ubj)}(hA``struct list_head **iter`` list_head ** of the current position h](j)}(h``struct list_head **iter``h]j)}(hj0h]hstruct list_head **iter}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj0ubj)}(hhh]jl)}(h$list_head ** of the current positionh]h$list_head ** of the current position}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hM hj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hM hjN0ubeh}(h]h ]h"]h$]h&]uh1jhj20ubjl)}(h**Description**h]j)}(hj0h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj20ubjl)}(hGets the next netdev_adjacent from the dev's lower neighbour list, starting from iter position. The caller must hold RTNL lock or its own locking that guarantees that the neighbour lower list will remain unchanged.h]hGets the next netdev_adjacent from the dev’s lower neighbour list, starting from iter position. The caller must hold RTNL lock or its own locking that guarantees that the neighbour lower list will remain unchanged.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM hj20ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h/netdev_lower_get_first_private_rcu (C function)$c.netdev_lower_get_first_private_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(hBvoid * netdev_lower_get_first_private_rcu (struct net_device *dev)h]j )}(h@void *netdev_lower_get_first_private_rcu(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj 1hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM "ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 1hhhj1hM "ubj )}(hj h]h*}(hj-1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj 1hhhj1hM "ubj3)}(h"netdev_lower_get_first_private_rcuh]j9)}(h"netdev_lower_get_first_private_rcuh]h"netdev_lower_get_first_private_rcu}(hj>1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj 1hhhj1hM "ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjZ1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV1ubj")}(h h]h }(hjg1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjV1ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjx1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hju1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjz1modnameN classnameNj j )}j ]j )}j j@1sb$c.netdev_lower_get_first_private_rcuasbuh1hhjV1ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjV1ubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjV1ubj9)}(hdevh]hdev}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjV1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjR1ubah}(h]h ]h"]h$]h&]jPjQuh1j hj 1hhhj1hM "ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1hhhj1hM "ubah}(h]j1ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hM "hj1hhubjg)}(hhh]jl)}(hBGet the first ->private from the lower neighbour list, RCU varianth]hBGet the first ->private from the lower neighbour list, RCU variant}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM "hj1hhubah}(h]h ]h"]h$]h&]uh1jfhj1hhhj1hM "ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` device **Description** Gets the first netdev_adjacent->private from the dev's lower neighbour list. The caller must hold RCU read lock.h](jl)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hj1ubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj2h]hstruct net_device *dev}(hj 2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hj2ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj72hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj32hM"hj42ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj32hM"hj2ubah}(h]h ]h"]h$]h&]uh1jhj1ubjl)}(h**Description**h]j)}(hjY2h]h Description}(hj[2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW2ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hj1ubjl)}(hpGets the first netdev_adjacent->private from the dev's lower neighbour list. The caller must hold RCU read lock.h]hrGets the first netdev_adjacent->private from the dev’s lower neighbour list. The caller must hold RCU read lock.}(hjo2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"hj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,netdev_master_upper_dev_get_rcu (C function)!c.netdev_master_upper_dev_get_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(hLstruct net_device * netdev_master_upper_dev_get_rcu (struct net_device *dev)h]j )}(hJstruct net_device *netdev_master_upper_dev_get_rcu(struct net_device *dev)h](j)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM""ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhj2hM""ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]j )}j netdev_master_upper_dev_get_rcusb!c.netdev_master_upper_dev_get_rcuasbuh1hhj2hhhj2hM""ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhj2hM""ubj )}(hj h]h*}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2hhhj2hM""ubj3)}(hnetdev_master_upper_dev_get_rcuh]j9)}(hj2h]hnetdev_master_upper_dev_get_rcu}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhj2hM""ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj")}(h h]h }(hj%3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj63hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj33ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj83modnameN classnameNj j )}j ]j2!c.netdev_master_upper_dev_get_rcuasbuh1hhj3ubj")}(h h]h }(hjT3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj )}(hj h]h*}(hjb3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3ubj9)}(hdevh]hdev}(hjo3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubah}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhj2hM""ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhj2hM""ubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2hM""hj2hhubjg)}(hhh]jl)}(hGet master upper deviceh]hGet master upper device}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM""hj3hhubah}(h]h ]h"]h$]h&]uh1jfhj2hhhj2hM""ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` device **Description** Find a master upper device and return pointer to it or NULL in case it's not there. The caller must hold the RCU read lock.h](jl)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM&"hj3ubj)}(hhh]j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj3h]hstruct net_device *dev}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#"hj3ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hM#"hj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hM#"hj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%"hj3ubjl)}(h{Find a master upper device and return pointer to it or NULL in case it's not there. The caller must hold the RCU read lock.h]h}Find a master upper device and return pointer to it or NULL in case it’s not there. The caller must hold the RCU read lock.}(hj+4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$"hj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_upper_dev_link (C function)c.netdev_upper_dev_linkhNtauh1hhjhhhNhNubh)}(hhh](j)}(hpint netdev_upper_dev_link (struct net_device *dev, struct net_device *upper_dev, struct netlink_ext_ack *extack)h]j )}(hoint netdev_upper_dev_link(struct net_device *dev, struct net_device *upper_dev, struct netlink_ext_ack *extack)h](jM )}(hinth]hint}(hjZ4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjV4hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM5#ubj")}(h h]h }(hji4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjV4hhhjh4hM5#ubj3)}(hnetdev_upper_dev_linkh]j9)}(hnetdev_upper_dev_linkh]hnetdev_upper_dev_link}(hj{4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjw4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjV4hhhjh4hM5#ubj )}(hV(struct net_device *dev, struct net_device *upper_dev, struct netlink_ext_ack *extack)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j )}j j}4sbc.netdev_upper_dev_linkasbuh1hhj4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hdevh]hdev}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(hstruct net_device *upper_devh](j)}(hjh]hstruct}(hj 5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj'5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)5modnameN classnameNj j )}j ]j4c.netdev_upper_dev_linkasbuh1hhj5ubj")}(h h]h }(hjE5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hjS5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(h upper_devh]h upper_dev}(hj`5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hjy5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhju5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hju5ubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]j4c.netdev_upper_dev_linkasbuh1hhju5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hju5ubj )}(hj h]h*}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hju5ubj9)}(hextackh]hextack}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hju5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjV4hhhjh4hM5#ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjR4hhhjh4hM5#ubah}(h]jM4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjh4hM5#hjO4hhubjg)}(hhh]jl)}(hAdd a link to the upper deviceh]hAdd a link to the upper device}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM5#hj5hhubah}(h]h ]h"]h$]h&]uh1jfhjO4hhhjh4hM5#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` device ``struct net_device *upper_dev`` new upper device ``struct netlink_ext_ack *extack`` netlink extended ack **Description** Adds a link to device which is upper to this one. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.h](jl)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM9#hj6ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj;6h]hstruct net_device *dev}(hj=6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj96ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM6#hj56ubj)}(hhh]jl)}(hdeviceh]hdevice}(hjT6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjP6hM6#hjQ6ubah}(h]h ]h"]h$]h&]uh1jhj56ubeh}(h]h ]h"]h$]h&]uh1jhjP6hM6#hj26ubj)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hjt6h]hstruct net_device *upper_dev}(hjv6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr6ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM7#hjn6ubj)}(hhh]jl)}(hnew upper deviceh]hnew upper device}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hM7#hj6ubah}(h]h ]h"]h$]h&]uh1jhjn6ubeh}(h]h ]h"]h$]h&]uh1jhj6hM7#hj26ubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj6h]hstruct netlink_ext_ack *extack}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM8#hj6ubj)}(hhh]jl)}(hnetlink extended ackh]hnetlink extended ack}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hM8#hj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hM8#hj26ubeh}(h]h ]h"]h$]h&]uh1jhj6ubjl)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM:#hj6ubjl)}(hAdds a link to device which is upper to this one. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.h]hAdds a link to device which is upper to this one. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM9#hj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)netdev_master_upper_dev_link (C function)c.netdev_master_upper_dev_linkhNtauh1hhjhhhNhNubh)}(hhh](j)}(hint netdev_master_upper_dev_link (struct net_device *dev, struct net_device *upper_dev, void *upper_priv, void *upper_info, struct netlink_ext_ack *extack)h]j )}(hint netdev_master_upper_dev_link(struct net_device *dev, struct net_device *upper_dev, void *upper_priv, void *upper_info, struct netlink_ext_ack *extack)h](jM )}(hinth]hint}(hj-7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj)7hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMN#ubj")}(h h]h }(hj<7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)7hhhj;7hMN#ubj3)}(hnetdev_master_upper_dev_linkh]j9)}(hnetdev_master_upper_dev_linkh]hnetdev_master_upper_dev_link}(hjN7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJ7ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj)7hhhj;7hMN#ubj )}(hz(struct net_device *dev, struct net_device *upper_dev, void *upper_priv, void *upper_info, struct netlink_ext_ack *extack)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf7ubj")}(h h]h }(hjw7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjf7ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]j )}j jP7sbc.netdev_master_upper_dev_linkasbuh1hhjf7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjf7ubj )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjf7ubj9)}(hdevh]hdev}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjf7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjb7ubj )}(hstruct net_device *upper_devh](j)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]j7c.netdev_master_upper_dev_linkasbuh1hhj7ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj )}(hj h]h*}(hj&8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj7ubj9)}(h upper_devh]h upper_dev}(hj38hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjb7ubj )}(hvoid *upper_privh](jM )}(hvoidh]hvoid}(hjL8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjH8ubj")}(h h]h }(hjZ8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjH8ubj )}(hj h]h*}(hjh8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjH8ubj9)}(h upper_privh]h upper_priv}(hju8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjH8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjb7ubj )}(hvoid *upper_infoh](jM )}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(h upper_infoh]h upper_info}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjb7ubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j7c.netdev_master_upper_dev_linkasbuh1hhj8ubj")}(h h]h }(hj 9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hextackh]hextack}(hj'9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjb7ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj)7hhhj;7hMN#ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj%7hhhj;7hMN#ubah}(h]j 7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj;7hMN#hj"7hhubjg)}(hhh]jl)}(h%Add a master link to the upper deviceh]h%Add a master link to the upper device}(hjQ9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMN#hjN9hhubah}(h]h ]h"]h$]h&]uh1jfhj"7hhhj;7hMN#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjji9jji9jjjuh1hhhhjhNhNubj)}(hXk**Parameters** ``struct net_device *dev`` device ``struct net_device *upper_dev`` new upper device ``void *upper_priv`` upper device private ``void *upper_info`` upper info to be passed down via notifier ``struct netlink_ext_ack *extack`` netlink extended ack **Description** Adds a link to device which is upper to this one. In this case, only one master upper device can be linked, although other non-master devices might be linked as well. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.h](jl)}(h**Parameters**h]j)}(hjs9h]h Parameters}(hju9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq9ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMR#hjm9ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj9h]hstruct net_device *dev}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMO#hj9ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMO#hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMO#hj9ubj)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hj9h]hstruct net_device *upper_dev}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMP#hj9ubj)}(hhh]jl)}(hnew upper deviceh]hnew upper device}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMP#hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMP#hj9ubj)}(h*``void *upper_priv`` upper device private h](j)}(h``void *upper_priv``h]j)}(hj:h]hvoid *upper_priv}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMQ#hj9ubj)}(hhh]jl)}(hupper device privateh]hupper device private}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMQ#hj:ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj:hMQ#hj9ubj)}(h?``void *upper_info`` upper info to be passed down via notifier h](j)}(h``void *upper_info``h]j)}(hj=:h]hvoid *upper_info}(hj?:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;:ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMR#hj7:ubj)}(hhh]jl)}(h)upper info to be passed down via notifierh]h)upper info to be passed down via notifier}(hjV:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjR:hMR#hjS:ubah}(h]h ]h"]h$]h&]uh1jhj7:ubeh}(h]h ]h"]h$]h&]uh1jhjR:hMR#hj9ubj)}(h8``struct netlink_ext_ack *extack`` netlink extended ack h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjv:h]hstruct netlink_ext_ack *extack}(hjx:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt:ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMS#hjp:ubj)}(hhh]jl)}(hnetlink extended ackh]hnetlink extended ack}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMS#hj:ubah}(h]h ]h"]h$]h&]uh1jhjp:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMS#hj9ubeh}(h]h ]h"]h$]h&]uh1jhjm9ubjl)}(h**Description**h]j)}(hj:h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMU#hjm9ubjl)}(hXFAdds a link to device which is upper to this one. In this case, only one master upper device can be linked, although other non-master devices might be linked as well. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.h]hXFAdds a link to device which is upper to this one. In this case, only one master upper device can be linked, although other non-master devices might be linked as well. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chMT#hjm9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$netdev_upper_dev_unlink (C function)c.netdev_upper_dev_unlinkhNtauh1hhjhhhNhNubh)}(hhh](j)}(hSvoid netdev_upper_dev_unlink (struct net_device *dev, struct net_device *upper_dev)h]j )}(hRvoid netdev_upper_dev_unlink(struct net_device *dev, struct net_device *upper_dev)h](jM )}(hvoidh]hvoid}(hj:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:hhhj;hM#ubj3)}(hnetdev_upper_dev_unlinkh]j9)}(hnetdev_upper_dev_unlinkh]hnetdev_upper_dev_unlink}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj:hhhj;hM#ubj )}(h6(struct net_device *dev, struct net_device *upper_dev)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj3;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/;ubj")}(h h]h }(hj@;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/;ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjQ;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjN;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjS;modnameN classnameNj j )}j ]j )}j j;sbc.netdev_upper_dev_unlinkasbuh1hhj/;ubj")}(h h]h }(hjq;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/;ubj )}(hj h]h*}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/;ubj9)}(hdevh]hdev}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+;ubj )}(hstruct net_device *upper_devh](j)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]jm;c.netdev_upper_dev_unlinkasbuh1hhj;ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubj )}(hj h]h*}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj;ubj9)}(h upper_devh]h upper_dev}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+;ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj:hhhj;hM#ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj:hhhj;hM#ubah}(h]j:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj;hM#hj:hhubjg)}(hhh]jl)}(hRemoves a link to upper deviceh]hRemoves a link to upper device}(hj&<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj#<hhubah}(h]h ]h"]h$]h&]uh1jfhj:hhhj;hM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj><jj><jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` device ``struct net_device *upper_dev`` new upper device **Description** Removes a link to device which is upper to this one. The caller must hold the RTNL lock.h](jl)}(h**Parameters**h]j)}(hjH<h]h Parameters}(hjJ<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF<ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjB<ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hjg<h]hstruct net_device *dev}(hji<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje<ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hja<ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|<hM#hj}<ubah}(h]h ]h"]h$]h&]uh1jhja<ubeh}(h]h ]h"]h$]h&]uh1jhj|<hM#hj^<ubj)}(h2``struct net_device *upper_dev`` new upper device h](j)}(h ``struct net_device *upper_dev``h]j)}(hj<h]hstruct net_device *upper_dev}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj<ubj)}(hhh]jl)}(hnew upper deviceh]hnew upper device}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hM#hj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hM#hj^<ubeh}(h]h ]h"]h$]h&]uh1jhjB<ubjl)}(h**Description**h]j)}(hj<h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjB<ubjl)}(hXRemoves a link to device which is upper to this one. The caller must hold the RTNL lock.h]hXRemoves a link to device which is upper to this one. The caller must hold the RTNL lock.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjB<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'netdev_bonding_info_change (C function)c.netdev_bonding_info_changehNtauh1hhjhhhNhNubh)}(hhh](j)}(hbvoid netdev_bonding_info_change (struct net_device *dev, struct netdev_bonding_info *bonding_info)h]j )}(havoid netdev_bonding_info_change(struct net_device *dev, struct netdev_bonding_info *bonding_info)h](jM )}(hvoidh]hvoid}(hj =hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj=hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#ubj")}(h h]h }(hj/=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhj.=hM#ubj3)}(hnetdev_bonding_info_changeh]j9)}(hnetdev_bonding_info_changeh]hnetdev_bonding_info_change}(hjA=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj==ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhj.=hM#ubj )}(hB(struct net_device *dev, struct netdev_bonding_info *bonding_info)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj]=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjY=ubj")}(h h]h }(hjj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjY=ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj{=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjx=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}=modnameN classnameNj j )}j ]j )}j jC=sbc.netdev_bonding_info_changeasbuh1hhjY=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjY=ubj )}(hj h]h*}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjY=ubj9)}(hdevh]hdev}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjY=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjU=ubj )}(h(struct netdev_bonding_info *bonding_infoh](j)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubh)}(hhh]j9)}(hnetdev_bonding_infoh]hnetdev_bonding_info}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]j=c.netdev_bonding_info_changeasbuh1hhj=ubj")}(h h]h }(hj >hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj )}(hj h]h*}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=ubj9)}(h bonding_infoh]h bonding_info}(hj&>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjU=ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj=hhhj.=hM#ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj=hhhj.=hM#ubah}(h]j=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.=hM#hj=hhubjg)}(hhh]jl)}(h!Dispatch event about slave changeh]h!Dispatch event about slave change}(hjP>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hjM>hhubah}(h]h ]h"]h$]h&]uh1jfhj=hhhj.=hM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjh>jjh>jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` device ``struct netdev_bonding_info *bonding_info`` info to dispatch **Description** Send NETDEV_BONDING_INFO to netdev notifiers with info. The caller must hold the RTNL lock.h](jl)}(h**Parameters**h]j)}(hjr>h]h Parameters}(hjt>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp>ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjl>ubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj>h]hstruct net_device *dev}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj>ubj)}(hhh]jl)}(hdeviceh]hdevice}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hM#hj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hM#hj>ubj)}(h>``struct netdev_bonding_info *bonding_info`` info to dispatch h](j)}(h,``struct netdev_bonding_info *bonding_info``h]j)}(hj>h]h(struct netdev_bonding_info *bonding_info}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#hj>ubj)}(hhh]jl)}(hinfo to dispatchh]hinfo to dispatch}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hM#hj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hM#hj>ubeh}(h]h ]h"]h$]h&]uh1jhjl>ubjl)}(h**Description**h]j)}(hj?h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjl>ubjl)}(h[Send NETDEV_BONDING_INFO to netdev notifiers with info. The caller must hold the RTNL lock.h]h[Send NETDEV_BONDING_INFO to netdev notifiers with info. The caller must hold the RTNL lock.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hjl>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netdev_get_xmit_slave (C function)c.netdev_get_xmit_slavehNtauh1hhjhhhNhNubh)}(hhh](j)}(hhstruct net_device * netdev_get_xmit_slave (struct net_device *dev, struct sk_buff *skb, bool all_slaves)h]j )}(hfstruct net_device *netdev_get_xmit_slave(struct net_device *dev, struct sk_buff *skb, bool all_slaves)h](j)}(hjh]hstruct}(hjJ?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjF?hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$ubj")}(h h]h }(hjX?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjF?hhhjW?hM$ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hji?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjf?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjk?modnameN classnameNj j )}j ]j )}j netdev_get_xmit_slavesbc.netdev_get_xmit_slaveasbuh1hhjF?hhhjW?hM$ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjF?hhhjW?hM$ubj )}(hj h]h*}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjF?hhhjW?hM$ubj3)}(hnetdev_get_xmit_slaveh]j9)}(hj?h]hnetdev_get_xmit_slave}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjF?hhhjW?hM$ubj )}(h>(struct net_device *dev, struct sk_buff *skb, bool all_slaves)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNj j )}j ]j?c.netdev_get_xmit_slaveasbuh1hhj?ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubj )}(hj h]h*}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?ubj9)}(hdevh]hdev}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj4@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0@ubj")}(h h]h }(hjA@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0@ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjR@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjO@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjT@modnameN classnameNj j )}j ]j?c.netdev_get_xmit_slaveasbuh1hhj0@ubj")}(h h]h }(hjp@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0@ubj )}(hj h]h*}(hj~@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0@ubj9)}(hskbh]hskb}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubj )}(hbool all_slavesh](jM )}(hjh]hbool}(hj@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj9)}(h all_slavesh]h all_slaves}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjF?hhhjW?hM$ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjB?hhhjW?hM$ubah}(h]j=?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjW?hM$hj??hhubjg)}(hhh]jl)}(h#Get the xmit slave of master deviceh]h#Get the xmit slave of master device}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj@hhubah}(h]h ]h"]h$]h&]uh1jfhj??hhhjW?hM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhjhNhNubj)}(hXB**Parameters** ``struct net_device *dev`` device ``struct sk_buff *skb`` The packet ``bool all_slaves`` assume all the slaves are active **Description** The reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock. ``NULL`` is returned if no slave is found.h](jl)}(h**Parameters**h]j)}(hj Ah]h Parameters}(hj AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Aubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hjAubj)}(hhh](j)}(h"``struct net_device *dev`` device h](j)}(h``struct net_device *dev``h]j)}(hj*Ah]hstruct net_device *dev}(hj,AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(Aubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$hj$Aubj)}(hhh]jl)}(hdeviceh]hdevice}(hjCAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?AhM$hj@Aubah}(h]h ]h"]h$]h&]uh1jhj$Aubeh}(h]h ]h"]h$]h&]uh1jhj?AhM$hj!Aubj)}(h#``struct sk_buff *skb`` The packet h](j)}(h``struct sk_buff *skb``h]j)}(hjcAh]hstruct sk_buff *skb}(hjeAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaAubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hj]Aubj)}(hhh]jl)}(h The packeth]h The packet}(hj|AhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxAhM%hjyAubah}(h]h ]h"]h$]h&]uh1jhj]Aubeh}(h]h ]h"]h$]h&]uh1jhjxAhM%hj!Aubj)}(h5``bool all_slaves`` assume all the slaves are active h](j)}(h``bool all_slaves``h]j)}(hjAh]hbool all_slaves}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hjAubj)}(hhh]jl)}(h assume all the slaves are activeh]h assume all the slaves are active}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhM%hjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhM%hj!Aubeh}(h]h ]h"]h$]h&]uh1jhjAubjl)}(h**Description**h]j)}(hjAh]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hjAubjl)}(hThe reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock. ``NULL`` is returned if no slave is found.h](htThe reference counters are not incremented so the caller must be careful with locks. The caller must hold RCU lock. }(hjAhhhNhNubj)}(h``NULL``h]hNULL}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh" is returned if no slave is found.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%hjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netdev_sk_get_lowest_dev (C function)c.netdev_sk_get_lowest_devhNtauh1hhjhhhNhNubh)}(hhh](j)}(hVstruct net_device * netdev_sk_get_lowest_dev (struct net_device *dev, struct sock *sk)h]j )}(hTstruct net_device *netdev_sk_get_lowest_dev(struct net_device *dev, struct sock *sk)h](j)}(hjh]hstruct}(hj.BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*BhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM%ubj")}(h h]h }(hjfeatures set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.h](jl)}(h**Parameters**h]j)}(hjPh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+hjPubj)}(hhh]j)}(h/``struct net_device *dev`` the device to check h](j)}(h``struct net_device *dev``h]j)}(hjPh]hstruct net_device *dev}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+hjPubj)}(hhh]jl)}(hthe device to checkh]hthe device to check}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhM+hjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhM+hjPubah}(h]h ]h"]h$]h&]uh1jhjPubjl)}(h**Description**h]j)}(hjQh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+hjPubj)}(hRecalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.h]jl)}(hRecalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.h]hRecalculate dev->features set and send notifications if it has changed. Should be called after driver or hardware dependent conditions might have changed that influence the features.}(hj+QhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+hj'Qubah}(h]h ]h"]h$]h&]uh1jhj9QhM+hjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_change_features (C function)c.netdev_change_featureshNtauh1hhjhhhNhNubh)}(hhh](j)}(h4void netdev_change_features (struct net_device *dev)h]j )}(h3void netdev_change_features(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj`QhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\QhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+ubj")}(h h]h }(hjoQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\QhhhjnQhM+ubj3)}(hnetdev_change_featuresh]j9)}(hnetdev_change_featuresh]hnetdev_change_features}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}Qubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj\QhhhjnQhM+ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j )}j jQsbc.netdev_change_featuresasbuh1hhjQubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(hdevh]hdev}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjQubah}(h]h ]h"]h$]h&]jPjQuh1j hj\QhhhjnQhM+ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXQhhhjnQhM+ubah}(h]jSQah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjnQhM+hjUQhhubjg)}(hhh]jl)}(hrecalculate device featuresh]hrecalculate device features}(hj RhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+hjRhhubah}(h]h ]h"]h$]h&]uh1jfhjUQhhhjnQhM+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8Rjj8Rjjjuh1hhhhjhNhNubj)}(hXa**Parameters** ``struct net_device *dev`` the device to check **Description** Recalculate dev->features set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.h](jl)}(h**Parameters**h]j)}(hjBRh]h Parameters}(hjDRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@Rubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+hjfeatures set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.h]jl)}(hRecalculate dev->features set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.h]hRecalculate dev->features set and send notifications even if they have not changed. Should be called instead of netdev_update_features() if also dev->vlan_features might have changed to allow the changes to be propagated to stacked VLAN devices.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM+hjRubah}(h]h ]h"]h$]h&]uh1jhjRhM+hjnetdev_ops->get_stats64 or dev->netdev_ops->get_stats; otherwise the internal statistics structure is used.h](jl)}(h**Parameters**h]j)}(hjZh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjZubj)}(hhh](j)}(h9``struct net_device *dev`` device to get statistics from h](j)}(h``struct net_device *dev``h]j)}(hj%Zh]hstruct net_device *dev}(hj'ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Zubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjZubj)}(hhh]jl)}(hdevice to get statistics fromh]hdevice to get statistics from}(hj>ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:ZhM.hj;Zubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj:ZhM.hjZubj)}(h;``struct rtnl_link_stats64 *storage`` place to store stats h](j)}(h%``struct rtnl_link_stats64 *storage``h]j)}(hj^Zh]h!struct rtnl_link_stats64 *storage}(hj`ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\Zubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjXZubj)}(hhh]jl)}(hplace to store statsh]hplace to store stats}(hjwZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjsZhM.hjtZubah}(h]h ]h"]h$]h&]uh1jhjXZubeh}(h]h ]h"]h$]h&]uh1jhjsZhM.hjZubeh}(h]h ]h"]h$]h&]uh1jhjZubjl)}(h**Description**h]j)}(hjZh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjZubj)}(hGet network statistics from device. Return **storage**. The device driver may provide its own method by setting dev->netdev_ops->get_stats64 or dev->netdev_ops->get_stats; otherwise the internal statistics structure is used.h]jl)}(hGet network statistics from device. Return **storage**. The device driver may provide its own method by setting dev->netdev_ops->get_stats64 or dev->netdev_ops->get_stats; otherwise the internal statistics structure is used.h](h+Get network statistics from device. Return }(hjZhhhNhNubj)}(h **storage**h]hstorage}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh. The device driver may provide its own method by setting dev->netdev_ops->get_stats64 or dev->netdev_ops->get_stats; otherwise the internal statistics structure is used.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjZubah}(h]h ]h"]h$]h&]uh1jhjZhM.hjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"dev_fetch_sw_netstats (C function)c.dev_fetch_sw_netstatshNtauh1hhjhhhNhNubh)}(hhh](j)}(hjvoid dev_fetch_sw_netstats (struct rtnl_link_stats64 *s, const struct pcpu_sw_netstats __percpu *netstats)h]j )}(hivoid dev_fetch_sw_netstats(struct rtnl_link_stats64 *s, const struct pcpu_sw_netstats __percpu *netstats)h](jM )}(hvoidh]hvoid}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZhhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj")}(h h]h }(hj [hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZhhhj[hM.ubj3)}(hdev_fetch_sw_netstatsh]j9)}(hdev_fetch_sw_netstatsh]hdev_fetch_sw_netstats}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZhhhj[hM.ubj )}(hO(struct rtnl_link_stats64 *s, const struct pcpu_sw_netstats __percpu *netstats)h](j )}(hstruct rtnl_link_stats64 *sh](j)}(hjh]hstruct}(hj7[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3[ubj")}(h h]h }(hjD[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3[ubh)}(hhh]j9)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hjU[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjR[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjW[modnameN classnameNj j )}j ]j )}j j[sbc.dev_fetch_sw_netstatsasbuh1hhj3[ubj")}(h h]h }(hju[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3[ubj )}(hj h]h*}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3[ubj9)}(hsh]hs}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/[ubj )}(h0const struct pcpu_sw_netstats __percpu *netstatsh](j)}(hj h]hconst}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubj)}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubh)}(hhh]j9)}(hpcpu_sw_netstatsh]hpcpu_sw_netstats}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNj j )}j ]jq[c.dev_fetch_sw_netstatsasbuh1hhj[ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubh__percpu}(hj[hhhNhNubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubj )}(hj h]h*}(hj \hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj[ubj9)}(hnetstatsh]hnetstats}(hj-\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/[ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjZhhhj[hM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjZhhhj[hM.ubah}(h]jZah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj[hM.hjZhhubjg)}(hhh]jl)}(h%get per-cpu network device statisticsh]h%get per-cpu network device statistics}(hjW\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjT\hhubah}(h]h ]h"]h$]h&]uh1jfhjZhhhj[hM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjo\jjo\jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct rtnl_link_stats64 *s`` place to store stats ``const struct pcpu_sw_netstats __percpu *netstats`` per-cpu network stats to read from **Description** Read per-cpu network statistics and populate the related fields in **s**.h](jl)}(h**Parameters**h]j)}(hjy\h]h Parameters}(hj{\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw\ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjs\ubj)}(hhh](j)}(h5``struct rtnl_link_stats64 *s`` place to store stats h](j)}(h``struct rtnl_link_stats64 *s``h]j)}(hj\h]hstruct rtnl_link_stats64 *s}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj\ubj)}(hhh]jl)}(hplace to store statsh]hplace to store stats}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hM.hj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hM.hj\ubj)}(hX``const struct pcpu_sw_netstats __percpu *netstats`` per-cpu network stats to read from h](j)}(h4``const struct pcpu_sw_netstats __percpu *netstats``h]j)}(hj\h]h0const struct pcpu_sw_netstats __percpu *netstats}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj\ubj)}(hhh]jl)}(h"per-cpu network stats to read fromh]h"per-cpu network stats to read from}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hM.hj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hM.hj\ubeh}(h]h ]h"]h$]h&]uh1jhjs\ubjl)}(h**Description**h]j)}(hj ]h]h Description}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ]ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjs\ubj)}(hIRead per-cpu network statistics and populate the related fields in **s**.h]jl)}(hj$]h](hCRead per-cpu network statistics and populate the related fields in }(hj&]hhhNhNubj)}(h**s**h]hs}(hj-]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&]ubh.}(hj&]hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj"]ubah}(h]h ]h"]h$]h&]uh1jhjE]hM.hjs\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_get_tstats64 (C function)c.dev_get_tstats64hNtauh1hhjhhhNhNubh)}(hhh](j)}(hKvoid dev_get_tstats64 (struct net_device *dev, struct rtnl_link_stats64 *s)h]j )}(hJvoid dev_get_tstats64(struct net_device *dev, struct rtnl_link_stats64 *s)h](jM )}(hvoidh]hvoid}(hjl]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjh]hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.ubj")}(h h]h }(hj{]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjh]hhhjz]hM.ubj3)}(hdev_get_tstats64h]j9)}(hdev_get_tstats64h]hdev_get_tstats64}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjh]hhhjz]hM.ubj )}(h5(struct net_device *dev, struct rtnl_link_stats64 *s)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNj j )}j ]j )}j j]sbc.dev_get_tstats64asbuh1hhj]ubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj )}(hj h]h*}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj]ubj9)}(hdevh]hdev}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubj )}(hstruct rtnl_link_stats64 *sh](j)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj")}(h h]h }(hj(^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubh)}(hhh]j9)}(hrtnl_link_stats64h]hrtnl_link_stats64}(hj9^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;^modnameN classnameNj j )}j ]j]c.dev_get_tstats64asbuh1hhj^ubj")}(h h]h }(hjW^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubj )}(hj h]h*}(hje^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj^ubj9)}(hj[h]hs}(hjr^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjh]hhhjz]hM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjd]hhhjz]hM.ubah}(h]j_]ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjz]hM.hja]hhubjg)}(hhh]jl)}(hndo_get_stats64 implementationh]hndo_get_stats64 implementation}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj^hhubah}(h]h ]h"]h$]h&]uh1jfhja]hhhjz]hM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` device to get statistics from ``struct rtnl_link_stats64 *s`` place to store stats **Description** Populate **s** from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.h](jl)}(h**Parameters**h]j)}(hj^h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj^ubj)}(hhh](j)}(h9``struct net_device *dev`` device to get statistics from h](j)}(h``struct net_device *dev``h]j)}(hj^h]hstruct net_device *dev}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj^ubj)}(hhh]jl)}(hdevice to get statistics fromh]hdevice to get statistics from}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hM.hj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hM.hj^ubj)}(h5``struct rtnl_link_stats64 *s`` place to store stats h](j)}(h``struct rtnl_link_stats64 *s``h]j)}(hj_h]hstruct rtnl_link_stats64 *s}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj_ubj)}(hhh]jl)}(hplace to store statsh]hplace to store stats}(hj._hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*_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^ubjl)}(h**Description**h]j)}(hjP_h]h Description}(hjR_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN_ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hj^ubj)}(hZPopulate **s** from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.h]jl)}(hZPopulate **s** from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.h](h Populate }(hjj_hhhNhNubj)}(h**s**h]hs}(hjr_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj_ubhL from dev->stats and dev->tstats. Can be used as ndo_get_stats64() callback.}(hjj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM.hjf_ubah}(h]h ]h"]h$]h&]uh1jhj_hM.hj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_sw_irq_coalesce_default_on (C function)#c.netdev_sw_irq_coalesce_default_onhNtauh1hhjhhhNhNubh)}(hhh](j)}(h?void netdev_sw_irq_coalesce_default_on (struct net_device *dev)h]j )}(h>void netdev_sw_irq_coalesce_default_on(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj_hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_hhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM /ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_hhhj_hM /ubj3)}(h!netdev_sw_irq_coalesce_default_onh]j9)}(h!netdev_sw_irq_coalesce_default_onh]h!netdev_sw_irq_coalesce_default_on}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj_hhhj_hM /ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj `hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj `ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNj j )}j ]j )}j j_sb#c.netdev_sw_irq_coalesce_default_onasbuh1hhj_ubj")}(h h]h }(hj,`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubj )}(hj h]h*}(hj:`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_ubj9)}(hdevh]hdev}(hjG`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_ubah}(h]h ]h"]h$]h&]jPjQuh1j hj_hhhj_hM /ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj_hhhj_hM /ubah}(h]j_ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj_hM /hj_hhubjg)}(hhh]jl)}(h#enable SW IRQ coalescing by defaulth]h#enable SW IRQ coalescing by default}(hjq`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM /hjn`hhubah}(h]h ]h"]h$]h&]uh1jfhj_hhhj_hM /ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` netdev to enable the IRQ coalescing on **Description** Sets a conservative default for SW IRQ coalescing. Users can use sysfs attributes to override the default values.h](jl)}(h**Parameters**h]j)}(hj`h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM$/hj`ubj)}(hhh]j)}(hB``struct net_device *dev`` netdev to enable the IRQ coalescing on h](j)}(h``struct net_device *dev``h]j)}(hj`h]hstruct net_device *dev}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM!/hj`ubj)}(hhh]jl)}(h&netdev to enable the IRQ coalescing onh]h&netdev to enable the IRQ coalescing on}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hM!/hj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hM!/hj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubjl)}(h**Description**h]j)}(hj`h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM#/hj`ubjl)}(hqSets a conservative default for SW IRQ coalescing. Users can use sysfs attributes to override the default values.h]hqSets a conservative default for SW IRQ coalescing. Users can use sysfs attributes to override the default values.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM"/hj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_netdev_mqs (C function)c.alloc_netdev_mqshNtauh1hhjhhhNhNubh)}(hhh](j)}(hstruct net_device * alloc_netdev_mqs (int sizeof_priv, const char *name, unsigned char name_assign_type, void (*setup)(struct net_device *), unsigned int txqs, unsigned int rxqs)h]j )}(hstruct net_device *alloc_netdev_mqs(int sizeof_priv, const char *name, unsigned char name_assign_type, void (*setup)(struct net_device*), unsigned int txqs, unsigned int rxqs)h](j)}(hjh]hstruct}(hj2ahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ahhhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2/ubj")}(h h]h }(hj@ahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ahhhj?ahM2/ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjQahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSamodnameN classnameNj j )}j ]j )}j alloc_netdev_mqssbc.alloc_netdev_mqsasbuh1hhj.ahhhj?ahM2/ubj")}(h h]h }(hjrahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ahhhj?ahM2/ubj )}(hj h]h*}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.ahhhj?ahM2/ubj3)}(halloc_netdev_mqsh]j9)}(hjoah]halloc_netdev_mqs}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.ahhhj?ahM2/ubj )}(h(int sizeof_priv, const char *name, unsigned char name_assign_type, void (*setup)(struct net_device*), unsigned int txqs, unsigned int rxqs)h](j )}(hint sizeof_privh](jM )}(hinth]hint}(hjahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj9)}(h sizeof_privh]h sizeof_priv}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubj )}(hconst char *nameh](j)}(hj h]hconst}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubjM )}(hcharh]hchar}(hjahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjaubj")}(h h]h }(hj bhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaubj9)}(hnameh]hname}(hj%bhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubj )}(hunsigned char name_assign_typeh](jM )}(hunsignedh]hunsigned}(hj>bhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:bubj")}(h h]h }(hjLbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:bubjM )}(hcharh]hchar}(hjZbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:bubj")}(h h]h }(hjhbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:bubj9)}(hname_assign_typeh]hname_assign_type}(hjvbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:bubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubj )}(h!void (*setup)(struct net_device*)h](jM )}(hvoidh]hvoid}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hjh]h(}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(hsetuph]hsetup}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubj )}(hjh]h)}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj )}(hjh]h(}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj chhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj cmodnameN classnameNj j )}j ]jmac.alloc_netdev_mqsasbuh1hhjbubj )}(hj h]h*}(hj)chhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj )}(hjh]h)}(hj6chhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubj )}(hunsigned int txqsh](jM )}(hunsignedh]hunsigned}(hjNchhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjJcubj")}(h h]h }(hj\chhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJcubjM )}(hinth]hint}(hjjchhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjJcubj")}(h h]h }(hjxchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJcubj9)}(htxqsh]htxqs}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubj )}(hunsigned int rxqsh](jM )}(hunsignedh]hunsigned}(hjchhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubjM )}(hinth]hint}(hjchhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj9)}(hrxqsh]hrxqs}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjaubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.ahhhj?ahM2/ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*ahhhj?ahM2/ubah}(h]j%aah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj?ahM2/hj'ahhubjg)}(hhh]jl)}(hallocate network deviceh]hallocate network device}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2/hjchhubah}(h]h ]h"]h$]h&]uh1jfhj'ahhhj?ahM2/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhjhNhNubj)}(hX>**Parameters** ``int sizeof_priv`` size of private data to allocate space for ``const char *name`` device name format string ``unsigned char name_assign_type`` origin of device name ``void (*setup)(struct net_device *)`` callback to initialize device ``unsigned int txqs`` the number of TX subqueues to allocate ``unsigned int rxqs`` the number of RX subqueues to allocate **Description** Allocates a struct net_device with private data area for driver use and performs basic initialization. Also allocates subqueue structs for each queue on the device.h](jl)}(h**Parameters**h]j)}(hj#dh]h Parameters}(hj%dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!dubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM6/hjdubj)}(hhh](j)}(h?``int sizeof_priv`` size of private data to allocate space for h](j)}(h``int sizeof_priv``h]j)}(hjBdh]hint sizeof_priv}(hjDdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@dubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM3/hjoh]h Description}(hj@ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2hj;shhubah}(h]h ]h"]h$]h&]uh1jfhj?rhhhjXrhM2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVsjjVsjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` the upper device ``bool update_header`` whether to update upper device's header_len/headroom/tailroom **Description** Recompute the upper device's feature based on all lower devices.h](jl)}(h**Parameters**h]j)}(hj`sh]h Parameters}(hjbshhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^subah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2hjZsubj)}(hhh](j)}(h,``struct net_device *dev`` the upper device h](j)}(h``struct net_device *dev``h]j)}(hjsh]hstruct net_device *dev}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}subah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2hjysubj)}(hhh]jl)}(hthe upper deviceh]hthe upper device}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshM2hjsubah}(h]h ]h"]h$]h&]uh1jhjysubeh}(h]h ]h"]h$]h&]uh1jhjshM2hjvsubj)}(hU``bool update_header`` whether to update upper device's header_len/headroom/tailroom h](j)}(h``bool update_header``h]j)}(hjsh]hbool update_header}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2hjsubj)}(hhh]jl)}(h=whether to update upper device's header_len/headroom/tailroomh]h?whether to update upper device’s header_len/headroom/tailroom}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshM2hjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshM2hjvsubeh}(h]h ]h"]h$]h&]uh1jhjZsubjl)}(h**Description**h]j)}(hjsh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2hjZsubj)}(h@Recompute the upper device's feature based on all lower devices.h]jl)}(hj th]hBRecompute the upper device’s feature based on all lower devices.}(hj thhhNhNubah}(h]h ]h"]h$]h&]uh1jkhN/var/lib/git/docbuild/linux/Documentation/networking/kapi:92: ./net/core/dev.chM2hj tubah}(h]h ]h"]h$]h&]uh1jhjthM2hjZsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_header (C function) c.eth_headerhNtauh1hhjhhhNhNubh)}(hhh](j)}(hint eth_header (struct sk_buff *skb, struct net_device *dev, unsigned short type, const void *daddr, const void *saddr, unsigned int len)h]j )}(hint eth_header(struct sk_buff *skb, struct net_device *dev, unsigned short type, const void *daddr, const void *saddr, unsigned int len)h](jM )}(hinth]hint}(hjAthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj=thhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKCubj")}(h h]h }(hjPthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=thhhjOthKCubj3)}(h eth_headerh]j9)}(h eth_headerh]h eth_header}(hjbthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^tubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=thhhjOthKCubj )}(hz(struct sk_buff *skb, struct net_device *dev, unsigned short type, const void *daddr, const void *saddr, unsigned int len)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj~thhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjztubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjztubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]j )}j jdtsb c.eth_headerasbuh1hhjztubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjztubj )}(hj h]h*}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjztubj9)}(hskbh]hskb}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjztubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvtubj )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj uubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]jt c.eth_headerasbuh1hhjtubj")}(h h]h }(hj,uhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hj:uhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hdevh]hdev}(hjGuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvtubj )}(hunsigned short typeh](jM )}(hunsignedh]hunsigned}(hj`uhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\uubj")}(h h]h }(hjnuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\uubjM )}(hshorth]hshort}(hj|uhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\uubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\uubj9)}(htypeh]htype}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\uubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvtubj )}(hconst void *daddrh](j)}(hj h]hconst}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubjM )}(hvoidh]hvoid}(hjuhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjuubj9)}(hdaddrh]hdaddr}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvtubj )}(hconst void *saddrh](j)}(hj h]hconst}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj vubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj vubjM )}(hvoidh]hvoid}(hj)vhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj vubj")}(h h]h }(hj7vhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj vubj )}(hj h]h*}(hjEvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj vubj9)}(hsaddrh]hsaddr}(hjRvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj vubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvtubj )}(hunsigned int lenh](jM )}(hunsignedh]hunsigned}(hjkvhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgvubj")}(h h]h }(hjyvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgvubjM )}(hinth]hint}(hjvhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgvubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgvubj9)}(hlenh]hlen}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvtubeh}(h]h ]h"]h$]h&]jPjQuh1j hj=thhhjOthKCubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9thhhjOthKCubah}(h]j4tah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjOthKChj6thhubjg)}(hhh]jl)}(hcreate the Ethernet headerh]hcreate the Ethernet header}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKChjvhhubah}(h]h ]h"]h$]h&]uh1jfhj6thhhjOthKCubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct sk_buff *skb`` buffer to alter ``struct net_device *dev`` source device ``unsigned short type`` Ethernet type field ``const void *daddr`` destination address (NULL leave destination address) ``const void *saddr`` source address (NULL use device source address) ``unsigned int len`` packet length (<= skb->len) **Description** Set the protocol type. For a packet of type ETH_P_802_3/2 we put the length in here instead.h](jl)}(h**Parameters**h]j)}(hjvh]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKGhjvubj)}(hhh](j)}(h(``struct sk_buff *skb`` buffer to alter h](j)}(h``struct sk_buff *skb``h]j)}(hjwh]hstruct sk_buff *skb}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj wubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKDhjwubj)}(hhh]jl)}(hbuffer to alterh]hbuffer to alter}(hj'whhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#whKDhj$wubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhj#whKDhjwubj)}(h)``struct net_device *dev`` source device h](j)}(h``struct net_device *dev``h]j)}(hjGwh]hstruct net_device *dev}(hjIwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEwubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKEhjAwubj)}(hhh]jl)}(h source deviceh]h source device}(hj`whhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\whKEhj]wubah}(h]h ]h"]h$]h&]uh1jhjAwubeh}(h]h ]h"]h$]h&]uh1jhj\whKEhjwubj)}(h,``unsigned short type`` Ethernet type field h](j)}(h``unsigned short type``h]j)}(hjwh]hunsigned short type}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~wubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKFhjzwubj)}(hhh]jl)}(hEthernet type fieldh]hEthernet type field}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhKFhjwubah}(h]h ]h"]h$]h&]uh1jhjzwubeh}(h]h ]h"]h$]h&]uh1jhjwhKFhjwubj)}(hK``const void *daddr`` destination address (NULL leave destination address) h](j)}(h``const void *daddr``h]j)}(hjwh]hconst void *daddr}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKGhjwubj)}(hhh]jl)}(h4destination address (NULL leave destination address)h]h4destination address (NULL leave destination address)}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhKGhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhKGhjwubj)}(hF``const void *saddr`` source address (NULL use device source address) h](j)}(h``const void *saddr``h]j)}(hjwh]hconst void *saddr}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKHhjwubj)}(hhh]jl)}(h/source address (NULL use device source address)h]h/source address (NULL use device source address)}(hj xhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhKHhjxubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjxhKHhjwubj)}(h1``unsigned int len`` packet length (<= skb->len) h](j)}(h``unsigned int len``h]j)}(hj+xh]hunsigned int len}(hj-xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)xubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKIhj%xubj)}(hhh]jl)}(hpacket length (<= skb->len)h]hpacket length (<= skb->len)}(hjDxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@xhKIhjAxubah}(h]h ]h"]h$]h&]uh1jhj%xubeh}(h]h ]h"]h$]h&]uh1jhj@xhKIhjwubeh}(h]h ]h"]h$]h&]uh1jhjvubjl)}(h**Description**h]j)}(hjfxh]h Description}(hjhxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdxubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKKhjvubjl)}(h\Set the protocol type. For a packet of type ETH_P_802_3/2 we put the length in here instead.h]h\Set the protocol type. For a packet of type ETH_P_802_3/2 we put the length in here instead.}(hj|xhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKJhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_get_headlen (C function)c.eth_get_headlenhNtauh1hhjhhhNhNubh)}(hhh](j)}(hMu32 eth_get_headlen (const struct net_device *dev, const void *data, u32 len)h]j )}(hLu32 eth_get_headlen(const struct net_device *dev, const void *data, u32 len)h](h)}(hhh]j9)}(hu32h]hu32}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]j )}j eth_get_headlensbc.eth_get_headlenasbuh1hhjxhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKuubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxhhhjxhKuubj3)}(heth_get_headlenh]j9)}(hjxh]heth_get_headlen}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjxhhhjxhKuubj )}(h9(const struct net_device *dev, const void *data, u32 len)h](j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hj yhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj)}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hj%yhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj6yhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3yubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8ymodnameN classnameNj j )}j ]jxc.eth_get_headlenasbuh1hhjxubj")}(h h]h }(hjTyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjbyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hdevh]hdev}(hjoyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubj )}(hconst void *datah](j)}(hj h]hconst}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubjM )}(hvoidh]hvoid}(hjyhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(hdatah]hdata}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubj )}(hu32 lenh](h)}(hhh]j9)}(hu32h]hu32}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]jxc.eth_get_headlenasbuh1hhjyubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj9)}(hlenh]hlen}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubeh}(h]h ]h"]h$]h&]jPjQuh1j hjxhhhjxhKuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjxhhhjxhKuubah}(h]jxah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjxhKuhjxhhubjg)}(hhh]jl)}(h4determine the length of header for an ethernet frameh]h4determine the length of header for an ethernet frame}(hj>zhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKuhj;zhhubah}(h]h ]h"]h$]h&]uh1jfhjxhhhjxhKuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVzjjVzjjjuh1hhhhjhNhNubj)}(hX **Parameters** ``const struct net_device *dev`` pointer to network device ``const void *data`` pointer to start of frame ``u32 len`` total length of frame **Description** Make a best effort attempt to pull the length for all of the headers for a given frame in a linear buffer.h](jl)}(h**Parameters**h]j)}(hj`zh]h Parameters}(hjbzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^zubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKyhjZzubj)}(hhh](j)}(h;``const struct net_device *dev`` pointer to network device h](j)}(h ``const struct net_device *dev``h]j)}(hjzh]hconst struct net_device *dev}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}zubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKvhjyzubj)}(hhh]jl)}(hpointer to network deviceh]hpointer to network device}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhKvhjzubah}(h]h ]h"]h$]h&]uh1jhjyzubeh}(h]h ]h"]h$]h&]uh1jhjzhKvhjvzubj)}(h/``const void *data`` pointer to start of frame h](j)}(h``const void *data``h]j)}(hjzh]hconst void *data}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKwhjzubj)}(hhh]jl)}(hpointer to start of frameh]hpointer to start of frame}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhKwhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhKwhjvzubj)}(h"``u32 len`` total length of frame h](j)}(h ``u32 len``h]j)}(hjzh]hu32 len}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKxhjzubj)}(hhh]jl)}(htotal length of frameh]htotal length of frame}(hj {hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hKxhj{ubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhj{hKxhjvzubeh}(h]h ]h"]h$]h&]uh1jhjZzubjl)}(h**Description**h]j)}(hj,{h]h Description}(hj.{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*{ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKzhjZzubjl)}(hjMake a best effort attempt to pull the length for all of the headers for a given frame in a linear buffer.h]hjMake a best effort attempt to pull the length for all of the headers for a given frame in a linear buffer.}(hjB{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKyhjZzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_type_trans (C function)c.eth_type_transhNtauh1hhjhhhNhNubh)}(hhh](j)}(hC__be16 eth_type_trans (struct sk_buff *skb, struct net_device *dev)h]j )}(hB__be16 eth_type_trans(struct sk_buff *skb, struct net_device *dev)h](h)}(hhh]j9)}(h__be16h]h__be16}(hjt{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjq{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjv{modnameN classnameNj j )}j ]j )}j eth_type_transsbc.eth_type_transasbuh1hhjm{hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjm{hhhj{hKubj3)}(heth_type_transh]j9)}(hj{h]heth_type_trans}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjm{hhhj{hKubj )}(h-(struct sk_buff *skb, struct net_device *dev)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNj j )}j ]j{c.eth_type_transasbuh1hhj{ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{ubj )}(hj h]h*}(hj |hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj{ubj9)}(hskbh]hskb}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj3|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/|ubj")}(h h]h }(hj@|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/|ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjQ|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjN|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjS|modnameN classnameNj j )}j ]j{c.eth_type_transasbuh1hhj/|ubj")}(h h]h }(hjo|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/|ubj )}(hj h]h*}(hj}|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/|ubj9)}(hdevh]hdev}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjm{hhhj{hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhji{hhhj{hKubah}(h]jd{ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj{hKhjf{hhubjg)}(hhh]jl)}(h#determine the packet's protocol ID.h]h%determine the packet’s protocol ID.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj|hhubah}(h]h ]h"]h$]h&]uh1jfhjf{hhhj{hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1hhhhjhNhNubj)}(hX **Parameters** ``struct sk_buff *skb`` received socket data ``struct net_device *dev`` receiving network device **Description** The rule here is that we assume 802.3 if the type field is short enough to be a length. This is normal practice and works for any 'now in use' protocol.h](jl)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj|ubj)}(hhh](j)}(h-``struct sk_buff *skb`` received socket data h](j)}(h``struct sk_buff *skb``h]j)}(hj|h]hstruct sk_buff *skb}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj|ubj)}(hhh]jl)}(hreceived socket datah]hreceived socket data}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj }hKhj }ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj }hKhj|ubj)}(h4``struct net_device *dev`` receiving network device h](j)}(h``struct net_device *dev``h]j)}(hj.}h]hstruct net_device *dev}(hj0}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,}ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj(}ubj)}(hhh]jl)}(hreceiving network deviceh]hreceiving network device}(hjG}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjC}hKhjD}ubah}(h]h ]h"]h$]h&]uh1jhj(}ubeh}(h]h ]h"]h$]h&]uh1jhjC}hKhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|ubjl)}(h**Description**h]j)}(hji}h]h Description}(hjk}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg}ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj|ubjl)}(hThe rule here is that we assume 802.3 if the type field is short enough to be a length. This is normal practice and works for any 'now in use' protocol.h]hThe rule here is that we assume 802.3 if the type field is short enough to be a length. This is normal practice and works for any ‘now in use’ protocol.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_header_cache (C function)c.eth_header_cachehNtauh1hhjhhhNhNubh)}(hhh](j)}(hVint eth_header_cache (const struct neighbour *neigh, struct hh_cache *hh, __be16 type)h]j )}(hUint eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type)h](jM )}(hinth]hint}(hj}hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}hhhj}hKubj3)}(heth_header_cacheh]j9)}(heth_header_cacheh]heth_header_cache}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}hhhj}hKubj )}(hA(const struct neighbour *neigh, struct hh_cache *hh, __be16 type)h](j )}(hconst struct neighbour *neighh](j)}(hj h]hconst}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubj)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubh)}(hhh]j9)}(h neighbourh]h neighbour}(hj$~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&~modnameN classnameNj j )}j ]j )}j j}sbc.eth_header_cacheasbuh1hhj}ubj")}(h h]h }(hjD~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubj )}(hj h]h*}(hjR~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}ubj9)}(hneighh]hneigh}(hj_~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubj )}(hstruct hh_cache *hhh](j)}(hjh]hstruct}(hjx~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjt~ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjt~ubh)}(hhh]j9)}(hhh_cacheh]hhh_cache}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNj j )}j ]j@~c.eth_header_cacheasbuh1hhjt~ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjt~ubj )}(hj h]h*}(hj~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjt~ubj9)}(hhhh]hhh}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjt~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubj )}(h __be16 typeh](h)}(hhh]j9)}(h__be16h]h__be16}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNj j )}j ]j@~c.eth_header_cacheasbuh1hhj~ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj~ubj9)}(htypeh]htype}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj}hhhj}hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}hhhj}hKubah}(h]j}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}hKhj}hhubjg)}(hhh]jl)}(hfill cache entry from neighbourh]hfill cache entry from neighbour}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj>hhubah}(h]h ]h"]h$]h&]uh1jfhj}hhhj}hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const struct neighbour *neigh`` source neighbour ``struct hh_cache *hh`` destination cache entry ``__be16 type`` Ethernet type field **Description** Create an Ethernet header template from the neighbour.h](jl)}(h**Parameters**h]j)}(hjch]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj]ubj)}(hhh](j)}(h3``const struct neighbour *neigh`` source neighbour h](j)}(h!``const struct neighbour *neigh``h]j)}(hjh]hconst struct neighbour *neigh}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj|ubj)}(hhh]jl)}(hsource neighbourh]hsource neighbour}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjyubj)}(h0``struct hh_cache *hh`` destination cache entry h](j)}(h``struct hh_cache *hh``h]j)}(hjh]hstruct hh_cache *hh}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjubj)}(hhh]jl)}(hdestination cache entryh]hdestination cache entry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjyubj)}(h$``__be16 type`` Ethernet type field h](j)}(h``__be16 type``h]j)}(hjh]h __be16 type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjubj)}(hhh]jl)}(hEthernet type fieldh]hEthernet type field}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjyubeh}(h]h ]h"]h$]h&]uh1jhj]ubjl)}(h**Description**h]j)}(hj/h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj]ubjl)}(h6Create an Ethernet header template from the neighbour.h]h6Create an Ethernet header template from the neighbour.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$eth_header_cache_update (C function)c.eth_header_cache_updatehNtauh1hhjhhhNhNubh)}(hhh](j)}(hlvoid eth_header_cache_update (struct hh_cache *hh, const struct net_device *dev, const unsigned char *haddr)h]j )}(hkvoid eth_header_cache_update(struct hh_cache *hh, const struct net_device *dev, const unsigned char *haddr)h](jM )}(hvoidh]hvoid}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjphhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjphhhjhKubj3)}(heth_header_cache_updateh]j9)}(heth_header_cache_updateh]heth_header_cache_update}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjphhhjhKubj )}(hO(struct hh_cache *hh, const struct net_device *dev, const unsigned char *haddr)h](j )}(hstruct hh_cache *hhh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hhh_cacheh]hhh_cache}(hjπhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj̀ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjрmodnameN classnameNj j )}j ]j )}j jsbc.eth_header_cache_updateasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hhhh]hhh}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst struct net_device *devh](j)}(hj h]hconst}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]jc.eth_header_cache_updateasbuh1hhjubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst unsigned char *haddrh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hunsignedh]hunsigned}(hjɁhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjׁhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hhaddrh]hhaddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjphhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjlhhhjhKubah}(h]jgah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjihhubjg)}(hhh]jl)}(hupdate cache entryh]hupdate cache entry}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhj5hhubah}(h]h ]h"]h$]h&]uh1jfhjihhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct hh_cache *hh`` destination cache entry ``const struct net_device *dev`` network device ``const unsigned char *haddr`` new hardware address **Description** Called by Address Resolution module to notify changes in address.h](jl)}(h**Parameters**h]j)}(hjZh]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjTubj)}(hhh](j)}(h0``struct hh_cache *hh`` destination cache entry h](j)}(h``struct hh_cache *hh``h]j)}(hjyh]hstruct hh_cache *hh}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjsubj)}(hhh]jl)}(hdestination cache entryh]hdestination cache entry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhKhjpubj)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjh]hconst struct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj˂hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjǂhKhjȂubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjǂhKhjpubj)}(h4``const unsigned char *haddr`` new hardware address h](j)}(h``const unsigned char *haddr``h]j)}(hjh]hconst unsigned char *haddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjubj)}(hhh]jl)}(hnew hardware addressh]hnew hardware address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjpubeh}(h]h ]h"]h$]h&]uh1jhjTubjl)}(h**Description**h]j)}(hj&h]h Description}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjTubjl)}(hACalled by Address Resolution module to notify changes in address.h]hACalled by Address Resolution module to notify changes in address.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chKhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hð_header_parse_protocol (C function)c.eth_header_parse_protocolhNtauh1hhjhhhNhNubh)}(hhh](j)}(h<__be16 eth_header_parse_protocol (const struct sk_buff *skb)h]j )}(h;__be16 eth_header_parse_protocol(const struct sk_buff *skb)h](h)}(hhh]j9)}(h__be16h]h__be16}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j )}j eth_header_parse_protocolsbc.eth_header_parse_protocolasbuh1hhjghhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjghhhjhMubj3)}(heth_header_parse_protocolh]j9)}(hjh]heth_header_parse_protocol}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjghhhjhMubj )}(h(const struct sk_buff *skb)h]j )}(hconst struct sk_buff *skbh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjʃhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj؃hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.eth_header_parse_protocolasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjghhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjchhhjhMubah}(h]j^ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhj`hhubjg)}(hhh]jl)}(hextract protocol from L2 headerh]hextract protocol from L2 header}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjVhhubah}(h]h ]h"]h$]h&]uh1jfhj`hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhjhNhNubj)}(hO**Parameters** ``const struct sk_buff *skb`` packet to extract protocol fromh](jl)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjuubj)}(hhh]j)}(h=``const struct sk_buff *skb`` packet to extract protocol fromh](j)}(h``const struct sk_buff *skb``h]j)}(hjh]hconst struct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjubj)}(hhh]jl)}(hpacket to extract protocol fromh]hpacket to extract protocol from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(eth_prepare_mac_addr_change (C function)c.eth_prepare_mac_addr_changehNtauh1hhjhhhNhNubh)}(hhh](j)}(hAint eth_prepare_mac_addr_change (struct net_device *dev, void *p)h]j )}(h@int eth_prepare_mac_addr_change(struct net_device *dev, void *p)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj3)}(heth_prepare_mac_addr_changeh]j9)}(heth_prepare_mac_addr_changeh]heth_prepare_mac_addr_change}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h!(struct net_device *dev, void *p)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j )}j jsbc.eth_prepare_mac_addr_changeasbuh1hhj-ubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubj )}(hj h]h*}(hj}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj-ubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubj )}(hvoid *ph](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hj h]hp}(hj̅hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(hprepare for mac changeh]hprepare for mac change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(hY**Parameters** ``struct net_device *dev`` network device ``void *p`` socket addressh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj6h]hstruct net_device *dev}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM hj0ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhM hjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhM hj-ubj)}(h``void *p`` socket addressh](j)}(h ``void *p``h]j)}(hjoh]hvoid *p}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjiubj)}(hhh]jl)}(hsocket addressh]hsocket address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhj-ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'eth_commit_mac_addr_change (C function)c.eth_commit_mac_addr_changehNtauh1hhjhhhNhNubh)}(hhh](j)}(hAvoid eth_commit_mac_addr_change (struct net_device *dev, void *p)h]j )}(h@void eth_commit_mac_addr_change(struct net_device *dev, void *p)h](jM )}(hvoidh]hvoid}(hjɆhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjņhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj")}(h h]h }(hj؆hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjņhhhj׆hMubj3)}(heth_commit_mac_addr_changeh]j9)}(heth_commit_mac_addr_changeh]heth_commit_mac_addr_change}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjņhhhj׆hMubj )}(h!(struct net_device *dev, void *p)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]j )}j jsbc.eth_commit_mac_addr_changeasbuh1hhjubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hvoid *ph](jM )}(hvoidh]hvoid}(hjxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hj h]hp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjņhhhj׆hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj׆hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj׆hMhjhhubjg)}(hhh]jl)}(hcommit mac changeh]hcommit mac change}(hjʇhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjLJhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj׆hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hY**Parameters** ``struct net_device *dev`` network device ``void *p`` socket addressh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM!hjubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj h]hstruct net_device *dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h``void *p`` socket addressh](j)}(h ``void *p``h]j)}(hjDh]hvoid *p}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM hj>ubj)}(hhh]jl)}(hsocket addressh]hsocket address}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_mac_addr (C function)c.eth_mac_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h2int eth_mac_addr (struct net_device *dev, void *p)h]j )}(h1int eth_mac_addr(struct net_device *dev, void *p)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM*ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM*ubj3)}(h eth_mac_addrh]j9)}(h eth_mac_addrh]h eth_mac_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM*ubj )}(h!(struct net_device *dev, void *p)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjۈhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj׈ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj׈ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.eth_mac_addrasbuh1hhj׈ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj׈ubj )}(hj h]h*}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj׈ubj9)}(hdevh]hdev}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj׈ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjӈubj )}(hvoid *ph](jM )}(hvoidh]hvoid}(hjMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjIubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj )}(hj h]h*}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIubj9)}(hj h]hp}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjӈubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM*ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM*ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM*hjhhubjg)}(hhh]jl)}(h!set new Ethernet hardware addressh]h!set new Ethernet hardware address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM*hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM*ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device ``void *p`` socket address **Description** Change hardware address of device. This doesn't change hardware matching, so needs to be overridden for most real devices.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjÉhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM.hjubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjމubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM+hjډubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM+hjubah}(h]h ]h"]h$]h&]uh1jhjډubeh}(h]h ]h"]h$]h&]uh1jhjhM+hj׉ubj)}(h``void *p`` socket address h](j)}(h ``void *p``h]j)}(hjh]hvoid *p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM,hjubj)}(hhh]jl)}(hsocket addressh]hsocket address}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hM,hj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hM,hj׉ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjTh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM.hjubjl)}(h"Change hardware address of device.h]h"Change hardware address of device.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM-hjubjl)}(hWThis doesn't change hardware matching, so needs to be overridden for most real devices.h]hYThis doesn’t change hardware matching, so needs to be overridden for most real devices.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM/hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_setup (C function) c.ether_setuphNtauh1hhjhhhNhNubh)}(hhh](j)}(h)void ether_setup (struct net_device *dev)h]j )}(h(void ether_setup(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMQubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMQubj3)}(h ether_setuph]j9)}(h ether_setuph]h ether_setup}(hjɊhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjŊubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMQubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jˊsb c.ether_setupasbuh1hhjubj")}(h h]h }(hj#hhhNhNubah}(h]h ])j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj݊ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMQubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMQubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMQhjhhubjg)}(hhh]jl)}(hsetup Ethernet network deviceh]hsetup Ethernet network device}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMQhjehhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device **Description** Fill in the fields of the device structure with Ethernet-generic values.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMUhjubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMRhjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj‹hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMThjubjl)}(hHFill in the fields of the device structure with Ethernet-generic values.h]hHFill in the fields of the device structure with Ethernet-generic values.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMShjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](halloc_etherdev_mqs (C function)c.alloc_etherdev_mqshNtauh1hhjhhhNhNubh)}(hhh](j)}(h^struct net_device * alloc_etherdev_mqs (int sizeof_priv, unsigned int txqs, unsigned int rxqs)h]j )}(h\struct net_device *alloc_etherdev_mqs(int sizeof_priv, unsigned int txqs, unsigned int rxqs)h](j)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%hhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMjubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%hhhj6hMjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]j )}j alloc_etherdev_mqssbc.alloc_etherdev_mqsasbuh1hhj%hhhj6hMjubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%hhhj6hMjubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%hhhj6hMjubj3)}(halloc_etherdev_mqsh]j9)}(hjfh]halloc_etherdev_mqs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%hhhj6hMjubj )}(h7(int sizeof_priv, unsigned int txqs, unsigned int rxqs)h](j )}(hint sizeof_privh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h sizeof_privh]h sizeof_priv}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int txqsh](jM )}(hunsignedh]hunsigned}(hj،hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjԌubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjԌubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjԌubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjԌubj9)}(htxqsh]htxqs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjԌubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int rxqsh](jM )}(hunsignedh]hunsigned}(hj)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubjM )}(hinth]hint}(hjEhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%ubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj9)}(hrxqsh]hrxqs}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj%hhhj6hMjubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj!hhhj6hMjubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6hMjhjhhubjg)}(hhh]jl)}(h(Allocates and sets up an Ethernet deviceh]h(Allocates and sets up an Ethernet device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMjhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj6hMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX2**Parameters** ``int sizeof_priv`` Size of additional driver-private structure to be allocated for this Ethernet device ``unsigned int txqs`` The number of TX queues this device has. ``unsigned int rxqs`` The number of RX queues this device has. **Description** Fill in the fields of the device structure with Ethernet-generic values. Basically does everything except registering the device. Constructs a new net device, complete with a private data area of size (sizeof_priv). A 32-byte (not bit) alignment is enforced for this private data area.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMnhjubj)}(hhh](j)}(hi``int sizeof_priv`` Size of additional driver-private structure to be allocated for this Ethernet device h](j)}(h``int sizeof_priv``h]j)}(hj̍h]hint sizeof_priv}(hj΍hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjʍubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMlhjƍubj)}(hhh]jl)}(hTSize of additional driver-private structure to be allocated for this Ethernet deviceh]hTSize of additional driver-private structure to be allocated for this Ethernet device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMkhjubah}(h]h ]h"]h$]h&]uh1jhjƍubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjÍubj)}(h?``unsigned int txqs`` The number of TX queues this device has. h](j)}(h``unsigned int txqs``h]j)}(hjh]hunsigned int txqs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmhjubj)}(hhh]jl)}(h(The number of TX queues this device has.h]h(The number of TX queues this device has.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjÍubj)}(h?``unsigned int rxqs`` The number of RX queues this device has. h](j)}(h``unsigned int rxqs``h]j)}(hj?h]hunsigned int rxqs}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMnhj9ubj)}(hhh]jl)}(h(The number of RX queues this device has.h]h(The number of RX queues this device has.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThMnhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMnhjÍubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjzh]h Description}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMphjubjl)}(hFill in the fields of the device structure with Ethernet-generic values. Basically does everything except registering the device.h]hFill in the fields of the device structure with Ethernet-generic values. Basically does everything except registering the device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMohjubjl)}(hConstructs a new net device, complete with a private data area of size (sizeof_priv). A 32-byte (not bit) alignment is enforced for this private data area.h]hConstructs a new net device, complete with a private data area of size (sizeof_priv). A 32-byte (not bit) alignment is enforced for this private data area.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMrhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(platform_get_ethdev_address (C function)c.platform_get_ethdev_addresshNtauh1hhjhhhNhNubh)}(hhh](j)}(hOint platform_get_ethdev_address (struct device *dev, struct net_device *netdev)h]j )}(hNint platform_get_ethdev_address(struct device *dev, struct net_device *netdev)h](jM )}(hinth]hint}(hjΎhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjʎhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMubj")}(h h]h }(hjݎhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjʎhhhj܎hMubj3)}(hplatform_get_ethdev_addressh]j9)}(hplatform_get_ethdev_addressh]hplatform_get_ethdev_address}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjʎhhhj܎hMubj )}(h/(struct device *dev, struct net_device *netdev)h](j )}(hstruct device *devh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hdeviceh]hdevice}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNj j )}j ]j )}j jsbc.platform_get_ethdev_addressasbuh1hhjubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net_device *netdevh](j)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jEc.platform_get_ethdev_addressasbuh1hhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hj h]h*}(hjǏhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(hnetdevh]hnetdev}(hjԏhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjʎhhhj܎hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjƎhhhj܎hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj܎hMhjÎhhubjg)}(hhh]jl)}(h,Set netdev's MAC address from a given deviceh]h.Set netdev’s MAC address from a given device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjÎhhhj܎hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct device *dev`` Pointer to the device ``struct net_device *netdev`` Pointer to netdev to write the address to **Description** Wrapper around eth_platform_get_mac_address() which writes the address directly to netdev->dev_addr.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hj?h]hstruct device *dev}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhj9ubj)}(hhh]jl)}(hPointer to the deviceh]hPointer to the device}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhj6ubj)}(hH``struct net_device *netdev`` Pointer to netdev to write the address to h](j)}(h``struct net_device *netdev``h]j)}(hjxh]hstruct net_device *netdev}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjrubj)}(hhh]jl)}(h)Pointer to netdev to write the address toh]h)Pointer to netdev to write the address to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhj6ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjubjl)}(hdWrapper around eth_platform_get_mac_address() which writes the address directly to netdev->dev_addr.h]hdWrapper around eth_platform_get_mac_address() which writes the address directly to netdev->dev_addr.}(hjɐhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#fwnode_get_mac_address (C function)c.fwnode_get_mac_addresshNtauh1hhjhhhNhNubh)}(hhh](j)}(hEint fwnode_get_mac_address (struct fwnode_handle *fwnode, char *addr)h]j )}(hDint fwnode_get_mac_address(struct fwnode_handle *fwnode, char *addr)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM>ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM>ubj3)}(hfwnode_get_mac_addressh]j9)}(hfwnode_get_mac_addressh]hfwnode_get_mac_address}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM>ubj )}(h*(struct fwnode_handle *fwnode, char *addr)h](j )}(hstruct fwnode_handle *fwnodeh](j)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(h fwnode_handleh]h fwnode_handle}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]j )}j jsbc.fwnode_get_mac_addressasbuh1hhj1ubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(hfwnodeh]hfwnode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj-ubj )}(h char *addrh](jM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjÑhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddrh]haddr}(hjБhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj-ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM>ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM>ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM>hjhhubjg)}(hhh]jl)}(h"Get the MAC from the firmware nodeh]h"Get the MAC from the firmware node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM>hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX7**Parameters** ``struct fwnode_handle *fwnode`` Pointer to the firmware node ``char *addr`` Address of buffer to store the MAC in **Description** Search the firmware node for the best MAC address to use. 'mac-address' is checked first, because that is supposed to contain to "most recent" MAC address. If that isn't set, then 'local-mac-address' is checked next, because that is the default address. If that isn't set, then the obsolete 'address' is checked, just in case we're using an old device tree. Note that the 'address' property is supposed to contain a virtual address of the register set, but some DTS files have redefined that property to be the MAC address. All-zero MAC addresses are rejected, because those could be properties that exist in the firmware tables, but were not updated by the firmware. For example, the DTS could define 'mac-address' and 'local-mac-address', with zero MAC addresses. Some older U-Boots only initialized 'local-mac-address'. In this case, the real MAC is in 'local-mac-address', and 'mac-address' exists but is all zeros.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMBhjubj)}(hhh](j)}(h>``struct fwnode_handle *fwnode`` Pointer to the firmware node h](j)}(h ``struct fwnode_handle *fwnode``h]j)}(hj;h]hstruct fwnode_handle *fwnode}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM?hj5ubj)}(hhh]jl)}(hPointer to the firmware nodeh]hPointer to the firmware node}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhM?hjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhM?hj2ubj)}(h5``char *addr`` Address of buffer to store the MAC in h](j)}(h``char *addr``h]j)}(hjth]h char *addr}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM@hjnubj)}(hhh]jl)}(h%Address of buffer to store the MAC inh]h%Address of buffer to store the MAC in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM@hj2ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMBhjubjl)}(hXgSearch the firmware node for the best MAC address to use. 'mac-address' is checked first, because that is supposed to contain to "most recent" MAC address. If that isn't set, then 'local-mac-address' is checked next, because that is the default address. If that isn't set, then the obsolete 'address' is checked, just in case we're using an old device tree.h]hX}Search the firmware node for the best MAC address to use. ‘mac-address’ is checked first, because that is supposed to contain to “most recent” MAC address. If that isn’t set, then ‘local-mac-address’ is checked next, because that is the default address. If that isn’t set, then the obsolete ‘address’ is checked, just in case we’re using an old device tree.}(hjŒhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMAhjubjl)}(hNote that the 'address' property is supposed to contain a virtual address of the register set, but some DTS files have redefined that property to be the MAC address.h]hNote that the ‘address’ property is supposed to contain a virtual address of the register set, but some DTS files have redefined that property to be the MAC address.}(hjԒhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMGhjubjl)}(hXAll-zero MAC addresses are rejected, because those could be properties that exist in the firmware tables, but were not updated by the firmware. For example, the DTS could define 'mac-address' and 'local-mac-address', with zero MAC addresses. Some older U-Boots only initialized 'local-mac-address'. In this case, the real MAC is in 'local-mac-address', and 'mac-address' exists but is all zeros.h]hXAll-zero MAC addresses are rejected, because those could be properties that exist in the firmware tables, but were not updated by the firmware. For example, the DTS could define ‘mac-address’ and ‘local-mac-address’, with zero MAC addresses. Some older U-Boots only initialized ‘local-mac-address’. In this case, the real MAC is in ‘local-mac-address’, and ‘mac-address’ exists but is all zeros.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#device_get_mac_address (C function)c.device_get_mac_addresshNtauh1hhjhhhNhNubh)}(hhh](j)}(h;int device_get_mac_address (struct device *dev, char *addr)h]j )}(h:int device_get_mac_address(struct device *dev, char *addr)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM_ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM_ubj3)}(hdevice_get_mac_addressh]j9)}(hdevice_get_mac_addressh]hdevice_get_mac_address}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hM_ubj )}(h (struct device *dev, char *addr)h](j )}(hstruct device *devh](j)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubh)}(hhh]j9)}(hdeviceh]hdevice}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]j )}j j5sbc.device_get_mac_addressasbuh1hhjKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjKubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubj )}(h char *addrh](jM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjϓhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjݓhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hM_ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hM_ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hM_hjhhubjg)}(hhh]jl)}(hGet the MAC for a given deviceh]hGet the MAC for a given device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM_hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hM_ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhjhNhNubj)}(hv**Parameters** ``struct device *dev`` Pointer to the device ``char *addr`` Address of buffer to store the MAC inh](jl)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMchj0ubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hjUh]hstruct device *dev}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chM`hjOubj)}(hhh]jl)}(hPointer to the deviceh]hPointer to the device}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhM`hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM`hjLubj)}(h4``char *addr`` Address of buffer to store the MAC inh](j)}(h``char *addr``h]j)}(hjh]h char *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMbhjubj)}(hhh]jl)}(h%Address of buffer to store the MAC inh]h%Address of buffer to store the MAC in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjLubeh}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&device_get_ethdev_address (C function)c.device_get_ethdev_addresshNtauh1hhjhhhNhNubh)}(hhh](j)}(hMint device_get_ethdev_address (struct device *dev, struct net_device *netdev)h]j )}(hLint device_get_ethdev_address(struct device *dev, struct net_device *netdev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMmubj3)}(hdevice_get_ethdev_addressh]j9)}(hdevice_get_ethdev_addressh]hdevice_get_ethdev_address}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMmubj )}(h/(struct device *dev, struct net_device *netdev)h](j )}(hstruct device *devh](j)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubh)}(hhh]j9)}(hdeviceh]hdevice}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNj j )}j ]j )}j j sbc.device_get_ethdev_addressasbuh1hhj!ubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj )}(hj h]h*}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!ubj9)}(hdevh]hdev}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net_device *netdevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j_c.device_get_ethdev_addressasbuh1hhjubj")}(h h]h }(hjӕhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnetdevh]hnetdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMmubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMmubah}(h]j۔ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMmhjݔhhubjg)}(hhh]jl)}(h,Set netdev's MAC address from a given deviceh]h.Set netdev’s MAC address from a given device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMmhjhhubah}(h]h ]h"]h$]h&]uh1jfhjݔhhhjhMmubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct device *dev`` Pointer to the device ``struct net_device *netdev`` Pointer to netdev to write the address to **Description** Wrapper around device_get_mac_address() which writes the address directly to netdev->dev_addr.h](jl)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMqhj4ubj)}(hhh](j)}(h-``struct device *dev`` Pointer to the device h](j)}(h``struct device *dev``h]j)}(hjYh]hstruct device *dev}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMnhjSubj)}(hhh]jl)}(hPointer to the deviceh]hPointer to the device}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMnhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMnhjPubj)}(hH``struct net_device *netdev`` Pointer to netdev to write the address to h](j)}(h``struct net_device *netdev``h]j)}(hjh]hstruct net_device *netdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMohjubj)}(hhh]jl)}(h)Pointer to netdev to write the address toh]h)Pointer to netdev to write the address to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjPubeh}(h]h ]h"]h$]h&]uh1jhj4ubjl)}(h**Description**h]j)}(hj͖h]h Description}(hjϖhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˖ubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMqhj4ubjl)}(h^Wrapper around device_get_mac_address() which writes the address directly to netdev->dev_addr.h]h^Wrapper around device_get_mac_address() which writes the address directly to netdev->dev_addr.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhR/var/lib/git/docbuild/linux/Documentation/networking/kapi:95: ./net/ethernet/eth.chMphj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_carrier_on (C function)c.netif_carrier_onhNtauh1hhjhhhNhNubh)}(hhh](j)}(h.void netif_carrier_on (struct net_device *dev)h]j )}(h-void netif_carrier_on(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMrubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMrubj3)}(hnetif_carrier_onh]j9)}(hnetif_carrier_onh]hnetif_carrier_on}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMrubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]j )}j j5sbc.netif_carrier_onasbuh1hhjKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjKubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hMrubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hMrubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMrhjhhubjg)}(hhh]jl)}(h set carrierh]h set carrier}(hjҗhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMrhjϗhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMrubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hy**Parameters** ``struct net_device *dev`` network device **Description** Device has detected acquisition of carrier.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMvhjubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMshj ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMshj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMshj ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjNh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMuhjubjl)}(h+Device has detected acquisition of carrier.h]h+Device has detected acquisition of carrier.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMthjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_carrier_off (C function)c.netif_carrier_offhNtauh1hhjhhhNhNubh)}(hhh](j)}(h/void netif_carrier_off (struct net_device *dev)h]j )}(h.void netif_carrier_off(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hnetif_carrier_offh]j9)}(hnetif_carrier_offh]hnetif_carrier_off}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjИhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj̘ubj")}(h h]h }(hjݘhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj̘ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.netif_carrier_offasbuh1hhj̘ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj̘ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj̘ubj9)}(hdevh]hdev}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj̘ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjȘubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h clear carrierh]h clear carrier}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjPhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjhNhNubj)}(hr**Parameters** ``struct net_device *dev`` network device **Description** Device has detected loss of carrier.h](jl)}(h**Parameters**h]j)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjoubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjoubjl)}(h**Description**h]j)}(hjϙh]h Description}(hjљhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͙ubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjoubjl)}(h$Device has detected loss of carrier.h]h$Device has detected loss of carrier.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_carrier_event (C function)c.netif_carrier_eventhNtauh1hhjhhhNhNubh)}(hhh](j)}(h1void netif_carrier_event (struct net_device *dev)h]j )}(h0void netif_carrier_event(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj"hMubj3)}(hnetif_carrier_eventh]j9)}(hnetif_carrier_eventh]hnetif_carrier_event}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj"hMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNj j )}j ]j )}j j7sbc.netif_carrier_eventasbuh1hhjMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjIubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj"hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj"hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj"hMhj hhubjg)}(hhh]jl)}(hreport carrier state eventh]hreport carrier state event}(hjԚhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjњhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` network device **Description** Device has detected a carrier event but the carrier state wasn't changed. Use in drivers when querying carrier state asynchronously, to avoid missing events (link flaps) if link recovers before it's queried.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjPh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjubjl)}(hDevice has detected a carrier event but the carrier state wasn't changed. Use in drivers when querying carrier state asynchronously, to avoid missing events (link flaps) if link recovers before it's queried.h]hDevice has detected a carrier event but the carrier state wasn’t changed. Use in drivers when querying carrier state asynchronously, to avoid missing events (link flaps) if link recovers before it’s queried.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhW/var/lib/git/docbuild/linux/Documentation/networking/kapi:98: ./net/sched/sch_generic.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%is_link_local_ether_addr (C function)c.is_link_local_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h.bool is_link_local_ether_addr (const u8 *addr)h]j )}(h-bool is_link_local_ether_addr(const u8 *addr)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKRubj3)}(his_link_local_ether_addrh]j9)}(his_link_local_ether_addrh]his_link_local_ether_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKRubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](j)}(hj h]hconst}(hjћhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj͛ubj")}(h h]h }(hjޛhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj͛ubh)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.is_link_local_ether_addrasbuh1hhj͛ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj͛ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj͛ubj9)}(haddrh]haddr}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj͛ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjɛubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKRubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKRubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKRhjhhubjg)}(hhh]jl)}(h1Determine if given Ethernet address is link-localh]h1Determine if given Ethernet address is link-local}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKRhjQhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if address is link local reserved addr (01:80:c2:00:00:0X) per IEEE 802.1Q 8.6.3 Frame filtering. **Description** Please note: addr must be aligned to u16.h](jl)}(h**Parameters**h]j)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKVhjpubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjh]hconst u8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKShjubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKShjubah}(h]h ]h"]h$]h&]uh1jhjpubjl)}(h **Return**h]j)}(hjМh]hReturn}(hjҜhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjΜubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKUhjpubjl)}(hftrue if address is link local reserved addr (01:80:c2:00:00:0X) per IEEE 802.1Q 8.6.3 Frame filtering.h]hftrue if address is link local reserved addr (01:80:c2:00:00:0X) per IEEE 802.1Q 8.6.3 Frame filtering.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKUhjpubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKXhjpubjl)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKWhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_zero_ether_addr (C function)c.is_zero_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h(bool is_zero_ether_addr (const u8 *addr)h]j )}(h'bool is_zero_ether_addr(const u8 *addr)h](jM )}(hjh]hbool}(hj<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKiubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhjIhKiubj3)}(his_zero_ether_addrh]j9)}(his_zero_ether_addrh]his_zero_ether_addr}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhjIhKiubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](j)}(hj h]hconst}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubh)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j^sbc.is_zero_ether_addrasbuh1hhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hjĝhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(haddrh]haddr}(hjѝhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubah}(h]h ]h"]h$]h&]jPjQuh1j hj8hhhjIhKiubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhjIhKiubah}(h]j/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjIhKihj1hhubjg)}(hhh]jl)}(h0Determine if give Ethernet address is all zeros.h]h0Determine if give Ethernet address is all zeros.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKihjhhubah}(h]h ]h"]h$]h&]uh1jfhj1hhhjIhKiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is all zeroes. **Description** Please note: addr must be aligned to u16.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKmhjubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hj<h]hconst u8 *addr}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKjhj6ubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhKjhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhKjhj3ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjwh]hReturn}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKlhjubjl)}(h"true if the address is all zeroes.h]h"true if the address is all zeroes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKlhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKnhjubjl)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKmhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$is_multicast_ether_addr (C function)c.is_multicast_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h-bool is_multicast_ether_addr (const u8 *addr)h]j )}(h,bool is_multicast_ether_addr(const u8 *addr)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjߞhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK|ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjߞhhhjhK|ubj3)}(his_multicast_ether_addrh]j9)}(his_multicast_ether_addrh]his_multicast_ether_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjߞhhhjhK|ubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNj j )}j ]j )}j jsbc.is_multicast_ether_addrasbuh1hhjubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddrh]haddr}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjߞhhhjhK|ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj۞hhhjhK|ubah}(h]j֞ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhK|hj؞hhubjg)}(hhh]jl)}(h1Determine if the Ethernet address is a multicast.h]h1Determine if the Ethernet address is a multicast.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK|hjhhubah}(h]h ]h"]h$]h&]uh1jfhj؞hhhjhK|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is a multicast address. By definition the broadcast address is also a multicast address.h](jl)}(h**Parameters**h]j)}(hjğh]h Parameters}(hjƟhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjŸubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjh]hconst u8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhK}hjݟubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK}hjubah}(h]h ]h"]h$]h&]uh1jhjݟubeh}(h]h ]h"]h$]h&]uh1jhjhK}hjڟubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(hltrue if the address is a multicast address. By definition the broadcast address is also a multicast address.h]hltrue if the address is a multicast address. By definition the broadcast address is also a multicast address.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h is_local_ether_addr (C function)c.is_local_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h)bool is_local_ether_addr (const u8 *addr)h]j )}(h(bool is_local_ether_addr(const u8 *addr)h](jM )}(hjh]hbool}(hjchhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_hhhjphKubj3)}(his_local_ether_addrh]j9)}(his_local_ether_addrh]his_local_ether_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj_hhhjphKubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.is_local_ether_addrasbuh1hhjubj")}(h h]h }(hjݠhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj_hhhjphKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj[hhhjphKubah}(h]jVah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjphKhjXhhubjg)}(hhh]jl)}(hEDetermine if the Ethernet address is locally-assigned one (IEEE 802).h]hEDetermine if the Ethernet address is locally-assigned one (IEEE 802).}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhjphKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhjhNhNubj)}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is a local address.h](jl)}(h**Parameters**h]j)}(hjDh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj>ubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjch]hconst u8 *addr}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj]ubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhKhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhKhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj>ubjl)}(h'true if the address is a local address.h]h'true if the address is a local address.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$is_broadcast_ether_addr (C function)c.is_broadcast_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h-bool is_broadcast_ether_addr (const u8 *addr)h]j )}(h,bool is_broadcast_ether_addr(const u8 *addr)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjߡhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjߡhhhjhKubj3)}(his_broadcast_ether_addrh]j9)}(his_broadcast_ether_addrh]his_broadcast_ether_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjߡhhhjhKubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNj j )}j ]j )}j jsbc.is_broadcast_ether_addrasbuh1hhjubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddrh]haddr}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjߡhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjۡhhhjhKubah}(h]j֡ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjءhhubjg)}(hhh]jl)}(h.Determine if the Ethernet address is broadcasth]h.Determine if the Ethernet address is broadcast}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjءhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is the broadcast address. **Description** Please note: addr must be aligned to u16.h](jl)}(h**Parameters**h]j)}(hjĢh]h Parameters}(hjƢhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj¢ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjh]hconst u8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjݢubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjݢubeh}(h]h ]h"]h$]h&]uh1jhjhKhjڢubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(h-true if the address is the broadcast address.h]h-true if the address is the broadcast address.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(h**Description**h]j)}(hjEh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"is_unicast_ether_addr (C function)c.is_unicast_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h+bool is_unicast_ether_addr (const u8 *addr)h]j )}(h*bool is_unicast_ether_addr(const u8 *addr)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(his_unicast_ether_addrh]j9)}(his_unicast_ether_addrh]his_unicast_ether_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](j)}(hj h]hconst}(hjƣhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj£ubj")}(h h]h }(hjӣhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj£ubh)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.is_unicast_ether_addrasbuh1hhj£ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj£ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj£ubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj£ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]j}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h,Determine if the Ethernet address is unicasth]h,Determine if the Ethernet address is unicast}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjFhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjhNhNubj)}(h**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Return** true if the address is a unicast address.h](jl)}(h**Parameters**h]j)}(hjkh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjeubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hjh]hconst u8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjeubjl)}(h **Return**h]j)}(hjŤh]hReturn}(hjǤhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjäubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjeubjl)}(h)true if the address is a unicast address.h]h)true if the address is a unicast address.}(hjۤhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h is_valid_ether_addr (C function)c.is_valid_ether_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h)bool is_valid_ether_addr (const u8 *addr)h]j )}(h(bool is_valid_ether_addr(const u8 *addr)h](jM )}(hjh]hbool}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(his_valid_ether_addrh]j9)}(his_valid_ether_addrh]his_valid_ether_addr}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h(const u8 *addr)h]j )}(hconst u8 *addrh](j)}(hj h]hconst}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubh)}(hhh]j9)}(hu8h]hu8}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNj j )}j ]j )}j j,sbc.is_valid_ether_addrasbuh1hhjBubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h0Determine if the given Ethernet address is validh]h0Determine if the given Ethernet address is valid}(hjɥhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjƥhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXC**Parameters** ``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Description** Check that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not a multicast address, and is not FF:FF:FF:FF:FF:FF. Please note: addr must be aligned to u16. **Return** true if the address is valid.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubj)}(hhh]j)}(hO``const u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr``h]j)}(hj h]hconst u8 *addr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjEh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(hyCheck that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not a multicast address, and is not FF:FF:FF:FF:FF:FF.h]hyCheck that the Ethernet address (MAC) is not 00:00:00:00:00:00, is not a multicast address, and is not FF:FF:FF:FF:FF:FF.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(h)Please note: addr must be aligned to u16.h]h)Please note: addr must be aligned to u16.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(h **Return**h]j)}(hj{h]hReturn}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(htrue if the address is valid.h]htrue if the address is valid.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_proto_is_802_3 (C function)c.eth_proto_is_802_3hNtauh1hhjhhhNhNubh)}(hhh](j)}(h&bool eth_proto_is_802_3 (__be16 proto)h]j )}(h%bool eth_proto_is_802_3(__be16 proto)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hjΦhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjͦhKubj3)}(heth_proto_is_802_3h]j9)}(heth_proto_is_802_3h]heth_proto_is_802_3}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjܦubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjͦhKubj )}(h(__be16 proto)h]j )}(h __be16 protoh](h)}(hhh]j9)}(h__be16h]h__be16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.eth_proto_is_802_3asbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hprotoh]hproto}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjͦhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjͦhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjͦhKhjhhubjg)}(hhh]jl)}(h3Determine if a given Ethertype/length is a protocolh]h3Determine if a given Ethertype/length is a protocol}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjThhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjͦhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1hhhhjhNhNubj)}(h**Parameters** ``__be16 proto`` Ethertype/length value to be tested **Description** Check that the value from the Ethertype/length field is a valid Ethertype. **Return** true if the valid is an 802.3 supported Ethertype.h](jl)}(h**Parameters**h]j)}(hjyh]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjsubj)}(hhh]j)}(h5``__be16 proto`` Ethertype/length value to be tested h](j)}(h``__be16 proto``h]j)}(hjh]h __be16 proto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubj)}(hhh]jl)}(h#Ethertype/length value to be testedh]h#Ethertype/length value to be tested}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjsubjl)}(h**Description**h]j)}(hjӧh]h Description}(hjէhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѧubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjsubjl)}(hJCheck that the value from the Ethertype/length field is a valid Ethertype.h]hJCheck that the value from the Ethertype/length field is a valid Ethertype.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjsubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjsubjl)}(h2true if the valid is an 802.3 supported Ethertype.h]h2true if the valid is an 802.3 supported Ethertype.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_random_addr (C function)c.eth_random_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(hvoid eth_random_addr (u8 *addr)h]j )}(hvoid eth_random_addr(u8 *addr)h](jM )}(hvoidh]hvoid}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;hhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;hhhjMhKubj3)}(heth_random_addrh]j9)}(heth_random_addrh]heth_random_addr}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;hhhjMhKubj )}(h (u8 *addr)h]j )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jbsbc.eth_random_addrasbuh1hhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjtubah}(h]h ]h"]h$]h&]jPjQuh1j hj;hhhjMhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhjMhKubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjMhKhj4hhubjg)}(hhh]jl)}(h2Generate software assigned random Ethernet addressh]h2Generate software assigned random Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhjMhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Description** Generate a random Ethernet address (MAC) that is not multicast and has the local assigned bit set.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubj)}(hhh]j)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(hj%h]hu8 *addr}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hKhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hKhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj`h]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubjl)}(hbGenerate a random Ethernet address (MAC) that is not multicast and has the local assigned bit set.h]hbGenerate a random Ethernet address (MAC) that is not multicast and has the local assigned bit set.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_broadcast_addr (C function)c.eth_broadcast_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(h"void eth_broadcast_addr (u8 *addr)h]j )}(h!void eth_broadcast_addr(u8 *addr)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(heth_broadcast_addrh]j9)}(heth_broadcast_addrh]heth_broadcast_addr}(hjƩhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj©ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h (u8 *addr)h]j )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jȩsbc.eth_broadcast_addrasbuh1hhjީubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjީubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjީubj9)}(haddrh]haddr}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjީubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjکubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(hAssign broadcast addressh]hAssign broadcast address}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjGhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1hhhhjhNhNubj)}(h**Parameters** ``u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Description** Assign the broadcast address to the given address array.h](jl)}(h**Parameters**h]j)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjfubj)}(hhh]j)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(hjh]hu8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjfubjl)}(h**Description**h]j)}(hjƪh]h Description}(hjȪhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĪubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjfubjl)}(h8Assign the broadcast address to the given address array.h]h8Assign the broadcast address to the given address array.}(hjܪhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhKhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_zero_addr (C function)c.eth_zero_addrhNtauh1hhjhhhNhNubh)}(hhh](j)}(hvoid eth_zero_addr (u8 *addr)h]j )}(hvoid eth_zero_addr(u8 *addr)h](jM )}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h eth_zero_addrh]j9)}(h eth_zero_addrh]h eth_zero_addr}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h (u8 *addr)h]j )}(hu8 *addrh](h)}(hhh]j9)}(hu8h]hu8}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNj j )}j ]j )}j j.sbc.eth_zero_addrasbuh1hhjDubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj )}(hj h]h*}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hAssign zero addressh]hAssign zero address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjȫjjȫjjjuh1hhhhjhNhNubj)}(h**Parameters** ``u8 *addr`` Pointer to a six-byte array containing the Ethernet address **Description** Assign the zero address to the given address array.h](jl)}(h**Parameters**h]j)}(hjҫh]h Parameters}(hjԫhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjЫubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj̫ubj)}(hhh]j)}(hI``u8 *addr`` Pointer to a six-byte array containing the Ethernet address h](j)}(h ``u8 *addr``h]j)}(hjh]hu8 *addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj̫ubjl)}(h**Description**h]j)}(hj,h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj̫ubjl)}(h3Assign the zero address to the given address array.h]h3Assign the zero address to the given address array.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj̫ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_random (C function)c.eth_hw_addr_randomhNtauh1hhjhhhNhNubh)}(hhh](j)}(h0void eth_hw_addr_random (struct net_device *dev)h]j )}(h/void eth_hw_addr_random(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmhhhjhM ubj3)}(heth_hw_addr_randomh]j9)}(heth_hw_addr_randomh]heth_hw_addr_random}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjmhhhjhM ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj̬hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjɬubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjάmodnameN classnameNj j )}j ]j )}j jsbc.eth_hw_addr_randomasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjmhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjihhhjhM ubah}(h]jdah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjfhhubjg)}(hhh]jl)}(h>Generate software assigned random Ethernet and set device flagh]h>Generate software assigned random Ethernet and set device flag}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hj.hhubah}(h]h ]h"]h$]h&]uh1jfhjfhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` pointer to net_device structure **Description** Generate a random Ethernet address (MAC) to be used by a net device and set addr_assign_type so the state can be read by sysfs and be used by userspace.h](jl)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjMubj)}(hhh]j)}(h;``struct net_device *dev`` pointer to net_device structure h](j)}(h``struct net_device *dev``h]j)}(hjrh]hstruct net_device *dev}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hjlubj)}(hhh]jl)}(hpointer to net_device structureh]hpointer to net_device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM hjiubah}(h]h ]h"]h$]h&]uh1jhjMubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjMubjl)}(hGenerate a random Ethernet address (MAC) to be used by a net device and set addr_assign_type so the state can be read by sysfs and be used by userspace.h]hGenerate a random Ethernet address (MAC) to be used by a net device and set addr_assign_type so the state can be read by sysfs and be used by userspace.}(hjíhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_crc (C function)c.eth_hw_addr_crchNtauh1hhjhhhNhNubh)}(hhh](j)}(h/u32 eth_hw_addr_crc (struct netdev_hw_addr *ha)h]j )}(h.u32 eth_hw_addr_crc(struct netdev_hw_addr *ha)h](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j eth_hw_addr_crcsbc.eth_hw_addr_crcasbuh1hhjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(heth_hw_addr_crch]j9)}(hjh]heth_hw_addr_crc}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct netdev_hw_addr *ha)h]j )}(hstruct netdev_hw_addr *hah](j)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubh)}(hhh]j9)}(hnetdev_hw_addrh]hnetdev_hw_addr}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNj j )}j ]jc.eth_hw_addr_crcasbuh1hhj@ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@ubj9)}(hhah]hha}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj<ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h!Calculate CRC from netdev_hw_addrh]h!Calculate CRC from netdev_hw_addr}(hjŮhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj®hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjݮjjݮjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct netdev_hw_addr *ha`` pointer to hardware address **Description** Calculate CRC from a hardware address as basis for filter hashes.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM!hjubj)}(hhh]j)}(h:``struct netdev_hw_addr *ha`` pointer to hardware address h](j)}(h``struct netdev_hw_addr *ha``h]j)}(hjh]hstruct netdev_hw_addr *ha}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jl)}(hpointer to hardware addressh]hpointer to hardware address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjAh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM hjubjl)}(hACalculate CRC from a hardware address as basis for filter hashes.h]hACalculate CRC from a hardware address as basis for filter hashes.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_addr_copy (C function)c.ether_addr_copyhNtauh1hhjhhhNhNubh)}(hhh](j)}(h-void ether_addr_copy (u8 *dst, const u8 *src)h]j )}(h,void ether_addr_copy(u8 *dst, const u8 *src)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM(ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM(ubj3)}(hether_addr_copyh]j9)}(hether_addr_copyh]hether_addr_copy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM(ubj )}(h(u8 *dst, const u8 *src)h](j )}(hu8 *dsth](h)}(hhh]j9)}(hu8h]hu8}(hjƯhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjïubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjȯmodnameN classnameNj j )}j ]j )}j jsbc.ether_addr_copyasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdsth]hdst}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h const u8 *srch](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]jc.ether_addr_copyasbuh1hhjubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsrch]hsrc}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM(ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj~hhhjhM(ubah}(h]jyah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM(hj{hhubjg)}(hhh]jl)}(hCopy an Ethernet addressh]hCopy an Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM(hjhhubah}(h]h ]h"]h$]h&]uh1jfhj{hhhjhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``u8 *dst`` Pointer to a six-byte array Ethernet address destination ``const u8 *src`` Pointer to a six-byte array Ethernet address source **Description** Please note: dst & src must both be aligned to u16.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM,hjubj)}(hhh](j)}(hE``u8 *dst`` Pointer to a six-byte array Ethernet address destination h](j)}(h ``u8 *dst``h]j)}(hjܰh]hu8 *dst}(hjްhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڰubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM)hjְubj)}(hhh]jl)}(h8Pointer to a six-byte array Ethernet address destinationh]h8Pointer to a six-byte array Ethernet address destination}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjְubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjӰubj)}(hF``const u8 *src`` Pointer to a six-byte array Ethernet address source h](j)}(h``const u8 *src``h]j)}(hjh]h const u8 *src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM*hjubj)}(hhh]jl)}(h3Pointer to a six-byte array Ethernet address sourceh]h3Pointer to a six-byte array Ethernet address source}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hM*hj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hM*hjӰubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjPh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM,hjubjl)}(h3Please note: dst & src must both be aligned to u16.h]h3Please note: dst & src must both be aligned to u16.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM+hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_set (C function)c.eth_hw_addr_sethNtauh1hhjhhhNhNubh)}(hhh](j)}(h=void eth_hw_addr_set (struct net_device *dev, const u8 *addr)h]j )}(hubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM>ubj3)}(heth_hw_addr_seth]j9)}(heth_hw_addr_seth]heth_hw_addr_set}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM>ubj )}(h((struct net_device *dev, const u8 *addr)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjұhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjαubj")}(h h]h }(hj߱hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjαubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.eth_hw_addr_setasbuh1hhjαubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjαubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjαubj9)}(hdevh]hdev}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjαubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjʱubj )}(hconst u8 *addrh](j)}(hj h]hconst}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubh)}(hhh]j9)}(hu8h]hu8}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNj j )}j ]j c.eth_hw_addr_setasbuh1hhj@ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@ubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjʱubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM>ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM>ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM>hjhhubjg)}(hhh]jl)}(h'Assign Ethernet address to a net_deviceh]h'Assign Ethernet address to a net_device}(hjŲhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM>hj²hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjݲjjݲjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` pointer to net_device structure ``const u8 *addr`` address to assign **Description** Assign given address to the net_device, addr_assign_type is not changed.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMBhjubj)}(hhh](j)}(h;``struct net_device *dev`` pointer to net_device structure h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM?hjubj)}(hhh]jl)}(hpointer to net_device structureh]hpointer to net_device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubj)}(h%``const u8 *addr`` address to assign h](j)}(h``const u8 *addr``h]j)}(hj?h]hconst u8 *addr}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM@hj9ubj)}(hhh]jl)}(haddress to assignh]haddress to assign}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThM@hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM@hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjzh]h Description}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMBhjubjl)}(hHAssign given address to the net_device, addr_assign_type is not changed.h]hHAssign given address to the net_device, addr_assign_type is not changed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMAhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h eth_hw_addr_inherit (C function)c.eth_hw_addr_inherithNtauh1hhjhhhNhNubh)}(hhh](j)}(hIvoid eth_hw_addr_inherit (struct net_device *dst, struct net_device *src)h]j )}(hHvoid eth_hw_addr_inherit(struct net_device *dst, struct net_device *src)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMJubj")}(h h]h }(hjγhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjͳhMJubj3)}(heth_hw_addr_inherith]j9)}(heth_hw_addr_inherith]heth_hw_addr_inherit}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjܳubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjͳhMJubj )}(h0(struct net_device *dst, struct net_device *src)h](j )}(hstruct net_device *dsth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.eth_hw_addr_inheritasbuh1hhjubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdsth]hdst}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct net_device *srch](j)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j6c.eth_hw_addr_inheritasbuh1hhjjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj9)}(hsrch]hsrc}(hjŴhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjͳhMJubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjͳhMJubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjͳhMJhjhhubjg)}(hhh]jl)}(h%Copy dev_addr from another net_deviceh]h%Copy dev_addr from another net_device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMJhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjͳhMJubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX!**Parameters** ``struct net_device *dst`` pointer to net_device to copy dev_addr to ``struct net_device *src`` pointer to net_device to copy dev_addr from **Description** Copy the Ethernet address from one net_device to another along with the address attributes (addr_assign_type).h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMNhj ubj)}(hhh](j)}(hE``struct net_device *dst`` pointer to net_device to copy dev_addr to h](j)}(h``struct net_device *dst``h]j)}(hj0h]hstruct net_device *dst}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMKhj*ubj)}(hhh]jl)}(h)pointer to net_device to copy dev_addr toh]h)pointer to net_device to copy dev_addr to}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMKhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMKhj'ubj)}(hG``struct net_device *src`` pointer to net_device to copy dev_addr from h](j)}(h``struct net_device *src``h]j)}(hjih]hstruct net_device *src}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMLhjcubj)}(hhh]jl)}(h+pointer to net_device to copy dev_addr fromh]h+pointer to net_device to copy dev_addr from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMLhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMLhj'ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMNhj ubjl)}(hnCopy the Ethernet address from one net_device to another along with the address attributes (addr_assign_type).h]hnCopy the Ethernet address from one net_device to another along with the address attributes (addr_assign_type).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hether_addr_equal (C function)c.ether_addr_equalhNtauh1hhjhhhNhNubh)}(hhh](j)}(h8bool ether_addr_equal (const u8 *addr1, const u8 *addr2)h]j )}(h7bool ether_addr_equal(const u8 *addr1, const u8 *addr2)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMYubj3)}(hether_addr_equalh]j9)}(hether_addr_equalh]hether_addr_equal}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMYubj )}(h"(const u8 *addr1, const u8 *addr2)h](j )}(hconst u8 *addr1h](j)}(hj h]hconst}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubh)}(hhh]j9)}(hu8h]hu8}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNj j )}j ]j )}j j sbc.ether_addr_equalasbuh1hhj!ubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj )}(hj h]h*}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!ubj9)}(haddr1h]haddr1}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst u8 *addr2h](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j_c.ether_addr_equalasbuh1hhjubj")}(h h]h }(hjӶhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddr2h]haddr2}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMYubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMYubah}(h]jܵah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMYhj޵hhubjg)}(hhh]jl)}(hCompare two Ethernet addressesh]hCompare two Ethernet addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMYhjhhubah}(h]h ]h"]h$]h&]uh1jfhj޵hhhjhMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhjhNhNubj)}(hX6**Parameters** ``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address **Description** Compare two Ethernet addresses, returns true if equal Please note: addr1 & addr2 must both be aligned to u16.h](jl)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM]hj4ubj)}(hhh](j)}(hP``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr1``h]j)}(hjYh]hconst u8 *addr1}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMZhjSubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMZhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMZhjPubj)}(hQ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address h](j)}(h``const u8 *addr2``h]j)}(hjh]hconst u8 *addr2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM[hjubj)}(hhh]jl)}(hbool ether_addr_equal_64bits(const u8 *addr1, const u8 *addr2)h](jM )}(hjh]hbool}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMqubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj.hMqubj3)}(hether_addr_equal_64bitsh]j9)}(hether_addr_equal_64bitsh]hether_addr_equal_64bits}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj.hMqubj )}(h"(const u8 *addr1, const u8 *addr2)h](j )}(hconst u8 *addr1h](j)}(hj h]hconst}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubh)}(hhh]j9)}(hu8h]hu8}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNj j )}j ]j )}j jCsbc.ether_addr_equal_64bitsasbuh1hhjYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(haddr1h]haddr1}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubj )}(hconst u8 *addr2h](j)}(hj h]hconst}(hjϸhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj˸ubj")}(h h]h }(hjܸhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj˸ubh)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.ether_addr_equal_64bitsasbuh1hhj˸ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj˸ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj˸ubj9)}(haddr2h]haddr2}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj˸ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj.hMqubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj.hMqubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.hMqhjhhubjg)}(hhh]jl)}(hCompare two Ethernet addressesh]hCompare two Ethernet addresses}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMqhjMhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj.hMqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const u8 *addr1`` Pointer to an array of 8 bytes ``const u8 *addr2`` Pointer to an other array of 8 bytes **Description** Compare two Ethernet addresses, returns true if equal, false otherwise. The function doesn't need any conditional branches and possibly uses word memory accesses on CPU allowing cheap unaligned memory reads. arrays = { byte1, byte2, byte3, byte4, byte5, byte6, pad1, pad2 } Please note that alignment of addr1 & addr2 are only guaranteed to be 16 bits.h](jl)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMuhjlubj)}(hhh](j)}(h3``const u8 *addr1`` Pointer to an array of 8 bytes h](j)}(h``const u8 *addr1``h]j)}(hjh]hconst u8 *addr1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMrhjubj)}(hhh]jl)}(hPointer to an array of 8 bytesh]hPointer to an array of 8 bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubj)}(h9``const u8 *addr2`` Pointer to an other array of 8 bytes h](j)}(h``const u8 *addr2``h]j)}(hjʹh]hconst u8 *addr2}(hj̹hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȹubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMshjĹubj)}(hhh]jl)}(h$Pointer to an other array of 8 bytesh]h$Pointer to an other array of 8 bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj߹hMshjubah}(h]h ]h"]h$]h&]uh1jhjĹubeh}(h]h ]h"]h$]h&]uh1jhj߹hMshjubeh}(h]h ]h"]h$]h&]uh1jhjlubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMuhjlubjl)}(hGCompare two Ethernet addresses, returns true if equal, false otherwise.h]hGCompare two Ethernet addresses, returns true if equal, false otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMthjlubjl)}(hThe function doesn't need any conditional branches and possibly uses word memory accesses on CPU allowing cheap unaligned memory reads. arrays = { byte1, byte2, byte3, byte4, byte5, byte6, pad1, pad2 }h]hThe function doesn’t need any conditional branches and possibly uses word memory accesses on CPU allowing cheap unaligned memory reads. arrays = { byte1, byte2, byte3, byte4, byte5, byte6, pad1, pad2 }}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMvhjlubjl)}(hNPlease note that alignment of addr1 & addr2 are only guaranteed to be 16 bits.h]hNPlease note that alignment of addr1 & addr2 are only guaranteed to be 16 bits.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMzhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'ether_addr_equal_unaligned (C function)c.ether_addr_equal_unalignedhNtauh1hhjhhhNhNubh)}(hhh](j)}(hBbool ether_addr_equal_unaligned (const u8 *addr1, const u8 *addr2)h]j )}(hAbool ether_addr_equal_unaligned(const u8 *addr1, const u8 *addr2)h](jM )}(hjh]hbool}(hjhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdhhhjuhMubj3)}(hether_addr_equal_unalignedh]j9)}(hether_addr_equal_unalignedh]hether_addr_equal_unaligned}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjdhhhjuhMubj )}(h"(const u8 *addr1, const u8 *addr2)h](j )}(hconst u8 *addr1h](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hjºhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjĺmodnameN classnameNj j )}j ]j )}j jsbc.ether_addr_equal_unalignedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddr1h]haddr1}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst u8 *addr2h](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNj j )}j ]j޺c.ether_addr_equal_unalignedasbuh1hhjubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(haddr2h]haddr2}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjdhhhjuhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`hhhjuhMubah}(h]j[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjuhMhj]hhubjg)}(hhh]jl)}(h.Compare two not u16 aligned Ethernet addressesh]h.Compare two not u16 aligned Ethernet addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj]hhhjuhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXF**Parameters** ``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address **Description** Compare two Ethernet addresses, returns true if equal Please note: Use only when any Ethernet address may not be u16 aligned.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh](j)}(hP``const u8 *addr1`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 *addr1``h]j)}(hjػh]hconst u8 *addr1}(hjڻhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjֻubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjһubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjһubeh}(h]h ]h"]h$]h&]uh1jhjhMhjϻubj)}(hQ``const u8 *addr2`` Pointer other six-byte array containing the Ethernet address h](j)}(h``const u8 *addr2``h]j)}(hjh]hconst u8 *addr2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhj ubj)}(hhh]jl)}(hhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubj)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNj j )}j ]j )}j jsbc.is_etherdev_addrasbuh1hhj-ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj-ubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubj )}(hconst u8 addr[6 + 2]h](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.is_etherdev_addrasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubj )}(h[h]h[}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubhdesc_sig_literal_number)}(h6h]h6}(hj&hhhNhNubah}(h]h ]mah"]h$]h&]uh1j$hjubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubhdesc_sig_operator)}(h+h]h+}(hjEhhhNhNubah}(h]h ]oah"]h$]h&]uh1jChjubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj%)}(h2h]h2}(hjbhhhNhNubah}(h]h ]j1ah"]h$]h&]uh1j$hjubj )}(h]h]h]}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h5Tell if given Ethernet address belongs to the device.h]h5Tell if given Ethernet address belongs to the device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const struct net_device *dev`` Pointer to a device structure ``const u8 addr[6 + 2]`` Pointer to a six-byte array containing the Ethernet address **Description** Compare passed address with all addresses of the device. Return true if the address if one of the device addresses. Note that this function calls ether_addr_equal_64bits() so take care of the right padding.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh](j)}(h?``const struct net_device *dev`` Pointer to a device structure h](j)}(h ``const struct net_device *dev``h]j)}(hjh]hconst struct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jl)}(hPointer to a device structureh]hPointer to a device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hU``const u8 addr[6 + 2]`` Pointer to a six-byte array containing the Ethernet address h](j)}(h``const u8 addr[6 + 2]``h]j)}(hjh]hconst u8 addr[6 + 2]}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jl)}(h;Pointer to a six-byte array containing the Ethernet addressh]h;Pointer to a six-byte array containing the Ethernet address}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjOh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjl)}(hsCompare passed address with all addresses of the device. Return true if the address if one of the device addresses.h]hsCompare passed address with all addresses of the device. Return true if the address if one of the device addresses.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjl)}(hZNote that this function calls ether_addr_equal_64bits() so take care of the right padding.h]hZNote that this function calls ether_addr_equal_64bits() so take care of the right padding.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!compare_ether_header (C function)c.compare_ether_headerhNtauh1hhjhhhNhNubh)}(hhh](j)}(hAunsigned long compare_ether_header (const void *a, const void *b)h]j )}(h@unsigned long compare_ether_header(const void *a, const void *b)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM.ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM.ubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhM.ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM.ubj3)}(hcompare_ether_headerh]j9)}(hcompare_ether_headerh]hcompare_ether_header}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM.ubj )}(h(const void *a, const void *b)h](j )}(h const void *ah](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjjNh]ha}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h const void *bh](j)}(hj h]hconst}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubjM )}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjTubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hj~h]hb}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM.ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM.hjhhubjg)}(hhh]jl)}(hCompare two Ethernet headersh]hCompare two Ethernet headers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM.hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const void *a`` Pointer to Ethernet header ``const void *b`` Pointer to Ethernet header **Description** Compare two Ethernet headers, returns 0 if equal. This assumes that the network header (i.e., IP header) is 4-byte aligned OR the platform can handle unaligned access. This is the case for all packets coming into netif_receive_skb or similar entry points.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM2hjubj)}(hhh](j)}(h-``const void *a`` Pointer to Ethernet header h](j)}(h``const void *a``h]j)}(hjh]h const void *a}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM/hjubj)}(hhh]jl)}(hPointer to Ethernet headerh]hPointer to Ethernet header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubj)}(h-``const void *b`` Pointer to Ethernet header h](j)}(h``const void *b``h]j)}(hj?h]h const void *b}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM0hj9ubj)}(hhh]jl)}(hPointer to Ethernet headerh]hPointer to Ethernet header}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThM0hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM0hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjzh]h Description}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM2hjubjl)}(hXCompare two Ethernet headers, returns 0 if equal. This assumes that the network header (i.e., IP header) is 4-byte aligned OR the platform can handle unaligned access. This is the case for all packets coming into netif_receive_skb or similar entry points.h]hXCompare two Ethernet headers, returns 0 if equal. This assumes that the network header (i.e., IP header) is 4-byte aligned OR the platform can handle unaligned access. This is the case for all packets coming into netif_receive_skb or similar entry points.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhM1hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_hw_addr_gen (C function)c.eth_hw_addr_genhNtauh1hhjhhhNhNubh)}(hhh](j)}(hSvoid eth_hw_addr_gen (struct net_device *dev, const u8 *base_addr, unsigned int id)h]j )}(hRvoid eth_hw_addr_gen(struct net_device *dev, const u8 *base_addr, unsigned int id)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMSubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMSubj3)}(heth_hw_addr_genh]j9)}(heth_hw_addr_genh]heth_hw_addr_gen}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMSubj )}(h>(struct net_device *dev, const u8 *base_addr, unsigned int id)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.eth_hw_addr_genasbuh1hhjubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst u8 *base_addrh](j)}(hj h]hconst}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubh)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j6c.eth_hw_addr_genasbuh1hhjjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj9)}(h base_addrh]h base_addr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int idh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hidh]hid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMSubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMSubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMShjhhubjg)}(hhh]jl)}(h.Generate and assign Ethernet address to a porth]h.Generate and assign Ethernet address to a port}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMShj=hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMSubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` pointer to port's net_device structure ``const u8 *base_addr`` base Ethernet address ``unsigned int id`` offset to add to the base address **Description** Generate a MAC address using a base address and an offset and assign it to a net_device. Commonly used by switch drivers which need to compute addresses for all their ports. addr_assign_type is not changed.h](jl)}(h**Parameters**h]j)}(hjbh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMWhj\ubj)}(hhh](j)}(hB``struct net_device *dev`` pointer to port's net_device structure h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMThj{ubj)}(hhh]jl)}(h&pointer to port's net_device structureh]h(pointer to port’s net_device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMThjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMThjxubj)}(h.``const u8 *base_addr`` base Ethernet address h](j)}(h``const u8 *base_addr``h]j)}(hjh]hconst u8 *base_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMUhjubj)}(hhh]jl)}(hbase Ethernet addressh]hbase Ethernet address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjxubj)}(h6``unsigned int id`` offset to add to the base address h](j)}(h``unsigned int id``h]j)}(hjh]hunsigned int id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMVhjubj)}(hhh]jl)}(h!offset to add to the base addressh]h!offset to add to the base address}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMVhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjxubeh}(h]h ]h"]h$]h&]uh1jhj\ubjl)}(h**Description**h]j)}(hj.h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMXhj\ubjl)}(hGenerate a MAC address using a base address and an offset and assign it to a net_device. Commonly used by switch drivers which need to compute addresses for all their ports. addr_assign_type is not changed.h]hGenerate a MAC address using a base address and an offset and assign it to a net_device. Commonly used by switch drivers which need to compute addresses for all their ports. addr_assign_type is not changed.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMWhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_skb_pkt_type (C function)c.eth_skb_pkt_typehNtauh1hhjhhhNhNubh)}(hhh](j)}(hIvoid eth_skb_pkt_type (struct sk_buff *skb, const struct net_device *dev)h]j )}(hHvoid eth_skb_pkt_type(struct sk_buff *skb, const struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjohhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjohhhjhMhubj3)}(heth_skb_pkt_typeh]j9)}(heth_skb_pkt_typeh]heth_skb_pkt_type}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjohhhjhMhubj )}(h3(struct sk_buff *skb, const struct net_device *dev)h](j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.eth_skb_pkt_typeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst struct net_device *devh](j)}(hj h]hconst}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNj j )}j ]jc.eth_skb_pkt_typeasbuh1hhjubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjohhhjhMhubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjkhhhjhMhubah}(h]jfah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhhjhhhubjg)}(hhh]jl)}(h8Assign packet type if destination address does not matchh]h8Assign packet type if destination address does not match}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhhjhMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXQ**Parameters** ``struct sk_buff *skb`` Assigned a packet type if address does not match **dev** address ``const struct net_device *dev`` Network device used to compare packet address against **Description** If the destination MAC address of the packet does not match the network device address, assign an appropriate packet type.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMlhjubj)}(hhh](j)}(hY``struct sk_buff *skb`` Assigned a packet type if address does not match **dev** address h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMihjubj)}(hhh]jl)}(h@Assigned a packet type if address does not match **dev** addressh](h1Assigned a packet type if address does not match }(hjhhhNhNubj)}(h**dev**h]hdev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh address}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMihjubj)}(hW``const struct net_device *dev`` Network device used to compare packet address against h](j)}(h ``const struct net_device *dev``h]j)}(hjJh]hconst struct net_device *dev}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMjhjDubj)}(hhh]jl)}(h5Network device used to compare packet address againsth]h5Network device used to compare packet address against}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj_hMjhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMjhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMlhjubjl)}(hzIf the destination MAC address of the packet does not match the network device address, assign an appropriate packet type.h]hzIf the destination MAC address of the packet does not match the network device address, assign an appropriate packet type.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMkhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heth_skb_pad (C function) c.eth_skb_padhNtauh1hhjhhhNhNubh)}(hhh](j)}(h%int eth_skb_pad (struct sk_buff *skb)h]j )}(h$int eth_skb_pad(struct sk_buff *skb)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h eth_skb_padh]j9)}(h eth_skb_padh]h eth_skb_pad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct sk_buff *skb)h]j )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]j )}j jsb c.eth_skb_padasbuh1hhjubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hskbh]hskb}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h9Pad buffer to minimum number of octets for Ethernet frameh]h9Pad buffer to minimum number of octets for Ethernet frame}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct sk_buff *skb`` Buffer to pad **Description** An Ethernet frame should have a minimum size of 60 bytes. This function takes short frames and pads them with zeros up to the 60 byte limit.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]j)}(h&``struct sk_buff *skb`` Buffer to pad h](j)}(h``struct sk_buff *skb``h]j)}(hjh]hstruct sk_buff *skb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubj)}(hhh]jl)}(h Buffer to padh]h Buffer to pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubjl)}(hAn Ethernet frame should have a minimum size of 60 bytes. This function takes short frames and pads them with zeros up to the 60 byte limit.h]hAn Ethernet frame should have a minimum size of 60 bytes. This function takes short frames and pads them with zeros up to the 60 byte limit.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh\/var/lib/git/docbuild/linux/Documentation/networking/kapi:101: ./include/linux/etherdevice.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgro_node (C struct) c.gro_nodehNtauh1hhjhhhNhNubh)}(hhh](j)}(hgro_nodeh]j )}(hstruct gro_nodeh](j)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhKubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGhhhjXhKubj3)}(hgro_nodeh]j9)}(hjEh]hgro_node}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjGhhhjXhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjChhhjXhKubah}(h]j>ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXhKhj@hhubjg)}(hhh]jl)}(h,structure to support Generic Receive Offloadh]h,structure to support Generic Receive Offload}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMahjhhubah}(h]h ]h"]h$]h&]uh1jfhj@hhhjXhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX"**Definition**:: struct gro_node { unsigned long bitmask; struct gro_list hash[GRO_HASH_BUCKETS]; struct list_head rx_list; u32 rx_count; u32 cached_napi_id; }; **Members** ``bitmask`` bitmask to indicate used buckets in **hash** ``hash`` hashtable of pending aggregated skbs, separated by flows ``rx_list`` list of pending ``GRO_NORMAL`` skbs ``rx_count`` cached current length of **rx_list** ``cached_napi_id`` napi_struct::napi_id cached for hotpath, 0 for standaloneh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjubj)}(hstruct gro_node { unsigned long bitmask; struct gro_list hash[GRO_HASH_BUCKETS]; struct list_head rx_list; u32 rx_count; u32 cached_napi_id; };h]hstruct gro_node { unsigned long bitmask; struct gro_list hash[GRO_HASH_BUCKETS]; struct list_head rx_list; u32 rx_count; u32 cached_napi_id; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMghjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMohjubj)}(hhh](j)}(h9``bitmask`` bitmask to indicate used buckets in **hash** h](j)}(h ``bitmask``h]j)}(hjh]hbitmask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchjubj)}(hhh]jl)}(h,bitmask to indicate used buckets in **hash**h](h$bitmask to indicate used buckets in }(hjhhhNhNubj)}(h**hash**h]hhash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjubj)}(hB``hash`` hashtable of pending aggregated skbs, separated by flows h](j)}(h``hash``h]j)}(hjAh]hhash}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMdhj;ubj)}(hhh]jl)}(h8hashtable of pending aggregated skbs, separated by flowsh]h8hashtable of pending aggregated skbs, separated by flows}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMdhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMdhjubj)}(h0``rx_list`` list of pending ``GRO_NORMAL`` skbs h](j)}(h ``rx_list``h]j)}(hjzh]hrx_list}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjtubj)}(hhh]jl)}(h#list of pending ``GRO_NORMAL`` skbsh](hlist of pending }(hjhhhNhNubj)}(h``GRO_NORMAL``h]h GRO_NORMAL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh skbs}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMehjubj)}(h2``rx_count`` cached current length of **rx_list** h](j)}(h ``rx_count``h]j)}(hjh]hrx_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMfhjubj)}(hhh]jl)}(h$cached current length of **rx_list**h](hcached current length of }(hjhhhNhNubj)}(h **rx_list**h]hrx_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMfhjubj)}(hL``cached_napi_id`` napi_struct::napi_id cached for hotpath, 0 for standaloneh](j)}(h``cached_napi_id``h]j)}(hj h]hcached_napi_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMfhjubj)}(hhh]jl)}(h9napi_struct::napi_id cached for hotpath, 0 for standaloneh]h9napi_struct::napi_id cached for hotpath, 0 for standalone}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMghj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMfhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_is_scheduled (C function)c.napi_is_scheduledhNtauh1hhjhhhNhNubh)}(hhh](j)}(h.bool napi_is_scheduled (struct napi_struct *n)h]j )}(h-bool napi_is_scheduled(struct napi_struct *n)h](jM )}(hjh]hbool}(hjfhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbhhhjshMubj3)}(hnapi_is_scheduledh]j9)}(hnapi_is_scheduledh]hnapi_is_scheduled}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbhhhjshMubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.napi_is_scheduledasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjbhhhjshMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^hhhjshMubah}(h]jYah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjshMhj[hhubjg)}(hhh]jl)}(htest if NAPI is scheduledh]htest if NAPI is scheduled}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj!hhubah}(h]h ]h"]h$]h&]uh1jfhj[hhhjshMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjhNhNubj)}(hX?**Parameters** ``struct napi_struct *n`` NAPI context **Description** This check is "best-effort". With no locking implemented, a NAPI can be scheduled or terminate right after this check and produce not precise results. NAPI_STATE_SCHED is an internal state, napi_is_scheduled should not be used normally and napi_schedule should be used instead. Use only if the driver really needs to check if a NAPI is scheduled for example in the context of delayed timer that can be skipped if a NAPI is already scheduled. **Return** True if NAPI is scheduled, False otherwise.h](jl)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@ubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjeh]hstruct napi_struct *n}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj_ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@ubjl)}(hThis check is "best-effort". With no locking implemented, a NAPI can be scheduled or terminate right after this check and produce not precise results.h]hThis check is “best-effort”. With no locking implemented, a NAPI can be scheduled or terminate right after this check and produce not precise results.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@ubjl)}(h~NAPI_STATE_SCHED is an internal state, napi_is_scheduled should not be used normally and napi_schedule should be used instead.h]h~NAPI_STATE_SCHED is an internal state, napi_is_scheduled should not be used normally and napi_schedule should be used instead.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@ubjl)}(hUse only if the driver really needs to check if a NAPI is scheduled for example in the context of delayed timer that can be skipped if a NAPI is already scheduled.h]hUse only if the driver really needs to check if a NAPI is scheduled for example in the context of delayed timer that can be skipped if a NAPI is already scheduled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@ubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@ubjl)}(h+True if NAPI is scheduled, False otherwise.h]h+True if NAPI is scheduled, False otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_schedule (C function)c.napi_schedulehNtauh1hhjhhhNhNubh)}(hhh](j)}(h*bool napi_schedule (struct napi_struct *n)h]j )}(h)bool napi_schedule(struct napi_struct *n)h](jM )}(hjh]hbool}(hj*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM'ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&hhhj7hM'ubj3)}(h napi_scheduleh]j9)}(h napi_scheduleh]h napi_schedule}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&hhhj7hM'ubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jLsbc.napi_scheduleasbuh1hhjbubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj^ubah}(h]h ]h"]h$]h&]jPjQuh1j hj&hhhj7hM'ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj"hhhj7hM'ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj7hM'hjhhubjg)}(hhh]jl)}(hschedule NAPI pollh]hschedule NAPI poll}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM'hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj7hM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX#**Parameters** ``struct napi_struct *n`` NAPI context **Description** Schedule NAPI poll routine to be called if it is not already running. **Return** true if we schedule a NAPI or false if not. Refer to napi_schedule_prep() for additional reason on why a NAPI might not be scheduled.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM+hjubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hj)h]hstruct napi_struct *n}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM(hj#ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hM(hj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hM(hj ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjdh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM*hjubjl)}(hESchedule NAPI poll routine to be called if it is not already running.h]hESchedule NAPI poll routine to be called if it is not already running.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM)hjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM,hjubjl)}(htrue if we schedule a NAPI or false if not. Refer to napi_schedule_prep() for additional reason on why a NAPI might not be scheduled.h]htrue if we schedule a NAPI or false if not. Refer to napi_schedule_prep() for additional reason on why a NAPI might not be scheduled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM,hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!napi_schedule_irqoff (C function)c.napi_schedule_irqoffhNtauh1hhjhhhNhNubh)}(hhh](j)}(h1void napi_schedule_irqoff (struct napi_struct *n)h]j )}(h0void napi_schedule_irqoff(struct napi_struct *n)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM;ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM;ubj3)}(hnapi_schedule_irqoffh]j9)}(hnapi_schedule_irqoffh]hnapi_schedule_irqoff}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM;ubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNj j )}j ]j )}j jsbc.napi_schedule_irqoffasbuh1hhj ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hjDh]hn}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM;ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM;ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM;hjhhubjg)}(hhh]jl)}(hschedule NAPI pollh]hschedule NAPI poll}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM;hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM;ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct napi_struct *n`` NAPI context **Description** Variant of napi_schedule(), assuming hard irqs are masked.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM?hjubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM<hjubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM>hjubjl)}(h:Variant of napi_schedule(), assuming hard irqs are masked.h]h:Variant of napi_schedule(), assuming hard irqs are masked.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM=hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_complete_done (C function)c.napi_complete_donehNtauh1hhjhhhNhNubh)}(hhh](j)}(h>bool napi_complete_done (struct napi_struct *n, int work_done)h]j )}(h=bool napi_complete_done(struct napi_struct *n, int work_done)h](jM )}(hjh]hbool}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMGubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhj]hMGubj3)}(hnapi_complete_doneh]j9)}(hnapi_complete_doneh]hnapi_complete_done}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjLhhhj]hMGubj )}(h&(struct napi_struct *n, int work_done)h](j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jrsbc.napi_complete_doneasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int work_doneh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h work_doneh]h work_done}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjLhhhj]hMGubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHhhhj]hMGubah}(h]jCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hMGhjEhhubjg)}(hhh]jl)}(hNAPI processing completeh]hNAPI processing complete}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMGhj@hhubah}(h]h ]h"]h$]h&]uh1jfhjEhhhj]hMGubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhjhNhNubj)}(hX@**Parameters** ``struct napi_struct *n`` NAPI context ``int work_done`` number of packets processed **Description** Mark NAPI processing as complete. Should only be called if poll budget has not been completely consumed. Prefer over napi_complete(). **Return** false if device should avoid rearming interrupts.h](jl)}(h**Parameters**h]j)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMKhj_ubj)}(hhh](j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMHhj~ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMHhj{ubj)}(h.``int work_done`` number of packets processed h](j)}(h``int work_done``h]j)}(hjh]h int work_done}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMIhjubj)}(hhh]jl)}(hnumber of packets processedh]hnumber of packets processed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMIhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMIhj{ubeh}(h]h ]h"]h$]h&]uh1jhj_ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMKhj_ubjl)}(hMark NAPI processing as complete. Should only be called if poll budget has not been completely consumed. Prefer over napi_complete().h]hMark NAPI processing as complete. Should only be called if poll budget has not been completely consumed. Prefer over napi_complete().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMJhj_ubjl)}(h **Return**h]j)}(hjh]hReturn}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMNhj_ubjl)}(h1false if device should avoid rearming interrupts.h]h1false if device should avoid rearming interrupts.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMNhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnapi_synchronize (C function)c.napi_synchronizehNtauh1hhjhhhNhNubh)}(hhh](j)}(h3void napi_synchronize (const struct napi_struct *n)h]j )}(h2void napi_synchronize(const struct napi_struct *n)h](jM )}(hvoidh]hvoid}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`hhhjrhMbubj3)}(hnapi_synchronizeh]j9)}(hnapi_synchronizeh]hnapi_synchronize}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`hhhjrhMbubj )}(h(const struct napi_struct *n)h]j )}(hconst struct napi_struct *nh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.napi_synchronizeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj`hhhjrhMbubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj\hhhjrhMbubah}(h]jWah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjrhMbhjYhhubjg)}(hhh]jl)}(hwait until NAPI is not runningh]hwait until NAPI is not running}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhj;hhubah}(h]h ]h"]h$]h&]uh1jfhjYhhhjrhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const struct napi_struct *n`` NAPI context **Description** Wait until NAPI is done being scheduled on this context. Waits till any outstanding processing completes but does not disable future activations.h](jl)}(h**Parameters**h]j)}(hj`h]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMfhjZubj)}(hhh]j)}(h-``const struct napi_struct *n`` NAPI context h](j)}(h``const struct napi_struct *n``h]j)}(hjh]hconst struct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchjyubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMchjvubah}(h]h ]h"]h$]h&]uh1jhjZubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjZubjl)}(hWait until NAPI is done being scheduled on this context. Waits till any outstanding processing completes but does not disable future activations.h]hWait until NAPI is done being scheduled on this context. Waits till any outstanding processing completes but does not disable future activations.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMdhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*napi_if_scheduled_mark_missed (C function)c.napi_if_scheduled_mark_missedhNtauh1hhjhhhNhNubh)}(hhh](j)}(h:bool napi_if_scheduled_mark_missed (struct napi_struct *n)h]j )}(h9bool napi_if_scheduled_mark_missed(struct napi_struct *n)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMsubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMsubj3)}(hnapi_if_scheduled_mark_missedh]j9)}(hnapi_if_scheduled_mark_missedh]hnapi_if_scheduled_mark_missed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMsubj )}(h(struct napi_struct *n)h]j )}(hstruct napi_struct *nh](j)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNj j )}j ]j )}j j!sbc.napi_if_scheduled_mark_missedasbuh1hhj7ubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj7ubj9)}(hjDh]hn}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hMsubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj hMsubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMshjhhubjg)}(hhh]jl)}(h.if napi is running, set the NAPIF_STATE_MISSEDh]h.if napi is running, set the NAPIF_STATE_MISSED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMshjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMsubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct napi_struct *n`` NAPI context **Description** If napi is running, set the NAPIF_STATE_MISSED, and return true if NAPI is scheduled.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMwhjubj)}(hhh]j)}(h'``struct napi_struct *n`` NAPI context h](j)}(h``struct napi_struct *n``h]j)}(hjh]hstruct napi_struct *n}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhjubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj9h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMwhjubjl)}(hUIf napi is running, set the NAPIF_STATE_MISSED, and return true if NAPI is scheduled.h]hUIf napi is running, set the NAPIF_STATE_MISSED, and return true if NAPI is scheduled.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_priv_flags (C enum)c.netdev_priv_flagshNtauh1hhjhhhNhNubh)}(hhh](j)}(hnetdev_priv_flagsh]j )}(henum netdev_priv_flagsh](j)}(hjh]henum}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM|ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzhhhjhM|ubj3)}(hnetdev_priv_flagsh]j9)}(hjxh]hnetdev_priv_flags}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjzhhhjhM|ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjvhhhjhM|ubah}(h]jqah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM|hjshhubjg)}(hhh]jl)}(h3:c:type:`struct net_device ` priv_flagsh](h)}(h(:c:type:`struct net_device `h]j)}(hjh]hstruct net_device}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]j )}j jxsbc.netdev_priv_flagsasbj net_deviceuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhKhjubh priv_flags}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjshhhjhM|ubeh}(h]h ](jenumeh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Constants** ``IFF_802_1Q_VLAN`` 802.1Q VLAN device ``IFF_EBRIDGE`` Ethernet bridging device ``IFF_BONDING`` bonding master or slave ``IFF_ISATAP`` ISATAP interface (RFC4214) ``IFF_WAN_HDLC`` WAN HDLC device ``IFF_XMIT_DST_RELEASE`` dev_hard_start_xmit() is allowed to release skb->dst ``IFF_DONT_BRIDGE`` disallow bridging this ether dev ``IFF_DISABLE_NETPOLL`` disable netpoll at run-time ``IFF_MACVLAN_PORT`` device used as macvlan port ``IFF_BRIDGE_PORT`` device used as bridge port ``IFF_OVS_DATAPATH`` device used as Open vSwitch datapath port ``IFF_TX_SKB_SHARING`` The interface supports sharing skbs on transmit ``IFF_UNICAST_FLT`` Supports unicast filtering ``IFF_TEAM_PORT`` device used as team port ``IFF_SUPP_NOFCS`` device supports sending custom FCS ``IFF_LIVE_ADDR_CHANGE`` device supports hardware address change when it's running ``IFF_MACVLAN`` Macvlan device ``IFF_XMIT_DST_RELEASE_PERM`` IFF_XMIT_DST_RELEASE not taking into account underlying stacked devices ``IFF_L3MDEV_MASTER`` device is an L3 master device ``IFF_NO_QUEUE`` device can run without qdisc attached ``IFF_OPENVSWITCH`` device is a Open vSwitch master ``IFF_L3MDEV_SLAVE`` device is enslaved to an L3 master device ``IFF_TEAM`` device is a team device ``IFF_PHONY_HEADROOM`` the headroom value is controlled by an external entity (i.e. the master device for bridged veth) ``IFF_MACSEC`` device is a MACsec device ``IFF_NO_RX_HANDLER`` device doesn't support the rx_handler hook ``IFF_FAILOVER`` device is a failover master device ``IFF_FAILOVER_SLAVE`` device is lower dev of a failover master device ``IFF_L3MDEV_RX_HANDLER`` only invoke the rx handler of L3 master device ``IFF_NO_ADDRCONF`` prevent ipv6 addrconf ``IFF_TX_SKB_NO_LINEAR`` device/driver is capable of xmitting frames with skb_headlen(skb) == 0 (data starts from frag0)h](jl)}(h **Constants**h]j)}(hj h]h Constants}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh](j)}(h'``IFF_802_1Q_VLAN`` 802.1Q VLAN device h](j)}(h``IFF_802_1Q_VLAN``h]j)}(hj(h]hIFF_802_1Q_VLAN}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj"ubj)}(hhh]jl)}(h802.1Q VLAN deviceh]h802.1Q VLAN device}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubj)}(h)``IFF_EBRIDGE`` Ethernet bridging device h](j)}(h``IFF_EBRIDGE``h]j)}(hjah]h IFF_EBRIDGE}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj[ubj)}(hhh]jl)}(hEthernet bridging deviceh]hEthernet bridging device}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjubj)}(h(``IFF_BONDING`` bonding master or slave h](j)}(h``IFF_BONDING``h]j)}(hjh]h IFF_BONDING}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hbonding master or slaveh]hbonding master or slave}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``IFF_ISATAP`` ISATAP interface (RFC4214) h](j)}(h``IFF_ISATAP``h]j)}(hjh]h IFF_ISATAP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hISATAP interface (RFC4214)h]hISATAP interface (RFC4214)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``IFF_WAN_HDLC`` WAN HDLC device h](j)}(h``IFF_WAN_HDLC``h]j)}(hj h]h IFF_WAN_HDLC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hWAN HDLC deviceh]hWAN HDLC device}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubj)}(hN``IFF_XMIT_DST_RELEASE`` dev_hard_start_xmit() is allowed to release skb->dst h](j)}(h``IFF_XMIT_DST_RELEASE``h]j)}(hjEh]hIFF_XMIT_DST_RELEASE}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?ubj)}(hhh]jl)}(h4dev_hard_start_xmit() is allowed to release skb->dsth]h4dev_hard_start_xmit() is allowed to release skb->dst}(J hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjubj)}(h5``IFF_DONT_BRIDGE`` disallow bridging this ether dev h](j)}(h``IFF_DONT_BRIDGE``h]j)}(hjh]hIFF_DONT_BRIDGE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjyubj)}(hhh]jl)}(h disallow bridging this ether devh]h disallow bridging this ether dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``IFF_DISABLE_NETPOLL`` disable netpoll at run-time h](j)}(h``IFF_DISABLE_NETPOLL``h]j)}(hjh]hIFF_DISABLE_NETPOLL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hdisable netpoll at run-timeh]hdisable netpoll at run-time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``IFF_MACVLAN_PORT`` device used as macvlan port h](j)}(h``IFF_MACVLAN_PORT``h]j)}(hjh]hIFF_MACVLAN_PORT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hdevice used as macvlan porth]hdevice used as macvlan port}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``IFF_BRIDGE_PORT`` device used as bridge port h](j)}(h``IFF_BRIDGE_PORT``h]j)}(hj*h]hIFF_BRIDGE_PORT}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj$ubj)}(hhh]jl)}(hdevice used as bridge porth]hdevice used as bridge port}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhjubj)}(h?``IFF_OVS_DATAPATH`` device used as Open vSwitch datapath port h](j)}(h``IFF_OVS_DATAPATH``h]j)}(hjch]hIFF_OVS_DATAPATH}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj]ubj)}(hhh]jl)}(h)device used as Open vSwitch datapath porth]h)device used as Open vSwitch datapath port}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjubj)}(hG``IFF_TX_SKB_SHARING`` The interface supports sharing skbs on transmit h](j)}(h``IFF_TX_SKB_SHARING``h]j)}(hjh]hIFF_TX_SKB_SHARING}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h/The interface supports sharing skbs on transmith]h/The interface supports sharing skbs on transmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``IFF_UNICAST_FLT`` Supports unicast filtering h](j)}(h``IFF_UNICAST_FLT``h]j)}(hjh]hIFF_UNICAST_FLT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hSupports unicast filteringh]hSupports unicast filtering}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``IFF_TEAM_PORT`` device used as team port h](j)}(h``IFF_TEAM_PORT``h]j)}(hjh]h IFF_TEAM_PORT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hdevice used as team porth]hdevice used as team port}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjubj)}(h6``IFF_SUPP_NOFCS`` device supports sending custom FCS h](j)}(h``IFF_SUPP_NOFCS``h]j)}(hjGh]hIFF_SUPP_NOFCS}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjAubj)}(hhh]jl)}(h"device supports sending custom FCSh]h"device supports sending custom FCS}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubj)}(hS``IFF_LIVE_ADDR_CHANGE`` device supports hardware address change when it's running h](j)}(h``IFF_LIVE_ADDR_CHANGE``h]j)}(hjh]hIFF_LIVE_ADDR_CHANGE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjzubj)}(hhh]jl)}(h9device supports hardware address change when it's runningh]h;device supports hardware address change when it’s running}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``IFF_MACVLAN`` Macvlan device h](j)}(h``IFF_MACVLAN``h]j)}(hjh]h IFF_MACVLAN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hMacvlan deviceh]hMacvlan device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hf``IFF_XMIT_DST_RELEASE_PERM`` IFF_XMIT_DST_RELEASE not taking into account underlying stacked devices h](j)}(h``IFF_XMIT_DST_RELEASE_PERM``h]j)}(hjh]hIFF_XMIT_DST_RELEASE_PERM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hGIFF_XMIT_DST_RELEASE not taking into account underlying stacked devicesh]hGIFF_XMIT_DST_RELEASE not taking into account underlying stacked devices}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``IFF_L3MDEV_MASTER`` device is an L3 master device h](j)}(h``IFF_L3MDEV_MASTER``h]j)}(hj-h]hIFF_L3MDEV_MASTER}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj'ubj)}(hhh]jl)}(hdevice is an L3 master deviceh]hdevice is an L3 master device}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjubj)}(h7``IFF_NO_QUEUE`` device can run without qdisc attached h](j)}(h``IFF_NO_QUEUE``h]j)}(hjfh]h IFF_NO_QUEUE}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj`ubj)}(hhh]jl)}(h%device can run without qdisc attachedh]h%device can run without qdisc attached}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhjubj)}(h4``IFF_OPENVSWITCH`` device is a Open vSwitch master h](j)}(h``IFF_OPENVSWITCH``h]j)}(hjh]hIFF_OPENVSWITCH}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hdevice is a Open vSwitch masterh]hdevice is a Open vSwitch master}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``IFF_L3MDEV_SLAVE`` device is enslaved to an L3 master device h](j)}(h``IFF_L3MDEV_SLAVE``h]j)}(hjh]hIFF_L3MDEV_SLAVE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h)device is enslaved to an L3 master deviceh]h)device is enslaved to an L3 master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h%``IFF_TEAM`` device is a team device h](j)}(h ``IFF_TEAM``h]j)}(hjh]hIFF_TEAM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jl)}(hdevice is a team deviceh]hdevice is a team device}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubj)}(hx``IFF_PHONY_HEADROOM`` the headroom value is controlled by an external entity (i.e. the master device for bridged veth) h](j)}(h``IFF_PHONY_HEADROOM``h]j)}(hjJh]hIFF_PHONY_HEADROOM}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjDubj)}(hhh]jl)}(h`the headroom value is controlled by an external entity (i.e. the master device for bridged veth)h]h`the headroom value is controlled by an external entity (i.e. the master device for bridged veth)}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjubj)}(h)``IFF_MACSEC`` device is a MACsec device h](j)}(h``IFF_MACSEC``h]j)}(hjh]h IFF_MACSEC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj~ubj)}(hhh]jl)}(hdevice is a MACsec deviceh]hdevice is a MACsec device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hA``IFF_NO_RX_HANDLER`` device doesn't support the rx_handler hook h](j)}(h``IFF_NO_RX_HANDLER``h]j)}(hjh]hIFF_NO_RX_HANDLER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(h*device doesn't support the rx_handler hookh]h,device doesn’t support the rx_handler hook}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h4``IFF_FAILOVER`` device is a failover master device h](j)}(h``IFF_FAILOVER``h]j)}(hjh]h IFF_FAILOVER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h"device is a failover master deviceh]h"device is a failover master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hG``IFF_FAILOVER_SLAVE`` device is lower dev of a failover master device h](j)}(h``IFF_FAILOVER_SLAVE``h]j)}(hj/h]hIFF_FAILOVER_SLAVE}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj)ubj)}(hhh]jl)}(h/device is lower dev of a failover master deviceh]h/device is lower dev of a failover master device}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjubj)}(hI``IFF_L3MDEV_RX_HANDLER`` only invoke the rx handler of L3 master device h](j)}(h``IFF_L3MDEV_RX_HANDLER``h]j)}(hjhh]hIFF_L3MDEV_RX_HANDLER}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjbubj)}(hhh]jl)}(h.only invoke the rx handler of L3 master deviceh]h.only invoke the rx handler of L3 master device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhjubj)}(h*``IFF_NO_ADDRCONF`` prevent ipv6 addrconf h](j)}(h``IFF_NO_ADDRCONF``h]j)}(hjh]hIFF_NO_ADDRCONF}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hprevent ipv6 addrconfh]hprevent ipv6 addrconf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hx``IFF_TX_SKB_NO_LINEAR`` device/driver is capable of xmitting frames with skb_headlen(skb) == 0 (data starts from frag0)h](j)}(h``IFF_TX_SKB_NO_LINEAR``h]j)}(hjh]hIFF_TX_SKB_NO_LINEAR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h_device/driver is capable of xmitting frames with skb_headlen(skb) == 0 (data starts from frag0)h]h_device/driver is capable of xmitting frames with skb_headlen(skb) == 0 (data starts from frag0)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubjl)}(hThese are the :c:type:`struct net_device `, they are only set internally by drivers and used in the kernel. These flags are invisible to userspace; this means that the order of these flags can change during any kernel release.h](hThese are the }(hj2hhhNhNubh)}(h(:c:type:`struct net_device `h]j)}(hj<h]hstruct net_device}(hj>hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj net_deviceuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj2ubh, they are only set internally by drivers and used in the kernel. These flags are invisible to userspace; this means that the order of these flags can change during any kernel release.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjYhMhjhhubjl)}(hYou should add bitfield booleans after either net_device::priv_flags (hotpath) or ::threaded (slowpath) instead of extending these flags.h]hYou should add bitfield booleans after either net_device::priv_flags (hotpath) or ::threaded (slowpath) instead of extending these flags.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_device (C struct) c.net_devicehNtauh1hhjhhhNhNubh)}(hhh](j)}(h net_deviceh]j )}(hstruct net_deviceh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h net_deviceh]j9)}(hjh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hThe DEVICE structure.h]hThe DEVICE structure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM$hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXpi**Definition**:: struct net_device { ; struct { unsigned long priv_flags:32; unsigned long lltx:1; unsigned long netmem_tx:2; }; const struct net_device_ops *netdev_ops; const struct header_ops *header_ops; struct netdev_queue *_tx; netdev_features_t gso_partial_features; unsigned int real_num_tx_queues; unsigned int gso_max_size; unsigned int gso_ipv4_max_size; u16 gso_max_segs; s16 num_tc; unsigned int mtu; unsigned short needed_headroom; struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; #ifdef CONFIG_XPS; struct xps_dev_maps *xps_maps[XPS_MAPS_MAX]; #endif; #ifdef CONFIG_NETFILTER_EGRESS; struct nf_hook_entries *nf_hooks_egress; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_egress; #endif; ; ; union { struct pcpu_lstats __percpu *lstats; struct pcpu_sw_netstats __percpu *tstats; struct pcpu_dstats __percpu *dstats; }; unsigned long state; unsigned int flags; unsigned short hard_header_len; enum netdev_stat_type pcpu_stat_type:8; netdev_features_t features; struct inet6_dev *ip6_ptr; ; ; struct bpf_prog *xdp_prog; struct list_head ptype_specific; int ifindex; unsigned int real_num_rx_queues; struct netdev_rx_queue *_rx; unsigned int gro_max_size; unsigned int gro_ipv4_max_size; rx_handler_func_t *rx_handler; void *rx_handler_data; possible_net_t nd_net; #ifdef CONFIG_NETPOLL; struct netpoll_info *npinfo; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_ingress; #endif; ; char name[IFNAMSIZ]; struct netdev_name_node *name_node; struct dev_ifalias *ifalias; unsigned long mem_end; unsigned long mem_start; unsigned long base_addr; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; #ifdef CONFIG_DEBUG_NET_SMALL_RTNL; struct list_head unreg_list_net; #endif; struct list_head close_list; struct list_head ptype_all; struct { struct list_head upper; struct list_head lower; } adj_list; xdp_features_t xdp_features; const struct xdp_metadata_ops *xdp_metadata_ops; const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; unsigned short gflags; unsigned short needed_tailroom; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; netdev_features_t mangleid_features; unsigned int min_mtu; unsigned int max_mtu; unsigned short type; unsigned char min_header_len; unsigned char name_assign_type; int group; struct net_device_stats stats; struct net_device_core_stats __percpu *core_stats; atomic_t carrier_up_count; atomic_t carrier_down_count; #ifdef CONFIG_WIRELESS_EXT; const struct iw_handler_def *wireless_handlers; #endif; const struct ethtool_ops *ethtool_ops; #ifdef CONFIG_NET_L3_MASTER_DEV; const struct l3mdev_ops *l3mdev_ops; #endif; #if IS_ENABLED(CONFIG_IPV6); const struct ndisc_ops *ndisc_ops; #endif; #ifdef CONFIG_XFRM_OFFLOAD; const struct xfrmdev_ops *xfrmdev_ops; #endif; #if IS_ENABLED(CONFIG_TLS_DEVICE); const struct tlsdev_ops *tlsdev_ops; #endif; unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; unsigned char perm_addr[MAX_ADDR_LEN]; unsigned char addr_assign_type; unsigned char addr_len; unsigned char upper_level; unsigned char lower_level; u8 threaded; unsigned short neigh_priv_len; unsigned short dev_id; unsigned short dev_port; int irq; u32 priv_len; spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; #ifdef CONFIG_SYSFS; struct kset *queues_kset; #endif; #ifdef CONFIG_LOCKDEP; struct list_head unlink_list; #endif; unsigned int promiscuity; unsigned int allmulti; bool uc_promisc; struct list_head work_node; netdevice_tracker work_tracker; unsigned long work_pending; unsigned long work_core_pending; struct netdev_hw_addr_list rx_mode_addr_cache; struct timer_list rx_mode_retry_timer; unsigned int rx_mode_retry_count; #ifdef CONFIG_LOCKDEP; unsigned char nested_level; #endif; struct in_device *ip_ptr; struct hlist_head fib_nh_head; #if IS_ENABLED(CONFIG_VLAN_8021Q); struct vlan_info *vlan_info; #endif; #if IS_ENABLED(CONFIG_NET_DSA); struct dsa_port *dsa_ptr; #endif; #if IS_ENABLED(CONFIG_TIPC); struct tipc_bearer *tipc_ptr; #endif; #if IS_ENABLED(CONFIG_CFG80211); struct wireless_dev *ieee80211_ptr; #endif; #if IS_ENABLED(CONFIG_IEEE802154) || IS_ENABLED(CONFIG_6LOWPAN); struct wpan_dev *ieee802154_ptr; #endif; #if IS_ENABLED(CONFIG_MPLS_ROUTING); struct mpls_dev *mpls_ptr; #endif; #if IS_ENABLED(CONFIG_MCTP); struct mctp_dev *mctp_ptr; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_dev *psp_dev; #endif; const unsigned char *dev_addr; unsigned int num_rx_queues; #define GRO_LEGACY_MAX_SIZE 65536u; #define GRO_MAX_SIZE (8 * 65535u); unsigned int xdp_zc_max_segs; struct netdev_queue *ingress_queue; #ifdef CONFIG_NETFILTER_INGRESS; struct nf_hook_entries *nf_hooks_ingress; #endif; unsigned char broadcast[MAX_ADDR_LEN]; #ifdef CONFIG_RFS_ACCEL; struct cpu_rmap *rx_cpu_rmap; #endif; struct hlist_node index_hlist; unsigned int num_tx_queues; struct Qdisc *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue __percpu *xdp_bulkq; #ifdef CONFIG_NET_SCHED; unsigned long qdisc_hash[1 << (( 4) - 1)]; #endif; struct timer_list watchdog_timer; int watchdog_timeo; spinlock_t watchdog_lock; bool watchdog_ref_held; u32 proto_down_reason; struct list_head todo_list; #ifdef CONFIG_PCPU_DEV_REFCNT; int __percpu *pcpu_refcnt; #else; refcount_t dev_refcnt; #endif; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; u8 reg_state; bool dismantle; bool moving_ns; bool rtnl_link_initializing; bool needs_free_netdev; void (*priv_destructor)(struct net_device *dev); void *ml_priv; enum netdev_ml_priv_type ml_priv_type; #if IS_ENABLED(CONFIG_GARP); struct garp_port *garp_port; #endif; #if IS_ENABLED(CONFIG_MRP); struct mrp_port *mrp_port; #endif; #if IS_ENABLED(CONFIG_NET_DROP_MONITOR); struct dm_hw_stat_delta *dm_private; #endif; struct device dev; const struct attribute_group *sysfs_groups[5]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; const struct netdev_stat_ops *stat_ops; const struct netdev_queue_mgmt_ops *queue_mgmt_ops; #define GSO_MAX_SEGS 65535u; #define GSO_LEGACY_MAX_SIZE 65536u; #define GSO_MAX_SIZE (8 * GSO_MAX_SEGS); #define TSO_LEGACY_MAX_SIZE 65536; #define TSO_MAX_SIZE UINT_MAX; unsigned int tso_max_size; #define TSO_MAX_SEGS U16_MAX; u16 tso_max_segs; #ifdef CONFIG_DCB; const struct dcbnl_rtnl_ops *dcbnl_ops; #endif; u8 prio_tc_map[TC_BITMASK + 1]; #if IS_ENABLED(CONFIG_FCOE); unsigned int fcoe_ddp_xid; #endif; #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO); struct netprio_map *priomap; #endif; struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; bool irq_affinity_auto; bool rx_cpu_rmap_auto; unsigned long see_all_hwtstamp_requests:1; unsigned long change_proto_down:1; unsigned long netns_immutable:1; unsigned long fcoe_mtu:1; struct list_head net_notifier_list; #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; struct netdev_config *cfg; struct netdev_config *cfg_pending; struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE]; u8 dev_addr_shadow[MAX_ADDR_LEN]; netdevice_tracker linkwatch_dev_tracker; netdevice_tracker watchdog_dev_tracker; netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; #if IS_ENABLED(CONFIG_DPLL); struct dpll_pin *dpll_pin; #endif; #if IS_ENABLED(CONFIG_PAGE_POOL); struct hlist_head page_pools; #endif; struct dim_irq_moder *irq_moder; u64 max_pacing_offload_horizon; struct napi_config *napi_config; u32 num_napi_configs; u32 napi_defer_hard_irqs; unsigned long gro_flush_timeout; bool up; bool request_ops_lock; struct mutex lock; #if IS_ENABLED(CONFIG_NET_SHAPER); struct net_shaper_hierarchy *net_shaper_hierarchy; #endif; struct hlist_head neighbours[NEIGH_NR_TABLES]; struct hwtstamp_provider *hwprov; u8 priv[]; }; **Members** ``{unnamed_struct}`` anonymous ``priv_flags`` flags invisible to userspace defined as bits, see enum netdev_priv_flags for the definitions ``lltx`` device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnels ``netmem_tx`` device netmem TX mode ``netdev_ops`` Includes several pointers to callbacks, if one wants to override the ndo_*() functions ``header_ops`` Includes callbacks for creating,parsing,caching,etc of Layer 2 headers. ``_tx`` Array of TX queues ``gso_partial_features`` value(s) from NETIF_F_GSO\* ``real_num_tx_queues`` Number of TX queues currently active in device ``gso_max_size`` Maximum size of generic segmentation offload ``gso_ipv4_max_size`` Maximum size of generic segmentation offload, for IPv4. ``gso_max_segs`` Maximum number of segments that can be passed to the NIC for GSO ``num_tc`` Number of traffic classes in the net device ``mtu`` Interface MTU value ``needed_headroom`` Extra headroom the hardware may need, but not in all cases can this be guaranteed ``tc_to_txq`` XXX: need comments on this one ``xps_maps`` XXX: need comments on this one ``nf_hooks_egress`` netfilter hooks executed for egress packets ``tcx_egress`` BPF & clsact qdisc specific data for egress processing ``{unnamed_union}`` anonymous ``lstats`` Loopback statistics: packets, bytes ``tstats`` Tunnel statistics: RX/TX packets, RX/TX bytes ``dstats`` Dummy statistics: RX/TX/drop packets, RX/TX bytes ``state`` Generic network queuing layer state, see netdev_state_t ``flags`` Interface flags (a la BSD) ``hard_header_len`` Maximum hardware header length. ``pcpu_stat_type`` Type of device statistics which the core should allocate/free: none, lstats, tstats, dstats. none means the driver is handling statistics allocation/ freeing internally. ``features`` Currently active device features ``ip6_ptr`` IPv6 specific data ``xdp_prog`` XDP sockets filter program pointer ``ptype_specific`` Device-specific, protocol-specific packet handlers ``ifindex`` interface index ``real_num_rx_queues`` Number of RX queues currently active in device ``_rx`` Array of RX queues ``gro_max_size`` Maximum size of aggregated packet in generic receive offload (GRO) ``gro_ipv4_max_size`` Maximum size of aggregated packet in generic receive offload (GRO), for IPv4. ``rx_handler`` handler for received packets ``rx_handler_data`` XXX: need comments on this one ``nd_net`` Network namespace this network device is inside protected by **lock** ``npinfo`` XXX: need comments on this one ``tcx_ingress`` BPF & clsact qdisc specific data for ingress processing ``name`` This is the first field of the "visible" part of this structure (i.e. as seen by users in the "Space.c" file). It is the name of the interface. ``name_node`` Name hashlist node ``ifalias`` SNMP alias ``mem_end`` Shared memory end ``mem_start`` Shared memory start ``base_addr`` Device I/O address ``dev_list`` The global list of network devices ``napi_list`` List entry used for polling NAPI devices ``unreg_list`` List entry when we are unregistering the device; see the function unregister_netdev ``unreg_list_net`` List entry when we are unregistering the cross-netns device; see the function unregister_netdevice_queue_net() ``close_list`` List entry used when we are closing the device ``ptype_all`` Device-specific packet handlers for all protocols ``adj_list`` Directly linked devices, like slaves for bonding ``xdp_features`` XDP capability supported by the device ``xdp_metadata_ops`` Includes pointers to XDP metadata callbacks. ``xsk_tx_metadata_ops`` Includes pointers to AF_XDP TX metadata callbacks. ``gflags`` Global flags ( kept as legacy ) ``needed_tailroom`` Extra tailroom the hardware may need, but not in all cases can this be guaranteed. Some cases also use LL_MAX_HEADER instead to allocate the skb ``hw_features`` User-changeable features ``wanted_features`` User-requested features ``vlan_features`` Mask of features inheritable by VLAN devices ``hw_enc_features`` Mask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately. ``mpls_features`` Mask of features inheritable by MPLS ``mangleid_features`` Mask of features requiring MANGLEID, will be disabled together with the latter. ``min_mtu`` Interface Minimum MTU value ``max_mtu`` Interface Maximum MTU value ``type`` Interface hardware type ``min_header_len`` Minimum hardware header length ``name_assign_type`` network interface name assignment type ``group`` The group the device belongs to ``stats`` Statistics struct, which was left as a legacy, use rtnl_link_stats64 instead ``core_stats`` core networking counters, do not use this in drivers ``carrier_up_count`` Number of times the carrier has been up ``carrier_down_count`` Number of times the carrier has been down ``wireless_handlers`` List of functions to handle Wireless Extensions, instead of ioctl, see for details. ``ethtool_ops`` Management operations ``l3mdev_ops`` Layer 3 master device operations ``ndisc_ops`` Includes callbacks for different IPv6 neighbour discovery handling. Necessary for e.g. 6LoWPAN. ``xfrmdev_ops`` Transformation offload operations ``tlsdev_ops`` Transport Layer Security offload operations ``operstate`` RFC2863 operstate ``link_mode`` Mapping policy to operstate ``if_port`` Selectable AUI, TP, ... ``dma`` DMA channel ``perm_addr`` Permanent hw address ``addr_assign_type`` Hw address assignment type ``addr_len`` Hardware address length ``upper_level`` Maximum depth level of upper devices. ``lower_level`` Maximum depth level of lower devices. ``threaded`` napi threaded state. ``neigh_priv_len`` Used in neigh_alloc() ``dev_id`` Used to differentiate devices that share the same link layer address ``dev_port`` Used to differentiate devices that share the same function ``irq`` Device IRQ number ``priv_len`` Size of the ->priv flexible array ``addr_list_lock`` XXX: need comments on this one ``uc`` unicast mac addresses ``mc`` multicast mac addresses ``dev_addrs`` list of device hw addresses ``queues_kset`` Group of all Kobjects in the Tx and RX queues ``unlink_list`` As netif_addr_lock() can be called recursively, keep a list of interfaces to be deleted. ``promiscuity`` Number of times the NIC is told to work in promiscuous mode; if it becomes 0 the NIC will exit promiscuous mode ``allmulti`` Counter, enables or disables allmulticast mode ``uc_promisc`` Counter that indicates promiscuous mode has been enabled due to the need to listen to additional unicast addresses in a device that does not implement ndo_set_rx_mode() ``work_node`` List entry for async netdev_work processing ``work_tracker`` Refcount tracker for async netdev_work ``work_pending`` Driver-defined pending netdev_work, passed to ndo_work() (see netdev_work_sched()) ``work_core_pending`` Core-defined pending netdev_work (NETDEV_WORK_*) ``rx_mode_addr_cache`` Recycled snapshot entries for rx_mode work ``rx_mode_retry_timer`` Timer that re-queues rx_mode work after failure ``rx_mode_retry_count`` Number of consecutive retries already scheduled ``nested_level`` Used as a parameter of spin_lock_nested() of dev->addr_list_lock. ``ip_ptr`` IPv4 specific data ``fib_nh_head`` nexthops associated with this netdev ``vlan_info`` VLAN info ``dsa_ptr`` dsa specific data ``tipc_ptr`` TIPC specific data ``ieee80211_ptr`` IEEE 802.11 specific data, assign before registering ``ieee802154_ptr`` IEEE 802.15.4 low-rate Wireless Personal Area Network device struct ``mpls_ptr`` mpls_dev struct pointer ``mctp_ptr`` MCTP specific data ``psp_dev`` PSP crypto device registered for this netdev ``dev_addr`` Hw address (before bcast, because most packets are unicast) ``num_rx_queues`` Number of RX queues allocated at register_netdev() time ``xdp_zc_max_segs`` Maximum number of segments supported by AF_XDP zero copy driver ``ingress_queue`` XXX: need comments on this one ``nf_hooks_ingress`` netfilter hooks executed for ingress packets ``broadcast`` hw bcast address ``rx_cpu_rmap`` CPU reverse-mapping for RX completion interrupts, indexed by RX queue number. Assigned by driver. This must only be set if the ndo_rx_flow_steer operation is defined ``index_hlist`` Device index hash chain ``num_tx_queues`` Number of TX queues allocated at alloc_netdev_mq() time ``qdisc`` Root qdisc from userspace point of view ``tx_queue_len`` Max frames per queue allowed ``tx_global_lock`` XXX: need comments on this one ``xdp_bulkq`` XDP device bulk queue ``qdisc_hash`` qdisc hash table ``watchdog_timer`` List of timers ``watchdog_timeo`` Represents the timeout that is used by the watchdog (see dev_watchdog()) ``watchdog_lock`` protect watchdog_ref_held ``watchdog_ref_held`` True if the watchdog device ref is taken. ``proto_down_reason`` reason a netdev interface is held down ``todo_list`` Delayed register/unregister ``pcpu_refcnt`` Number of references to this device ``dev_refcnt`` Number of references to this device ``refcnt_tracker`` Tracker directory for tracked references to this device ``link_watch_list`` XXX: need comments on this one ``reg_state`` Register/unregister state machine ``dismantle`` Device is going to be freed ``moving_ns`` device is changing netns, protected by **lock** ``rtnl_link_initializing`` Device being created, suppress events ``needs_free_netdev`` Should unregister perform free_netdev? ``priv_destructor`` Called from unregister ``ml_priv`` Mid-layer private ``ml_priv_type`` Mid-layer private type ``garp_port`` GARP ``mrp_port`` MRP ``dm_private`` Drop monitor private ``dev`` Class/net/name entry ``sysfs_groups`` Space for optional device, statistics and wireless sysfs groups ``sysfs_rx_queue_group`` Space for optional per-rx queue attributes ``rtnl_link_ops`` Rtnl_link_ops ``stat_ops`` Optional ops for queue-aware statistics ``queue_mgmt_ops`` Optional ops for queue management ``tso_max_size`` Device (as in HW) limit on the max TSO request size ``tso_max_segs`` Device (as in HW) limit on the max TSO segment count ``dcbnl_ops`` Data Center Bridging netlink ops ``prio_tc_map`` XXX: need comments on this one ``fcoe_ddp_xid`` Max exchange id for FCoE LRO by ddp ``priomap`` XXX: need comments on this one ``link_topo`` Physical link topology tracking attached PHYs ``phydev`` Physical device may attach itself for hardware timestamping ``sfp_bus`` attached :c:type:`struct sfp_bus ` structure. ``qdisc_tx_busylock`` lockdep class annotating Qdisc->busylock spinlock ``proto_down`` protocol port state information can be sent to the switch driver and used to set the phys state of the switch port. ``irq_affinity_auto`` driver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()). ``rx_cpu_rmap_auto`` driver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap(). ``see_all_hwtstamp_requests`` device wants to see calls to ndo_hwtstamp_set() for all timestamp requests regardless of source, even if those aren't HWTSTAMP_SOURCE_NETDEV ``change_proto_down`` device supports setting carrier via IFLA_PROTO_DOWN ``netns_immutable`` interface can't change network namespaces ``fcoe_mtu`` device supports maximum FCoE MTU, 2158 bytes ``net_notifier_list`` List of per-net netdev notifier block that follow this device when it is moved to another network namespace. ``macsec_ops`` MACsec offloading ops ``udp_tunnel_nic_info`` static structure describing the UDP tunnel offload capabilities of the device ``udp_tunnel_nic`` UDP tunnel offload state ``cfg`` net_device queue-related configuration ``cfg_pending`` same as **cfg** but when device is being actively reconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected. ``ethtool`` ethtool related state ``xdp_state`` stores info on attached XDP BPF programs ``dev_addr_shadow`` Copy of **dev_addr** to catch direct writes. ``linkwatch_dev_tracker`` refcount tracker used by linkwatch. ``watchdog_dev_tracker`` refcount tracker used by watchdog. ``dev_registered_tracker`` tracker for reference held while registered ``offload_xstats_l3`` L3 HW stats for this netdevice. ``devlink_port`` Pointer to related devlink port structure. Assigned by a driver before netdev registration using SET_NETDEV_DEVLINK_PORT macro. This pointer is static during the time netdevice is registered. ``dpll_pin`` Pointer to the SyncE source pin of a DPLL subsystem, where the clock is recovered. ``page_pools`` page pools created for this netdevice ``irq_moder`` dim parameters used if IS_ENABLED(CONFIG_DIMLIB). ``max_pacing_offload_horizon`` max EDT offload horizon in nsec. ``napi_config`` An array of napi_config structures containing per-NAPI settings. ``num_napi_configs`` number of allocated NAPI config structs, always >= max(num_rx_queues, num_tx_queues). ``napi_defer_hard_irqs`` If not zero, provides a counter that would allow to avoid NIC hard IRQ, on busy queues. ``gro_flush_timeout`` timeout for GRO layer in NAPI ``up`` copy of **state**'s IFF_UP, but safe to read with just **lock**. May report false negatives while the device is being opened or closed (**lock** does not protect .ndo_open, or .ndo_close). ``request_ops_lock`` request the core to run all **netdev_ops** and **ethtool_ops** under the **lock**. ``lock`` netdev-scope lock, protects a small selection of fields. Should always be taken using netdev_lock() / netdev_unlock() helpers. Drivers are free to use it for other protection. For the drivers that implement shaper or queue API, the scope of this lock is expanded to cover most ndo/queue/ethtool/sysfs operations. Drivers may opt-in to this behavior by setting **request_ops_lock**. **lock** protection mixes with rtnl_lock in multiple ways, fields are either: - simply protected by the instance **lock**; - double protected - writers hold both locks, readers hold either; - ops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock; - double ops protected - always protected by rtnl_lock but for devices for which netdev_need_ops_lock() returns true - also the instance lock. Simply protects: **gro_flush_timeout**, **napi_defer_hard_irqs**, **napi_list**, **net_shaper_hierarchy**, **reg_state**, **threaded** Double protects: **up**, **moving_ns**, **nd_net**, **xdp_features** Ops protects: **cfg**, **cfg_pending**, **ethtool**, **hwprov** Double ops protects: **real_num_rx_queues**, **real_num_tx_queues** Also protects some fields in: struct napi_struct, struct netdev_queue, struct netdev_rx_queue Ordering: - take after rtnl_lock - for the case of netdev queue leasing, the netdev-scope lock is taken for both the virtual and the physical device; to prevent deadlocks, the virtual device's lock must always be acquired before the physical device's (see netdev_nl_queue_create_doit) ``net_shaper_hierarchy`` data tracking the current shaper status see include/net/net_shapers.h ``neighbours`` List heads pointing to this device's neighbours' dev_list, one per address-family. ``hwprov`` Tracks which PTP performs hardware packet time stamping. ``priv`` Flexible array containing private datah](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM(hjubj)}(hX'struct net_device { ; struct { unsigned long priv_flags:32; unsigned long lltx:1; unsigned long netmem_tx:2; }; const struct net_device_ops *netdev_ops; const struct header_ops *header_ops; struct netdev_queue *_tx; netdev_features_t gso_partial_features; unsigned int real_num_tx_queues; unsigned int gso_max_size; unsigned int gso_ipv4_max_size; u16 gso_max_segs; s16 num_tc; unsigned int mtu; unsigned short needed_headroom; struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; #ifdef CONFIG_XPS; struct xps_dev_maps *xps_maps[XPS_MAPS_MAX]; #endif; #ifdef CONFIG_NETFILTER_EGRESS; struct nf_hook_entries *nf_hooks_egress; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_egress; #endif; ; ; union { struct pcpu_lstats __percpu *lstats; struct pcpu_sw_netstats __percpu *tstats; struct pcpu_dstats __percpu *dstats; }; unsigned long state; unsigned int flags; unsigned short hard_header_len; enum netdev_stat_type pcpu_stat_type:8; netdev_features_t features; struct inet6_dev *ip6_ptr; ; ; struct bpf_prog *xdp_prog; struct list_head ptype_specific; int ifindex; unsigned int real_num_rx_queues; struct netdev_rx_queue *_rx; unsigned int gro_max_size; unsigned int gro_ipv4_max_size; rx_handler_func_t *rx_handler; void *rx_handler_data; possible_net_t nd_net; #ifdef CONFIG_NETPOLL; struct netpoll_info *npinfo; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_ingress; #endif; ; char name[IFNAMSIZ]; struct netdev_name_node *name_node; struct dev_ifalias *ifalias; unsigned long mem_end; unsigned long mem_start; unsigned long base_addr; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; #ifdef CONFIG_DEBUG_NET_SMALL_RTNL; struct list_head unreg_list_net; #endif; struct list_head close_list; struct list_head ptype_all; struct { struct list_head upper; struct list_head lower; } adj_list; xdp_features_t xdp_features; const struct xdp_metadata_ops *xdp_metadata_ops; const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; unsigned short gflags; unsigned short needed_tailroom; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; netdev_features_t mangleid_features; unsigned int min_mtu; unsigned int max_mtu; unsigned short type; unsigned char min_header_len; unsigned char name_assign_type; int group; struct net_device_stats stats; struct net_device_core_stats __percpu *core_stats; atomic_t carrier_up_count; atomic_t carrier_down_count; #ifdef CONFIG_WIRELESS_EXT; const struct iw_handler_def *wireless_handlers; #endif; const struct ethtool_ops *ethtool_ops; #ifdef CONFIG_NET_L3_MASTER_DEV; const struct l3mdev_ops *l3mdev_ops; #endif; #if IS_ENABLED(CONFIG_IPV6); const struct ndisc_ops *ndisc_ops; #endif; #ifdef CONFIG_XFRM_OFFLOAD; const struct xfrmdev_ops *xfrmdev_ops; #endif; #if IS_ENABLED(CONFIG_TLS_DEVICE); const struct tlsdev_ops *tlsdev_ops; #endif; unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; unsigned char perm_addr[MAX_ADDR_LEN]; unsigned char addr_assign_type; unsigned char addr_len; unsigned char upper_level; unsigned char lower_level; u8 threaded; unsigned short neigh_priv_len; unsigned short dev_id; unsigned short dev_port; int irq; u32 priv_len; spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; #ifdef CONFIG_SYSFS; struct kset *queues_kset; #endif; #ifdef CONFIG_LOCKDEP; struct list_head unlink_list; #endif; unsigned int promiscuity; unsigned int allmulti; bool uc_promisc; struct list_head work_node; netdevice_tracker work_tracker; unsigned long work_pending; unsigned long work_core_pending; struct netdev_hw_addr_list rx_mode_addr_cache; struct timer_list rx_mode_retry_timer; unsigned int rx_mode_retry_count; #ifdef CONFIG_LOCKDEP; unsigned char nested_level; #endif; struct in_device *ip_ptr; struct hlist_head fib_nh_head; #if IS_ENABLED(CONFIG_VLAN_8021Q); struct vlan_info *vlan_info; #endif; #if IS_ENABLED(CONFIG_NET_DSA); struct dsa_port *dsa_ptr; #endif; #if IS_ENABLED(CONFIG_TIPC); struct tipc_bearer *tipc_ptr; #endif; #if IS_ENABLED(CONFIG_CFG80211); struct wireless_dev *ieee80211_ptr; #endif; #if IS_ENABLED(CONFIG_IEEE802154) || IS_ENABLED(CONFIG_6LOWPAN); struct wpan_dev *ieee802154_ptr; #endif; #if IS_ENABLED(CONFIG_MPLS_ROUTING); struct mpls_dev *mpls_ptr; #endif; #if IS_ENABLED(CONFIG_MCTP); struct mctp_dev *mctp_ptr; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_dev *psp_dev; #endif; const unsigned char *dev_addr; unsigned int num_rx_queues; #define GRO_LEGACY_MAX_SIZE 65536u; #define GRO_MAX_SIZE (8 * 65535u); unsigned int xdp_zc_max_segs; struct netdev_queue *ingress_queue; #ifdef CONFIG_NETFILTER_INGRESS; struct nf_hook_entries *nf_hooks_ingress; #endif; unsigned char broadcast[MAX_ADDR_LEN]; #ifdef CONFIG_RFS_ACCEL; struct cpu_rmap *rx_cpu_rmap; #endif; struct hlist_node index_hlist; unsigned int num_tx_queues; struct Qdisc *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue __percpu *xdp_bulkq; #ifdef CONFIG_NET_SCHED; unsigned long qdisc_hash[1 << (( 4) - 1)]; #endif; struct timer_list watchdog_timer; int watchdog_timeo; spinlock_t watchdog_lock; bool watchdog_ref_held; u32 proto_down_reason; struct list_head todo_list; #ifdef CONFIG_PCPU_DEV_REFCNT; int __percpu *pcpu_refcnt; #else; refcount_t dev_refcnt; #endif; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; u8 reg_state; bool dismantle; bool moving_ns; bool rtnl_link_initializing; bool needs_free_netdev; void (*priv_destructor)(struct net_device *dev); void *ml_priv; enum netdev_ml_priv_type ml_priv_type; #if IS_ENABLED(CONFIG_GARP); struct garp_port *garp_port; #endif; #if IS_ENABLED(CONFIG_MRP); struct mrp_port *mrp_port; #endif; #if IS_ENABLED(CONFIG_NET_DROP_MONITOR); struct dm_hw_stat_delta *dm_private; #endif; struct device dev; const struct attribute_group *sysfs_groups[5]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; const struct netdev_stat_ops *stat_ops; const struct netdev_queue_mgmt_ops *queue_mgmt_ops; #define GSO_MAX_SEGS 65535u; #define GSO_LEGACY_MAX_SIZE 65536u; #define GSO_MAX_SIZE (8 * GSO_MAX_SEGS); #define TSO_LEGACY_MAX_SIZE 65536; #define TSO_MAX_SIZE UINT_MAX; unsigned int tso_max_size; #define TSO_MAX_SEGS U16_MAX; u16 tso_max_segs; #ifdef CONFIG_DCB; const struct dcbnl_rtnl_ops *dcbnl_ops; #endif; u8 prio_tc_map[TC_BITMASK + 1]; #if IS_ENABLED(CONFIG_FCOE); unsigned int fcoe_ddp_xid; #endif; #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO); struct netprio_map *priomap; #endif; struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; bool irq_affinity_auto; bool rx_cpu_rmap_auto; unsigned long see_all_hwtstamp_requests:1; unsigned long change_proto_down:1; unsigned long netns_immutable:1; unsigned long fcoe_mtu:1; struct list_head net_notifier_list; #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; struct netdev_config *cfg; struct netdev_config *cfg_pending; struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE]; u8 dev_addr_shadow[MAX_ADDR_LEN]; netdevice_tracker linkwatch_dev_tracker; netdevice_tracker watchdog_dev_tracker; netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; #if IS_ENABLED(CONFIG_DPLL); struct dpll_pin *dpll_pin; #endif; #if IS_ENABLED(CONFIG_PAGE_POOL); struct hlist_head page_pools; #endif; struct dim_irq_moder *irq_moder; u64 max_pacing_offload_horizon; struct napi_config *napi_config; u32 num_napi_configs; u32 napi_defer_hard_irqs; unsigned long gro_flush_timeout; bool up; bool request_ops_lock; struct mutex lock; #if IS_ENABLED(CONFIG_NET_SHAPER); struct net_shaper_hierarchy *net_shaper_hierarchy; #endif; struct hlist_head neighbours[NEIGH_NR_TABLES]; struct hwtstamp_provider *hwprov; u8 priv[]; };h]hX'struct net_device { ; struct { unsigned long priv_flags:32; unsigned long lltx:1; unsigned long netmem_tx:2; }; const struct net_device_ops *netdev_ops; const struct header_ops *header_ops; struct netdev_queue *_tx; netdev_features_t gso_partial_features; unsigned int real_num_tx_queues; unsigned int gso_max_size; unsigned int gso_ipv4_max_size; u16 gso_max_segs; s16 num_tc; unsigned int mtu; unsigned short needed_headroom; struct netdev_tc_txq tc_to_txq[TC_MAX_QUEUE]; #ifdef CONFIG_XPS; struct xps_dev_maps *xps_maps[XPS_MAPS_MAX]; #endif; #ifdef CONFIG_NETFILTER_EGRESS; struct nf_hook_entries *nf_hooks_egress; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_egress; #endif; ; ; union { struct pcpu_lstats __percpu *lstats; struct pcpu_sw_netstats __percpu *tstats; struct pcpu_dstats __percpu *dstats; }; unsigned long state; unsigned int flags; unsigned short hard_header_len; enum netdev_stat_type pcpu_stat_type:8; netdev_features_t features; struct inet6_dev *ip6_ptr; ; ; struct bpf_prog *xdp_prog; struct list_head ptype_specific; int ifindex; unsigned int real_num_rx_queues; struct netdev_rx_queue *_rx; unsigned int gro_max_size; unsigned int gro_ipv4_max_size; rx_handler_func_t *rx_handler; void *rx_handler_data; possible_net_t nd_net; #ifdef CONFIG_NETPOLL; struct netpoll_info *npinfo; #endif; #ifdef CONFIG_NET_XGRESS; struct bpf_mprog_entry *tcx_ingress; #endif; ; char name[IFNAMSIZ]; struct netdev_name_node *name_node; struct dev_ifalias *ifalias; unsigned long mem_end; unsigned long mem_start; unsigned long base_addr; struct list_head dev_list; struct list_head napi_list; struct list_head unreg_list; #ifdef CONFIG_DEBUG_NET_SMALL_RTNL; struct list_head unreg_list_net; #endif; struct list_head close_list; struct list_head ptype_all; struct { struct list_head upper; struct list_head lower; } adj_list; xdp_features_t xdp_features; const struct xdp_metadata_ops *xdp_metadata_ops; const struct xsk_tx_metadata_ops *xsk_tx_metadata_ops; unsigned short gflags; unsigned short needed_tailroom; netdev_features_t hw_features; netdev_features_t wanted_features; netdev_features_t vlan_features; netdev_features_t hw_enc_features; netdev_features_t mpls_features; netdev_features_t mangleid_features; unsigned int min_mtu; unsigned int max_mtu; unsigned short type; unsigned char min_header_len; unsigned char name_assign_type; int group; struct net_device_stats stats; struct net_device_core_stats __percpu *core_stats; atomic_t carrier_up_count; atomic_t carrier_down_count; #ifdef CONFIG_WIRELESS_EXT; const struct iw_handler_def *wireless_handlers; #endif; const struct ethtool_ops *ethtool_ops; #ifdef CONFIG_NET_L3_MASTER_DEV; const struct l3mdev_ops *l3mdev_ops; #endif; #if IS_ENABLED(CONFIG_IPV6); const struct ndisc_ops *ndisc_ops; #endif; #ifdef CONFIG_XFRM_OFFLOAD; const struct xfrmdev_ops *xfrmdev_ops; #endif; #if IS_ENABLED(CONFIG_TLS_DEVICE); const struct tlsdev_ops *tlsdev_ops; #endif; unsigned int operstate; unsigned char link_mode; unsigned char if_port; unsigned char dma; unsigned char perm_addr[MAX_ADDR_LEN]; unsigned char addr_assign_type; unsigned char addr_len; unsigned char upper_level; unsigned char lower_level; u8 threaded; unsigned short neigh_priv_len; unsigned short dev_id; unsigned short dev_port; int irq; u32 priv_len; spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; struct netdev_hw_addr_list mc; struct netdev_hw_addr_list dev_addrs; #ifdef CONFIG_SYSFS; struct kset *queues_kset; #endif; #ifdef CONFIG_LOCKDEP; struct list_head unlink_list; #endif; unsigned int promiscuity; unsigned int allmulti; bool uc_promisc; struct list_head work_node; netdevice_tracker work_tracker; unsigned long work_pending; unsigned long work_core_pending; struct netdev_hw_addr_list rx_mode_addr_cache; struct timer_list rx_mode_retry_timer; unsigned int rx_mode_retry_count; #ifdef CONFIG_LOCKDEP; unsigned char nested_level; #endif; struct in_device *ip_ptr; struct hlist_head fib_nh_head; #if IS_ENABLED(CONFIG_VLAN_8021Q); struct vlan_info *vlan_info; #endif; #if IS_ENABLED(CONFIG_NET_DSA); struct dsa_port *dsa_ptr; #endif; #if IS_ENABLED(CONFIG_TIPC); struct tipc_bearer *tipc_ptr; #endif; #if IS_ENABLED(CONFIG_CFG80211); struct wireless_dev *ieee80211_ptr; #endif; #if IS_ENABLED(CONFIG_IEEE802154) || IS_ENABLED(CONFIG_6LOWPAN); struct wpan_dev *ieee802154_ptr; #endif; #if IS_ENABLED(CONFIG_MPLS_ROUTING); struct mpls_dev *mpls_ptr; #endif; #if IS_ENABLED(CONFIG_MCTP); struct mctp_dev *mctp_ptr; #endif; #if IS_ENABLED(CONFIG_INET_PSP); struct psp_dev *psp_dev; #endif; const unsigned char *dev_addr; unsigned int num_rx_queues; #define GRO_LEGACY_MAX_SIZE 65536u; #define GRO_MAX_SIZE (8 * 65535u); unsigned int xdp_zc_max_segs; struct netdev_queue *ingress_queue; #ifdef CONFIG_NETFILTER_INGRESS; struct nf_hook_entries *nf_hooks_ingress; #endif; unsigned char broadcast[MAX_ADDR_LEN]; #ifdef CONFIG_RFS_ACCEL; struct cpu_rmap *rx_cpu_rmap; #endif; struct hlist_node index_hlist; unsigned int num_tx_queues; struct Qdisc *qdisc; unsigned int tx_queue_len; spinlock_t tx_global_lock; struct xdp_dev_bulk_queue __percpu *xdp_bulkq; #ifdef CONFIG_NET_SCHED; unsigned long qdisc_hash[1 << (( 4) - 1)]; #endif; struct timer_list watchdog_timer; int watchdog_timeo; spinlock_t watchdog_lock; bool watchdog_ref_held; u32 proto_down_reason; struct list_head todo_list; #ifdef CONFIG_PCPU_DEV_REFCNT; int __percpu *pcpu_refcnt; #else; refcount_t dev_refcnt; #endif; struct ref_tracker_dir refcnt_tracker; struct list_head link_watch_list; u8 reg_state; bool dismantle; bool moving_ns; bool rtnl_link_initializing; bool needs_free_netdev; void (*priv_destructor)(struct net_device *dev); void *ml_priv; enum netdev_ml_priv_type ml_priv_type; #if IS_ENABLED(CONFIG_GARP); struct garp_port *garp_port; #endif; #if IS_ENABLED(CONFIG_MRP); struct mrp_port *mrp_port; #endif; #if IS_ENABLED(CONFIG_NET_DROP_MONITOR); struct dm_hw_stat_delta *dm_private; #endif; struct device dev; const struct attribute_group *sysfs_groups[5]; const struct attribute_group *sysfs_rx_queue_group; const struct rtnl_link_ops *rtnl_link_ops; const struct netdev_stat_ops *stat_ops; const struct netdev_queue_mgmt_ops *queue_mgmt_ops; #define GSO_MAX_SEGS 65535u; #define GSO_LEGACY_MAX_SIZE 65536u; #define GSO_MAX_SIZE (8 * GSO_MAX_SEGS); #define TSO_LEGACY_MAX_SIZE 65536; #define TSO_MAX_SIZE UINT_MAX; unsigned int tso_max_size; #define TSO_MAX_SEGS U16_MAX; u16 tso_max_segs; #ifdef CONFIG_DCB; const struct dcbnl_rtnl_ops *dcbnl_ops; #endif; u8 prio_tc_map[TC_BITMASK + 1]; #if IS_ENABLED(CONFIG_FCOE); unsigned int fcoe_ddp_xid; #endif; #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO); struct netprio_map *priomap; #endif; struct phy_link_topology *link_topo; struct phy_device *phydev; struct sfp_bus *sfp_bus; struct lock_class_key *qdisc_tx_busylock; bool proto_down; bool irq_affinity_auto; bool rx_cpu_rmap_auto; unsigned long see_all_hwtstamp_requests:1; unsigned long change_proto_down:1; unsigned long netns_immutable:1; unsigned long fcoe_mtu:1; struct list_head net_notifier_list; #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; const struct udp_tunnel_nic_info *udp_tunnel_nic_info; struct udp_tunnel_nic *udp_tunnel_nic; struct netdev_config *cfg; struct netdev_config *cfg_pending; struct ethtool_netdev_state *ethtool; struct bpf_xdp_entity xdp_state[__MAX_XDP_MODE]; u8 dev_addr_shadow[MAX_ADDR_LEN]; netdevice_tracker linkwatch_dev_tracker; netdevice_tracker watchdog_dev_tracker; netdevice_tracker dev_registered_tracker; struct rtnl_hw_stats64 *offload_xstats_l3; struct devlink_port *devlink_port; #if IS_ENABLED(CONFIG_DPLL); struct dpll_pin *dpll_pin; #endif; #if IS_ENABLED(CONFIG_PAGE_POOL); struct hlist_head page_pools; #endif; struct dim_irq_moder *irq_moder; u64 max_pacing_offload_horizon; struct napi_config *napi_config; u32 num_napi_configs; u32 napi_defer_hard_irqs; unsigned long gro_flush_timeout; bool up; bool request_ops_lock; struct mutex lock; #if IS_ENABLED(CONFIG_NET_SHAPER); struct net_shaper_hierarchy *net_shaper_hierarchy; #endif; struct hlist_head neighbours[NEIGH_NR_TABLES]; struct hwtstamp_provider *hwprov; u8 priv[]; };;}hj sbah}(h]h ]h"]h$]h&]jPjQuh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM*hjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM[hjubj)}(hhh](j)}(h``{unnamed_struct}`` anonymous h](j)}(h``{unnamed_struct}``h]j)}(hj;h]h{unnamed_struct}}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhKhj5ubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhKhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhKhj2ubj)}(hl``priv_flags`` flags invisible to userspace defined as bits, see enum netdev_priv_flags for the definitions h](j)}(h``priv_flags``h]j)}(hjth]h priv_flags}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM,hjnubj)}(hhh]jl)}(h\flags invisible to userspace defined as bits, see enum netdev_priv_flags for the definitionsh]h\flags invisible to userspace defined as bits, see enum netdev_priv_flags for the definitions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM+hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM,hj2ubj)}(h``lltx`` device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnels h](j)}(h``lltx``h]j)}(hjh]hlltx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM/hjubj)}(hhh]jl)}(h{device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnelsh]h{device supports lockless Tx. Deprecated for real HW drivers. Mainly used by logical interfaces, such as bonding and tunnels}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hj2ubj)}(h$``netmem_tx`` device netmem TX mode h](j)}(h ``netmem_tx``h]j)}(hjh]h netmem_tx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM0hjubj)}(hhh]jl)}(hdevice netmem TX modeh]hdevice netmem TX mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hj2ubj)}(hf``netdev_ops`` Includes several pointers to callbacks, if one wants to override the ndo_*() functions h](j)}(h``netdev_ops``h]j)}(hj!h]h netdev_ops}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMihjubj)}(hhh]jl)}(hVIncludes several pointers to callbacks, if one wants to override the ndo_*() functionsh]hVIncludes several pointers to callbacks, if one wants to override the ndo_*() functions}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMihj2ubj)}(hW``header_ops`` Includes callbacks for creating,parsing,caching,etc of Layer 2 headers. h](j)}(h``header_ops``h]j)}(hj[h]h header_ops}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMshjUubj)}(hhh]jl)}(hGIncludes callbacks for creating,parsing,caching,etc of Layer 2 headers.h]hGIncludes callbacks for creating,parsing,caching,etc of Layer 2 headers.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMrhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMshj2ubj)}(h``_tx`` Array of TX queues h](j)}(h``_tx``h]j)}(hjh]h_tx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hArray of TX queuesh]hArray of TX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h5``gso_partial_features`` value(s) from NETIF_F_GSO\* h](j)}(h``gso_partial_features``h]j)}(hjh]hgso_partial_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMUhjubj)}(hhh]jl)}(hvalue(s) from NETIF_F_GSO\*h]hvalue(s) from NETIF_F_GSO*}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhj2ubj)}(hF``real_num_tx_queues`` Number of TX queues currently active in device h](j)}(h``real_num_tx_queues``h]j)}(hjh]hreal_num_tx_queues}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h.Number of TX queues currently active in deviceh]h.Number of TX queues currently active in device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h>``gso_max_size`` Maximum size of generic segmentation offload h](j)}(h``gso_max_size``h]j)}(hj@h]h gso_max_size}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj:ubj)}(hhh]jl)}(h,Maximum size of generic segmentation offloadh]h,Maximum size of generic segmentation offload}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhM hjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhM hj2ubj)}(hN``gso_ipv4_max_size`` Maximum size of generic segmentation offload, for IPv4. h](j)}(h``gso_ipv4_max_size``h]j)}(hjyh]hgso_ipv4_max_size}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjsubj)}(hhh]jl)}(h7Maximum size of generic segmentation offload, for IPv4.h]h7Maximum size of generic segmentation offload, for IPv4.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hR``gso_max_segs`` Maximum number of segments that can be passed to the NIC for GSO h](j)}(h``gso_max_segs``h]j)}(hjh]h gso_max_segs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h@Maximum number of segments that can be passed to the NIC for GSOh]h@Maximum number of segments that can be passed to the NIC for GSO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h7``num_tc`` Number of traffic classes in the net device h](j)}(h ``num_tc``h]j)}(hjh]hnum_tc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h+Number of traffic classes in the net deviceh]h+Number of traffic classes in the net device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h``mtu`` Interface MTU value h](j)}(h``mtu``h]j)}(hj&h]hmtu}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM~hj ubj)}(hhh]jl)}(hInterface MTU valueh]hInterface MTU value}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hM~hj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hM~hj2ubj)}(hf``needed_headroom`` Extra headroom the hardware may need, but not in all cases can this be guaranteed h](j)}(h``needed_headroom``h]j)}(hj_h]hneeded_headroom}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjYubj)}(hhh]jl)}(hQExtra headroom the hardware may need, but not in all cases can this be guaranteedh]hQExtra headroom the hardware may need, but not in all cases can this be guaranteed}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhj2ubj)}(h-``tc_to_txq`` XXX: need comments on this one h](j)}(h ``tc_to_txq``h]j)}(hjh]h tc_to_txq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h,``xps_maps`` XXX: need comments on this one h](j)}(h ``xps_maps``h]j)}(hjh]hxps_maps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h@``nf_hooks_egress`` netfilter hooks executed for egress packets h](j)}(h``nf_hooks_egress``h]j)}(hj h]hnf_hooks_egress}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h+netfilter hooks executed for egress packetsh]h+netfilter hooks executed for egress packets}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj2ubj)}(hF``tcx_egress`` BPF & clsact qdisc specific data for egress processing h](j)}(h``tcx_egress``h]j)}(hjDh]h tcx_egress}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj>ubj)}(hhh]jl)}(h6BPF & clsact qdisc specific data for egress processingh]h6BPF & clsact qdisc specific data for egress processing}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhj2ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj}h]h{unnamed_union}}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhKhjwubj)}(hhh]jl)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhKhj2ubj)}(h/``lstats`` Loopback statistics: packets, bytes h](j)}(h ``lstats``h]j)}(hjh]hlstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h#Loopback statistics: packets, bytesh]h#Loopback statistics: packets, bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h9``tstats`` Tunnel statistics: RX/TX packets, RX/TX bytes h](j)}(h ``tstats``h]j)}(hjh]htstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h-Tunnel statistics: RX/TX packets, RX/TX bytesh]h-Tunnel statistics: RX/TX packets, RX/TX bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h=``dstats`` Dummy statistics: RX/TX/drop packets, RX/TX bytes h](j)}(h ``dstats``h]j)}(hj(h]hdstats}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj"ubj)}(hhh]jl)}(h1Dummy statistics: RX/TX/drop packets, RX/TX bytesh]h1Dummy statistics: RX/TX/drop packets, RX/TX bytes}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhj2ubj)}(hB``state`` Generic network queuing layer state, see netdev_state_t h](j)}(h ``state``h]j)}(hjah]hstate}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM=hj[ubj)}(hhh]jl)}(h7Generic network queuing layer state, see netdev_state_th]h7Generic network queuing layer state, see netdev_state_t}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhM=hjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhM=hj2ubj)}(h%``flags`` Interface flags (a la BSD) h](j)}(h ``flags``h]j)}(hjh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhjubj)}(hhh]jl)}(hInterface flags (a la BSD)h]hInterface flags (a la BSD)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMuhj2ubj)}(h4``hard_header_len`` Maximum hardware header length. h](j)}(h``hard_header_len``h]j)}(hjh]hhard_header_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hMaximum hardware header length.h]hMaximum hardware header length.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h``pcpu_stat_type`` Type of device statistics which the core should allocate/free: none, lstats, tstats, dstats. none means the driver is handling statistics allocation/ freeing internally. h](j)}(h``pcpu_stat_type``h]j)}(hj h]hpcpu_stat_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hType of device statistics which the core should allocate/free: none, lstats, tstats, dstats. none means the driver is handling statistics allocation/ freeing internally.h]hType of device statistics which the core should allocate/free: none, lstats, tstats, dstats. none means the driver is handling statistics allocation/ freeing internally.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhj2ubj)}(h.``features`` Currently active device features h](j)}(h ``features``h]j)}(hjFh]hfeatures}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMIhj@ubj)}(hhh]jl)}(h Currently active device featuresh]h Currently active device features}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[hMIhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMIhj2ubj)}(h``ip6_ptr`` IPv6 specific data h](j)}(h ``ip6_ptr``h]j)}(hjh]hip6_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjyubj)}(hhh]jl)}(hIPv6 specific datah]hIPv6 specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h0``xdp_prog`` XDP sockets filter program pointer h](j)}(h ``xdp_prog``h]j)}(hjh]hxdp_prog}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h"XDP sockets filter program pointerh]h"XDP sockets filter program pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hF``ptype_specific`` Device-specific, protocol-specific packet handlers h](j)}(h``ptype_specific``h]j)}(hjh]hptype_specific}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMFhjubj)}(hhh]jl)}(h2Device-specific, protocol-specific packet handlersh]h2Device-specific, protocol-specific packet handlers}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhj2ubj)}(h``ifindex`` interface index h](j)}(h ``ifindex``h]j)}(hj*h]hifindex}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMYhj$ubj)}(hhh]jl)}(hinterface indexh]hinterface index}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hMYhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMYhj2ubj)}(hF``real_num_rx_queues`` Number of RX queues currently active in device h](j)}(h``real_num_rx_queues``h]j)}(hjch]hreal_num_rx_queues}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj]ubj)}(hhh]jl)}(h.Number of RX queues currently active in deviceh]h.Number of RX queues currently active in device}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhj2ubj)}(h``_rx`` Array of RX queues h](j)}(h``_rx``h]j)}(hjh]h_rx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hArray of RX queuesh]hArray of RX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hT``gro_max_size`` Maximum size of aggregated packet in generic receive offload (GRO) h](j)}(h``gro_max_size``h]j)}(hjh]h gro_max_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMIhjubj)}(hhh]jl)}(hBMaximum size of aggregated packet in generic receive offload (GRO)h]hBMaximum size of aggregated packet in generic receive offload (GRO)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMIhj2ubj)}(hd``gro_ipv4_max_size`` Maximum size of aggregated packet in generic receive offload (GRO), for IPv4. h](j)}(h``gro_ipv4_max_size``h]j)}(hjh]hgro_ipv4_max_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMKhj ubj)}(hhh]jl)}(hMMaximum size of aggregated packet in generic receive offload (GRO), for IPv4.h]hMMaximum size of aggregated packet in generic receive offload (GRO), for IPv4.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMJhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMKhj2ubj)}(h,``rx_handler`` handler for received packets h](j)}(h``rx_handler``h]j)}(hjIh]h rx_handler}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjCubj)}(hhh]jl)}(hhandler for received packetsh]hhandler for received packets}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj2ubj)}(h3``rx_handler_data`` XXX: need comments on this one h](j)}(h``rx_handler_data``h]j)}(hjh]hrx_handler_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj|ubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hQ``nd_net`` Network namespace this network device is inside protected by **lock** h](j)}(h ``nd_net``h]j)}(hjh]hnd_net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hENetwork namespace this network device is inside protected by **lock**h](h=Network namespace this network device is inside protected by }(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h*``npinfo`` XXX: need comments on this one h](j)}(h ``npinfo``h]j)}(hjh]hnpinfo}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hH``tcx_ingress`` BPF & clsact qdisc specific data for ingress processing h](j)}(h``tcx_ingress``h]j)}(hj<h]h tcx_ingress}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj6ubj)}(hhh]jl)}(h7BPF & clsact qdisc specific data for ingress processingh]h7BPF & clsact qdisc specific data for ingress processing}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj2ubj)}(h``name`` This is the first field of the "visible" part of this structure (i.e. as seen by users in the "Space.c" file). It is the name of the interface. h](j)}(h``name``h]j)}(hjuh]hname}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM4hjoubj)}(hhh]jl)}(hThis is the first field of the "visible" part of this structure (i.e. as seen by users in the "Space.c" file). It is the name of the interface.h]hThis is the first field of the “visible” part of this structure (i.e. as seen by users in the “Space.c” file). It is the name of the interface.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM2hjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhM4hj2ubj)}(h!``name_node`` Name hashlist node h](j)}(h ``name_node``h]j)}(hjh]h name_node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6hjubj)}(hhh]jl)}(hName hashlist nodeh]hName hashlist node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hj2ubj)}(h``ifalias`` SNMP alias h](j)}(h ``ifalias``h]j)}(hjh]hifalias}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7hjubj)}(hhh]jl)}(h SNMP aliash]h SNMP alias}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hj2ubj)}(h``mem_end`` Shared memory end h](j)}(h ``mem_end``h]j)}(hj!h]hmem_end}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM8hjubj)}(hhh]jl)}(hShared memory endh]hShared memory end}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hM8hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM8hj2ubj)}(h"``mem_start`` Shared memory start h](j)}(h ``mem_start``h]j)}(hjZh]h mem_start}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9hjTubj)}(hhh]jl)}(hShared memory starth]hShared memory start}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohM9hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM9hj2ubj)}(h!``base_addr`` Device I/O address h](j)}(h ``base_addr``h]j)}(hjh]h base_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM:hjubj)}(hhh]jl)}(hDevice I/O addressh]hDevice I/O address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hj2ubj)}(h0``dev_list`` The global list of network devices h](j)}(h ``dev_list``h]j)}(hjh]hdev_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM>hjubj)}(hhh]jl)}(h"The global list of network devicesh]h"The global list of network devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hj2ubj)}(h7``napi_list`` List entry used for polling NAPI devices h](j)}(h ``napi_list``h]j)}(hjh]h napi_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM?hjubj)}(hhh]jl)}(h(List entry used for polling NAPI devicesh]h(List entry used for polling NAPI devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hj2ubj)}(hd``unreg_list`` List entry when we are unregistering the device; see the function unregister_netdev h](j)}(h``unreg_list``h]j)}(hj>h]h unreg_list}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMAhj8ubj)}(hhh]jl)}(hTList entry when we are unregistering the device; see the function unregister_netdevh]hTList entry when we are unregistering the device; see the function unregister_netdev}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM@hjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMAhj2ubj)}(h``unreg_list_net`` List entry when we are unregistering the cross-netns device; see the function unregister_netdevice_queue_net() h](j)}(h``unreg_list_net``h]j)}(hjxh]hunreg_list_net}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMChjrubj)}(hhh]jl)}(hnList entry when we are unregistering the cross-netns device; see the function unregister_netdevice_queue_net()h]hnList entry when we are unregistering the cross-netns device; see the function unregister_netdevice_queue_net()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMBhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMChj2ubj)}(h>``close_list`` List entry used when we are closing the device h](j)}(h``close_list``h]j)}(hjh]h close_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDhjubj)}(hhh]jl)}(h.List entry used when we are closing the deviceh]h.List entry used when we are closing the device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhj2ubj)}(h@``ptype_all`` Device-specific packet handlers for all protocols h](j)}(h ``ptype_all``h]j)}(hjh]h ptype_all}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMEhjubj)}(hhh]jl)}(h1Device-specific packet handlers for all protocolsh]h1Device-specific packet handlers for all protocols}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhj2ubj)}(h>``adj_list`` Directly linked devices, like slaves for bonding h](j)}(h ``adj_list``h]j)}(hj$h]hadj_list}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMHhjubj)}(hhh]jl)}(h0Directly linked devices, like slaves for bondingh]h0Directly linked devices, like slaves for bonding}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMHhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMHhj2ubj)}(h8``xdp_features`` XDP capability supported by the device h](j)}(h``xdp_features``h]j)}(hj]h]h xdp_features}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvhjWubj)}(hhh]jl)}(h&XDP capability supported by the deviceh]h&XDP capability supported by the device}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMvhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMvhj2ubj)}(hB``xdp_metadata_ops`` Includes pointers to XDP metadata callbacks. h](j)}(h``xdp_metadata_ops``h]j)}(hjh]hxdp_metadata_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMjhjubj)}(hhh]jl)}(h,Includes pointers to XDP metadata callbacks.h]h,Includes pointers to XDP metadata callbacks.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMjhj2ubj)}(hK``xsk_tx_metadata_ops`` Includes pointers to AF_XDP TX metadata callbacks. h](j)}(h``xsk_tx_metadata_ops``h]j)}(hjh]hxsk_tx_metadata_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMkhjubj)}(hhh]jl)}(h2Includes pointers to AF_XDP TX metadata callbacks.h]h2Includes pointers to AF_XDP TX metadata callbacks.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMkhj2ubj)}(h+``gflags`` Global flags ( kept as legacy ) h](j)}(h ``gflags``h]j)}(hjh]hgflags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMwhjubj)}(hhh]jl)}(hGlobal flags ( kept as legacy )h]hGlobal flags ( kept as legacy )}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhj2ubj)}(h``needed_tailroom`` Extra tailroom the hardware may need, but not in all cases can this be guaranteed. Some cases also use LL_MAX_HEADER instead to allocate the skb h](j)}(h``needed_tailroom``h]j)}(hjAh]hneeded_tailroom}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj;ubj)}(hhh]jl)}(hExtra tailroom the hardware may need, but not in all cases can this be guaranteed. Some cases also use LL_MAX_HEADER instead to allocate the skbh]hExtra tailroom the hardware may need, but not in all cases can this be guaranteed. Some cases also use LL_MAX_HEADER instead to allocate the skb}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhj2ubj)}(h)``hw_features`` User-changeable features h](j)}(h``hw_features``h]j)}(hj{h]h hw_features}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMJhjuubj)}(hhh]jl)}(hUser-changeable featuresh]hUser-changeable features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMJhj2ubj)}(h,``wanted_features`` User-requested features h](j)}(h``wanted_features``h]j)}(hjh]hwanted_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMLhjubj)}(hhh]jl)}(hUser-requested featuresh]hUser-requested features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMLhj2ubj)}(h?``vlan_features`` Mask of features inheritable by VLAN devices h](j)}(h``vlan_features``h]j)}(hjh]h vlan_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMMhjubj)}(hhh]jl)}(h,Mask of features inheritable by VLAN devicesh]h,Mask of features inheritable by VLAN devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhj2ubj)}(h``hw_enc_features`` Mask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately. h](j)}(h``hw_enc_features``h]j)}(hj&h]hhw_enc_features}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMRhj ubj)}(hhh]jl)}(hMask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately.h]hMask of features inherited by encapsulating devices This field indicates what encapsulation offloads the hardware is capable of doing, and drivers will need to set them appropriately.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMOhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMRhj2ubj)}(h7``mpls_features`` Mask of features inheritable by MPLS h](j)}(h``mpls_features``h]j)}(hj`h]h mpls_features}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMThjZubj)}(hhh]jl)}(h$Mask of features inheritable by MPLSh]h$Mask of features inheritable by MPLS}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhMThjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMThj2ubj)}(hf``mangleid_features`` Mask of features requiring MANGLEID, will be disabled together with the latter. h](j)}(h``mangleid_features``h]j)}(hjh]hmangleid_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMWhjubj)}(hhh]jl)}(hOMask of features requiring MANGLEID, will be disabled together with the latter.h]hOMask of features requiring MANGLEID, will be disabled together with the latter.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMVhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhj2ubj)}(h(``min_mtu`` Interface Minimum MTU value h](j)}(h ``min_mtu``h]j)}(hjh]hmin_mtu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hInterface Minimum MTU valueh]hInterface Minimum MTU value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h(``max_mtu`` Interface Maximum MTU value h](j)}(h ``max_mtu``h]j)}(hj h]hmax_mtu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hInterface Maximum MTU valueh]hInterface Maximum MTU value}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhj2ubj)}(h!``type`` Interface hardware type h](j)}(h``type``h]j)}(hjEh]htype}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?ubj)}(hhh]jl)}(hInterface hardware typeh]hInterface hardware type}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhj2ubj)}(h2``min_header_len`` Minimum hardware header length h](j)}(h``min_header_len``h]j)}(hj~h]hmin_header_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjxubj)}(hhh]jl)}(hMinimum hardware header lengthh]hMinimum hardware header length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h<``name_assign_type`` network interface name assignment type h](j)}(h``name_assign_type``h]j)}(hjh]hname_assign_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h&network interface name assignment typeh]h&network interface name assignment type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h*``group`` The group the device belongs to h](j)}(h ``group``h]j)}(hjh]hgroup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMZhjubj)}(hhh]jl)}(hThe group the device belongs toh]hThe group the device belongs to}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhj2ubj)}(hW``stats`` Statistics struct, which was left as a legacy, use rtnl_link_stats64 instead h](j)}(h ``stats``h]j)}(hj)h]hstats}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM]hj#ubj)}(hhh]jl)}(hLStatistics struct, which was left as a legacy, use rtnl_link_stats64 insteadh]hLStatistics struct, which was left as a legacy, use rtnl_link_stats64 instead}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM\hj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hM]hj2ubj)}(hD``core_stats`` core networking counters, do not use this in drivers h](j)}(h``core_stats``h]j)}(hjch]h core_stats}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM`hj]ubj)}(hhh]jl)}(h4core networking counters, do not use this in driversh]h4core networking counters, do not use this in drivers}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM_hjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhM`hj2ubj)}(h=``carrier_up_count`` Number of times the carrier has been up h](j)}(h``carrier_up_count``h]j)}(hjh]hcarrier_up_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMahjubj)}(hhh]jl)}(h'Number of times the carrier has been uph]h'Number of times the carrier has been up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahj2ubj)}(hA``carrier_down_count`` Number of times the carrier has been down h](j)}(h``carrier_down_count``h]j)}(hjh]hcarrier_down_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhjubj)}(hhh]jl)}(h)Number of times the carrier has been downh]h)Number of times the carrier has been down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhj2ubj)}(h}``wireless_handlers`` List of functions to handle Wireless Extensions, instead of ioctl, see for details. h](j)}(h``wireless_handlers``h]j)}(hjh]hwireless_handlers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMfhj ubj)}(hhh]jl)}(hfList of functions to handle Wireless Extensions, instead of ioctl, see for details.h]hfList of functions to handle Wireless Extensions, instead of ioctl, see for details.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMdhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMfhj2ubj)}(h&``ethtool_ops`` Management operations h](j)}(h``ethtool_ops``h]j)}(hjIh]h ethtool_ops}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMlhjCubj)}(hhh]jl)}(hManagement operationsh]hManagement operations}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMlhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMlhj2ubj)}(h0``l3mdev_ops`` Layer 3 master device operations h](j)}(h``l3mdev_ops``h]j)}(hjh]h l3mdev_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMmhj|ubj)}(hhh]jl)}(h Layer 3 master device operationsh]h Layer 3 master device operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMmhj2ubj)}(hn``ndisc_ops`` Includes callbacks for different IPv6 neighbour discovery handling. Necessary for e.g. 6LoWPAN. h](j)}(h ``ndisc_ops``h]j)}(hjh]h ndisc_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMohjubj)}(hhh]jl)}(h_Includes callbacks for different IPv6 neighbour discovery handling. Necessary for e.g. 6LoWPAN.h]h_Includes callbacks for different IPv6 neighbour discovery handling. Necessary for e.g. 6LoWPAN.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohj2ubj)}(h2``xfrmdev_ops`` Transformation offload operations h](j)}(h``xfrmdev_ops``h]j)}(hjh]h xfrmdev_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMphjubj)}(hhh]jl)}(h!Transformation offload operationsh]h!Transformation offload operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMphj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMphj2ubj)}(h;``tlsdev_ops`` Transport Layer Security offload operations h](j)}(h``tlsdev_ops``h]j)}(hj.h]h tlsdev_ops}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMqhj(ubj)}(hhh]jl)}(h+Transport Layer Security offload operationsh]h+Transport Layer Security offload operations}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChMqhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMqhj2ubj)}(h ``operstate`` RFC2863 operstate h](j)}(h ``operstate``h]j)}(hjgh]h operstate}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMzhjaubj)}(hhh]jl)}(hRFC2863 operstateh]hRFC2863 operstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMzhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMzhj2ubj)}(h*``link_mode`` Mapping policy to operstate h](j)}(h ``link_mode``h]j)}(hjh]h link_mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM{hjubj)}(hhh]jl)}(hMapping policy to operstateh]hMapping policy to operstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM{hj2ubj)}(h$``if_port`` Selectable AUI, TP, ... h](j)}(h ``if_port``h]j)}(hjh]hif_port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM|hjubj)}(hhh]jl)}(hSelectable AUI, TP, ...h]hSelectable AUI, TP, ...}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM|hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM|hj2ubj)}(h``dma`` DMA channel h](j)}(h``dma``h]j)}(hjh]hdma}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM}hj ubj)}(hhh]jl)}(h DMA channelh]h DMA channel}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hM}hj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hM}hj2ubj)}(h#``perm_addr`` Permanent hw address h](j)}(h ``perm_addr``h]j)}(hjKh]h perm_addr}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjEubj)}(hhh]jl)}(hPermanent hw addressh]hPermanent hw address}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj2ubj)}(h0``addr_assign_type`` Hw address assignment type h](j)}(h``addr_assign_type``h]j)}(hjh]haddr_assign_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj~ubj)}(hhh]jl)}(hHw address assignment typeh]hHw address assignment type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h%``addr_len`` Hardware address length h](j)}(h ``addr_len``h]j)}(hjh]haddr_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hHardware address lengthh]hHardware address length}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h6``upper_level`` Maximum depth level of upper devices. h](j)}(h``upper_level``h]j)}(hjh]h upper_level}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h%Maximum depth level of upper devices.h]h%Maximum depth level of upper devices.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj2ubj)}(h6``lower_level`` Maximum depth level of lower devices. h](j)}(h``lower_level``h]j)}(hj/h]h lower_level}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj)ubj)}(hhh]jl)}(h%Maximum depth level of lower devices.h]h%Maximum depth level of lower devices.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj2ubj)}(h"``threaded`` napi threaded state. h](j)}(h ``threaded``h]j)}(hjhh]hthreaded}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjbubj)}(hhh]jl)}(hnapi threaded state.h]hnapi threaded state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj2ubj)}(h)``neigh_priv_len`` Used in neigh_alloc() h](j)}(h``neigh_priv_len``h]j)}(hjh]hneigh_priv_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hUsed in neigh_alloc()h]hUsed in neigh_alloc()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hP``dev_id`` Used to differentiate devices that share the same link layer address h](j)}(h ``dev_id``h]j)}(hjh]hdev_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hDUsed to differentiate devices that share the same link layer addressh]hDUsed to differentiate devices that share the same link layer address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hH``dev_port`` Used to differentiate devices that share the same function h](j)}(h ``dev_port``h]j)}(hjh]hdev_port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h:Used to differentiate devices that share the same functionh]h:Used to differentiate devices that share the same function}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj2ubj)}(h``irq`` Device IRQ number h](j)}(h``irq``h]j)}(hjNh]hirq}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM;hjHubj)}(hhh]jl)}(hDevice IRQ numberh]hDevice IRQ number}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchM;hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM;hj2ubj)}(h/``priv_len`` Size of the ->priv flexible array h](j)}(h ``priv_len``h]j)}(hjh]hpriv_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMxhjubj)}(hhh]jl)}(h!Size of the ->priv flexible arrayh]h!Size of the ->priv flexible array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhj2ubj)}(h2``addr_list_lock`` XXX: need comments on this one h](j)}(h``addr_list_lock``h]j)}(hjh]haddr_list_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h``uc`` unicast mac addresses h](j)}(h``uc``h]j)}(hjh]huc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hunicast mac addressesh]hunicast mac addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h``mc`` multicast mac addresses h](j)}(h``mc``h]j)}(hj2h]hmc}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj,ubj)}(hhh]jl)}(hmulticast mac addressesh]hmulticast mac addresses}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhj2ubj)}(h*``dev_addrs`` list of device hw addresses h](j)}(h ``dev_addrs``h]j)}(hjkh]h dev_addrs}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjeubj)}(hhh]jl)}(hlist of device hw addressesh]hlist of device hw addresses}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h>``queues_kset`` Group of all Kobjects in the Tx and RX queues h](j)}(h``queues_kset``h]j)}(hjh]h queues_kset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h-Group of all Kobjects in the Tx and RX queuesh]h-Group of all Kobjects in the Tx and RX queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hi``unlink_list`` As netif_addr_lock() can be called recursively, keep a list of interfaces to be deleted. h](j)}(h``unlink_list``h]j)}(hjh]h unlink_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMGhjubj)}(hhh]jl)}(hXAs netif_addr_lock() can be called recursively, keep a list of interfaces to be deleted.h]hXAs netif_addr_lock() can be called recursively, keep a list of interfaces to be deleted.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhj2ubj)}(h``promiscuity`` Number of times the NIC is told to work in promiscuous mode; if it becomes 0 the NIC will exit promiscuous mode h](j)}(h``promiscuity``h]j)}(hjh]h promiscuity}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hoNumber of times the NIC is told to work in promiscuous mode; if it becomes 0 the NIC will exit promiscuous modeh]hoNumber of times the NIC is told to work in promiscuous mode; if it becomes 0 the NIC will exit promiscuous mode}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj2ubj)}(h<``allmulti`` Counter, enables or disables allmulticast mode h](j)}(h ``allmulti``h]j)}(hjQh]hallmulti}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjKubj)}(hhh]jl)}(h.Counter, enables or disables allmulticast modeh]h.Counter, enables or disables allmulticast mode}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhj2ubj)}(h``uc_promisc`` Counter that indicates promiscuous mode has been enabled due to the need to listen to additional unicast addresses in a device that does not implement ndo_set_rx_mode() h](j)}(h``uc_promisc``h]j)}(hjh]h uc_promisc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hCounter that indicates promiscuous mode has been enabled due to the need to listen to additional unicast addresses in a device that does not implement ndo_set_rx_mode()h]hCounter that indicates promiscuous mode has been enabled due to the need to listen to additional unicast addresses in a device that does not implement ndo_set_rx_mode()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h:``work_node`` List entry for async netdev_work processing h](j)}(h ``work_node``h]j)}(hjh]h work_node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h+List entry for async netdev_work processingh]h+List entry for async netdev_work processing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h8``work_tracker`` Refcount tracker for async netdev_work h](j)}(h``work_tracker``h]j)}(hjh]h work_tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h&Refcount tracker for async netdev_workh]h&Refcount tracker for async netdev_work}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hd``work_pending`` Driver-defined pending netdev_work, passed to ndo_work() (see netdev_work_sched()) h](j)}(h``work_pending``h]j)}(hj6h]h work_pending}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj0ubj)}(hhh]jl)}(hRDriver-defined pending netdev_work, passed to ndo_work() (see netdev_work_sched())h]hRDriver-defined pending netdev_work, passed to ndo_work() (see netdev_work_sched())}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhj2ubj)}(hG``work_core_pending`` Core-defined pending netdev_work (NETDEV_WORK_*) h](j)}(h``work_core_pending``h]j)}(hjph]hwork_core_pending}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjjubj)}(hhh]jl)}(h0Core-defined pending netdev_work (NETDEV_WORK_*)h]h0Core-defined pending netdev_work (NETDEV_WORK_*)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hB``rx_mode_addr_cache`` Recycled snapshot entries for rx_mode work h](j)}(h``rx_mode_addr_cache``h]j)}(hjh]hrx_mode_addr_cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h*Recycled snapshot entries for rx_mode workh]h*Recycled snapshot entries for rx_mode work}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hH``rx_mode_retry_timer`` Timer that re-queues rx_mode work after failure h](j)}(h``rx_mode_retry_timer``h]j)}(hjh]hrx_mode_retry_timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h/Timer that re-queues rx_mode work after failureh]h/Timer that re-queues rx_mode work after failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hH``rx_mode_retry_count`` Number of consecutive retries already scheduled h](j)}(h``rx_mode_retry_count``h]j)}(hjh]hrx_mode_retry_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h/Number of consecutive retries already scheduledh]h/Number of consecutive retries already scheduled}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj2ubj)}(hS``nested_level`` Used as a parameter of spin_lock_nested() of dev->addr_list_lock. h](j)}(h``nested_level``h]j)}(hjTh]h nested_level}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMEhjNubj)}(hhh]jl)}(hAUsed as a parameter of spin_lock_nested() of dev->addr_list_lock.h]hAUsed as a parameter of spin_lock_nested() of dev->addr_list_lock.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMDhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMEhj2ubj)}(h``ip_ptr`` IPv4 specific data h](j)}(h ``ip_ptr``h]j)}(hjh]hip_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hIPv4 specific datah]hIPv4 specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h5``fib_nh_head`` nexthops associated with this netdev h](j)}(h``fib_nh_head``h]j)}(hjh]h fib_nh_head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM> hjubj)}(hhh]jl)}(h$nexthops associated with this netdevh]h$nexthops associated with this netdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM> hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM> hj2ubj)}(h``vlan_info`` VLAN info h](j)}(h ``vlan_info``h]j)}(hjh]h vlan_info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h VLAN infoh]h VLAN info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h``dsa_ptr`` dsa specific data h](j)}(h ``dsa_ptr``h]j)}(hj9h]hdsa_ptr}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj3ubj)}(hhh]jl)}(hdsa specific datah]hdsa specific data}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhj2ubj)}(h ``tipc_ptr`` TIPC specific data h](j)}(h ``tipc_ptr``h]j)}(hjrh]htipc_ptr}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjlubj)}(hhh]jl)}(hTIPC specific datah]hTIPC specific data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hG``ieee80211_ptr`` IEEE 802.11 specific data, assign before registering h](j)}(h``ieee80211_ptr``h]j)}(hjh]h ieee80211_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h4IEEE 802.11 specific data, assign before registeringh]h4IEEE 802.11 specific data, assign before registering}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hW``ieee802154_ptr`` IEEE 802.15.4 low-rate Wireless Personal Area Network device struct h](j)}(h``ieee802154_ptr``h]j)}(hjh]hieee802154_ptr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hCIEEE 802.15.4 low-rate Wireless Personal Area Network device structh]hCIEEE 802.15.4 low-rate Wireless Personal Area Network device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h%``mpls_ptr`` mpls_dev struct pointer h](j)}(h ``mpls_ptr``h]j)}(hjh]hmpls_ptr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hmpls_dev struct pointerh]hmpls_dev struct pointer}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj2ubj)}(h ``mctp_ptr`` MCTP specific data h](j)}(h ``mctp_ptr``h]j)}(hjWh]hmctp_ptr}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjQubj)}(hhh]jl)}(hMCTP specific datah]hMCTP specific data}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhj2ubj)}(h9``psp_dev`` PSP crypto device registered for this netdev h](j)}(h ``psp_dev``h]j)}(hjh]hpsp_dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h,PSP crypto device registered for this netdevh]h,PSP crypto device registered for this netdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hI``dev_addr`` Hw address (before bcast, because most packets are unicast) h](j)}(h ``dev_addr``h]j)}(hjh]hdev_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h;Hw address (before bcast, because most packets are unicast)h]h;Hw address (before bcast, because most packets are unicast)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hJ``num_rx_queues`` Number of RX queues allocated at register_netdev() time h](j)}(h``num_rx_queues``h]j)}(hjh]h num_rx_queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h7Number of RX queues allocated at register_netdev() timeh]h7Number of RX queues allocated at register_netdev() time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hT``xdp_zc_max_segs`` Maximum number of segments supported by AF_XDP zero copy driver h](j)}(h``xdp_zc_max_segs``h]j)}(hj=h]hxdp_zc_max_segs}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMMhj7ubj)}(hhh]jl)}(h?Maximum number of segments supported by AF_XDP zero copy driverh]h?Maximum number of segments supported by AF_XDP zero copy driver}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMLhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMMhj2ubj)}(h1``ingress_queue`` XXX: need comments on this one h](j)}(h``ingress_queue``h]j)}(hjwh]h ingress_queue}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjqubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hB``nf_hooks_ingress`` netfilter hooks executed for ingress packets h](j)}(h``nf_hooks_ingress``h]j)}(hjh]hnf_hooks_ingress}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h,netfilter hooks executed for ingress packetsh]h,netfilter hooks executed for ingress packets}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h``broadcast`` hw bcast address h](j)}(h ``broadcast``h]j)}(hjh]h broadcast}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hhw bcast addressh]hhw bcast address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h``rx_cpu_rmap`` CPU reverse-mapping for RX completion interrupts, indexed by RX queue number. Assigned by driver. This must only be set if the ndo_rx_flow_steer operation is defined h](j)}(h``rx_cpu_rmap``h]j)}(hj"h]h rx_cpu_rmap}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hCPU reverse-mapping for RX completion interrupts, indexed by RX queue number. Assigned by driver. This must only be set if the ndo_rx_flow_steer operation is definedh]hCPU reverse-mapping for RX completion interrupts, indexed by RX queue number. Assigned by driver. This must only be set if the ndo_rx_flow_steer operation is defined}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhj2ubj)}(h(``index_hlist`` Device index hash chain h](j)}(h``index_hlist``h]j)}(hj\h]h index_hlist}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjVubj)}(hhh]jl)}(hDevice index hash chainh]hDevice index hash chain}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhj2ubj)}(hJ``num_tx_queues`` Number of TX queues allocated at alloc_netdev_mq() time h](j)}(h``num_tx_queues``h]j)}(hjh]h num_tx_queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h7Number of TX queues allocated at alloc_netdev_mq() timeh]h7Number of TX queues allocated at alloc_netdev_mq() time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h2``qdisc`` Root qdisc from userspace point of view h](j)}(h ``qdisc``h]j)}(hjh]hqdisc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h'Root qdisc from userspace point of viewh]h'Root qdisc from userspace point of view}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h.``tx_queue_len`` Max frames per queue allowed h](j)}(h``tx_queue_len``h]j)}(hjh]h tx_queue_len}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hMax frames per queue allowedh]hMax frames per queue allowed}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h2``tx_global_lock`` XXX: need comments on this one h](j)}(h``tx_global_lock``h]j)}(hj@h]htx_global_lock}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj:ubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj2ubj)}(h$``xdp_bulkq`` XDP device bulk queue h](j)}(h ``xdp_bulkq``h]j)}(hjyh]h xdp_bulkq}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjsubj)}(hhh]jl)}(hXDP device bulk queueh]hXDP device bulk queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h ``qdisc_hash`` qdisc hash table h](j)}(h``qdisc_hash``h]j)}(hjh]h qdisc_hash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hqdisc hash tableh]hqdisc hash table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h"``watchdog_timer`` List of timers h](j)}(h``watchdog_timer``h]j)}(hjh]hwatchdog_timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hList of timersh]hList of timers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h\``watchdog_timeo`` Represents the timeout that is used by the watchdog (see dev_watchdog()) h](j)}(h``watchdog_timeo``h]j)}(hj$h]hwatchdog_timeo}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hHRepresents the timeout that is used by the watchdog (see dev_watchdog())h]hHRepresents the timeout that is used by the watchdog (see dev_watchdog())}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj2ubj)}(h,``watchdog_lock`` protect watchdog_ref_held h](j)}(h``watchdog_lock``h]j)}(hj^h]h watchdog_lock}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjXubj)}(hhh]jl)}(hprotect watchdog_ref_heldh]hprotect watchdog_ref_held}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhj2ubj)}(h@``watchdog_ref_held`` True if the watchdog device ref is taken. h](j)}(h``watchdog_ref_held``h]j)}(hjh]hwatchdog_ref_held}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h)True if the watchdog device ref is taken.h]h)True if the watchdog device ref is taken.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h=``proto_down_reason`` reason a netdev interface is held down h](j)}(h``proto_down_reason``h]j)}(hjh]hproto_down_reason}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h&reason a netdev interface is held downh]h&reason a netdev interface is held down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h*``todo_list`` Delayed register/unregister h](j)}(h ``todo_list``h]j)}(hj h]h todo_list}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hDelayed register/unregisterh]hDelayed register/unregister}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h4``pcpu_refcnt`` Number of references to this device h](j)}(h``pcpu_refcnt``h]j)}(hjBh]h pcpu_refcnt}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<ubj)}(hhh]jl)}(h#Number of references to this deviceh]h#Number of references to this device}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhj2ubj)}(h3``dev_refcnt`` Number of references to this device h](j)}(h``dev_refcnt``h]j)}(hj{h]h dev_refcnt}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjuubj)}(hhh]jl)}(h#Number of references to this deviceh]h#Number of references to this device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(hK``refcnt_tracker`` Tracker directory for tracked references to this device h](j)}(h``refcnt_tracker``h]j)}(hjh]hrefcnt_tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(h7Tracker directory for tracked references to this deviceh]h7Tracker directory for tracked references to this device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h3``link_watch_list`` XXX: need comments on this one h](j)}(h``link_watch_list``h]j)}(hjh]hlink_watch_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h0``reg_state`` Register/unregister state machine h](j)}(h ``reg_state``h]j)}(hj&h]h reg_state}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jl)}(h!Register/unregister state machineh]h!Register/unregister state machine}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj2ubj)}(h*``dismantle`` Device is going to be freed h](j)}(h ``dismantle``h]j)}(hj_h]h dismantle}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjYubj)}(hhh]jl)}(hDevice is going to be freedh]hDevice is going to be freed}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhj2ubj)}(h>``moving_ns`` device is changing netns, protected by **lock** h](j)}(h ``moving_ns``h]j)}(hjh]h moving_ns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(h/device is changing netns, protected by **lock**h](h'device is changing netns, protected by }(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj2ubj)}(hA``rtnl_link_initializing`` Device being created, suppress events h](j)}(h``rtnl_link_initializing``h]j)}(hjh]hrtnl_link_initializing}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(h%Device being created, suppress eventsh]h%Device being created, suppress events}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj2ubj)}(h=``needs_free_netdev`` Should unregister perform free_netdev? h](j)}(h``needs_free_netdev``h]j)}(hj h]hneeds_free_netdev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jl)}(h&Should unregister perform free_netdev?h]h&Should unregister perform free_netdev?}(hj1 hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj- hMhj. ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj- hMhj2ubj)}(h+``priv_destructor`` Called from unregister h](j)}(h``priv_destructor``h]j)}(hjQ h]hpriv_destructor}(hjS hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjK ubj)}(hhh]jl)}(hCalled from unregisterh]hCalled from unregister}(hjj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjf hMhjg ubah}(h]h ]h"]h$]h&]uh1jhjK ubeh}(h]h ]h"]h$]h&]uh1jhjf hMhj2ubj)}(h``ml_priv`` Mid-layer private h](j)}(h ``ml_priv``h]j)}(hj h]hml_priv}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jl)}(hMid-layer privateh]hMid-layer private}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj2ubj)}(h(``ml_priv_type`` Mid-layer private type h](j)}(h``ml_priv_type``h]j)}(hj h]h ml_priv_type}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jl)}(hMid-layer private typeh]hMid-layer private type}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj2ubj)}(h``garp_port`` GARP h](j)}(h ``garp_port``h]j)}(hj h]h garp_port}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jl)}(hGARPh]hGARP}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj2ubj)}(h``mrp_port`` MRP h](j)}(h ``mrp_port``h]j)}(hj5 h]hmrp_port}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3 ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj/ ubj)}(hhh]jl)}(hMRPh]hMRP}(hjN hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJ hMhjK ubah}(h]h ]h"]h$]h&]uh1jhj/ ubeh}(h]h ]h"]h$]h&]uh1jhjJ hMhj2ubj)}(h$``dm_private`` Drop monitor private h](j)}(h``dm_private``h]j)}(hjn h]h dm_private}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjh ubj)}(hhh]jl)}(hDrop monitor privateh]hDrop monitor private}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjh ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj2ubj)}(h``dev`` Class/net/name entry h](j)}(h``dev``h]j)}(hj h]hdev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jl)}(hClass/net/name entryh]hClass/net/name entry}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj2ubj)}(hQ``sysfs_groups`` Space for optional device, statistics and wireless sysfs groups h](j)}(h``sysfs_groups``h]j)}(hj h]h sysfs_groups}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jl)}(h?Space for optional device, statistics and wireless sysfs groupsh]h?Space for optional device, statistics and wireless sysfs groups}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj2ubj)}(hD``sysfs_rx_queue_group`` Space for optional per-rx queue attributes h](j)}(h``sysfs_rx_queue_group``h]j)}(hj h]hsysfs_rx_queue_group}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jl)}(h*Space for optional per-rx queue attributesh]h*Space for optional per-rx queue attributes}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/ hMhj0 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj/ hMhj2ubj)}(h ``rtnl_link_ops`` Rtnl_link_ops h](j)}(h``rtnl_link_ops``h]j)}(hjS h]h rtnl_link_ops}(hjU hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjM ubj)}(hhh]jl)}(h Rtnl_link_opsh]h Rtnl_link_ops}(hjl hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjh hMhji ubah}(h]h ]h"]h$]h&]uh1jhjM ubeh}(h]h ]h"]h$]h&]uh1jhjh hMhj2ubj)}(h5``stat_ops`` Optional ops for queue-aware statistics h](j)}(h ``stat_ops``h]j)}(hj h]hstat_ops}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj ubj)}(hhh]jl)}(h'Optional ops for queue-aware statisticsh]h'Optional ops for queue-aware statistics}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hj2ubj)}(h5``queue_mgmt_ops`` Optional ops for queue management h](j)}(h``queue_mgmt_ops``h]j)}(hj h]hqueue_mgmt_ops}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj ubj)}(hhh]jl)}(h!Optional ops for queue managementh]h!Optional ops for queue management}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hj2ubj)}(hE``tso_max_size`` Device (as in HW) limit on the max TSO request size h](j)}(h``tso_max_size``h]j)}(hj h]h tso_max_size}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj ubj)}(hhh]jl)}(h3Device (as in HW) limit on the max TSO request sizeh]h3Device (as in HW) limit on the max TSO request size}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM hj2ubj)}(hF``tso_max_segs`` Device (as in HW) limit on the max TSO segment count h](j)}(h``tso_max_segs``h]j)}(hj7 h]h tso_max_segs}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5 ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj1 ubj)}(hhh]jl)}(h4Device (as in HW) limit on the max TSO segment counth]h4Device (as in HW) limit on the max TSO segment count}(hjP hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjL hMhjM ubah}(h]h ]h"]h$]h&]uh1jhj1 ubeh}(h]h ]h"]h$]h&]uh1jhjL hMhj2ubj)}(h/``dcbnl_ops`` Data Center Bridging netlink ops h](j)}(h ``dcbnl_ops``h]j)}(hjp h]h dcbnl_ops}(hjr hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjj ubj)}(hhh]jl)}(h Data Center Bridging netlink opsh]h Data Center Bridging netlink ops}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj2ubj)}(h/``prio_tc_map`` XXX: need comments on this one h](j)}(h``prio_tc_map``h]j)}(hj h]h prio_tc_map}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj2ubj)}(h5``fcoe_ddp_xid`` Max exchange id for FCoE LRO by ddp h](j)}(h``fcoe_ddp_xid``h]j)}(hj h]h fcoe_ddp_xid}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jl)}(h#Max exchange id for FCoE LRO by ddph]h#Max exchange id for FCoE LRO by ddp}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj2ubj)}(h+``priomap`` XXX: need comments on this one h](j)}(h ``priomap``h]j)}(hj h]hpriomap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jl)}(hXXX: need comments on this oneh]hXXX: need comments on this one}(hj4 hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0 hMhj1 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj0 hMhj2ubj)}(h<``link_topo`` Physical link topology tracking attached PHYs h](j)}(h ``link_topo``h]j)}(hjT h]h link_topo}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjN ubj)}(hhh]jl)}(h-Physical link topology tracking attached PHYsh]h-Physical link topology tracking attached PHYs}(hjm hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhji hMhjj ubah}(h]h ]h"]h$]h&]uh1jhjN ubeh}(h]h ]h"]h$]h&]uh1jhji hMhj2ubj)}(hG``phydev`` Physical device may attach itself for hardware timestamping h](j)}(h ``phydev``h]j)}(hj h]hphydev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jl)}(h;Physical device may attach itself for hardware timestampingh]h;Physical device may attach itself for hardware timestamping}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj2ubj)}(hC``sfp_bus`` attached :c:type:`struct sfp_bus ` structure. h](j)}(h ``sfp_bus``h]j)}(hj h]hsfp_bus}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ubj)}(hhh]jl)}(h6attached :c:type:`struct sfp_bus ` structure.h](h attached }(hj hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj h]hstruct sfp_bus}(hj hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhj hMhj ubh structure.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj2ubj)}(hH``qdisc_tx_busylock`` lockdep class annotating Qdisc->busylock spinlock h](j)}(h``qdisc_tx_busylock``h]j)}(hj#h]hqdisc_tx_busylock}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM!hjubj)}(hhh]jl)}(h1lockdep class annotating Qdisc->busylock spinlockh]h1lockdep class annotating Qdisc->busylock spinlock}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hM!hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hM!hj2ubj)}(h``proto_down`` protocol port state information can be sent to the switch driver and used to set the phys state of the switch port. h](j)}(h``proto_down``h]j)}(hj\h]h proto_down}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%hjVubj)}(hhh]jl)}(hsprotocol port state information can be sent to the switch driver and used to set the phys state of the switch port.h]hsprotocol port state information can be sent to the switch driver and used to set the phys state of the switch port.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM#hjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhM%hj2ubj)}(h``irq_affinity_auto`` driver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()). h](j)}(h``irq_affinity_auto``h]j)}(hjh]hirq_affinity_auto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM+hjubj)}(hhh]jl)}(hdriver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()).h]hdriver wants the core to store and re-assign the IRQ affinity. Set by netif_enable_irq_affinity(), then the driver must create a persistent napi by netif_napi_add_config() and finally bind the napi to IRQ (via netif_napi_set_irq()).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM+hj2ubj)}(hl``rx_cpu_rmap_auto`` driver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap(). h](j)}(h``rx_cpu_rmap_auto``h]j)}(hjh]hrx_cpu_rmap_auto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM.hjubj)}(hhh]jl)}(hVdriver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap().h]hVdriver wants the core to manage the ARFS rmap. Set by calling netif_enable_cpu_rmap().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hj2ubj)}(h``see_all_hwtstamp_requests`` device wants to see calls to ndo_hwtstamp_set() for all timestamp requests regardless of source, even if those aren't HWTSTAMP_SOURCE_NETDEV h](j)}(h``see_all_hwtstamp_requests``h]j)}(hj h]hsee_all_hwtstamp_requests}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM3hjubj)}(hhh]jl)}(hdevice wants to see calls to ndo_hwtstamp_set() for all timestamp requests regardless of source, even if those aren't HWTSTAMP_SOURCE_NETDEVh]hdevice wants to see calls to ndo_hwtstamp_set() for all timestamp requests regardless of source, even if those aren’t HWTSTAMP_SOURCE_NETDEV}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM0hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hj2ubj)}(hJ``change_proto_down`` device supports setting carrier via IFLA_PROTO_DOWN h](j)}(h``change_proto_down``h]j)}(hjDh]hchange_proto_down}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM4hj>ubj)}(hhh]jl)}(h3device supports setting carrier via IFLA_PROTO_DOWNh]h3device supports setting carrier via IFLA_PROTO_DOWN}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhM4hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM4hj2ubj)}(h>``netns_immutable`` interface can't change network namespaces h](j)}(h``netns_immutable``h]j)}(hj}h]hnetns_immutable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM5hjwubj)}(hhh]jl)}(h)interface can't change network namespacesh]h+interface can’t change network namespaces}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM5hj2ubj)}(h:``fcoe_mtu`` device supports maximum FCoE MTU, 2158 bytes h](j)}(h ``fcoe_mtu``h]j)}(hjh]hfcoe_mtu}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6hjubj)}(hhh]jl)}(h,device supports maximum FCoE MTU, 2158 bytesh]h,device supports maximum FCoE MTU, 2158 bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hj2ubj)}(h``net_notifier_list`` List of per-net netdev notifier block that follow this device when it is moved to another network namespace. h](j)}(h``net_notifier_list``h]j)}(hjh]hnet_notifier_list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM:hjubj)}(hhh]jl)}(hlList of per-net netdev notifier block that follow this device when it is moved to another network namespace.h]hlList of per-net netdev notifier block that follow this device when it is moved to another network namespace.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hj2ubj)}(h%``macsec_ops`` MACsec offloading ops h](j)}(h``macsec_ops``h]j)}(hj)h]h macsec_ops}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM<hj#ubj)}(hhh]jl)}(hMACsec offloading opsh]hMACsec offloading ops}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hM<hj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hM<hj2ubj)}(hf``udp_tunnel_nic_info`` static structure describing the UDP tunnel offload capabilities of the device h](j)}(h``udp_tunnel_nic_info``h]j)}(hjbh]hudp_tunnel_nic_info}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM?hj\ubj)}(hhh]jl)}(hMstatic structure describing the UDP tunnel offload capabilities of the deviceh]hMstatic structure describing the UDP tunnel offload capabilities of the device}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM>hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM?hj2ubj)}(h,``udp_tunnel_nic`` UDP tunnel offload state h](j)}(h``udp_tunnel_nic``h]j)}(hjh]hudp_tunnel_nic}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM@hjubj)}(hhh]jl)}(hUDP tunnel offload stateh]hUDP tunnel offload state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hj2ubj)}(h/``cfg`` net_device queue-related configuration h](j)}(h``cfg``h]j)}(hjh]hcfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(h&net_device queue-related configurationh]h&net_device queue-related configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj2ubj)}(h``cfg_pending`` same as **cfg** but when device is being actively reconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected. h](j)}(h``cfg_pending``h]j)}(hjh]h cfg_pending}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]j)}(hhh]j)}(hsame as **cfg** but when device is being actively reconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected. h](j)}(h1same as **cfg** but when device is being activelyh](hsame as }(hj.hhhNhNubj)}(h**cfg**h]hcfg}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh" but when device is being actively}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhj#hM hj*ubj)}(hhh]jl)}(hsreconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected.h]hsreconfigured includes any changes to the configuration requested by the user, but which may or may not be rejected.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjNubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj#hM hj'ubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hM hj2ubj)}(h"``ethtool`` ethtool related state h](j)}(h ``ethtool``h]j)}(hjh]hethtool}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMAhj~ubj)}(hhh]jl)}(hethtool related stateh]hethtool related state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMAhj2ubj)}(h7``xdp_state`` stores info on attached XDP BPF programs h](j)}(h ``xdp_state``h]j)}(hjh]h xdp_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMBhjubj)}(hhh]jl)}(h(stores info on attached XDP BPF programsh]h(stores info on attached XDP BPF programs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhj2ubj)}(hA``dev_addr_shadow`` Copy of **dev_addr** to catch direct writes. h](j)}(h``dev_addr_shadow``h]j)}(hjh]hdev_addr_shadow}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMOhjubj)}(hhh]jl)}(h,Copy of **dev_addr** to catch direct writes.h](hCopy of }(hjhhhNhNubj)}(h **dev_addr**h]hdev_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to catch direct writes.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj hMOhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMOhj2ubj)}(h>``linkwatch_dev_tracker`` refcount tracker used by linkwatch. h](j)}(h``linkwatch_dev_tracker``h]j)}(hjAh]hlinkwatch_dev_tracker}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMPhj;ubj)}(hhh]jl)}(h#refcount tracker used by linkwatch.h]h#refcount tracker used by linkwatch.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMPhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMPhj2ubj)}(h<``watchdog_dev_tracker`` refcount tracker used by watchdog. h](j)}(h``watchdog_dev_tracker``h]j)}(hjzh]hwatchdog_dev_tracker}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMQhjtubj)}(hhh]jl)}(h"refcount tracker used by watchdog.h]h"refcount tracker used by watchdog.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMQhj2ubj)}(hG``dev_registered_tracker`` tracker for reference held while registered h](j)}(h``dev_registered_tracker``h]j)}(hjh]hdev_registered_tracker}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMShjubj)}(hhh]jl)}(h+tracker for reference held while registeredh]h+tracker for reference held while registered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShj2ubj)}(h6``offload_xstats_l3`` L3 HW stats for this netdevice. h](j)}(h``offload_xstats_l3``h]j)}(hjh]hoffload_xstats_l3}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMThjubj)}(hhh]jl)}(hL3 HW stats for this netdevice.h]hL3 HW stats for this netdevice.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThj2ubj)}(h``devlink_port`` Pointer to related devlink port structure. Assigned by a driver before netdev registration using SET_NETDEV_DEVLINK_PORT macro. This pointer is static during the time netdevice is registered. h](j)}(h``devlink_port``h]j)}(hj&h]h devlink_port}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMYhj ubj)}(hhh]jl)}(hPointer to related devlink port structure. Assigned by a driver before netdev registration using SET_NETDEV_DEVLINK_PORT macro. This pointer is static during the time netdevice is registered.h]hPointer to related devlink port structure. Assigned by a driver before netdev registration using SET_NETDEV_DEVLINK_PORT macro. This pointer is static during the time netdevice is registered.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMVhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMYhj2ubj)}(h```dpll_pin`` Pointer to the SyncE source pin of a DPLL subsystem, where the clock is recovered. h](j)}(h ``dpll_pin``h]j)}(hj`h]hdpll_pin}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM\hjZubj)}(hhh]jl)}(hRPointer to the SyncE source pin of a DPLL subsystem, where the clock is recovered.h]hRPointer to the SyncE source pin of a DPLL subsystem, where the clock is recovered.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM[hjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhM\hj2ubj)}(h5``page_pools`` page pools created for this netdevice h](j)}(h``page_pools``h]j)}(hjh]h page_pools}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(h%page pools created for this netdeviceh]h%page pools created for this netdevice}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj2ubj)}(h@``irq_moder`` dim parameters used if IS_ENABLED(CONFIG_DIMLIB). h](j)}(h ``irq_moder``h]j)}(hjh]h irq_moder}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(h1dim parameters used if IS_ENABLED(CONFIG_DIMLIB).h]h1dim parameters used if IS_ENABLED(CONFIG_DIMLIB).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj2ubj)}(h@``max_pacing_offload_horizon`` max EDT offload horizon in nsec. h](j)}(h``max_pacing_offload_horizon``h]j)}(hj h]hmax_pacing_offload_horizon}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM^hjubj)}(hhh]jl)}(h max EDT offload horizon in nsec.h]h max EDT offload horizon in nsec.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hM^hj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hM^hj2ubj)}(hQ``napi_config`` An array of napi_config structures containing per-NAPI settings. h](j)}(h``napi_config``h]j)}(hjEh]h napi_config}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM`hj?ubj)}(hhh]jl)}(h@An array of napi_config structures containing per-NAPI settings.h]h@An array of napi_config structures containing per-NAPI settings.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM_hj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhM`hj2ubj)}(hk``num_napi_configs`` number of allocated NAPI config structs, always >= max(num_rx_queues, num_tx_queues). h](j)}(h``num_napi_configs``h]j)}(hjh]hnum_napi_configs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMbhjyubj)}(hhh]jl)}(hUnumber of allocated NAPI config structs, always >= max(num_rx_queues, num_tx_queues).h]hUnumber of allocated NAPI config structs, always >= max(num_rx_queues, num_tx_queues).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMahjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMbhj2ubj)}(hq``napi_defer_hard_irqs`` If not zero, provides a counter that would allow to avoid NIC hard IRQ, on busy queues. h](j)}(h``napi_defer_hard_irqs``h]j)}(hjh]hnapi_defer_hard_irqs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjubj)}(hhh]jl)}(hWIf not zero, provides a counter that would allow to avoid NIC hard IRQ, on busy queues.h]hWIf not zero, provides a counter that would allow to avoid NIC hard IRQ, on busy queues.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehj2ubj)}(h4``gro_flush_timeout`` timeout for GRO layer in NAPI h](j)}(h``gro_flush_timeout``h]j)}(hjh]hgro_flush_timeout}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMchjubj)}(hhh]jl)}(htimeout for GRO layer in NAPIh]htimeout for GRO layer in NAPI}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMchj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchj2ubj)}(h``up`` copy of **state**'s IFF_UP, but safe to read with just **lock**. May report false negatives while the device is being opened or closed (**lock** does not protect .ndo_open, or .ndo_close). h](j)}(h``up``h]j)}(hj,h]hup}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj&ubj)}(hhh]j)}(hhh]j)}(hcopy of **state**'s IFF_UP, but safe to read with just **lock**. May report false negatives while the device is being opened or closed (**lock** does not protect .ndo_open, or .ndo_close). h](j)}(h@copy of **state**'s IFF_UP, but safe to read with just **lock**.h](hcopy of }(hjLhhhNhNubj)}(h **state**h]hstate}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh(’s IFF_UP, but safe to read with just }(hjLhhhNhNubj)}(h**lock**h]hlock}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhjAhM hjHubj)}(hhh]jl)}(h{May report false negatives while the device is being opened or closed (**lock** does not protect .ndo_open, or .ndo_close).h](hGMay report false negatives while the device is being opened or closed (}(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, does not protect .ndo_open, or .ndo_close).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj~ubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjAhM hjEubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhM hj2ubj)}(hh``request_ops_lock`` request the core to run all **netdev_ops** and **ethtool_ops** under the **lock**. h](j)}(h``request_ops_lock``h]j)}(hjh]hrequest_ops_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(hRrequest the core to run all **netdev_ops** and **ethtool_ops** under the **lock**.h](hrequest the core to run all }(hjhhhNhNubj)}(h**netdev_ops**h]h netdev_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**ethtool_ops**h]h ethtool_ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh under the }(hjhhhNhNubj)}(h**lock**h]hlock}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj2ubj)}(hX``lock`` netdev-scope lock, protects a small selection of fields. Should always be taken using netdev_lock() / netdev_unlock() helpers. Drivers are free to use it for other protection. For the drivers that implement shaper or queue API, the scope of this lock is expanded to cover most ndo/queue/ethtool/sysfs operations. Drivers may opt-in to this behavior by setting **request_ops_lock**. **lock** protection mixes with rtnl_lock in multiple ways, fields are either: - simply protected by the instance **lock**; - double protected - writers hold both locks, readers hold either; - ops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock; - double ops protected - always protected by rtnl_lock but for devices for which netdev_need_ops_lock() returns true - also the instance lock. Simply protects: **gro_flush_timeout**, **napi_defer_hard_irqs**, **napi_list**, **net_shaper_hierarchy**, **reg_state**, **threaded** Double protects: **up**, **moving_ns**, **nd_net**, **xdp_features** Ops protects: **cfg**, **cfg_pending**, **ethtool**, **hwprov** Double ops protects: **real_num_rx_queues**, **real_num_tx_queues** Also protects some fields in: struct napi_struct, struct netdev_queue, struct netdev_rx_queue Ordering: - take after rtnl_lock - for the case of netdev queue leasing, the netdev-scope lock is taken for both the virtual and the physical device; to prevent deadlocks, the virtual device's lock must always be acquired before the physical device's (see netdev_nl_queue_create_doit) h](j)}(h``lock``h]j)}(hj6h]hlock}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMH hj0ubj)}(hhh](jl)}(hnetdev-scope lock, protects a small selection of fields. Should always be taken using netdev_lock() / netdev_unlock() helpers. Drivers are free to use it for other protection.h]hnetdev-scope lock, protects a small selection of fields. Should always be taken using netdev_lock() / netdev_unlock() helpers. Drivers are free to use it for other protection.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjLubjl)}(hFor the drivers that implement shaper or queue API, the scope of this lock is expanded to cover most ndo/queue/ethtool/sysfs operations. Drivers may opt-in to this behavior by setting **request_ops_lock**.h](hFor the drivers that implement shaper or queue API, the scope of this lock is expanded to cover most ndo/queue/ethtool/sysfs operations. Drivers may opt-in to this behavior by setting }(hj^hhhNhNubj)}(h**request_ops_lock**h]hrequest_ops_lock}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubh.}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjLubjl)}(hM**lock** protection mixes with rtnl_lock in multiple ways, fields are either:h](j)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhE protection mixes with rtnl_lock in multiple ways, fields are either:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM" hjLubjUQ)}(hhh](jZQ)}(h+simply protected by the instance **lock**; h]jl)}(h*simply protected by the instance **lock**;h](h!simply protected by the instance }(hjhhhNhNubj)}(h**lock**h]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh;}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM% hjubah}(h]h ]h"]h$]h&]uh1jYQhjubjZQ)}(hAdouble protected - writers hold both locks, readers hold either; h]jl)}(h@double protected - writers hold both locks, readers hold either;h]h@double protected - writers hold both locks, readers hold either;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM' hjubah}(h]h ]h"]h$]h&]uh1jYQhjubjZQ)}(hops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock; h]jl)}(hops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock;h]hops protected - protected by the lock held around the NDOs and other callbacks, that is the instance lock on devices for which netdev_need_ops_lock() returns true, otherwise by rtnl_lock;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM) hjubah}(h]h ]h"]h$]h&]uh1jYQhjubjZQ)}(hdouble ops protected - always protected by rtnl_lock but for devices for which netdev_need_ops_lock() returns true - also the instance lock. h]jl)}(hdouble ops protected - always protected by rtnl_lock but for devices for which netdev_need_ops_lock() returns true - also the instance lock.h]hdouble ops protected - always protected by rtnl_lock but for devices for which netdev_need_ops_lock() returns true - also the instance lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM- hjubah}(h]h ]h"]h$]h&]uh1jYQhjubeh}(h]h ]h"]h$]h&]j$Rj@uh1jTQhjhM% hjLubj)}(hhh](j)}(hSimply protects: **gro_flush_timeout**, **napi_defer_hard_irqs**, **napi_list**, **net_shaper_hierarchy**, **reg_state**, **threaded** h](j)}(hSimply protects:h]hSimply protects:}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM3 hjubj)}(hhh]jl)}(hu**gro_flush_timeout**, **napi_defer_hard_irqs**, **napi_list**, **net_shaper_hierarchy**, **reg_state**, **threaded**h](j)}(h**gro_flush_timeout**h]hgro_flush_timeout}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh, }(hj4hhhNhNubj)}(h**napi_defer_hard_irqs**h]hnapi_defer_hard_irqs}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh, }hj4sbj)}(h **napi_list**h]h napi_list}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh, }(hj4hhhNhNubj)}(h**net_shaper_hierarchy**h]hnet_shaper_hierarchy}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh, }hj4sbj)}(h **reg_state**h]h reg_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh, }hj4sbj)}(h **threaded**h]hthreaded}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM2 hj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hM3 hjubj)}(hEDouble protects: **up**, **moving_ns**, **nd_net**, **xdp_features** h](j)}(hDouble protects:h]hDouble protects:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6 hjubj)}(hhh]jl)}(h3**up**, **moving_ns**, **nd_net**, **xdp_features**h](j)}(h**up**h]hup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h **moving_ns**h]h moving_ns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h **nd_net**h]hnd_net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h**xdp_features**h]h xdp_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhM6 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6 hjubj)}(h@Ops protects: **cfg**, **cfg_pending**, **ethtool**, **hwprov** h](j)}(h Ops protects:h]h Ops protects:}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9 hj#ubj)}(hhh]jl)}(h1**cfg**, **cfg_pending**, **ethtool**, **hwprov**h](j)}(h**cfg**h]hcfg}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh, }(hj9hhhNhNubj)}(h**cfg_pending**h]h cfg_pending}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh, }hj9sbj)}(h **ethtool**h]hethtool}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh, }hj9sbj)}(h **hwprov**h]hhwprov}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jkhj5hM9 hj6ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj5hM9 hjubj)}(hDDouble ops protects: **real_num_rx_queues**, **real_num_tx_queues** h](j)}(hDouble ops protects:h]hDouble ops protects:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM< hjubj)}(hhh]jl)}(h.**real_num_rx_queues**, **real_num_tx_queues**h](j)}(h**real_num_rx_queues**h]hreal_num_rx_queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**real_num_tx_queues**h]hreal_num_tx_queues}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhM< hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM< hjubj)}(h^Also protects some fields in: struct napi_struct, struct netdev_queue, struct netdev_rx_queue h](j)}(hAlso protects some fields in:h]hAlso protects some fields in:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM? hjubj)}(hhh]jl)}(h?struct napi_struct, struct netdev_queue, struct netdev_rx_queueh]h?struct napi_struct, struct netdev_queue, struct netdev_rx_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM? hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM? hjubeh}(h]h ]h"]h$]h&]uh1jhjLubjl)}(h Ordering:h]h Ordering:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMA hjLubjUQ)}(hhh](jZQ)}(htake after rtnl_lock h]jl)}(htake after rtnl_lockh]htake after rtnl_lock}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMC hj'ubah}(h]h ]h"]h$]h&]uh1jYQhj$ubjZQ)}(hfor the case of netdev queue leasing, the netdev-scope lock is taken for both the virtual and the physical device; to prevent deadlocks, the virtual device's lock must always be acquired before the physical device's (see netdev_nl_queue_create_doit) h]jl)}(hfor the case of netdev queue leasing, the netdev-scope lock is taken for both the virtual and the physical device; to prevent deadlocks, the virtual device's lock must always be acquired before the physical device's (see netdev_nl_queue_create_doit)h]hfor the case of netdev queue leasing, the netdev-scope lock is taken for both the virtual and the physical device; to prevent deadlocks, the virtual device’s lock must always be acquired before the physical device’s (see netdev_nl_queue_create_doit)}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhME hj@ubah}(h]h ]h"]h$]h&]uh1jYQhj$ubeh}(h]h ]h"]h$]h&]j$Rj@uh1jTQhj9hMC hjLubeh}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMH hj2ubj)}(h```net_shaper_hierarchy`` data tracking the current shaper status see include/net/net_shapers.h h](j)}(h``net_shaper_hierarchy``h]j)}(hjqh]hnet_shaper_hierarchy}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMO hjkubj)}(hhh]j)}(hhh]j)}(hFdata tracking the current shaper status see include/net/net_shapers.h h](j)}(h'data tracking the current shaper statush]h'data tracking the current shaper status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhMO hjubj)}(hhh]jl)}(hsee include/net/net_shapers.hh]hsee include/net/net_shapers.h}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMO hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMO hjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMO hj2ubj)}(hb``neighbours`` List heads pointing to this device's neighbours' dev_list, one per address-family. h](j)}(h``neighbours``h]j)}(hjh]h neighbours}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhhjubj)}(hhh]jl)}(hRList heads pointing to this device's neighbours' dev_list, one per address-family.h]hVList heads pointing to this device’s neighbours’ dev_list, one per address-family.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhj2ubj)}(hD``hwprov`` Tracks which PTP performs hardware packet time stamping. h](j)}(h ``hwprov``h]j)}(hjh]hhwprov}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMihjubj)}(hhh]jl)}(h8Tracks which PTP performs hardware packet time stamping.h]h8Tracks which PTP performs hardware packet time stamping.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMihj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMihj2ubj)}(h/``priv`` Flexible array containing private datah](j)}(h``priv``h]j)}(hjGh]hpriv}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMxhjAubj)}(hhh]jl)}(h&Flexible array containing private datah]h&Flexible array containing private data}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMyhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMxhj2ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM|hjhhubj)}(hXActually, this whole structure is a big mistake. It mixes I/O data with strictly "high-level" data, and it has to know about almost every data structure used in the INET module. interface address info: FIXME: cleanup struct net_device such that network protocol info moves out. h](jl)}(hActually, this whole structure is a big mistake. It mixes I/O data with strictly "high-level" data, and it has to know about almost every data structure used in the INET module.h]hActually, this whole structure is a big mistake. It mixes I/O data with strictly “high-level” data, and it has to know about almost every data structure used in the INET module.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM%hjubjl)}(hinterface address info:h]hinterface address info:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM*hjubjl)}(hKFIXME: cleanup struct net_device such that network protocol info moves out.h]hKFIXME: cleanup struct net_device such that network protocol info moves out.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-hjubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_priv (C function) c.netdev_privhNtauh1hhjhhhNhNubh)}(hhh](j)}(h1void * netdev_priv (const struct net_device *dev)h]j )}(h/void *netdev_priv(const struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM ubj3)}(h netdev_privh]j9)}(h netdev_privh]h netdev_priv}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]j )}j j sb c.netdev_privasbuh1hhj6ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(h"access network device private datah]h"access network device private data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hs**Parameters** ``const struct net_device *dev`` network device **Description** Get network device private datah](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjh]hconst struct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hM hj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hM hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjTh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjl)}(hGet network device private datah]hGet network device private data}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_from_priv (C function)c.netdev_from_privhNtauh1hhjhhhNhNubh)}(hhh](j)}(h7struct net_device * netdev_from_priv (const void *priv)h]j )}(h5struct net_device *netdev_from_priv(const void *priv)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j netdev_from_privsbc.netdev_from_privasbuh1hhjhhhjhM ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhM ubj3)}(hnetdev_from_privh]j9)}(hjh]hnetdev_from_priv}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM ubj )}(h(const void *priv)h]j )}(hconst void *privh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hprivh]hpriv}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]jl)}(hget network device from privh]hget network device from priv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj~hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(ht**Parameters** ``const void *priv`` network device private data **Return** net_device to which **priv** belongsh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]j)}(h1``const void *priv`` network device private data h](j)}(h``const void *priv``h]j)}(hjh]hconst void *priv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubj)}(hhh]jl)}(hnetwork device private datah]hnetwork device private data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubjl)}(h$net_device to which **priv** belongsh](hnet_device to which }(hjhhhNhNubj)}(h**priv**h]hpriv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh belongs}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_add (C function)c.netif_napi_addhNtauh1hhjhhhNhNubh)}(hhh](j)}(hnvoid netif_napi_add (struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct *, int))h]j )}(hlvoid netif_napi_add(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int))h](jM )}(hvoidh]hvoid}(hjThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMS ubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPhhhjbhMS ubj3)}(hnetif_napi_addh]j9)}(hnetif_napi_addh]hnetif_napi_add}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjPhhhjbhMS ubj )}(hY(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int))h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jwsbc.netif_napi_addasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct napi_struct *napih](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]jc.netif_napi_addasbuh1hhjubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hnapih]hnapi}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h%int (*poll)(struct napi_struct*, int)h](jM )}(hinth]hint}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjoubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hjh]h(}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hpollh]hpoll}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubj )}(hjh]h)}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj )}(hjh]h(}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.netif_napi_addasbuh1hhjoubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj )}(hj^zh]h,}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj")}(h h]h }(hj' hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubjM )}(hinth]hint}(hj5 hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjoubj )}(hjh]h)}(hjC hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjPhhhjbhMS ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjLhhhjbhMS ubah}(h]jGah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjbhMS hjIhhubjg)}(hhh]jl)}(hinitialize a NAPI contexth]hinitialize a NAPI context}(hjl hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMS hji hhubah}(h]h ]h"]h$]h&]uh1jfhjIhhhjbhMS ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(hX0**Parameters** ``struct net_device *dev`` network device ``struct napi_struct *napi`` NAPI context ``int (*poll)(struct napi_struct *, int)`` polling function **Description** netif_napi_add() must be used to initialize a NAPI context prior to calling *any* of the other NAPI-related functions.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMW hj ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj h]hstruct net_device *dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMT hj ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMT hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMT hj ubj)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hj h]hstruct napi_struct *napi}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMU hj ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMU hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMU hj ubj)}(h<``int (*poll)(struct napi_struct *, int)`` polling function h](j)}(h*``int (*poll)(struct napi_struct *, int)``h]j)}(hj!h]h&int (*poll)(struct napi_struct *, int)}(hj!!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMV hj!ubj)}(hhh]jl)}(hpolling functionh]hpolling function}(hj8!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4!hMV hj5!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj4!hMV hj ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hjZ!h]h Description}(hj\!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX!ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMX hj ubjl)}(hvnetif_napi_add() must be used to initialize a NAPI context prior to calling *any* of the other NAPI-related functions.h](hLnetif_napi_add() must be used to initialize a NAPI context prior to calling }(hjp!hhhNhNubj)}(h*any*h]hany}(hjx!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp!ubh% of the other NAPI-related functions.}(hjp!hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMW hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"netif_napi_add_config (C function)c.netif_napi_add_confighNtauh1hhjhhhNhNubh)}(hhh](j)}(hvoid netif_napi_add_config (struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct *, int), int index)h]j )}(h~void netif_napi_add_config(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int), int index)h](jM )}(hvoidh]hvoid}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj!hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM} ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!hhhj!hM} ubj3)}(hnetif_napi_add_configh]j9)}(hnetif_napi_add_configh]hnetif_napi_add_config}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj!hhhj!hM} ubj )}(hd(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int), int index)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj "hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj "ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j )}j j!sbc.netif_napi_add_configasbuh1hhj!ubj")}(h h]h }(hj,"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj )}(hj h]h*}(hj:"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!ubj9)}(hdevh]hdev}(hjG"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubj )}(hstruct napi_struct *napih](j)}(hjh]hstruct}(hj`"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\"ubj")}(h h]h }(hjm"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\"ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hj~"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j("c.netif_napi_add_configasbuh1hhj\"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\"ubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\"ubj9)}(hnapih]hnapi}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubj )}(h%int (*poll)(struct napi_struct*, int)h](jM )}(hinth]hint}(hj"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj )}(hjh]h(}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"ubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"ubj9)}(hpollh]hpoll}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubj )}(hjh]h)}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"ubj )}(hjh]h(}(hj!#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"ubj)}(hjh]hstruct}(hj.#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj")}(h h]h }(hj;#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hjL#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjI#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjN#modnameN classnameNj j )}j ]j("c.netif_napi_add_configasbuh1hhj"ubj )}(hj h]h*}(hjj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"ubj )}(hj^zh]h,}(hjw#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubjM )}(hinth]hint}(hj#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj"ubj )}(hjh]h)}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubj )}(h int indexh](jM )}(hinth]hint}(hj#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj#ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj9)}(hindexh]hindex}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj!hhhj!hM} ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj!hhhj!hM} ubah}(h]j!ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj!hM} hj!hhubjg)}(hhh]jl)}(h0initialize a NAPI context with persistent configh]h0initialize a NAPI context with persistent config}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM} hj#hhubah}(h]h ]h"]h$]h&]uh1jfhj!hhhj!hM} ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device ``struct napi_struct *napi`` NAPI context ``int (*poll)(struct napi_struct *, int)`` polling function ``int index`` the NAPI indexh](jl)}(h**Parameters**h]j)}(hj $h]h Parameters}(hj"$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj$ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj?$h]hstruct net_device *dev}(hjA$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM~ hj9$ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjX$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjT$hM~ hjU$ubah}(h]h ]h"]h$]h&]uh1jhj9$ubeh}(h]h ]h"]h$]h&]uh1jhjT$hM~ hj6$ubj)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hjx$h]hstruct napi_struct *napi}(hjz$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjr$ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hM hj$ubah}(h]h ]h"]h$]h&]uh1jhjr$ubeh}(h]h ]h"]h$]h&]uh1jhj$hM hj6$ubj)}(h<``int (*poll)(struct napi_struct *, int)`` polling function h](j)}(h*``int (*poll)(struct napi_struct *, int)``h]j)}(hj$h]h&int (*poll)(struct napi_struct *, int)}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj$ubj)}(hhh]jl)}(hpolling functionh]hpolling function}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hM hj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hM hj6$ubj)}(h``int index`` the NAPI indexh](j)}(h ``int index``h]j)}(hj$h]h int index}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj$ubj)}(hhh]jl)}(hthe NAPI indexh]hthe NAPI index}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj%ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hM hj6$ubeh}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_add_tx (C function)c.netif_napi_add_txhNtauh1hhjhhhNhNubh)}(hhh](j)}(hqvoid netif_napi_add_tx (struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct *, int))h]j )}(hovoid netif_napi_add_tx(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int))h](jM )}(hvoidh]hvoid}(hjD%hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@%hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj")}(h h]h }(hjS%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@%hhhjR%hM ubj3)}(hnetif_napi_add_txh]j9)}(hnetif_napi_add_txh]hnetif_napi_add_tx}(hje%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hja%ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@%hhhjR%hM ubj )}(hY(struct net_device *dev, struct napi_struct *napi, int (*poll)(struct napi_struct*, int))h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}%ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}%ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j )}j jg%sbc.netif_napi_add_txasbuh1hhj}%ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}%ubj )}(hj h]h*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}%ubj9)}(hdevh]hdev}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjy%ubj )}(hstruct napi_struct *napih](j)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]j%c.netif_napi_add_txasbuh1hhj%ubj")}(h h]h }(hj/&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj )}(hj h]h*}(hj=&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%ubj9)}(hnapih]hnapi}(hjJ&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjy%ubj )}(h%int (*poll)(struct napi_struct*, int)h](jM )}(hinth]hint}(hjc&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_&ubj")}(h h]h }(hjq&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_&ubj )}(hjh]h(}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_&ubj )}(hj h]h*}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_&ubj9)}(hpollh]hpoll}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_&ubj )}(hjh]h)}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_&ubj )}(hjh]h(}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_&ubj)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_&ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]j%c.netif_napi_add_txasbuh1hhj_&ubj )}(hj h]h*}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_&ubj )}(hj^zh]h,}(hj 'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_&ubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_&ubjM )}(hinth]hint}(hj%'hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_&ubj )}(hjh]h)}(hj3'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjy%ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj@%hhhjR%hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj<%hhhjR%hM ubah}(h]j7%ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjR%hM hj9%hhubjg)}(hhh]jl)}(h0initialize a NAPI context to be used for Tx onlyh]h0initialize a NAPI context to be used for Tx only}(hj\'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjY'hhubah}(h]h ]h"]h$]h&]uh1jfhj9%hhhjR%hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjt'jjt'jjjuh1hhhhjhNhNubj)}(hXm**Parameters** ``struct net_device *dev`` network device ``struct napi_struct *napi`` NAPI context ``int (*poll)(struct napi_struct *, int)`` polling function **Description** This variant of netif_napi_add() should be used from drivers using NAPI to exclusively poll a TX queue. This will avoid we add it into napi_hash[], thus polluting this hash table.h](jl)}(h**Parameters**h]j)}(hj~'h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|'ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjx'ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj'h]hstruct net_device *dev}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj'ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hM hj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM hj'ubj)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hj'h]hstruct napi_struct *napi}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj'ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj'hM hj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM hj'ubj)}(h<``int (*poll)(struct napi_struct *, int)`` polling function h](j)}(h*``int (*poll)(struct napi_struct *, int)``h]j)}(hj(h]h&int (*poll)(struct napi_struct *, int)}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj (ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj (ubj)}(hhh]jl)}(hpolling functionh]hpolling function}(hj((hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$(hM hj%(ubah}(h]h ]h"]h$]h&]uh1jhj (ubeh}(h]h ]h"]h$]h&]uh1jhj$(hM hj'ubeh}(h]h ]h"]h$]h&]uh1jhjx'ubjl)}(h**Description**h]j)}(hjJ(h]h Description}(hjL(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH(ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjx'ubjl)}(hThis variant of netif_napi_add() should be used from drivers using NAPI to exclusively poll a TX queue. This will avoid we add it into napi_hash[], thus polluting this hash table.h]hThis variant of netif_napi_add() should be used from drivers using NAPI to exclusively poll a TX queue. This will avoid we add it into napi_hash[], thus polluting this hash table.}(hj`(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjx'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__netif_napi_del (C function)c.__netif_napi_delhNtauh1hhjhhhNhNubh)}(hhh](j)}(h0void __netif_napi_del (struct napi_struct *napi)h]j )}(h/void __netif_napi_del(struct napi_struct *napi)h](jM )}(hvoidh]hvoid}(hj(hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(hhhj(hM ubj3)}(h__netif_napi_delh]j9)}(h__netif_napi_delh]h__netif_napi_del}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj(hhhj(hM ubj )}(h(struct napi_struct *napi)h]j )}(hstruct napi_struct *napih](j)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]j )}j j(sbc.__netif_napi_delasbuh1hhj(ubj")}(h h]h }(hj )hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj )}(hj h]h*}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(ubj9)}(hnapih]hnapi}(hj%)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubah}(h]h ]h"]h$]h&]jPjQuh1j hj(hhhj(hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj(hhhj(hM ubah}(h]j(ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj(hM hj(hhubjg)}(hhh]jl)}(hremove a NAPI contexth]hremove a NAPI context}(hjO)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjL)hhubah}(h]h ]h"]h$]h&]uh1jfhj(hhhj(hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjg)jjg)jjjuh1hhhhjhNhNubj)}(hX **Parameters** ``struct napi_struct *napi`` NAPI context **Description** Warning: caller must observe RCU grace period before freeing memory containing **napi**. Drivers might want to call this helper to combine all the needed RCU grace periods into a single one.h](jl)}(h**Parameters**h]j)}(hjq)h]h Parameters}(hjs)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo)ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjk)ubj)}(hhh]j)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hj)h]hstruct napi_struct *napi}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj)ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hM hj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hM hj)ubah}(h]h ]h"]h$]h&]uh1jhjk)ubjl)}(h**Description**h]j)}(hj)h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjk)ubjl)}(hWarning: caller must observe RCU grace period before freeing memory containing **napi**. Drivers might want to call this helper to combine all the needed RCU grace periods into a single one.h](hOWarning: caller must observe RCU grace period before freeing memory containing }(hj)hhhNhNubj)}(h**napi**h]hnapi}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubhg. Drivers might want to call this helper to combine all the needed RCU grace periods into a single one.}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjk)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_napi_del (C function)c.netif_napi_delhNtauh1hhjhhhNhNubh)}(hhh](j)}(h.void netif_napi_del (struct napi_struct *napi)h]j )}(h-void netif_napi_del(struct napi_struct *napi)h](jM )}(hvoidh]hvoid}(hj"*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj*hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj")}(h h]h }(hj1*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*hhhj0*hM ubj3)}(hnetif_napi_delh]j9)}(hnetif_napi_delh]hnetif_napi_del}(hjC*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?*ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj*hhhj0*hM ubj )}(h(struct napi_struct *napi)h]j )}(hstruct napi_struct *napih](j)}(hjh]hstruct}(hj_*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[*ubj")}(h h]h }(hjl*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[*ubh)}(hhh]j9)}(h napi_structh]h napi_struct}(hj}*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjz*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNj j )}j ]j )}j jE*sbc.netif_napi_delasbuh1hhj[*ubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[*ubj )}(hj h]h*}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj[*ubj9)}(hnapih]hnapi}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjW*ubah}(h]h ]h"]h$]h&]jPjQuh1j hj*hhhj0*hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*hhhj0*hM ubah}(h]j*ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0*hM hj*hhubjg)}(hhh]jl)}(hremove a NAPI contexth]hremove a NAPI context}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj*hhubah}(h]h ]h"]h$]h&]uh1jfhj*hhhj0*hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct napi_struct *napi`` NAPI context **Description** netif_napi_del() removes a NAPI context from the network device NAPI listh](jl)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj*ubj)}(hhh]j)}(h*``struct napi_struct *napi`` NAPI context h](j)}(h``struct napi_struct *napi``h]j)}(hj#+h]hstruct napi_struct *napi}(hj%+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!+ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj+ubj)}(hhh]jl)}(h NAPI contexth]h NAPI context}(hj<+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8+hM hj9+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj8+hM hj+ubah}(h]h ]h"]h$]h&]uh1jhj*ubjl)}(h**Description**h]j)}(hj^+h]h Description}(hj`+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\+ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj*ubj)}(hInetif_napi_del() removes a NAPI context from the network device NAPI listh]jl)}(hjv+h]hInetif_napi_del() removes a NAPI context from the network device NAPI list}(hjx+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hjt+ubah}(h]h ]h"]h$]h&]uh1jhj+hM hj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_start_queue (C function)c.netif_start_queuehNtauh1hhjhhhNhNubh)}(hhh](j)}(h/void netif_start_queue (struct net_device *dev)h]j )}(h.void netif_start_queue(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj+hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj+hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+hhhj+hMubj3)}(hnetif_start_queueh]j9)}(hnetif_start_queueh]hnetif_start_queue}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj+hhhj+hMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj ,modnameN classnameNj j )}j ]j )}j j+sbc.netif_start_queueasbuh1hhj+ubj")}(h h]h }(hj',hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubj )}(hj h]h*}(hj5,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+ubj9)}(hdevh]hdev}(hjB,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubah}(h]h ]h"]h$]h&]jPjQuh1j hj+hhhj+hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+hhhj+hMubah}(h]j+ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj+hMhj+hhubjg)}(hhh]jl)}(hallow transmith]hallow transmit}(hjl,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhji,hhubah}(h]h ]h"]h$]h&]uh1jfhj+hhhj+hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device **Description** Allow upper layers to call the device hard_start_xmit routine.h](jl)}(h**Parameters**h]j)}(hj,h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj,ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj,h]hstruct net_device *dev}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj,ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubjl)}(h**Description**h]j)}(hj,h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj,ubj)}(h>Allow upper layers to call the device hard_start_xmit routine.h]jl)}(hj-h]h>Allow upper layers to call the device hard_start_xmit routine.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj,ubah}(h]h ]h"]h$]h&]uh1jhj-hMhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_wake_queue (C function)c.netif_wake_queuehNtauh1hhjhhhNhNubh)}(hhh](j)}(h.void netif_wake_queue (struct net_device *dev)h]j )}(h-void netif_wake_queue(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj6-hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2-hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjE-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2-hhhjD-hMubj3)}(hnetif_wake_queueh]j9)}(hnetif_wake_queueh]hnetif_wake_queue}(hjW-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjS-ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2-hhhjD-hMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjs-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjo-ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjo-ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNj j )}j ]j )}j jY-sbc.netif_wake_queueasbuh1hhjo-ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjo-ubj )}(hj h]h*}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjo-ubj9)}(hdevh]hdev}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjo-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjk-ubah}(h]h ]h"]h$]h&]jPjQuh1j hj2-hhhjD-hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj.-hhhjD-hMubah}(h]j)-ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjD-hMhj+-hhubjg)}(hhh]jl)}(hrestart transmith]hrestart transmit}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj-hhubah}(h]h ]h"]h$]h&]uh1jfhj+-hhhjD-hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device **Description** Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available.h](jl)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj.ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj7.h]hstruct net_device *dev}(hj9.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5.ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj1.ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjP.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjL.hMhjM.ubah}(h]h ]h"]h$]h&]uh1jhj1.ubeh}(h]h ]h"]h$]h&]uh1jhjL.hMhj..ubah}(h]h ]h"]h$]h&]uh1jhj.ubjl)}(h**Description**h]j)}(hjr.h]h Description}(hjt.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp.ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj.ubj)}(h{Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available.h]jl)}(h{Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available.h]h{Allow upper layers to call the device hard_start_xmit routine. Used for flow control when transmit resources are available.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj.ubah}(h]h ]h"]h$]h&]uh1jhj.hMhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_stop_queue (C function)c.netif_stop_queuehNtauh1hhjhhhNhNubh)}(hhh](j)}(h.void netif_stop_queue (struct net_device *dev)h]j )}(h-void netif_stop_queue(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.hhhj.hMubj3)}(hnetif_stop_queueh]j9)}(hnetif_stop_queueh]hnetif_stop_queue}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj.hMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubj")}(h h]h }(hj /hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNj j )}j ]j )}j j.sbc.netif_stop_queueasbuh1hhj.ubj")}(h h]h }(hj1jj>1jjjuh1hhhhjhNhNubj)}(h**Parameters** ``const struct net_device *dev`` network device **Description** Test if transmit queue on device is currently unable to send.h](jl)}(h**Parameters**h]j)}(hjH1h]h Parameters}(hjJ1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF1ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjB1ubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjg1h]hconst struct net_device *dev}(hji1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhja1ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|1hMhj}1ubah}(h]h ]h"]h$]h&]uh1jhja1ubeh}(h]h ]h"]h$]h&]uh1jhj|1hMhj^1ubah}(h]h ]h"]h$]h&]uh1jhjB1ubjl)}(h**Description**h]j)}(hj1h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjB1ubj)}(h=Test if transmit queue on device is currently unable to send.h]jl)}(hj1h]h=Test if transmit queue on device is currently unable to send.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1hMhjB1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+netdev_queue_set_dql_min_limit (C function) c.netdev_queue_set_dql_min_limithNtauh1hhjhhhNhNubh)}(hhh](j)}(h\void netdev_queue_set_dql_min_limit (struct netdev_queue *dev_queue, unsigned int min_limit)h]j )}(h[void netdev_queue_set_dql_min_limit(struct netdev_queue *dev_queue, unsigned int min_limit)h](jM )}(hvoidh]hvoid}(hj1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1hhhj1hMubj3)}(hnetdev_queue_set_dql_min_limith]j9)}(hnetdev_queue_set_dql_min_limith]hnetdev_queue_set_dql_min_limit}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj 2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1hhhj1hMubj )}(h8(struct netdev_queue *dev_queue, unsigned int min_limit)h](j )}(hstruct netdev_queue *dev_queueh](j)}(hjh]hstruct}(hj-2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)2ubj")}(h h]h }(hj:2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)2ubh)}(hhh]j9)}(h netdev_queueh]h netdev_queue}(hjK2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjH2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjM2modnameN classnameNj j )}j ]j )}j j2sb c.netdev_queue_set_dql_min_limitasbuh1hhj)2ubj")}(h h]h }(hjk2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)2ubj )}(hj h]h*}(hjy2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)2ubj9)}(h dev_queueh]h dev_queue}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%2ubj )}(hunsigned int min_limith](jM )}(hunsignedh]hunsigned}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubjM )}(hinth]hint}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj9)}(h min_limith]h min_limit}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj%2ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj1hhhj1hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1hhhj1hMubah}(h]j1ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hMhj1hhubjg)}(hhh]jl)}(hset dql minimum limith]hset dql minimum limit}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj2hhubah}(h]h ]h"]h$]h&]uh1jfhj1hhhj1hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhjhNhNubj)}(hXR**Parameters** ``struct netdev_queue *dev_queue`` pointer to transmit queue ``unsigned int min_limit`` dql minimum limit **Description** Forces xmit_more() to return true until the minimum threshold defined by **min_limit** is reached (or until the tx queue is empty). Warning: to be use with care, misuse will impact the latency.h](jl)}(h**Parameters**h]j)}(hj#3h]h Parameters}(hj%3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!3ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj3ubj)}(hhh](j)}(h=``struct netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hjB3h]hstruct netdev_queue *dev_queue}(hjD3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@3ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<3ubj)}(hhh]jl)}(hpointer to transmit queueh]hpointer to transmit queue}(hj[3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjW3hMhjX3ubah}(h]h ]h"]h$]h&]uh1jhj<3ubeh}(h]h ]h"]h$]h&]uh1jhjW3hMhj93ubj)}(h-``unsigned int min_limit`` dql minimum limit h](j)}(h``unsigned int min_limit``h]j)}(hj{3h]hunsigned int min_limit}(hj}3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy3ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhju3ubj)}(hhh]jl)}(hdql minimum limith]hdql minimum limit}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhju3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj93ubeh}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h**Description**h]j)}(hj3h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj3ubjl)}(hForces xmit_more() to return true until the minimum threshold defined by **min_limit** is reached (or until the tx queue is empty). Warning: to be use with care, misuse will impact the latency.h](hIForces xmit_more() to return true until the minimum threshold defined by }(hj3hhhNhNubj)}(h **min_limit**h]h min_limit}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubhk is reached (or until the tx queue is empty). Warning: to be use with care, misuse will impact the latency.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-netdev_txq_bql_enqueue_prefetchw (C function)"c.netdev_txq_bql_enqueue_prefetchwhNtauh1hhjhhhNhNubh)}(hhh](j)}(hFvoid netdev_txq_bql_enqueue_prefetchw (struct netdev_queue *dev_queue)h]j )}(hEvoid netdev_txq_bql_enqueue_prefetchw(struct netdev_queue *dev_queue)h](jM )}(hvoidh]hvoid}(hj 4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj 4hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 4hhhj4hMubj3)}(h netdev_txq_bql_enqueue_prefetchwh]j9)}(h netdev_txq_bql_enqueue_prefetchwh]h netdev_txq_bql_enqueue_prefetchw}(hj.4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj 4hhhj4hMubj )}(h (struct netdev_queue *dev_queue)h]j )}(hstruct netdev_queue *dev_queueh](j)}(hjh]hstruct}(hjJ4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjF4ubj")}(h h]h }(hjW4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjF4ubh)}(hhh]j9)}(h netdev_queueh]h netdev_queue}(hjh4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hje4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjj4modnameN classnameNj j )}j ]j )}j j04sb"c.netdev_txq_bql_enqueue_prefetchwasbuh1hhjF4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjF4ubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjF4ubj9)}(h dev_queueh]h dev_queue}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjF4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjB4ubah}(h]h ]h"]h$]h&]jPjQuh1j hj 4hhhj4hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj4hhhj4hMubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj4hMhj4hhubjg)}(hhh]jl)}(hprefetch bql data for writeh]hprefetch bql data for write}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4hhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhj4hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct netdev_queue *dev_queue`` pointer to transmit queue **Description** BQL enabled drivers might use this helper in their ndo_start_xmit(), to give appropriate hint to the CPU.h](jl)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4ubj)}(hhh]j)}(h=``struct netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj5h]hstruct netdev_queue *dev_queue}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj5ubj)}(hhh]jl)}(hpointer to transmit queueh]hpointer to transmit queue}(hj'5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#5hMhj$5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj#5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj4ubjl)}(h**Description**h]j)}(hjI5h]h Description}(hjK5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG5ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4ubjl)}(hiBQL enabled drivers might use this helper in their ndo_start_xmit(), to give appropriate hint to the CPU.h]hiBQL enabled drivers might use this helper in their ndo_start_xmit(), to give appropriate hint to the CPU.}(hj_5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.netdev_txq_bql_complete_prefetchw (C function)#c.netdev_txq_bql_complete_prefetchwhNtauh1hhjhhhNhNubh)}(hhh](j)}(hGvoid netdev_txq_bql_complete_prefetchw (struct netdev_queue *dev_queue)h]j )}(hFvoid netdev_txq_bql_complete_prefetchw(struct netdev_queue *dev_queue)h](jM )}(hvoidh]hvoid}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj5hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM(ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhj5hM(ubj3)}(h!netdev_txq_bql_complete_prefetchwh]j9)}(h!netdev_txq_bql_complete_prefetchwh]h!netdev_txq_bql_complete_prefetchw}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhj5hM(ubj )}(h (struct netdev_queue *dev_queue)h]j )}(hstruct netdev_queue *dev_queueh](j)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(hhh]j9)}(h netdev_queueh]h netdev_queue}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]j )}j j5sb#c.netdev_txq_bql_complete_prefetchwasbuh1hhj5ubj")}(h h]h }(hj 6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(h dev_queueh]h dev_queue}(hj$6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubah}(h]h ]h"]h$]h&]jPjQuh1j hj5hhhj5hM(ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj5hhhj5hM(ubah}(h]j5ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj5hM(hj5hhubjg)}(hhh]jl)}(hprefetch bql data for writeh]hprefetch bql data for write}(hjN6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM(hjK6hhubah}(h]h ]h"]h$]h&]uh1jfhj5hhhj5hM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjf6jjf6jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct netdev_queue *dev_queue`` pointer to transmit queue **Description** BQL enabled drivers might use this helper in their TX completion path, to give appropriate hint to the CPU.h](jl)}(h**Parameters**h]j)}(hjp6h]h Parameters}(hjr6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn6ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM,hjj6ubj)}(hhh]j)}(h=``struct netdev_queue *dev_queue`` pointer to transmit queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj6h]hstruct netdev_queue *dev_queue}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM)hj6ubj)}(hhh]jl)}(hpointer to transmit queueh]hpointer to transmit queue}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hM)hj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hM)hj6ubah}(h]h ]h"]h$]h&]uh1jhjj6ubjl)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM+hjj6ubjl)}(hkBQL enabled drivers might use this helper in their TX completion path, to give appropriate hint to the CPU.h]hkBQL enabled drivers might use this helper in their TX completion path, to give appropriate hint to the CPU.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM*hjj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netdev_tx_sent_queue (C function)c.netdev_tx_sent_queuehNtauh1hhjhhhNhNubh)}(hhh](j)}(hNvoid netdev_tx_sent_queue (struct netdev_queue *dev_queue, unsigned int bytes)h]j )}(hMvoid netdev_tx_sent_queue(struct netdev_queue *dev_queue, unsigned int bytes)h](jM )}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj 7hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj 7hhhj7hM6ubj3)}(hnetdev_tx_sent_queueh]j9)}(hnetdev_tx_sent_queueh]hnetdev_tx_sent_queue}(hj07hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,7ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj 7hhhj7hM6ubj )}(h4(struct netdev_queue *dev_queue, unsigned int bytes)h](j )}(hstruct netdev_queue *dev_queueh](j)}(hjh]hstruct}(hjL7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjH7ubj")}(h h]h }(hjY7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjH7ubh)}(hhh]j9)}(h netdev_queueh]h netdev_queue}(hjj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjg7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjl7modnameN classnameNj j )}j ]j )}j j27sbc.netdev_tx_sent_queueasbuh1hhjH7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjH7ubj )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjH7ubj9)}(h dev_queueh]h dev_queue}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjH7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjD7ubj )}(hunsigned int bytesh](jM )}(hunsignedh]hunsigned}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubjM )}(hinth]hint}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj9)}(hbytesh]hbytes}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjD7ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj 7hhhj7hM6ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhj7hM6ubah}(h]j7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj7hM6hj7hhubjg)}(hhh]jl)}(h5report the number of bytes queued to a given tx queueh]h5report the number of bytes queued to a given tx queue}(hj 8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6hj8hhubah}(h]h ]h"]h$]h&]uh1jfhj7hhhj7hM6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj88jj88jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct netdev_queue *dev_queue`` network device queue ``unsigned int bytes`` number of bytes queued to the device queue **Description** Report the number of bytes queued for sending/completion to the network device hardware queue. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h](jl)}(h**Parameters**h]j)}(hjB8h]h Parameters}(hjD8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@8ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM:hj<8ubj)}(hhh](j)}(h8``struct netdev_queue *dev_queue`` network device queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hja8h]hstruct netdev_queue *dev_queue}(hjc8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7hj[8ubj)}(hhh]jl)}(hnetwork device queueh]hnetwork device queue}(hjz8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjv8hM7hjw8ubah}(h]h ]h"]h$]h&]uh1jhj[8ubeh}(h]h ]h"]h$]h&]uh1jhjv8hM7hjX8ubj)}(hB``unsigned int bytes`` number of bytes queued to the device queue h](j)}(h``unsigned int bytes``h]j)}(hj8h]hunsigned int bytes}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM8hj8ubj)}(hhh]jl)}(h*number of bytes queued to the device queueh]h*number of bytes queued to the device queue}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hM8hj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hM8hjX8ubeh}(h]h ]h"]h$]h&]uh1jhj<8ubjl)}(h**Description**h]j)}(hj8h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM:hj<8ubj)}(hXReport the number of bytes queued for sending/completion to the network device hardware queue. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h]jl)}(hXReport the number of bytes queued for sending/completion to the network device hardware queue. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h](h_Report the number of bytes queued for sending/completion to the network device hardware queue. }(hj8hhhNhNubj)}(h **bytes**h]hbytes}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubhR should be a good approximation and should exactly match netdev_completed_queue() }(hj8hhhNhNubj)}(h **bytes**h]hbytes}(hj 9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubhB. This is typically called once per packet, from ndo_start_xmit().}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9hj8ubah}(h]h ]h"]h$]h&]uh1jhj!9hM9hj<8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_sent_queue (C function)c.netdev_sent_queuehNtauh1hhjhhhNhNubh)}(hhh](j)}(hCvoid netdev_sent_queue (struct net_device *dev, unsigned int bytes)h]j )}(hBvoid netdev_sent_queue(struct net_device *dev, unsigned int bytes)h](jM )}(hvoidh]hvoid}(hjH9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjD9hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMrubj")}(h h]h }(hjW9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjD9hhhjV9hMrubj3)}(hnetdev_sent_queueh]j9)}(hnetdev_sent_queueh]hnetdev_sent_queue}(hji9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hje9ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjD9hhhjV9hMrubj )}(h,(struct net_device *dev, unsigned int bytes)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]j )}j jk9sbc.netdev_sent_queueasbuh1hhj9ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj )}(hj h]h*}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj9)}(hdevh]hdev}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}9ubj )}(hunsigned int bytesh](jM )}(hunsignedh]hunsigned}(hj9hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubjM )}(hinth]hint}(hj:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9ubj")}(h h]h }(hj!:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj9)}(hbytesh]hbytes}(hj/:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}9ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjD9hhhjV9hMrubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj@9hhhjV9hMrubah}(h]j;9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjV9hMrhj=9hhubjg)}(hhh]jl)}(h-report the number of bytes queued to hardwareh]h-report the number of bytes queued to hardware}(hjY:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMrhjV:hhubah}(h]h ]h"]h$]h&]uh1jfhj=9hhhjV9hMrubeh}(h]h ](jfunctioneh"]h$]h&]jjjjq:jjq:jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` network device ``unsigned int bytes`` number of bytes queued to the hardware device queue **Description** Report the number of bytes queued for sending/completion to the network device hardware queue#0. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h](jl)}(h**Parameters**h]j)}(hj{:h]h Parameters}(hj}:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy:ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvhju:ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj:h]hstruct net_device *dev}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMshj:ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMshj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMshj:ubj)}(hK``unsigned int bytes`` number of bytes queued to the hardware device queue h](j)}(h``unsigned int bytes``h]j)}(hj:h]hunsigned int bytes}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMthj:ubj)}(hhh]jl)}(h3number of bytes queued to the hardware device queueh]h3number of bytes queued to the hardware device queue}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMthj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMthj:ubeh}(h]h ]h"]h$]h&]uh1jhju:ubjl)}(h**Description**h]j)}(hj;h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ;ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMvhju:ubj)}(hXReport the number of bytes queued for sending/completion to the network device hardware queue#0. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h]jl)}(hXReport the number of bytes queued for sending/completion to the network device hardware queue#0. **bytes** should be a good approximation and should exactly match netdev_completed_queue() **bytes**. This is typically called once per packet, from ndo_start_xmit().h](haReport the number of bytes queued for sending/completion to the network device hardware queue#0. }(hj(;hhhNhNubj)}(h **bytes**h]hbytes}(hj0;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(;ubhR should be a good approximation and should exactly match netdev_completed_queue() }(hj(;hhhNhNubj)}(h **bytes**h]hbytes}(hjB;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(;ubhB. This is typically called once per packet, from ndo_start_xmit().}(hj(;hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhj$;ubah}(h]h ]h"]h$]h&]uh1jhjZ;hMuhju:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&netdev_tx_completed_queue (C function)c.netdev_tx_completed_queuehNtauh1hhjhhhNhNubh)}(hhh](j)}(hfvoid netdev_tx_completed_queue (struct netdev_queue *dev_queue, unsigned int pkts, unsigned int bytes)h]j )}(hevoid netdev_tx_completed_queue(struct netdev_queue *dev_queue, unsigned int pkts, unsigned int bytes)h](jM )}(hvoidh]hvoid}(hj;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj};hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj};hhhj;hMubj3)}(hnetdev_tx_completed_queueh]j9)}(hnetdev_tx_completed_queueh]hnetdev_tx_completed_queue}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj};hhhj;hMubj )}(hG(struct netdev_queue *dev_queue, unsigned int pkts, unsigned int bytes)h](j )}(hstruct netdev_queue *dev_queueh](j)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubh)}(hhh]j9)}(h netdev_queueh]h netdev_queue}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]j )}j j;sbc.netdev_tx_completed_queueasbuh1hhj;ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubj )}(hj h]h*}(hj <hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj;ubj9)}(h dev_queueh]h dev_queue}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;ubj )}(hunsigned int pktsh](jM )}(hunsignedh]hunsigned}(hj0<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj,<ubj")}(h h]h }(hj><hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,<ubjM )}(hinth]hint}(hjL<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj,<ubj")}(h h]h }(hjZ<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,<ubj9)}(hpktsh]hpkts}(hjh<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;ubj )}(hunsigned int bytesh](jM )}(hunsignedh]hunsigned}(hj<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}<ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}<ubjM )}(hinth]hint}(hj<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}<ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}<ubj9)}(hbytesh]hbytes}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj};hhhj;hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjy;hhhj;hMubah}(h]jt;ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj;hMhjv;hhubjg)}(hhh]jl)}(h0report number of packets/bytes at TX completion.h]h0report number of packets/bytes at TX completion.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<hhubah}(h]h ]h"]h$]h&]uh1jfhjv;hhhj;hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjhNhNubj)}(hXs**Parameters** ``struct netdev_queue *dev_queue`` network device queue ``unsigned int pkts`` number of packets (currently ignored) ``unsigned int bytes`` number of bytes dequeued from the device queue **Description** Must be called at most once per TX completion round (and not per individual packet), so that BQL can adjust its limits appropriately.h](jl)}(h**Parameters**h]j)}(hj=h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<ubj)}(hhh](j)}(h8``struct netdev_queue *dev_queue`` network device queue h](j)}(h"``struct netdev_queue *dev_queue``h]j)}(hj$=h]hstruct netdev_queue *dev_queue}(hj&=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=ubj)}(hhh]jl)}(hnetwork device queueh]hnetwork device queue}(hj==hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9=hMhj:=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj9=hMhj=ubj)}(h<``unsigned int pkts`` number of packets (currently ignored) h](j)}(h``unsigned int pkts``h]j)}(hj]=h]hunsigned int pkts}(hj_=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjW=ubj)}(hhh]jl)}(h%number of packets (currently ignored)h]h%number of packets (currently ignored)}(hjv=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjr=hMhjs=ubah}(h]h ]h"]h$]h&]uh1jhjW=ubeh}(h]h ]h"]h$]h&]uh1jhjr=hMhj=ubj)}(hF``unsigned int bytes`` number of bytes dequeued from the device queue h](j)}(h``unsigned int bytes``h]j)}(hj=h]hunsigned int bytes}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=ubj)}(hhh]jl)}(h.number of bytes dequeued from the device queueh]h.number of bytes dequeued from the device queue}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhj=ubeh}(h]h ]h"]h$]h&]uh1jhj<ubjl)}(h**Description**h]j)}(hj=h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj<ubj)}(hMust be called at most once per TX completion round (and not per individual packet), so that BQL can adjust its limits appropriately.h]jl)}(hMust be called at most once per TX completion round (and not per individual packet), so that BQL can adjust its limits appropriately.h]hMust be called at most once per TX completion round (and not per individual packet), so that BQL can adjust its limits appropriately.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj=ubah}(h]h ]h"]h$]h&]uh1jhj=hMhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netdev_completed_queue (C function)c.netdev_completed_queuehNtauh1hhjhhhNhNubh)}(hhh](j)}(h[void netdev_completed_queue (struct net_device *dev, unsigned int pkts, unsigned int bytes)h]j )}(hZvoid netdev_completed_queue(struct net_device *dev, unsigned int pkts, unsigned int bytes)h](jM )}(hvoidh]hvoid}(hj >hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj>hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj/>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>hhhj.>hMubj3)}(hnetdev_completed_queueh]j9)}(hnetdev_completed_queueh]hnetdev_completed_queue}(hjA>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=>ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj>hhhj.>hMubj )}(h?(struct net_device *dev, unsigned int pkts, unsigned int bytes)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj]>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjY>ubj")}(h h]h }(hjj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjY>ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj{>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjx>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}>modnameN classnameNj j )}j ]j )}j jC>sbc.netdev_completed_queueasbuh1hhjY>ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjY>ubj )}(hj h]h*}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjY>ubj9)}(hdevh]hdev}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjY>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjU>ubj )}(hunsigned int pktsh](jM )}(hunsignedh]hunsigned}(hj>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj>ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubjM )}(hinth]hint}(hj>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj>ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubj9)}(hpktsh]hpkts}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjU>ubj )}(hunsigned int bytesh](jM )}(hunsignedh]hunsigned}(hj ?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?ubj")}(h h]h }(hj.?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubjM )}(hinth]hint}(hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj>hhhj.>hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj>hhhj.>hMubah}(h]j>ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.>hMhj>hhubjg)}(hhh]jl)}(h,report bytes and packets completed by deviceh]h,report bytes and packets completed by device}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?hhubah}(h]h ]h"]h$]h&]uh1jfhj>hhhj.>hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` network device ``unsigned int pkts`` actual number of packets sent over the medium ``unsigned int bytes`` actual number of bytes sent over the medium **Description** Report the number of bytes and packets transmitted by the network device hardware queue over the physical medium, **bytes** must exactly match the **bytes** amount passed to netdev_sent_queue()h](jl)}(h**Parameters**h]j)}(hj?h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?ubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj?h]hstruct net_device *dev}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj?ubj)}(hD``unsigned int pkts`` actual number of packets sent over the medium h](j)}(h``unsigned int pkts``h]j)}(hj?h]hunsigned int pkts}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?ubj)}(hhh]jl)}(h-actual number of packets sent over the mediumh]h-actual number of packets sent over the medium}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj?ubj)}(hC``unsigned int bytes`` actual number of bytes sent over the medium h](j)}(h``unsigned int bytes``h]j)}(hj5@h]hunsigned int bytes}(hj7@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj/@ubj)}(hhh]jl)}(h+actual number of bytes sent over the mediumh]h+actual number of bytes sent over the medium}(hjN@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJ@hMhjK@ubah}(h]h ]h"]h$]h&]uh1jhj/@ubeh}(h]h ]h"]h$]h&]uh1jhjJ@hMhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?ubjl)}(h**Description**h]j)}(hjp@h]h Description}(hjr@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn@ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?ubj)}(hReport the number of bytes and packets transmitted by the network device hardware queue over the physical medium, **bytes** must exactly match the **bytes** amount passed to netdev_sent_queue()h]jl)}(hReport the number of bytes and packets transmitted by the network device hardware queue over the physical medium, **bytes** must exactly match the **bytes** amount passed to netdev_sent_queue()h](hrReport the number of bytes and packets transmitted by the network device hardware queue over the physical medium, }(hj@hhhNhNubj)}(h **bytes**h]hbytes}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh must exactly match the }(hj@hhhNhNubj)}(h **bytes**h]hbytes}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh% amount passed to netdev_sent_queue()}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj@ubah}(h]h ]h"]h$]h&]uh1jhj@hMhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%netdev_tx_reset_subqueue (C function)c.netdev_tx_reset_subqueuehNtauh1hhjhhhNhNubh)}(hhh](j)}(hEvoid netdev_tx_reset_subqueue (const struct net_device *dev, u32 qid)h]j )}(hDvoid netdev_tx_reset_subqueue(const struct net_device *dev, u32 qid)h](jM )}(hvoidh]hvoid}(hj@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@hhhj@hMubj3)}(hnetdev_tx_reset_subqueueh]j9)}(hnetdev_tx_reset_subqueueh]hnetdev_tx_reset_subqueue}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@hhhj@hMubj )}(h'(const struct net_device *dev, u32 qid)h](j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hj AhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj")}(h h]h }(hj-AhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj)}(hjh]hstruct}(hj;AhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj")}(h h]h }(hjHAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjYAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[AmodnameN classnameNj j )}j ]j )}j jAsbc.netdev_tx_reset_subqueueasbuh1hhjAubj")}(h h]h }(hjyAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAubj9)}(hdevh]hdev}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubj )}(hu32 qidh](h)}(hhh]j9)}(hu32h]hu32}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNj j )}j ]juAc.netdev_tx_reset_subqueueasbuh1hhjAubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj9)}(hqidh]hqid}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAubeh}(h]h ]h"]h$]h&]jPjQuh1j hj@hhhj@hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj@hhhj@hMubah}(h]j@ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@hMhj@hhubjg)}(hhh]jl)}(h/reset the BQL stats and state of a netdev queueh]h/reset the BQL stats and state of a netdev queue}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjBhhubah}(h]h ]h"]h$]h&]uh1jfhj@hhhj@hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBjjBjjjuh1hhhhjhNhNubj)}(hr**Parameters** ``const struct net_device *dev`` network device ``u32 qid`` stack index of the queue to reseth](jl)}(h**Parameters**h]j)}(hj(Bh]h Parameters}(hj*BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&Bubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj"Bubj)}(hhh](j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjGBh]hconst struct net_device *dev}(hjIBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjABubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj`BhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\BhMhj]Bubah}(h]h ]h"]h$]h&]uh1jhjABubeh}(h]h ]h"]h$]h&]uh1jhj\BhMhj>Bubj)}(h-``u32 qid`` stack index of the queue to reseth](j)}(h ``u32 qid``h]j)}(hjBh]hu32 qid}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~Bubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjzBubj)}(hhh]jl)}(h!stack index of the queue to reseth]h!stack index of the queue to reset}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjBubah}(h]h ]h"]h$]h&]uh1jhjzBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj>Bubeh}(h]h ]h"]h$]h&]uh1jhj"Bubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_reset_queue (C function)c.netdev_reset_queuehNtauh1hhjhhhNhNubh)}(hhh](j)}(h6void netdev_reset_queue (struct net_device *dev_queue)h]j )}(h5void netdev_reset_queue(struct net_device *dev_queue)h](jM )}(hvoidh]hvoid}(hjBhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBhhhjBhMubj3)}(hnetdev_reset_queueh]j9)}(hnetdev_reset_queueh]hnetdev_reset_queue}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjBhhhjBhMubj )}(h(struct net_device *dev_queue)h]j )}(hstruct net_device *dev_queueh](j)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj")}(h h]h }(hj$ChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj5ChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2Cubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7CmodnameN classnameNj j )}j ]j )}j jBsbc.netdev_reset_queueasbuh1hhjCubj")}(h h]h }(hjUChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj )}(hj h]h*}(hjcChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjCubj9)}(h dev_queueh]h dev_queue}(hjpChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubah}(h]h ]h"]h$]h&]jPjQuh1j hjBhhhjBhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjBhhhjBhMubah}(h]jBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjBhMhjBhhubjg)}(hhh]jl)}(h5reset the packets and bytes count of a network deviceh]h5reset the packets and bytes count of a network device}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjChhubah}(h]h ]h"]h$]h&]uh1jfhjBhhhjBhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev_queue`` network device **Description** Reset the bytes and packet count of a network device and clear the software flow control OFF bit for this network deviceh](jl)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjCubj)}(hhh]j)}(h0``struct net_device *dev_queue`` network device h](j)}(h ``struct net_device *dev_queue``h]j)}(hjCh]hstruct net_device *dev_queue}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjCubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChMhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChMhjCubah}(h]h ]h"]h$]h&]uh1jhjCubjl)}(h**Description**h]j)}(hjDh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjCubj)}(hxReset the bytes and packet count of a network device and clear the software flow control OFF bit for this network deviceh]jl)}(hxReset the bytes and packet count of a network device and clear the software flow control OFF bit for this network deviceh]hxReset the bytes and packet count of a network device and clear the software flow control OFF bit for this network device}(hj0DhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj,Dubah}(h]h ]h"]h$]h&]uh1jhj>DhMhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetdev_cap_txqueue (C function)c.netdev_cap_txqueuehNtauh1hhjhhhNhNubh)}(hhh](j)}(h@u16 netdev_cap_txqueue (struct net_device *dev, u16 queue_index)h]j )}(h?u16 netdev_cap_txqueue(struct net_device *dev, u16 queue_index)h](h)}(hhh]j9)}(hu16h]hu16}(hjhDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjDmodnameN classnameNj j )}j ]j )}j netdev_cap_txqueuesbc.netdev_cap_txqueueasbuh1hhjaDhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaDhhhjDhMubj3)}(hnetdev_cap_txqueueh]j9)}(hjDh]hnetdev_cap_txqueue}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjaDhhhjDhMubj )}(h)(struct net_device *dev, u16 queue_index)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNj j )}j ]jDc.netdev_cap_txqueueasbuh1hhjDubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj )}(hj h]h*}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj9)}(hdevh]hdev}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubj )}(hu16 queue_indexh](h)}(hhh]j9)}(hu16h]hu16}(hj*EhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'Eubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,EmodnameN classnameNj j )}j ]jDc.netdev_cap_txqueueasbuh1hhj#Eubj")}(h h]h }(hjHEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#Eubj9)}(h queue_indexh]h queue_index}(hjVEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#Eubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubeh}(h]h ]h"]h$]h&]jPjQuh1j hjaDhhhjDhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj]DhhhjDhMubah}(h]jXDah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjDhMhjZDhhubjg)}(hhh]jl)}(h0check if selected tx queue exceeds device queuesh]h0check if selected tx queue exceeds device queues}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj}Ehhubah}(h]h ]h"]h$]h&]uh1jfhjZDhhhjDhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device ``u16 queue_index`` given tx queue index **Description** Returns 0 if given tx queue index >= number of device tx queues, otherwise returns the originally passed tx queue index.h](jl)}(h**Parameters**h]j)}(hjEh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjEubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjEh]hstruct net_device *dev}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjEubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMhjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjEubj)}(h)``u16 queue_index`` given tx queue index h](j)}(h``u16 queue_index``h]j)}(hjEh]hu16 queue_index}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjEubj)}(hhh]jl)}(hgiven tx queue indexh]hgiven tx queue index}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMhjFubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjEubeh}(h]h ]h"]h$]h&]uh1jhjEubjl)}(h**Description**h]j)}(hj5Fh]h Description}(hj7FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3Fubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjEubj)}(hxReturns 0 if given tx queue index >= number of device tx queues, otherwise returns the originally passed tx queue index.h]jl)}(hxReturns 0 if given tx queue index >= number of device tx queues, otherwise returns the originally passed tx queue index.h]hxReturns 0 if given tx queue index >= number of device tx queues, otherwise returns the originally passed tx queue index.}(hjOFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjKFubah}(h]h ]h"]h$]h&]uh1jhj]FhMhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_running (C function)c.netif_runninghNtauh1hhjhhhNhNubh)}(hhh](j)}(h1bool netif_running (const struct net_device *dev)h]j )}(h0bool netif_running(const struct net_device *dev)h](jM )}(hjh]hbool}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFhhhjFhMubj3)}(h netif_runningh]j9)}(h netif_runningh]h netif_running}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjFhhhjFhMubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNj j )}j ]j )}j jFsbc.netif_runningasbuh1hhjFubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj )}(hj h]h*}(hj'GhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFubj9)}(hdevh]hdev}(hj4GhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjFubah}(h]h ]h"]h$]h&]jPjQuh1j hjFhhhjFhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj|FhhhjFhMubah}(h]jwFah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjFhMhjyFhhubjg)}(hhh]jl)}(h test if uph]h test if up}(hj^GhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj[Ghhubah}(h]h ]h"]h$]h&]uh1jfhjyFhhhjFhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvGjjvGjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const struct net_device *dev`` network device **Description** Test if the device has been brought up.h](jl)}(h**Parameters**h]j)}(hjGh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~Gubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjzGubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjGh]hconst struct net_device *dev}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjGubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMhjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjGubah}(h]h ]h"]h$]h&]uh1jhjzGubjl)}(h**Description**h]j)}(hjGh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjzGubj)}(h'Test if the device has been brought up.h]jl)}(hjGh]h'Test if the device has been brought up.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjGubah}(h]h ]h"]h$]h&]uh1jhjHhMhjzGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netif_start_subqueue (C function)c.netif_start_subqueuehNtauh1hhjhhhNhNubh)}(hhh](j)}(hCvoid netif_start_subqueue (struct net_device *dev, u16 queue_index)h]j )}(hBvoid netif_start_subqueue(struct net_device *dev, u16 queue_index)h](jM )}(hvoidh]hvoid}(hj(HhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$HhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj7HhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$Hhhhj6HhMubj3)}(hnetif_start_subqueueh]j9)}(hnetif_start_subqueueh]hnetif_start_subqueue}(hjIHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEHubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$Hhhhj6HhMubj )}(h)(struct net_device *dev, u16 queue_index)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjeHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaHubj")}(h h]h }(hjrHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaHubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]j )}j jKHsbc.netif_start_subqueueasbuh1hhjaHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaHubj )}(hj h]h*}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaHubj9)}(hdevh]hdev}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]Hubj )}(hu16 queue_indexh](h)}(hhh]j9)}(hu16h]hu16}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]jHc.netif_start_subqueueasbuh1hhjHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj9)}(h queue_indexh]h queue_index}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]Hubeh}(h]h ]h"]h$]h&]jPjQuh1j hj$Hhhhj6HhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj Hhhhj6HhMubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6HhMhjHhhubjg)}(hhh]jl)}(h!allow sending packets on subqueueh]h!allow sending packets on subqueue}(hj0IhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj-Ihhubah}(h]h ]h"]h$]h&]uh1jfhjHhhhj6HhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHIjjHIjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device ``u16 queue_index`` sub queue index **Description** Start individual transmit queue of a device with multiple transmit queues.h](jl)}(h**Parameters**h]j)}(hjRIh]h Parameters}(hjTIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPIubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjLIubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjqIh]hstruct net_device *dev}(hjsIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoIubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjkIubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMhjIubah}(h]h ]h"]h$]h&]uh1jhjkIubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjhIubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hjIh]hu16 queue_index}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjIubj)}(hhh]jl)}(hsub queue indexh]hsub queue index}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMhjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjhIubeh}(h]h ]h"]h$]h&]uh1jhjLIubjl)}(h**Description**h]j)}(hjIh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjLIubjl)}(hJStart individual transmit queue of a device with multiple transmit queues.h]hJStart individual transmit queue of a device with multiple transmit queues.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjLIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_stop_subqueue (C function)c.netif_stop_subqueuehNtauh1hhjhhhNhNubh)}(hhh](j)}(hBvoid netif_stop_subqueue (struct net_device *dev, u16 queue_index)h]j )}(hAvoid netif_stop_subqueue(struct net_device *dev, u16 queue_index)h](jM )}(hvoidh]hvoid}(hj*JhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&JhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM ubj")}(h h]h }(hj9JhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&Jhhhj8JhM ubj3)}(hnetif_stop_subqueueh]j9)}(hnetif_stop_subqueueh]hnetif_stop_subqueue}(hjKJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGJubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&Jhhhj8JhM ubj )}(h)(struct net_device *dev, u16 queue_index)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjgJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcJubj")}(h h]h }(hjtJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcJubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]j )}j jMJsbc.netif_stop_subqueueasbuh1hhjcJubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcJubj )}(hj h]h*}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcJubj9)}(hdevh]hdev}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_Jubj )}(hu16 queue_indexh](h)}(hhh]j9)}(hu16h]hu16}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]jJc.netif_stop_subqueueasbuh1hhjJubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj9)}(h queue_indexh]h queue_index}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_Jubeh}(h]h ]h"]h$]h&]jPjQuh1j hj&Jhhhj8JhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj"Jhhhj8JhM ubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8JhM hjJhhubjg)}(hhh]jl)}(h stop sending packets on subqueueh]h stop sending packets on subqueue}(hj2KhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM hj/Khhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhj8JhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJKjjJKjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device ``u16 queue_index`` sub queue index **Description** Stop individual transmit queue of a device with multiple transmit queues.h](jl)}(h**Parameters**h]j)}(hjTKh]h Parameters}(hjVKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRKubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjNKubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjsKh]hstruct net_device *dev}(hjuKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqKubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjmKubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjmKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjjKubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hjKh]hu16 queue_index}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjKubj)}(hhh]jl)}(hsub queue indexh]hsub queue index}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjjKubeh}(h]h ]h"]h$]h&]uh1jhjNKubjl)}(h**Description**h]j)}(hjKh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjNKubjl)}(hIStop individual transmit queue of a device with multiple transmit queues.h]hIStop individual transmit queue of a device with multiple transmit queues.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjNKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__netif_subqueue_stopped (C function)c.__netif_subqueue_stoppedhNtauh1hhjhhhNhNubh)}(hhh](j)}(hMbool __netif_subqueue_stopped (const struct net_device *dev, u16 queue_index)h]j )}(hLbool __netif_subqueue_stopped(const struct net_device *dev, u16 queue_index)h](jM )}(hjh]hbool}(hj,LhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(LhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj:LhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(Lhhhj9LhMubj3)}(h__netif_subqueue_stoppedh]j9)}(h__netif_subqueue_stoppedh]h__netif_subqueue_stopped}(hjLLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHLubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj(Lhhhj9LhMubj )}(h/(const struct net_device *dev, u16 queue_index)h](j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjhLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdLubj")}(h h]h }(hjuLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdLubj)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdLubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdLubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNj j )}j ]j )}j jNLsbc.__netif_subqueue_stoppedasbuh1hhjdLubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdLubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjdLubj9)}(hdevh]hdev}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj`Lubj )}(hu16 queue_indexh](h)}(hhh]j9)}(hu16h]hu16}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNj j )}j ]jLc.__netif_subqueue_stoppedasbuh1hhjLubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj9)}(h queue_indexh]h queue_index}(hj$MhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj`Lubeh}(h]h ]h"]h$]h&]jPjQuh1j hj(Lhhhj9LhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj$Lhhhj9LhMubah}(h]jLah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj9LhMhj!Lhhubjg)}(hhh]jl)}(htest status of subqueueh]htest status of subqueue}(hjNMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjKMhhubah}(h]h ]h"]h$]h&]uh1jfhj!Lhhhj9LhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfMjjfMjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const struct net_device *dev`` network device ``u16 queue_index`` sub queue index **Description** Check individual transmit queue of a device with multiple transmit queues.h](jl)}(h**Parameters**h]j)}(hjpMh]h Parameters}(hjrMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnMubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjjMubj)}(hhh](j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjMh]hconst struct net_device *dev}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjMubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjMubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hjMh]hu16 queue_index}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjMubj)}(hhh]jl)}(hsub queue indexh]hsub queue index}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjMubeh}(h]h ]h"]h$]h&]uh1jhjjMubjl)}(h**Description**h]j)}(hjNh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjjMubjl)}(hJCheck individual transmit queue of a device with multiple transmit queues.h]hJCheck individual transmit queue of a device with multiple transmit queues.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjjMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_subqueue_stopped (C function)c.netif_subqueue_stoppedhNtauh1hhjhhhNhNubh)}(hhh](j)}(hObool netif_subqueue_stopped (const struct net_device *dev, struct sk_buff *skb)h]j )}(hNbool netif_subqueue_stopped(const struct net_device *dev, struct sk_buff *skb)h](jM )}(hjh]hbool}(hjHNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDNhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM)ubj")}(h h]h }(hjVNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDNhhhjUNhM)ubj3)}(hnetif_subqueue_stoppedh]j9)}(hnetif_subqueue_stoppedh]hnetif_subqueue_stopped}(hjhNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdNubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjDNhhhjUNhM)ubj )}(h3(const struct net_device *dev, struct sk_buff *skb)h](j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNj j )}j ]j )}j jjNsbc.netif_subqueue_stoppedasbuh1hhjNubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj )}(hj h]h*}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNubj9)}(hdevh]hdev}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|Nubj )}(hstruct sk_buff *skbh](j)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Oubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Oubh)}(hhh]j9)}(hsk_buffh]hsk_buff}(hj/OhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,Oubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1OmodnameN classnameNj j )}j ]jNc.netif_subqueue_stoppedasbuh1hhj Oubj")}(h h]h }(hjMOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Oubj )}(hj h]h*}(hj[OhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj Oubj9)}(hskbh]hskb}(hjhOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Oubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj|Nubeh}(h]h ]h"]h$]h&]jPjQuh1j hjDNhhhjUNhM)ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj@NhhhjUNhM)ubah}(h]j;Nah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUNhM)hj=Nhhubjg)}(hhh]jl)}(htest status of subqueueh]htest status of subqueue}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM)hjOhhubah}(h]h ]h"]h$]h&]uh1jfhj=NhhhjUNhM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const struct net_device *dev`` network device ``struct sk_buff *skb`` sub queue buffer pointer **Description** Check individual transmit queue of a device with multiple transmit queues.h](jl)}(h**Parameters**h]j)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-hjOubj)}(hhh](j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjOh]hconst struct net_device *dev}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM*hjOubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhM*hjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhM*hjOubj)}(h1``struct sk_buff *skb`` sub queue buffer pointer h](j)}(h``struct sk_buff *skb``h]j)}(hj Ph]hstruct sk_buff *skb}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Pubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM+hjPubj)}(hhh]jl)}(hsub queue buffer pointerh]hsub queue buffer pointer}(hj%PhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!PhM+hj"Pubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhj!PhM+hjOubeh}(h]h ]h"]h$]h&]uh1jhjOubjl)}(h**Description**h]j)}(hjGPh]h Description}(hjIPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEPubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-hjOubjl)}(hJCheck individual transmit queue of a device with multiple transmit queues.h]hJCheck individual transmit queue of a device with multiple transmit queues.}(hj]PhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM,hjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_wake_subqueue (C function)c.netif_wake_subqueuehNtauh1hhjhhhNhNubh)}(hhh](j)}(hBvoid netif_wake_subqueue (struct net_device *dev, u16 queue_index)h]j )}(hAvoid netif_wake_subqueue(struct net_device *dev, u16 queue_index)h](jM )}(hvoidh]hvoid}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6ubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPhhhjPhM6ubj3)}(hnetif_wake_subqueueh]j9)}(hnetif_wake_subqueueh]hnetif_wake_subqueue}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjPhhhjPhM6ubj )}(h)(struct net_device *dev, u16 queue_index)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j jPsbc.netif_wake_subqueueasbuh1hhjPubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hdevh]hdev}(hj"QhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubj )}(hu16 queue_indexh](h)}(hhh]j9)}(hu16h]hu16}(hj>QhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;Qubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@QmodnameN classnameNj j )}j ]jQc.netif_wake_subqueueasbuh1hhj7Qubj")}(h h]h }(hj\QhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7Qubj9)}(h queue_indexh]h queue_index}(hjjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7Qubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubeh}(h]h ]h"]h$]h&]jPjQuh1j hjPhhhjPhM6ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjPhhhjPhM6ubah}(h]jPah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjPhM6hjPhhubjg)}(hhh]jl)}(h!allow sending packets on subqueueh]h!allow sending packets on subqueue}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM6hjQhhubah}(h]h ]h"]h$]h&]uh1jfhjPhhhjPhM6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQj jjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device ``u16 queue_index`` sub queue index **Description** Resume individual transmit queue of a device with multiple transmit queues.h](jl)}(h**Parameters**h]j)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM:hjQubj)}(hhh](j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjQh]hstruct net_device *dev}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM7hjQubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhM7hjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhM7hjQubj)}(h$``u16 queue_index`` sub queue index h](j)}(h``u16 queue_index``h]j)}(hjRh]hu16 queue_index}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Rubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM8hjRubj)}(hhh]jl)}(hsub queue indexh]hsub queue index}(hj'RhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#RhM8hj$Rubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhj#RhM8hjQubeh}(h]h ]h"]h$]h&]uh1jhjQubjl)}(h**Description**h]j)}(hjIRh]h Description}(hjKRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGRubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM:hjQubjl)}(hKResume individual transmit queue of a device with multiple transmit queues.h]hKResume individual transmit queue of a device with multiple transmit queues.}(hj_RhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM9hjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netif_attr_test_mask (C function)c.netif_attr_test_maskhNtauh1hhjhhhNhNubh)}(hhh](j)}(h\bool netif_attr_test_mask (unsigned long j, const unsigned long *mask, unsigned int nr_bits)h]j )}(h[bool netif_attr_test_mask(unsigned long j, const unsigned long *mask, unsigned int nr_bits)h](jM )}(hjh]hbool}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMJubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRhhhjRhMJubj3)}(hnetif_attr_test_maskh]j9)}(hnetif_attr_test_maskh]hnetif_attr_test_mask}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjRhhhjRhMJubj )}(hB(unsigned long j, const unsigned long *mask, unsigned int nr_bits)h](j )}(hunsigned long jh](jM )}(hunsignedh]hunsigned}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubjM )}(hlongh]hlong}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRubj9)}(hjh]hj}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubj )}(hconst unsigned long *maskh](j)}(hj h]hconst}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj")}(h h]h }(hj(ShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubjM )}(hunsignedh]hunsigned}(hj6ShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjSubj")}(h h]h }(hjDShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubjM )}(hlongh]hlong}(hjRShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjSubj")}(h h]h }(hj`ShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj )}(hj h]h*}(hjnShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSubj9)}(hmaskh]hmask}(hj{ShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubj )}(hunsigned int nr_bitsh](jM )}(hunsignedh]hunsigned}(hjShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjSubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubjM )}(hinth]hint}(hjShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjSubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj9)}(hnr_bitsh]hnr_bits}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjRubeh}(h]h ]h"]h$]h&]jPjQuh1j hjRhhhjRhMJubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjRhhhjRhMJubah}(h]jRah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjRhMJhjRhhubjg)}(hhh]jl)}(h$Test a CPU or Rx queue set in a maskh]h$Test a CPU or Rx queue set in a mask}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMJhjShhubah}(h]h ]h"]h$]h&]uh1jfhjRhhhjRhMJubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1hhhhjhNhNubj)}(hX **Parameters** ``unsigned long j`` CPU/Rx queue index ``const unsigned long *mask`` bitmask of all cpus/rx queues ``unsigned int nr_bits`` number of bits in the bitmask **Description** Test if a CPU or Rx queue index is set in a mask of all CPU/Rx queues.h](jl)}(h**Parameters**h]j)}(hjTh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMNhjTubj)}(hhh](j)}(h'``unsigned long j`` CPU/Rx queue index h](j)}(h``unsigned long j``h]j)}(hj7Th]hunsigned long j}(hj9ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5Tubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMKhj1Tubj)}(hhh]jl)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hjPThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLThMKhjMTubah}(h]h ]h"]h$]h&]uh1jhj1Tubeh}(h]h ]h"]h$]h&]uh1jhjLThMKhj.Tubj)}(h<``const unsigned long *mask`` bitmask of all cpus/rx queues h](j)}(h``const unsigned long *mask``h]j)}(hjpTh]hconst unsigned long *mask}(hjrThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMLhjjTubj)}(hhh]jl)}(hbitmask of all cpus/rx queuesh]hbitmask of all cpus/rx queues}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThMLhjTubah}(h]h ]h"]h$]h&]uh1jhjjTubeh}(h]h ]h"]h$]h&]uh1jhjThMLhj.Tubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hjTh]hunsigned int nr_bits}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMMhjTubj)}(hhh]jl)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThMMhjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThMMhj.Tubeh}(h]h ]h"]h$]h&]uh1jhjTubjl)}(h**Description**h]j)}(hjTh]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMOhjTubjl)}(hFTest if a CPU or Rx queue index is set in a mask of all CPU/Rx queues.h]hFTest if a CPU or Rx queue index is set in a mask of all CPU/Rx queues.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMNhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#netif_attr_test_online (C function)c.netif_attr_test_onlinehNtauh1hhjhhhNhNubh)}(hhh](j)}(hebool netif_attr_test_online (unsigned long j, const unsigned long *online_mask, unsigned int nr_bits)h]j )}(hdbool netif_attr_test_online(unsigned long j, const unsigned long *online_mask, unsigned int nr_bits)h](jM )}(hjh]hbool}(hj)UhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%UhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMZubj")}(h h]h }(hj7UhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%Uhhhj6UhMZubj3)}(hnetif_attr_test_onlineh]j9)}(hnetif_attr_test_onlineh]hnetif_attr_test_online}(hjIUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEUubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%Uhhhj6UhMZubj )}(hI(unsigned long j, const unsigned long *online_mask, unsigned int nr_bits)h](j )}(hunsigned long jh](jM )}(hunsignedh]hunsigned}(hjeUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjaUubj")}(h h]h }(hjsUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaUubjM )}(hlongh]hlong}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjaUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaUubj9)}(hjSh]hj}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]Uubj )}(h const unsigned long *online_maskh](j)}(hj h]hconst}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubjM )}(hunsignedh]hunsigned}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubjM )}(hlongh]hlong}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(h online_maskh]h online_mask}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]Uubj )}(hunsigned int nr_bitsh](jM )}(hunsignedh]hunsigned}(hj.VhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj*Vubj")}(h h]h }(hj= nr_bits if no further CPUs/Rx queues set.h](jl)}(h**Parameters**h]j)}(hjMYh]h Parameters}(hjOYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKYubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMrhjGYubj)}(hhh](j)}(h``int n`` CPU/Rx queue index h](j)}(h ``int n``h]j)}(hjlYh]hint n}(hjnYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMohjfYubj)}(hhh]jl)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMohjYubah}(h]h ]h"]h$]h&]uh1jhjfYubeh}(h]h ]h"]h$]h&]uh1jhjYhMohjcYubj)}(h@``const unsigned long *srcp`` the cpumask/Rx queue mask pointer h](j)}(h``const unsigned long *srcp``h]j)}(hjYh]hconst unsigned long *srcp}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMphjYubj)}(hhh]jl)}(h!the cpumask/Rx queue mask pointerh]h!the cpumask/Rx queue mask pointer}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMphjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMphjcYubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hjYh]hunsigned int nr_bits}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMqhjYubj)}(hhh]jl)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYhMqhjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhMqhjcYubeh}(h]h ]h"]h$]h&]uh1jhjGYubjl)}(h **Return**h]j)}(hjZh]hReturn}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMshjGYubjl)}(h[next (after n) CPU/Rx queue index in the mask; >= nr_bits if no further CPUs/Rx queues set.h]h[next (after n) CPU/Rx queue index in the mask; >= nr_bits if no further CPUs/Rx queues set.}(hj/ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMshjGYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$netif_attrmask_next_and (C function)c.netif_attrmask_next_andhNtauh1hhjhhhNhNubh)}(hhh](j)}(hqint netif_attrmask_next_and (int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits)h]j )}(hpint netif_attrmask_next_and(int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits)h](jM )}(hinth]hint}(hj^ZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZZhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjmZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZZhhhjlZhMubj3)}(hnetif_attrmask_next_andh]j9)}(hnetif_attrmask_next_andh]hnetif_attrmask_next_and}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{Zubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZZhhhjlZhMubj )}(hU(int n, const unsigned long *src1p, const unsigned long *src2p, unsigned int nr_bits)h](j )}(hint nh](jM )}(hinth]hint}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj9)}(hjDh]hn}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubj )}(hconst unsigned long *src1ph](j)}(hj h]hconst}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubjM )}(hunsignedh]hunsigned}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubjM )}(hlongh]hlong}(hj[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj )}(hj h]h*}(hj"[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj9)}(hsrc1ph]hsrc1p}(hj/[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubj )}(hconst unsigned long *src2ph](j)}(hj h]hconst}(hjH[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjD[ubj")}(h h]h }(hjU[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjD[ubjM )}(hunsignedh]hunsigned}(hjc[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjD[ubj")}(h h]h }(hjq[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjD[ubjM )}(hlongh]hlong}(hj[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjD[ubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjD[ubj )}(hj h]h*}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjD[ubj9)}(hsrc2ph]hsrc2p}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjD[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubj )}(hunsigned int nr_bitsh](jM )}(hunsignedh]hunsigned}(hj[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj[ubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubjM )}(hinth]hint}(hj[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj[ubj")}(h h]h }(hj[hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubj9)}(hnr_bitsh]hnr_bits}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubeh}(h]h ]h"]h$]h&]jPjQuh1j hjZZhhhjlZhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjVZhhhjlZhMubah}(h]jQZah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjlZhMhjSZhhubjg)}(hhh]jl)}(h.get the next CPU/Rx queue in \*src1p & \*src2ph]h.get the next CPU/Rx queue in *src1p & *src2p}(hj#\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj \hhubah}(h]h ]h"]h$]h&]uh1jfhjSZhhhjlZhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;\jj;\jjjuh1hhhhjhNhNubj)}(hXp**Parameters** ``int n`` CPU/Rx queue index ``const unsigned long *src1p`` the first CPUs/Rx queues mask pointer ``const unsigned long *src2p`` the second CPUs/Rx queues mask pointer ``unsigned int nr_bits`` number of bits in the bitmask **Return** next (after n) CPU/Rx queue index set in both masks; >= nr_bits if no further CPUs/Rx queues set in both.h](jl)}(h**Parameters**h]j)}(hjE\h]h Parameters}(hjG\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC\ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?\ubj)}(hhh](j)}(h``int n`` CPU/Rx queue index h](j)}(h ``int n``h]j)}(hjd\h]hint n}(hjf\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb\ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj^\ubj)}(hhh]jl)}(hCPU/Rx queue indexh]hCPU/Rx queue index}(hj}\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjy\hMhjz\ubah}(h]h ]h"]h$]h&]uh1jhj^\ubeh}(h]h ]h"]h$]h&]uh1jhjy\hMhj[\ubj)}(hE``const unsigned long *src1p`` the first CPUs/Rx queues mask pointer h](j)}(h``const unsigned long *src1p``h]j)}(hj\h]hconst unsigned long *src1p}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj\ubj)}(hhh]jl)}(h%the first CPUs/Rx queues mask pointerh]h%the first CPUs/Rx queues mask pointer}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj[\ubj)}(hF``const unsigned long *src2p`` the second CPUs/Rx queues mask pointer h](j)}(h``const unsigned long *src2p``h]j)}(hj\h]hconst unsigned long *src2p}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj\ubj)}(hhh]jl)}(h&the second CPUs/Rx queues mask pointerh]h&the second CPUs/Rx queues mask pointer}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj[\ubj)}(h7``unsigned int nr_bits`` number of bits in the bitmask h](j)}(h``unsigned int nr_bits``h]j)}(hj]h]hunsigned int nr_bits}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ]ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj ]ubj)}(hhh]jl)}(hnumber of bits in the bitmaskh]hnumber of bits in the bitmask}(hj(]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$]hMhj%]ubah}(h]h ]h"]h$]h&]uh1jhj ]ubeh}(h]h ]h"]h$]h&]uh1jhj$]hMhj[\ubeh}(h]h ]h"]h$]h&]uh1jhj?\ubjl)}(h **Return**h]j)}(hjJ]h]hReturn}(hjL]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH]ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?\ubjl)}(hinext (after n) CPU/Rx queue index set in both masks; >= nr_bits if no further CPUs/Rx queues set in both.h]hinext (after n) CPU/Rx queue index set in both masks; >= nr_bits if no further CPUs/Rx queues set in both.}(hj`]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj?\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h netif_is_multiqueue (C function)c.netif_is_multiqueuehNtauh1hhjhhhNhNubh)}(hhh](j)}(h7bool netif_is_multiqueue (const struct net_device *dev)h]j )}(h6bool netif_is_multiqueue(const struct net_device *dev)h](jM )}(hjh]hbool}(hj]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]hhhj]hMubj3)}(hnetif_is_multiqueueh]j9)}(hnetif_is_multiqueueh]hnetif_is_multiqueue}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj]hhhj]hMubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j )}j j]sbc.netif_is_multiqueueasbuh1hhj]ubj")}(h h]h }(hj$^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj )}(hj h]h*}(hj2^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj]ubj9)}(hdevh]hdev}(hj?^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubah}(h]h ]h"]h$]h&]jPjQuh1j hj]hhhj]hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj]hhhj]hMubah}(h]j]ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hMhj]hhubjg)}(hhh]jl)}(h+test if device has multiple transmit queuesh]h+test if device has multiple transmit queues}(hji^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjf^hhubah}(h]h ]h"]h$]h&]uh1jfhj]hhhj]hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1hhhhjhNhNubj)}(h**Parameters** ``const struct net_device *dev`` network device **Description** Check if device has multiple transmit queuesh](jl)}(h**Parameters**h]j)}(hj^h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj^ubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj^h]hconst struct net_device *dev}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj^ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMhj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubjl)}(h**Description**h]j)}(hj^h]h Description}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj^ubjl)}(h,Check if device has multiple transmit queuesh]h,Check if device has multiple transmit queues}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_hold (C function) c.dev_holdhNtauh1hhjhhhNhNubh)}(hhh](j)}(h&void dev_hold (struct net_device *dev)h]j )}(h%void dev_hold(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj*_hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&_hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj9_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&_hhhj8_hMubj3)}(hdev_holdh]j9)}(hdev_holdh]hdev_hold}(hjK_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjG_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&_hhhj8_hMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjg_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjc_ubj")}(h h]h }(hjt_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc_ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]j )}j jM_sb c.dev_holdasbuh1hhjc_ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc_ubj )}(hj h]h*}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjc_ubj9)}(hdevh]hdev}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjc_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj__ubah}(h]h ]h"]h$]h&]jPjQuh1j hj&_hhhj8_hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj"_hhhj8_hMubah}(h]j_ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8_hMhj_hhubjg)}(hhh]jl)}(hget reference to deviceh]hget reference to device}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj_hhubah}(h]h ]h"]h$]h&]uh1jfhj_hhhj8_hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device **Description** Hold reference to device to keep it from being freed. Try using netdev_hold() instead.h](jl)}(h**Parameters**h]j)}(hj `h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj `ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj`ubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hj+`h]hstruct net_device *dev}(hj-`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)`ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj%`ubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjD`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@`hMhjA`ubah}(h]h ]h"]h$]h&]uh1jhj%`ubeh}(h]h ]h"]h$]h&]uh1jhj@`hMhj"`ubah}(h]h ]h"]h$]h&]uh1jhj`ubjl)}(h**Description**h]j)}(hjf`h]h Description}(hjh`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd`ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj`ubjl)}(hVHold reference to device to keep it from being freed. Try using netdev_hold() instead.h]hVHold reference to device to keep it from being freed. Try using netdev_hold() instead.}(hj|`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdev_put (C function) c.dev_puthNtauh1hhjhhhNhNubh)}(hhh](j)}(h%void dev_put (struct net_device *dev)h]j )}(h$void dev_put(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`hhhj`hMubj3)}(hdev_puth]j9)}(hdev_puth]hdev_put}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`hhhj`hMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNj j )}j ]j )}j j`sb c.dev_putasbuh1hhj`ubj")}(h h]h }(hj&ahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubj )}(hj h]h*}(hj4ahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj`ubj9)}(hdevh]hdev}(hjAahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj`ubah}(h]h ]h"]h$]h&]jPjQuh1j hj`hhhj`hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`hhhj`hMubah}(h]j`ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj`hMhj`hhubjg)}(hhh]jl)}(hrelease reference to deviceh]hrelease reference to device}(hjkahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjhahhubah}(h]h ]h"]h$]h&]uh1jfhj`hhhj`hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device **Description** Release reference to device to allow it to be freed. Try using netdev_put() instead.h](jl)}(h**Parameters**h]j)}(hjah]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjaubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjah]hstruct net_device *dev}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjaubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhjaubjl)}(h**Description**h]j)}(hjah]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjaubjl)}(hTRelease reference to device to allow it to be freed. Try using netdev_put() instead.h]hTRelease reference to device to allow it to be freed. Try using netdev_put() instead.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlinkwatch_sync_dev (C function)c.linkwatch_sync_devhNtauh1hhjhhhNhNubh)}(hhh](j)}(h0void linkwatch_sync_dev (struct net_device *dev)h]j )}(h/void linkwatch_sync_dev(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hj,bhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj(bhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hj;bhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(bhhhj:bhMubj3)}(hlinkwatch_sync_devh]j9)}(hlinkwatch_sync_devh]hlinkwatch_sync_dev}(hjMbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj(bhhhj:bhMubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjibhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjebubj")}(h h]h }(hjvbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjebubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]j )}j jObsbc.linkwatch_sync_devasbuh1hhjebubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjebubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjebubj9)}(hdevh]hdev}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjebubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjabubah}(h]h ]h"]h$]h&]jPjQuh1j hj(bhhhj:bhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj$bhhhj:bhMubah}(h]jbah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj:bhMhj!bhhubjg)}(hhh]jl)}(h#sync linkwatch for the given deviceh]h#sync linkwatch for the given device}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjbhhubah}(h]h ]h"]h$]h&]uh1jfhj!bhhhj:bhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct net_device *dev`` network device to sync linkwatch for **Description** Sync linkwatch for the given device, removing it from the pending work list (if queued).h](jl)}(h**Parameters**h]j)}(hjch]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj cubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjcubj)}(hhh]j)}(h@``struct net_device *dev`` network device to sync linkwatch for h](j)}(h``struct net_device *dev``h]j)}(hj-ch]hstruct net_device *dev}(hj/chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+cubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj'cubj)}(hhh]jl)}(h$network device to sync linkwatch forh]h$network device to sync linkwatch for}(hjFchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBchMhjCcubah}(h]h ]h"]h$]h&]uh1jhj'cubeh}(h]h ]h"]h$]h&]uh1jhjBchMhj$cubah}(h]h ]h"]h$]h&]uh1jhjcubjl)}(h**Description**h]j)}(hjhch]h Description}(hjjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfcubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjcubjl)}(hXSync linkwatch for the given device, removing it from the pending work list (if queued).h]hXSync linkwatch for the given device, removing it from the pending work list (if queued).}(hj~chhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_carrier_ok (C function)c.netif_carrier_okhNtauh1hhjhhhNhNubh)}(hhh](j)}(h4bool netif_carrier_ok (const struct net_device *dev)h]j )}(h3bool netif_carrier_ok(const struct net_device *dev)h](jM )}(hjh]hbool}(hjchhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjchhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjchhhjchMubj3)}(hnetif_carrier_okh]j9)}(hnetif_carrier_okh]hnetif_carrier_ok}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjchhhjchMubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj"dhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$dmodnameN classnameNj j )}j ]j )}j jcsbc.netif_carrier_okasbuh1hhjcubj")}(h h]h }(hjBdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hjPdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hdevh]hdev}(hj]dhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubah}(h]h ]h"]h$]h&]jPjQuh1j hjchhhjchMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjchhhjchMubah}(h]jcah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjchMhjchhubjg)}(hhh]jl)}(htest if carrier presenth]htest if carrier present}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjdhhubah}(h]h ]h"]h$]h&]uh1jfhjchhhjchMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhjhNhNubj)}(hy**Parameters** ``const struct net_device *dev`` network device **Description** Check if carrier is present on deviceh](jl)}(h**Parameters**h]j)}(hjdh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjdubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjdh]hconst struct net_device *dev}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjdubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjdubah}(h]h ]h"]h$]h&]uh1jhjdubjl)}(h**Description**h]j)}(hjeh]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjdubjl)}(h%Check if carrier is present on deviceh]h%Check if carrier is present on device}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_dormant_on (C function)c.netif_dormant_onhNtauh1hhjhhhNhNubh)}(hhh](j)}(h.void netif_dormant_on (struct net_device *dev)h]j )}(h-void netif_dormant_on(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjHehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDehhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM+ubj")}(h h]h }(hjWehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDehhhjVehM+ubj3)}(hnetif_dormant_onh]j9)}(hnetif_dormant_onh]hnetif_dormant_on}(hjiehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeeubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjDehhhjVehM+ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]j )}j jkesbc.netif_dormant_onasbuh1hhjeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeubj9)}(hdevh]hdev}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}eubah}(h]h ]h"]h$]h&]jPjQuh1j hjDehhhjVehM+ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj@ehhhjVehM+ubah}(h]j;eah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjVehM+hj=ehhubjg)}(hhh]jl)}(hmark device as dormant.h]hmark device as dormant.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM+hjfhhubah}(h]h ]h"]h$]h&]uh1jfhj=ehhhjVehM+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj fjj fjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct net_device *dev`` network device **Description** Mark device as dormant (as per RFC2863). The dormant state indicates that the relevant interface is not actually in a condition to pass packets (i.e., it is not 'up') but is in a "pending" state, waiting for some external event. For "on- demand" interfaces, this new state identifies the situation where the interface is waiting for events to place it in the up state.h](jl)}(h**Parameters**h]j)}(hj*fh]h Parameters}(hj,fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(fubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM/hj$fubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjIfh]hstruct net_device *dev}(hjKfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGfubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM,hjCfubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjbfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^fhM,hj_fubah}(h]h ]h"]h$]h&]uh1jhjCfubeh}(h]h ]h"]h$]h&]uh1jhj^fhM,hj@fubah}(h]h ]h"]h$]h&]uh1jhj$fubjl)}(h**Description**h]j)}(hjfh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM.hj$fubjl)}(h(Mark device as dormant (as per RFC2863).h]h(Mark device as dormant (as per RFC2863).}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM-hj$fubjl)}(hXHThe dormant state indicates that the relevant interface is not actually in a condition to pass packets (i.e., it is not 'up') but is in a "pending" state, waiting for some external event. For "on- demand" interfaces, this new state identifies the situation where the interface is waiting for events to place it in the up state.h]hXTThe dormant state indicates that the relevant interface is not actually in a condition to pass packets (i.e., it is not ‘up’) but is in a “pending” state, waiting for some external event. For “on- demand” interfaces, this new state identifies the situation where the interface is waiting for events to place it in the up state.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM/hj$fubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_dormant_off (C function)c.netif_dormant_offhNtauh1hhjhhhNhNubh)}(hhh](j)}(h/void netif_dormant_off (struct net_device *dev)h]j )}(h.void netif_dormant_off(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjfhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjfhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM=ubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfhhhjfhM=ubj3)}(hnetif_dormant_offh]j9)}(hnetif_dormant_offh]hnetif_dormant_off}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjfhhhjfhM=ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hj"ghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj3ghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0gubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5gmodnameN classnameNj j )}j ]j )}j jfsbc.netif_dormant_offasbuh1hhjgubj")}(h h]h }(hjSghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjaghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hdevh]hdev}(hjnghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj gubah}(h]h ]h"]h$]h&]jPjQuh1j hjfhhhjfhM=ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjfhhhjfhM=ubah}(h]jfah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjfhM=hjfhhubjg)}(hhh]jl)}(hset device as not dormant.h]hset device as not dormant.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM=hjghhubah}(h]h ]h"]h$]h&]uh1jfhjfhhhjfhM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjgjjgjjjuh1hhhhjhNhNubj)}(hm**Parameters** ``struct net_device *dev`` network device **Description** Device is not in dormant state.h](jl)}(h**Parameters**h]j)}(hjgh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMAhjgubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjgh]hstruct net_device *dev}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM>hjgubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghM>hjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghM>hjgubah}(h]h ]h"]h$]h&]uh1jhjgubjl)}(h**Description**h]j)}(hjhh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM@hjgubjl)}(hDevice is not in dormant state.h]hDevice is not in dormant state.}(hj*hhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM?hjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_dormant (C function)c.netif_dormanthNtauh1hhjhhhNhNubh)}(hhh](j)}(h1bool netif_dormant (const struct net_device *dev)h]j )}(h0bool netif_dormant(const struct net_device *dev)h](jM )}(hjh]hbool}(hjYhhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUhhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMIubj")}(h h]h }(hjghhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUhhhhjfhhMIubj3)}(h netif_dormanth]j9)}(h netif_dormanth]h netif_dormant}(hjyhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuhubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjUhhhhjfhhMIubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]j )}j j{hsbc.netif_dormantasbuh1hhjhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj9)}(hdevh]hdev}(hj ihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhubah}(h]h ]h"]h$]h&]jPjQuh1j hjUhhhhjfhhMIubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjQhhhhjfhhMIubah}(h]jLhah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjfhhMIhjNhhhubjg)}(hhh]jl)}(htest if device is dormanth]htest if device is dormant}(hj3ihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMIhj0ihhubah}(h]h ]h"]h$]h&]uh1jfhjNhhhhjfhhMIubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKijjKijjjuh1hhhhjhNhNubj)}(ho**Parameters** ``const struct net_device *dev`` network device **Description** Check if device is dormant.h](jl)}(h**Parameters**h]j)}(hjUih]h Parameters}(hjWihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSiubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMMhjOiubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjtih]hconst struct net_device *dev}(hjvihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjriubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMJhjniubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMJhjiubah}(h]h ]h"]h$]h&]uh1jhjniubeh}(h]h ]h"]h$]h&]uh1jhjihMJhjkiubah}(h]h ]h"]h$]h&]uh1jhjOiubjl)}(h**Description**h]j)}(hjih]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMLhjOiubjl)}(hCheck if device is dormant.h]hCheck if device is dormant.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMKhjOiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_testing_on (C function)c.netif_testing_onhNtauh1hhjhhhNhNubh)}(hhh](j)}(h.void netif_testing_on (struct net_device *dev)h]j )}(h-void netif_testing_on(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjihhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMUubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjihhhjjhMUubj3)}(hnetif_testing_onh]j9)}(hnetif_testing_onh]hnetif_testing_on}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjihhhjjhMUubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj1jhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-jubj")}(h h]h }(hj>jhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-jubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjOjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQjmodnameN classnameNj j )}j ]j )}j jjsbc.netif_testing_onasbuh1hhj-jubj")}(h h]h }(hjojhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-jubj )}(hj h]h*}(hj}jhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj-jubj9)}(hdevh]hdev}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-jubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)jubah}(h]h ]h"]h$]h&]jPjQuh1j hjihhhjjhMUubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjihhhjjhMUubah}(h]jiah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjjhMUhjihhubjg)}(hhh]jl)}(hmark device as under test.h]hmark device as under test.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMUhjjhhubah}(h]h ]h"]h$]h&]uh1jfhjihhhjjhMUubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjjjuh1hhhhjhNhNubj)}(hX4**Parameters** ``struct net_device *dev`` network device **Description** Mark device as under test (as per RFC2863). The testing state indicates that some test(s) must be performed on the interface. After completion, of the test, the interface state will change to up, dormant, or down, as appropriate.h](jl)}(h**Parameters**h]j)}(hjjh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMYhjjubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjjh]hstruct net_device *dev}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMVhjjubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj khMVhj kubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhj khMVhjjubah}(h]h ]h"]h$]h&]uh1jhjjubjl)}(h**Description**h]j)}(hj0kh]h Description}(hj2khhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.kubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMXhjjubjl)}(h+Mark device as under test (as per RFC2863).h]h+Mark device as under test (as per RFC2863).}(hjFkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMWhjjubjl)}(hThe testing state indicates that some test(s) must be performed on the interface. After completion, of the test, the interface state will change to up, dormant, or down, as appropriate.h]hThe testing state indicates that some test(s) must be performed on the interface. After completion, of the test, the interface state will change to up, dormant, or down, as appropriate.}(hjUkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMYhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_testing_off (C function)c.netif_testing_offhNtauh1hhjhhhNhNubh)}(hhh](j)}(h/void netif_testing_off (struct net_device *dev)h]j )}(h.void netif_testing_off(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjkhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMeubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkhhhjkhMeubj3)}(hnetif_testing_offh]j9)}(hnetif_testing_offh]hnetif_testing_off}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjkhhhjkhMeubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNj j )}j ]j )}j jksbc.netif_testing_offasbuh1hhjkubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hj lhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hdevh]hdev}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubah}(h]h ]h"]h$]h&]jPjQuh1j hjkhhhjkhMeubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj|khhhjkhMeubah}(h]jwkah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjkhMehjykhhubjg)}(hhh]jl)}(hset device as not under test.h]hset device as not under test.}(hjDlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMehjAlhhubah}(h]h ]h"]h$]h&]uh1jfhjykhhhjkhMeubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\ljj\ljjjuh1hhhhjhNhNubj)}(hm**Parameters** ``struct net_device *dev`` network device **Description** Device is not in testing state.h](jl)}(h**Parameters**h]j)}(hjflh]h Parameters}(hjhlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdlubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMihj`lubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjlh]hstruct net_device *dev}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMfhjlubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMfhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMfhj|lubah}(h]h ]h"]h$]h&]uh1jhj`lubjl)}(h**Description**h]j)}(hjlh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhhj`lubjl)}(hDevice is not in testing state.h]hDevice is not in testing state.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMghj`lubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_testing (C function)c.netif_testinghNtauh1hhjhhhNhNubh)}(hhh](j)}(h1bool netif_testing (const struct net_device *dev)h]j )}(h0bool netif_testing(const struct net_device *dev)h](jM )}(hjh]hbool}(hjmhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMqubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmhhhjmhMqubj3)}(h netif_testingh]j9)}(h netif_testingh]h netif_testing}(hj%mhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!mubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjmhhhjmhMqubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjAmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=mubj")}(h h]h }(hjNmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=mubj)}(hjh]hstruct}(hj\mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=mubj")}(h h]h }(hjimhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=mubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjzmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|mmodnameN classnameNj j )}j ]j )}j j'msbc.netif_testingasbuh1hhj=mubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=mubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=mubj9)}(hdevh]hdev}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=mubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9mubah}(h]h ]h"]h$]h&]jPjQuh1j hjmhhhjmhMqubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjlhhhjmhMqubah}(h]jlah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjmhMqhjlhhubjg)}(hhh]jl)}(htest if device is under testh]htest if device is under test}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMqhjmhhubah}(h]h ]h"]h$]h&]uh1jfhjlhhhjmhMqubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhjhNhNubj)}(hq**Parameters** ``const struct net_device *dev`` network device **Description** Check if device is under testh](jl)}(h**Parameters**h]j)}(hjnh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMuhjmubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hj nh]hconst struct net_device *dev}(hj"nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMrhjnubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hj9nhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5nhMrhj6nubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhj5nhMrhjnubah}(h]h ]h"]h$]h&]uh1jhjmubjl)}(h**Description**h]j)}(hj[nh]h Description}(hj]nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYnubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMthjmubjl)}(hCheck if device is under testh]hCheck if device is under test}(hjqnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMshjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_oper_up (C function)c.netif_oper_uphNtauh1hhjhhhNhNubh)}(hhh](j)}(h1bool netif_oper_up (const struct net_device *dev)h]j )}(h0bool netif_oper_up(const struct net_device *dev)h](jM )}(hjh]hbool}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjnhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM}ubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnhhhjnhM}ubj3)}(h netif_oper_uph]j9)}(h netif_oper_uph]h netif_oper_up}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjnhhhjnhM}ubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubj)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]j )}j jnsbc.netif_oper_upasbuh1hhjnubj")}(h h]h }(hj5ohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubj )}(hj h]h*}(hjCohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj9)}(hdevh]hdev}(hjPohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnubah}(h]h ]h"]h$]h&]jPjQuh1j hjnhhhjnhM}ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjnhhhjnhM}ubah}(h]jnah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjnhM}hjnhhubjg)}(hhh]jl)}(htest if device is operationalh]htest if device is operational}(hjzohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM}hjwohhubah}(h]h ]h"]h$]h&]uh1jfhjnhhhjnhM}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1hhhhjhNhNubj)}(hs**Parameters** ``const struct net_device *dev`` network device **Description** Check if carrier is operationalh](jl)}(h**Parameters**h]j)}(hjoh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjoubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjoh]hconst struct net_device *dev}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM~hjoubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohM~hjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohM~hjoubah}(h]h ]h"]h$]h&]uh1jhjoubjl)}(h**Description**h]j)}(hjoh]h Description}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjoubjl)}(hCheck if carrier is operationalh]hCheck if carrier is operational}(hj phhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!netif_device_present (C function)c.netif_device_presenthNtauh1hhjhhhNhNubh)}(hhh](j)}(h8bool netif_device_present (const struct net_device *dev)h]j )}(h7bool netif_device_present(const struct net_device *dev)h](jM )}(hjh]hbool}(hj;phhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7phhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjIphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7phhhjHphMubj3)}(hnetif_device_presenth]j9)}(hnetif_device_presenth]hnetif_device_present}(hj[phhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWpubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7phhhjHphMubj )}(h(const struct net_device *dev)h]j )}(hconst struct net_device *devh](j)}(hj h]hconst}(hjwphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjspubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjspubj)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjspubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjspubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j )}j j]psbc.netif_device_presentasbuh1hhjspubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjspubj )}(hj h]h*}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjspubj9)}(hdevh]hdev}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjspubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjopubah}(h]h ]h"]h$]h&]jPjQuh1j hj7phhhjHphMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3phhhjHphMubah}(h]j.pah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHphMhj0phhubjg)}(hhh]jl)}(his device available or removedh]his device available or removed}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjqhhubah}(h]h ]h"]h$]h&]uh1jfhj0phhhjHphMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-qjj-qjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const struct net_device *dev`` network device **Description** Check if device has not been removed from system.h](jl)}(h**Parameters**h]j)}(hj7qh]h Parameters}(hj9qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5qubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj1qubj)}(hhh]j)}(h0``const struct net_device *dev`` network device h](j)}(h ``const struct net_device *dev``h]j)}(hjVqh]hconst struct net_device *dev}(hjXqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTqubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhjPqubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjoqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkqhMhjlqubah}(h]h ]h"]h$]h&]uh1jhjPqubeh}(h]h ]h"]h$]h&]uh1jhjkqhMhjMqubah}(h]h ]h"]h$]h&]uh1jhj1qubjl)}(h**Description**h]j)}(hjqh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj1qubjl)}(h1Check if device has not been removed from system.h]h1Check if device has not been removed from system.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMhj1qubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnetif_tx_lock (C function)c.netif_tx_lockhNtauh1hhjhhhNhNubh)}(hhh](j)}(h+void netif_tx_lock (struct net_device *dev)h]j )}(h*void netif_tx_lock(struct net_device *dev)h](jM )}(hvoidh]hvoid}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjqhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM1ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqhhhjqhM1ubj3)}(h netif_tx_lockh]j9)}(h netif_tx_lockh]h netif_tx_lock}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjqhhhjqhM1ubj )}(h(struct net_device *dev)h]j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj")}(h h]h }(hj rhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj1rhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.rubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3rmodnameN classnameNj j )}j ]j )}j jqsbc.netif_tx_lockasbuh1hhjrubj")}(h h]h }(hjQrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj )}(hj h]h*}(hj_rhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj9)}(hdevh]hdev}(hjlrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj rubah}(h]h ]h"]h$]h&]jPjQuh1j hjqhhhjqhM1ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjqhhhjqhM1ubah}(h]jqah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjqhM1hjqhhubjg)}(hhh]jl)}(h!grab network device transmit lockh]h!grab network device transmit lock}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM1hjrhhubah}(h]h ]h"]h$]h&]uh1jfhjqhhhjqhM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1hhhhjhNhNubj)}(hn**Parameters** ``struct net_device *dev`` network device **Description** Get network device transmit lockh](jl)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM5hjrubj)}(hhh]j)}(h*``struct net_device *dev`` network device h](j)}(h``struct net_device *dev``h]j)}(hjrh]hstruct net_device *dev}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM2hjrubj)}(hhh]jl)}(hnetwork deviceh]hnetwork device}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhM2hjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhM2hjrubah}(h]h ]h"]h$]h&]uh1jhjrubjl)}(h**Description**h]j)}(hjsh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM4hjrubjl)}(h Get network device transmit lockh]h Get network device transmit lock}(hj(shhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhM3hjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__dev_uc_sync (C function)c.__dev_uc_synchNtauh1hhjhhhNhNubh)}(hhh](j)}(hint __dev_uc_sync (struct net_device *dev, int (*sync)(struct net_device *, const unsigned char *), int (*unsync)(struct net_device *, const unsigned char *))h]j )}(hint __dev_uc_sync(struct net_device *dev, int (*sync)(struct net_device*, const unsigned char*), int (*unsync)(struct net_device*, const unsigned char*))h](jM )}(hinth]hint}(hjWshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjSshhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:104: ./include/linux/netdevice.hhMubj")}(h h]h }(hjfshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSshhhjeshMubj3)}(h __dev_uc_synch]j9)}(h __dev_uc_synch]h __dev_uc_sync}(hjxshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtsubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjSshhhjeshMubj )}(h(struct net_device *dev, int (*sync)(struct net_device*, const unsigned char*), int (*unsync)(struct net_device*, const unsigned char*))h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]j )}j jzssbc.__dev_uc_syncasbuh1hhjsubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjsubj )}(hj h]h*}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjsubj9)}(hdevh]hdev}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(h5int (*sync)(struct net_device*, const unsigned char*)h](jM )}(hinth]hint}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjtubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hjh]h(}(hj"thhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj )}(hj h]h*}(hj/thhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hsynch]hsync}(hjubj)}(hstruct net_shaper { struct net_shaper_handle parent; struct net_shaper_handle handle; enum net_shaper_metric metric; u64 bw_min; u64 bw_max; u64 burst; u32 priority; u32 weight; };h]hstruct net_shaper { struct net_shaper_handle parent; struct net_shaper_handle handle; enum net_shaper_metric metric; u64 bw_min; u64 bw_max; u64 burst; u32 priority; u32 weight; };}hj_sbah}(h]h ]h"]h$]h&]jPjQuh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK'hj>ubjl)}(h **Members**h]j)}(hjph]hMembers}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK2hj>ubj)}(hhh](j)}(hD``parent`` Unique identifier for the shaper parent, usually implied h](j)}(h ``parent``h]j)}(hjh]hparent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK$hjubj)}(hhh]jl)}(h8Unique identifier for the shaper parent, usually impliedh]h8Unique identifier for the shaper parent, usually implied}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK$hjubj)}(h-``handle`` Unique identifier for this shaper h](j)}(h ``handle``h]j)}(hjȂh]hhandle}(hjʂhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƂubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK%hj‚ubj)}(hhh]jl)}(h!Unique identifier for this shaperh]h!Unique identifier for this shaper}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj݂hK%hjނubah}(h]h ]h"]h$]h&]uh1jhj‚ubeh}(h]h ]h"]h$]h&]uh1jhj݂hK%hjubj)}(h;``metric`` Specify if the rate limits refers to PPS or BPS h](j)}(h ``metric``h]j)}(hjh]hmetric}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK&hjubj)}(hhh]jl)}(h/Specify if the rate limits refers to PPS or BPSh]h/Specify if the rate limits refers to PPS or BPS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK&hjubj)}(h3``bw_min`` Minimum guaranteed rate for this shaper h](j)}(h ``bw_min``h]j)}(hj:h]hbw_min}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK'hj4ubj)}(hhh]jl)}(h'Minimum guaranteed rate for this shaperh]h'Minimum guaranteed rate for this shaper}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhK'hjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhK'hjubj)}(h5``bw_max`` Maximum peak rate allowed for this shaper h](j)}(h ``bw_max``h]j)}(hjsh]hbw_max}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK(hjmubj)}(hhh]jl)}(h)Maximum peak rate allowed for this shaperh]h)Maximum peak rate allowed for this shaper}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK(hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhK(hjubj)}(h9``burst`` Maximum burst for the peek rate of this shaper h](j)}(h ``burst``h]j)}(hjh]hburst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK)hjubj)}(hhh]jl)}(h.Maximum burst for the peek rate of this shaperh]h.Maximum burst for the peek rate of this shaper}(hjŃhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK)hjƒubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK)hjubj)}(h1``priority`` Scheduling priority for this shaper h](j)}(h ``priority``h]j)}(hjh]hpriority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK*hj߃ubj)}(hhh]jl)}(h#Scheduling priority for this shaperh]h#Scheduling priority for this shaper}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhK*hjubah}(h]h ]h"]h$]h&]uh1jhj߃ubeh}(h]h ]h"]h$]h&]uh1jhjhK*hjubj)}(h,``weight`` Scheduling weight for this shaperh](j)}(h ``weight``h]j)}(hjh]hweight}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK*hjubj)}(hhh]jl)}(h!Scheduling weight for this shaperh]h!Scheduling weight for this shaper}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK+hj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hK*hjubeh}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhjԁhKJubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnet_shaper_ops (C struct)c.net_shaper_opshNtauh1hhjhhhjԁhKJubh)}(hhh](j)}(hnet_shaper_opsh]j )}(hstruct net_shaper_opsh](j)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK1ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjthhhjhK1ubj3)}(hnet_shaper_opsh]j9)}(hjrh]hnet_shaper_ops}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjthhhjhK1ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjphhhjhK1ubah}(h]jkah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhK1hjmhhubjg)}(hhh]jl)}(h Operations on device H/W shapersh]h Operations on device H/W shapers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK=hjhhubah}(h]h ]h"]h$]h&]uh1jfhjmhhhjhK1ubeh}(h]h ](jstructeh"]h$]h&]jjjj҄jj҄jjjuh1hhhhjhjԁhKJubj)}(hXT**Definition**:: struct net_shaper_ops { int (*group)(struct net_shaper_binding *binding, int leaves_count, const struct net_shaper *leaves, const struct net_shaper *node, struct netlink_ext_ack *extack); int (*set)(struct net_shaper_binding *binding, const struct net_shaper *shaper, struct netlink_ext_ack *extack); int (*delete)(struct net_shaper_binding *binding, const struct net_shaper_handle *handle, struct netlink_ext_ack *extack); void (*capabilities)(struct net_shaper_binding *binding, enum net_shaper_scope scope, unsigned long *cap); }; **Members** ``group`` create a scheduling group or add leaves Nest the **leaves** shapers identified under the **node** shaper. All the shapers belong to the device specified by **binding**. The **leaves** array's size is specified by **leaves_count**. **node** and **leaves** may or may not already exist (see the "Implicit creation" note). If **node** already exists, the **leaves** should be *added* to its children. In this case, the **leaves** array only holds new/modified leaves, not the full list. Re-parenting **leaves** is implemented by a **group** call on a new parent. There's no explicit call to remove the children from the old parent. ``set`` Updates the specified shaper Updates or creates the **shaper** on the device specified by **binding**. ``delete`` Removes the specified shaper Removes the shaper configuration as identified by the given **handle** on the device specified by **binding**, restoring the default behavior. Note that a **delete** call on a NET_SHAPER_SCOPE_QUEUE shaper also implicitly removes the associated queue from the scheduling hierarchy. The driver must take care of that step. **delete** calls on NET_SHAPER_SCOPE_NODE should not require any implicit re-parenting in the driver as core will re-parent the leaves first, before deleting the SCOPE_NODE shaper. ``capabilities`` get the shaper features supported by the device Fills the bitmask **cap** with the supported capabilities for the specified **scope** and device specified by **binding**.h](jl)}(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&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKAhjքubj)}(hX%struct net_shaper_ops { int (*group)(struct net_shaper_binding *binding, int leaves_count, const struct net_shaper *leaves, const struct net_shaper *node, struct netlink_ext_ack *extack); int (*set)(struct net_shaper_binding *binding, const struct net_shaper *shaper, struct netlink_ext_ack *extack); int (*delete)(struct net_shaper_binding *binding, const struct net_shaper_handle *handle, struct netlink_ext_ack *extack); void (*capabilities)(struct net_shaper_binding *binding, enum net_shaper_scope scope, unsigned long *cap); };h]hX%struct net_shaper_ops { int (*group)(struct net_shaper_binding *binding, int leaves_count, const struct net_shaper *leaves, const struct net_shaper *node, struct netlink_ext_ack *extack); int (*set)(struct net_shaper_binding *binding, const struct net_shaper *shaper, struct netlink_ext_ack *extack); int (*delete)(struct net_shaper_binding *binding, const struct net_shaper_handle *handle, struct netlink_ext_ack *extack); void (*capabilities)(struct net_shaper_binding *binding, enum net_shaper_scope scope, unsigned long *cap); };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKChjքubjl)}(h **Members**h]j)}(hjh]hMembers}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKJhjքubj)}(hhh](j)}(hX``group`` create a scheduling group or add leaves Nest the **leaves** shapers identified under the **node** shaper. All the shapers belong to the device specified by **binding**. The **leaves** array's size is specified by **leaves_count**. **node** and **leaves** may or may not already exist (see the "Implicit creation" note). If **node** already exists, the **leaves** should be *added* to its children. In this case, the **leaves** array only holds new/modified leaves, not the full list. Re-parenting **leaves** is implemented by a **group** call on a new parent. There's no explicit call to remove the children from the old parent. h](j)}(h ``group``h]j)}(hj'h]hgroup}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKuhj!ubj)}(hhh](jl)}(h'create a scheduling group or add leavesh]h'create a scheduling group or add leaves}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKihj=ubjl)}(hNest the **leaves** shapers identified under the **node** shaper. All the shapers belong to the device specified by **binding**. The **leaves** array's size is specified by **leaves_count**.h](h Nest the }(hjOhhhNhNubj)}(h **leaves**h]hleaves}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh shapers identified under the }(hjOhhhNhNubj)}(h**node**h]hnode}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh; shaper. All the shapers belong to the device specified by }(hjOhhhNhNubj)}(h **binding**h]hbinding}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh. The }(hjOhhhNhNubj)}(h **leaves**h]hleaves}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh array’s size is specified by }(hjOhhhNhNubj)}(h**leaves_count**h]h leaves_count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKkhj=ubjl)}(h**node** and **leaves** may or may not already exist (see the "Implicit creation" note). If **node** already exists, the **leaves** should be *added* to its children. In this case, the **leaves** array only holds new/modified leaves, not the full list.h](j)}(h**node**h]hnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **leaves**h]hleaves}(hj΅hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhI may or may not already exist (see the “Implicit creation” note). If }(hjhhhNhNubj)}(h**node**h]hnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh already exists, the }(hjhhhNhNubj)}(h **leaves**h]hleaves}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh should be }(hjhhhNhNubj)}(h*added*h]hadded}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh$ to its children. In this case, the }(hjhhhNhNubj)}(h **leaves**h]hleaves}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9 array only holds new/modified leaves, not the full list.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKohj=ubjl)}(hRe-parenting **leaves** is implemented by a **group** call on a new parent. There's no explicit call to remove the children from the old parent.h](h Re-parenting }(hj/hhhNhNubj)}(h **leaves**h]hleaves}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubh is implemented by a }(hj/hhhNhNubj)}(h **group**h]hgroup}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubh] call on a new parent. There’s no explicit call to remove the children from the old parent.}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKthj=ubeh}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hKuhjubj)}(hp``set`` Updates the specified shaper Updates or creates the **shaper** on the device specified by **binding**. h](j)}(h``set``h]j)}(hjth]hset}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKhjnubj)}(hhh](jl)}(hUpdates the specified shaperh]hUpdates the specified shaper}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhK}hjubjl)}(hIUpdates or creates the **shaper** on the device specified by **binding**.h](hUpdates or creates the }(hjhhhNhNubj)}(h **shaper**h]hshaper}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on the device specified by }(hjhhhNhNubj)}(h **binding**h]hbinding}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hX!``delete`` Removes the specified shaper Removes the shaper configuration as identified by the given **handle** on the device specified by **binding**, restoring the default behavior. Note that a **delete** call on a NET_SHAPER_SCOPE_QUEUE shaper also implicitly removes the associated queue from the scheduling hierarchy. The driver must take care of that step. **delete** calls on NET_SHAPER_SCOPE_NODE should not require any implicit re-parenting in the driver as core will re-parent the leaves first, before deleting the SCOPE_NODE shaper. h](j)}(h ``delete``h]j)}(hjh]hdelete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjކubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKhjچubj)}(hhh](jl)}(hRemoves the specified shaperh]hRemoves the specified shaper}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKhjubjl)}(hRemoves the shaper configuration as identified by the given **handle** on the device specified by **binding**, restoring the default behavior.h](hhjhhubjl)}(hUDevice not supporting any kind of nesting should not provide the **group** operation.h](hADevice not supporting any kind of nesting should not provide the }(hj,hhhNhNubj)}(h **group**h]hgroup}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubh operation.}(hj,hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKEhjhhubjl)}(hyEach shaper is uniquely identified within the device with a 'handle' comprising the shaper scope and a scope-specific id.h]h}Each shaper is uniquely identified within the device with a ‘handle’ comprising the shaper scope and a scope-specific id.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhY/var/lib/git/docbuild/linux/Documentation/networking/kapi:107: ./include/net/net_shaper.hhKHhjhhubeh}(h]driver-supportah ]h"]driver supportah$]h&]uh1hhjohhhhhKZubh)}(hhh](h)}(h PHY Supporth]h PHY Support}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhhhhhKoubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_print_status (C function)c.phy_print_statushNtauh1hhjdhhhNhNubh)}(hhh](j)}(h1void phy_print_status (struct phy_device *phydev)h]j )}(h0void phy_print_status(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKtubj3)}(hphy_print_statush]j9)}(hphy_print_statush]hphy_print_status}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKtubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjˈhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLjubj")}(h h]h }(hj؈hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_print_statusasbuh1hhjLjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLjubj9)}(hphydevh]hphydev}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjÈubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKtubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKthjhhubjg)}(hhh]jl)}(h8Convenience function to print out the current phy statush]h8Convenience function to print out the current phy status}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKthjKhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhjdhNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jl)}(h**Parameters**h]j)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKxhjjubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKzhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKzhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_get_rate_matching (C function)c.phy_get_rate_matchinghNtauh1hhjdhhhNhNubh)}(hhh](j)}(hLint phy_get_rate_matching (struct phy_device *phydev, phy_interface_t iface)h]j )}(hKint phy_get_rate_matching(struct phy_device *phydev, phy_interface_t iface)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphy_get_rate_matchingh]j9)}(hphy_get_rate_matchingh]hphy_get_rate_matching}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h2(struct phy_device *phydev, phy_interface_t iface)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNj j )}j ]j )}j j sbc.phy_get_rate_matchingasbuh1hhj"ubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj )}(hj h]h*}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hphy_interface_t ifaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j`c.phy_get_rate_matchingasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hifaceh]hiface}(hjNJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]j܉ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjމhhubjg)}(hhh]jl)}(h'determine if rate matching is supportedh]h'determine if rate matching is supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjމhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` The phy device to return rate matching for ``phy_interface_t iface`` The interface mode to use **Description** This determines the type of rate matching (if any) that **phy** supports using **iface**. **iface** may be ``PHY_INTERFACE_MODE_NA`` to determine if any interface supports rate matching. **Return** The type of rate matching **phy** supports for **iface**, or ``RATE_MATCH_NONE``.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj ubj)}(hhh](j)}(hI``struct phy_device *phydev`` The phy device to return rate matching for h](j)}(h``struct phy_device *phydev``h]j)}(hj2h]hstruct phy_device *phydev}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj,ubj)}(hhh]jl)}(h*The phy device to return rate matching forh]h*The phy device to return rate matching for}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhKhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhKhj)ubj)}(h4``phy_interface_t iface`` The interface mode to use h](j)}(h``phy_interface_t iface``h]j)}(hjkh]hphy_interface_t iface}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjeubj)}(hhh]jl)}(hThe interface mode to useh]hThe interface mode to use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhKhj)ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj ubjl)}(hThis determines the type of rate matching (if any) that **phy** supports using **iface**. **iface** may be ``PHY_INTERFACE_MODE_NA`` to determine if any interface supports rate matching.h](h8This determines the type of rate matching (if any) that }(hjhhhNhNubj)}(h**phy**h]hphy}(hjċhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh supports using }(hjhhhNhNubj)}(h **iface**h]hiface}(hj֋hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubj)}(h **iface**h]hiface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh may be }(hjhhhNhNubj)}(h``PHY_INTERFACE_MODE_NA``h]hPHY_INTERFACE_MODE_NA}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh6 to determine if any interface supports rate matching.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj ubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj ubjl)}(hQThe type of rate matching **phy** supports for **iface**, or ``RATE_MATCH_NONE``.h](hThe type of rate matching }(hj+hhhNhNubj)}(h**phy**h]hphy}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh supports for }(hj+hhhNhNubj)}(h **iface**h]hiface}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh, or }(hj+hhhNhNubj)}(h``RATE_MATCH_NONE``h]hRATE_MATCH_NONE}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh.}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_restart_aneg (C function)c.phy_restart_aneghNtauh1hhjdhhhNhNubh)}(hhh](j)}(h0int phy_restart_aneg (struct phy_device *phydev)h]j )}(h/int phy_restart_aneg(struct phy_device *phydev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphy_restart_anegh]j9)}(hphy_restart_anegh]hphy_restart_aneg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj͌hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjɌubj")}(h h]h }(hjڌhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjɌubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_restart_anegasbuh1hhjɌubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjɌubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjɌubj9)}(hphydevh]hphydev}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjɌubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjŌubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(hrestart auto-negotiationh]hrestart auto-negotiation}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjMhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Restart the autonegotiation on **phydev**. Returns >= 0 on success or negative errno on error.h](jl)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjlubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjlubjl)}(h**Description**h]j)}(hj̍h]h Description}(hj΍hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjʍubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjlubjl)}(h_Restart the autonegotiation on **phydev**. Returns >= 0 on success or negative errno on error.h](hRestart the autonegotiation on }(hjhhhNhNubj)}(h **phydev**h]hphydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh6. Returns >= 0 on success or negative errno on error.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_aneg_done (C function)c.phy_aneg_donehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h-int phy_aneg_done (struct phy_device *phydev)h]j )}(h,int phy_aneg_done(struct phy_device *phydev)h](jM )}(hinth]hint}(hj#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj1hKubj3)}(h phy_aneg_doneh]j9)}(h phy_aneg_doneh]h phy_aneg_done}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj1hKubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jFsbc.phy_aneg_doneasbuh1hhj\ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjXubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj1hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj1hKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hKhjhhubjg)}(hhh]jl)}(hreturn auto-negotiation statush]hreturn auto-negotiation status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj1hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Return the auto-negotiation status from this **phydev** Returns > 0 on success or < 0 on error. 0 means that auto-negotiation is still pending.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj$h]hstruct phy_device *phydev}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hKhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hKhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj_h]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubjl)}(hReturn the auto-negotiation status from this **phydev** Returns > 0 on success or < 0 on error. 0 means that auto-negotiation is still pending.h](h-Return the auto-negotiation status from this }(hjuhhhNhNubj)}(h **phydev**h]hphydev}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubhX Returns > 0 on success or < 0 on error. 0 means that auto-negotiation is still pending.}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_check_valid (C function)c.phy_check_validhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hEbool phy_check_valid (int speed, int duplex, unsigned long *features)h]j )}(hDbool phy_check_valid(int speed, int duplex, unsigned long *features)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKubj")}(h h]h }(hjďhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjÏhKubj3)}(hphy_check_validh]j9)}(hphy_check_validh]hphy_check_valid}(hj֏hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjҏubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjÏhKubj )}(h0(int speed, int duplex, unsigned long *features)h](j )}(h int speedh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hspeedh]hspeed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int duplexh](jM )}(hinth]hint}(hj'hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj#ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj9)}(hduplexh]hduplex}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned long *featuresh](jM )}(hunsignedh]hunsigned}(hj\hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubjM )}(hlongh]hlong}(hjxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXubj9)}(hfeaturesh]hfeatures}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjÏhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjÏhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjÏhKhjhhubjg)}(hhh]jl)}(hScheck if there is a valid PHY setting which matches speed, duplex, and feature maskh]hScheck if there is a valid PHY setting which matches speed, duplex, and feature mask}(hjːhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjȐhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjÏhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``int speed`` speed to match ``int duplex`` duplex to match ``unsigned long *features`` A mask of the valid settings **Description** Returns true if there is a valid setting, false otherwise.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubj)}(hhh](j)}(h``int speed`` speed to match h](j)}(h ``int speed``h]j)}(hj h]h int speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(hspeed to matchh]hspeed to match}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hKhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hKhjubj)}(h``int duplex`` duplex to match h](j)}(h``int duplex``h]j)}(hjEh]h int duplex}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhj?ubj)}(hhh]jl)}(hduplex to matchh]hduplex to match}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhKhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhKhjubj)}(h9``unsigned long *features`` A mask of the valid settings h](j)}(h``unsigned long *features``h]j)}(hj~h]hunsigned long *features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjxubj)}(hhh]jl)}(hA mask of the valid settingsh]hA mask of the valid settings}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubjl)}(h:Returns true if there is a valid setting, false otherwise.h]h:Returns true if there is a valid setting, false otherwise.}(hjϑhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mii_ioctl (C function)c.phy_mii_ioctlhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hIint phy_mii_ioctl (struct phy_device *phydev, struct ifreq *ifr, int cmd)h]j )}(hHint phy_mii_ioctl(struct phy_device *phydev, struct ifreq *ifr, int cmd)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM-ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM-ubj3)}(h phy_mii_ioctlh]j9)}(h phy_mii_ioctlh]h phy_mii_ioctl}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hM-ubj )}(h7(struct phy_device *phydev, struct ifreq *ifr, int cmd)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNj j )}j ]j )}j j!sbc.phy_mii_ioctlasbuh1hhj7ubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj7ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubj )}(hstruct ifreq *ifrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hifreqh]hifreq}(hj˒hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjȒubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj͒modnameN classnameNj j )}j ]juc.phy_mii_ioctlasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hifrh]hifr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubj )}(hint cmdh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hcmdh]hcmd}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hM-ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj hM-ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hM-hjhhubjg)}(hhh]jl)}(hgeneric PHY MII ioctl interfaceh]hgeneric PHY MII ioctl interface}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM-hj`hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hM-ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1hhhhjdhNhNubj)}(hX\**Parameters** ``struct phy_device *phydev`` the phy_device struct ``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's ``int cmd`` ioctl cmd to execute **Description** Note that this function is currently incompatible with the PHYCONTROL layer. It changes registers without regard to current state. Use at own risk.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM1hjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM.hjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubj)}(hH``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's h](j)}(h``struct ifreq *ifr``h]j)}(hjݓh]hstruct ifreq *ifr}(hjߓhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۓubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM/hjדubj)}(hhh]jl)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hjh]h struct ifreq}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjifrequh1hhjhM/hjubh for socket ioctl’s}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjדubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubj)}(h!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hj5h]hint cmd}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM0hj/ubj)}(hhh]jl)}(hioctl cmd to executeh]hioctl cmd to execute}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhM0hjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhM0hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjph]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM2hjubjl)}(hNote that this function is currently incompatible with the PHYCONTROL layer. It changes registers without regard to current state. Use at own risk.h]hNote that this function is currently incompatible with the PHYCONTROL layer. It changes registers without regard to current state. Use at own risk.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM1hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_do_ioctl (C function)c.phy_do_ioctlhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hEint phy_do_ioctl (struct net_device *dev, struct ifreq *ifr, int cmd)h]j )}(hDint phy_do_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjĔhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjÔhMubj3)}(h phy_do_ioctlh]j9)}(h phy_do_ioctlh]h phy_do_ioctl}(hj֔hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjҔubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjÔhMubj )}(h4(struct net_device *dev, struct ifreq *ifr, int cmd)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jؔsbc.phy_do_ioctlasbuh1hhjubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct ifreq *ifrh](j)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubh)}(hhh]j9)}(hifreqh]hifreq}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j,c.phy_do_ioctlasbuh1hhj`ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj`ubj9)}(hifrh]hifr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint cmdh](jM )}(hinth]hint}(hjԕhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjЕubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjЕubj9)}(hcmdh]hcmd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjЕubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjÔhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjÔhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjÔhMhjhhubjg)}(hhh]jl)}(h$generic ndo_eth_ioctl implementationh]h$generic ndo_eth_ioctl implementation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjÔhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct net_device *dev`` the net_device struct ``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's ``int cmd`` ioctl cmd to executeh](jl)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj6ubj)}(hhh](j)}(h1``struct net_device *dev`` the net_device struct h](j)}(h``struct net_device *dev``h]j)}(hj[h]hstruct net_device *dev}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjUubj)}(hhh]jl)}(hthe net_device structh]hthe net_device struct}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjRubj)}(hH``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's h](j)}(h``struct ifreq *ifr``h]j)}(hjh]hstruct ifreq *ifr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hjh]h struct ifreq}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjifrequh1hhjhMhjubh for socket ioctl’s}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjRubj)}(h ``int cmd`` ioctl cmd to executeh](j)}(h ``int cmd``h]j)}(hjh]hint cmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hioctl cmd to executeh]hioctl cmd to execute}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjRubeh}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_do_ioctl_running (C function)c.phy_do_ioctl_runninghNtauh1hhjdhhhNhNubh)}(hhh](j)}(hMint phy_do_ioctl_running (struct net_device *dev, struct ifreq *ifr, int cmd)h]j )}(hLint phy_do_ioctl_running(struct net_device *dev, struct ifreq *ifr, int cmd)h](jM )}(hinth]hint}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBhhhjThMubj3)}(hphy_do_ioctl_runningh]j9)}(hphy_do_ioctl_runningh]hphy_do_ioctl_running}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjBhhhjThMubj )}(h4(struct net_device *dev, struct ifreq *ifr, int cmd)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jisbc.phy_do_ioctl_runningasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjϗhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjܗhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hstruct ifreq *ifrh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hifreqh]hifreq}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_do_ioctl_runningasbuh1hhjubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hifrh]hifr}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hint cmdh](jM )}(hinth]hint}(hjehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjaubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj9)}(hcmdh]hcmd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjBhhhjThMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj>hhhjThMubah}(h]j9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjThMhj;hhubjg)}(hhh]jl)}(h3generic ndo_eth_ioctl implementation but test firsth]h3generic ndo_eth_ioctl implementation but test first}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj;hhhjThMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjØjjØjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct net_device *dev`` the net_device struct ``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's ``int cmd`` ioctl cmd to execute **Description** Same as phy_do_ioctl, but ensures that net_device is running before handling the ioctl.h](jl)}(h**Parameters**h]j)}(hj͘h]h Parameters}(hjϘhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˘ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjǘubj)}(hhh](j)}(h1``struct net_device *dev`` the net_device struct h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hthe net_device structh]hthe net_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hH``struct ifreq *ifr`` :c:type:`struct ifreq ` for socket ioctl's h](j)}(h``struct ifreq *ifr``h]j)}(hj%h]hstruct ifreq *ifr}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h1:c:type:`struct ifreq ` for socket ioctl'sh](h)}(h:c:type:`struct ifreq `h]j)}(hjDh]h struct ifreq}(hjFhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjifrequh1hhj:hMhj>ubh for socket ioctl’s}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(h!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hj}h]hint cmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjwubj)}(hhh]jl)}(hioctl cmd to executeh]hioctl cmd to execute}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjǘubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjǘubjl)}(hWSame as phy_do_ioctl, but ensures that net_device is running before handling the ioctl.h]hWSame as phy_do_ioctl, but ensures that net_device is running before handling the ioctl.}(hjΙhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjǘubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_trigger_machine (C function)c.phy_trigger_machinehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h4void phy_trigger_machine (struct phy_device *phydev)h]j )}(h3void phy_trigger_machine(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM ubj3)}(hphy_trigger_machineh]j9)}(hphy_trigger_machineh]hphy_trigger_machine}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hM ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j )}j j sbc.phy_trigger_machineasbuh1hhj6ubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj6ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj6ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj hM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hM hjhhubjg)}(hhh]jl)}(h$Trigger the state machine to run nowh]h$Trigger the state machine to run now}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj՚jj՚jjjuh1hhhhjdhNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jl)}(h**Parameters**h]j)}(hjߚh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݚubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjٚubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjٚubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_ethtool_get_strings (C function)c.phy_ethtool_get_stringshNtauh1hhjdhhhNhNubh)}(hhh](j)}(hAint phy_ethtool_get_strings (struct phy_device *phydev, u8 *data)h]j )}(h@int phy_ethtool_get_strings(struct phy_device *phydev, u8 *data)h](jM )}(hinth]hint}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjThhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM ubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjThhhjfhM ubj3)}(hphy_ethtool_get_stringsh]j9)}(hphy_ethtool_get_stringsh]hphy_ethtool_get_strings}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjuubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjThhhjfhM ubj )}(h%(struct phy_device *phydev, u8 *data)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j{sbc.phy_ethtool_get_stringsasbuh1hhjubj")}(h h]h }(hjӛhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu8 *datah](h)}(hhh]j9)}(hu8h]hu8}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jϛc.phy_ethtool_get_stringsasbuh1hhjubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdatah]hdata}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjThhhjfhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjPhhhjfhM ubah}(h]jKah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjfhM hjMhhubjg)}(hhh]jl)}(hGet the statistic counter namesh]hGet the statistic counter names}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM hjjhhubah}(h]h ]h"]h$]h&]uh1jfhjMhhhjfhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hn**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u8 *data`` Where to put the stringsh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM$hjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM"hjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjǜhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjÜhM"hjĜubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjÜhM"hjubj)}(h%``u8 *data`` Where to put the stringsh](j)}(h ``u8 *data``h]j)}(hjh]hu8 *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM$hjubj)}(hhh]jl)}(hWhere to put the stringsh]hWhere to put the strings}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.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&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phy_ethtool_get_sset_count (C function)c.phy_ethtool_get_sset_counthNtauh1hhjdhhhNhNubh)}(hhh](j)}(h:int phy_ethtool_get_sset_count (struct phy_device *phydev)h]j )}(h9int phy_ethtool_get_sset_count(struct phy_device *phydev)h](jM )}(hinth]hint}(hjAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj=hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM3ubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhjOhM3ubj3)}(hphy_ethtool_get_sset_counth]j9)}(hphy_ethtool_get_sset_counth]hphy_ethtool_get_sset_count}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhjOhM3ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jdsbc.phy_ethtool_get_sset_countasbuh1hhjzubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjzubj )}(hj h]h*}(hjʝhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjzubj9)}(hphydevh]hphydev}(hjםhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubah}(h]h ]h"]h$]h&]jPjQuh1j hj=hhhjOhM3ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9hhhjOhM3ubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjOhM3hj6hhubjg)}(hhh]jl)}(h$Get the number of statistic countersh]h$Get the number of statistic counters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM3hjhhubah}(h]h ]h"]h$]h&]uh1jfhj6hhhjOhM3ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jl)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM7hjubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjBh]hstruct phy_device *phydev}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM9hj<ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM5hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhM9hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_ethtool_get_stats (C function)c.phy_ethtool_get_statshNtauh1hhjdhhhNhNubh)}(hhh](j)}(h]int phy_ethtool_get_stats (struct phy_device *phydev, struct ethtool_stats *stats, u64 *data)h]j )}(h\int phy_ethtool_get_stats(struct phy_device *phydev, struct ethtool_stats *stats, u64 *data)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMMubj3)}(hphy_ethtool_get_statsh]j9)}(hphy_ethtool_get_statsh]hphy_ethtool_get_stats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMMubj )}(hC(struct phy_device *phydev, struct ethtool_stats *stats, u64 *data)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjٞhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj՞ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj՞ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_ethtool_get_statsasbuh1hhj՞ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj՞ubj )}(hj h]h*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj՞ubj9)}(hphydevh]hphydev}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj՞ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjўubj )}(hstruct ethtool_stats *statsh](j)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubh)}(hhh]j9)}(h ethtool_statsh]h ethtool_stats}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNj j )}j ]jc.phy_ethtool_get_statsasbuh1hhjGubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjGubj9)}(hstatsh]hstats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjўubj )}(h u64 *datah](h)}(hhh]j9)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_ethtool_get_statsasbuh1hhjubj")}(h h]h }(hjܟhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjўubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMMhjhhubjg)}(hhh]jl)}(hGet the statistic countersh]hGet the statistic counters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``struct ethtool_stats *stats`` What counters to get ``u64 *data`` Where to store the countersh](jl)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMQhj=ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjbh]hstruct phy_device *phydev}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMOhj\ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMOhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMOhjYubj)}(h5``struct ethtool_stats *stats`` What counters to get h](j)}(h``struct ethtool_stats *stats``h]j)}(hjh]hstruct ethtool_stats *stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMPhjubj)}(hhh]jl)}(hWhat counters to geth]hWhat counters to get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjYubj)}(h)``u64 *data`` Where to store the countersh](j)}(h ``u64 *data``h]j)}(hjԠh]h u64 *data}(hj֠hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҠubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMRhjΠubj)}(hhh]jl)}(hWhere to store the countersh]hWhere to store the counters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMQhjubah}(h]h ]h"]h$]h&]uh1jhjΠubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjYubeh}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_start_cable_test (C function)c.phy_start_cable_testhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hTint phy_start_cable_test (struct phy_device *phydev, struct netlink_ext_ack *extack)h]j )}(hSint phy_start_cable_test(struct phy_device *phydev, struct netlink_ext_ack *extack)h](jM )}(hinth]hint}(hj.hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj*hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*hhhj<hMMubj3)}(hphy_start_cable_testh]j9)}(hphy_start_cable_testh]hphy_start_cable_test}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj*hhhj<hMMubj )}(h;(struct phy_device *phydev, struct netlink_ext_ack *extack)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jQsbc.phy_start_cable_testasbuh1hhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hphydevh]hphydev}(hjġhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hjݡhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj١ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj١ubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_start_cable_testasbuh1hhj١ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj١ubj )}(hj h]h*}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj١ubj9)}(hextackh]hextack}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj١ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubeh}(h]h ]h"]h$]h&]jPjQuh1j hj*hhhj<hMMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj&hhhj<hMMubah}(h]j!ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj<hMMhj#hhubjg)}(hhh]jl)}(hStart a cable testh]hStart a cable test}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMhj[hhubah}(h]h ]h"]h$]h&]uh1jfhj#hhhj<hMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``struct netlink_ext_ack *extack`` extack for reporting useful error messagesh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMQhjzubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMOhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(hM``struct netlink_ext_ack *extack`` extack for reporting useful error messagesh](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjآh]hstruct netlink_ext_ack *extack}(hjڢhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֢ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMQhjҢubj)}(hhh]jl)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMPhjubah}(h]h ]h"]h$]h&]uh1jhjҢubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubeh}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_start_cable_test_tdr (C function)c.phy_start_cable_test_tdrhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h}int phy_start_cable_test_tdr (struct phy_device *phydev, struct netlink_ext_ack *extack, const struct phy_tdr_config *config)h]j )}(h|int phy_start_cable_test_tdr(struct phy_device *phydev, struct netlink_ext_ack *extack, const struct phy_tdr_config *config)h](jM )}(hinth]hint}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.hhhj@hMubj3)}(hphy_start_cable_test_tdrh]j9)}(hphy_start_cable_test_tdrh]hphy_start_cable_test_tdr}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj@hMubj )}(h`(struct phy_device *phydev, struct netlink_ext_ack *extack, const struct phy_tdr_config *config)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jUsbc.phy_start_cable_test_tdrasbuh1hhjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hphydevh]hphydev}(hjȣhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjݣubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjݣubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_start_cable_test_tdrasbuh1hhjݣubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjݣubj )}(hj h]h*}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjݣubj9)}(hextackh]hextack}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjݣubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(h#const struct phy_tdr_config *configh](j)}(hj h]hconst}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj)}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubh)}(hhh]j9)}(hphy_tdr_configh]hphy_tdr_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_start_cable_test_tdrasbuh1hhjMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hconfigh]hconfig}(hjähhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.hhhj@hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*hhhj@hMubah}(h]j%ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@hMhj'hhubjg)}(hhh]jl)}(hStart a raw TDR cable testh]hStart a raw TDR cable test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj'hhhj@hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``struct netlink_ext_ack *extack`` extack for reporting useful error messages ``const struct phy_tdr_config *config`` Configuration of the test to runh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj.h]hstruct phy_device *phydev}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj(ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhj%ubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjgh]hstruct netlink_ext_ack *extack}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjaubj)}(hhh]jl)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj%ubj)}(hH``const struct phy_tdr_config *config`` Configuration of the test to runh](j)}(h'``const struct phy_tdr_config *config``h]j)}(hjh]h#const struct phy_tdr_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h Configuration of the test to runh]h Configuration of the test to run}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj%ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_inband_caps (C function)c.phy_inband_capshNtauh1hhjdhhhNhNubh)}(hhh](j)}(hSunsigned int phy_inband_caps (struct phy_device *phydev, phy_interface_t interface)h]j )}(hRunsigned int phy_inband_caps(struct phy_device *phydev, phy_interface_t interface)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhMubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_inband_capsh]j9)}(hphy_inband_capsh]hphy_inband_caps}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h6(struct phy_device *phydev, phy_interface_t interface)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNj j )}j ]j )}j j9sbc.phy_inband_capsasbuh1hhjOubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjȦhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjŦubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjʦmodnameN classnameNj j )}j ]jc.phy_inband_capsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h2query which in-band signalling modes are supportedh]h2query which in-band signalling modes are supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``phy_interface_t interface`` the interface mode for the PHY **Description** Returns zero if it is unknown what in-band signalling is supported by the PHY (e.g. because the PHY driver doesn't implement the method.) Otherwise, returns a bit mask of the LINK_INBAND_* values from :c:type:`enum link_inband_signalling ` to describe which inband modes are supported by the PHY for this interface mode.h](jl)}(h**Parameters**h]j)}(hj@h]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj:ubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj_h]hstruct phy_device *phydev}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjYubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjxhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjh]hstruct phy_device}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhjthMhjxubeh}(h]h ]h"]h$]h&]uh1jkhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjVubj)}(h=``phy_interface_t interface`` the interface mode for the PHY h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hthe interface mode for the PHYh]hthe interface mode for the PHY}(hjЧhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj̧hMhjͧubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̧hMhjVubeh}(h]h ]h"]h$]h&]uh1jhj:ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj:ubjl)}(hXXReturns zero if it is unknown what in-band signalling is supported by the PHY (e.g. because the PHY driver doesn't implement the method.) Otherwise, returns a bit mask of the LINK_INBAND_* values from :c:type:`enum link_inband_signalling ` to describe which inband modes are supported by the PHY for this interface mode.h](hReturns zero if it is unknown what in-band signalling is supported by the PHY (e.g. because the PHY driver doesn’t implement the method.) Otherwise, returns a bit mask of the LINK_INBAND_* values from }(hjhhhNhNubh)}(h>:c:type:`enum link_inband_signalling `h]j)}(hjh]henum link_inband_signalling}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjlink_inband_signallinguh1hhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubhQ to describe which inband modes are supported by the PHY for this interface mode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj/hMhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_config_inband (C function)c.phy_config_inbandhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hEint phy_config_inband (struct phy_device *phydev, unsigned int modes)h]j )}(hDint phy_config_inband(struct phy_device *phydev, unsigned int modes)h](jM )}(hinth]hint}(hjZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjVhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM'ubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVhhhjhhM'ubj3)}(hphy_config_inbandh]j9)}(hphy_config_inbandh]hphy_config_inband}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjVhhhjhhM'ubj )}(h/(struct phy_device *phydev, unsigned int modes)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j}sbc.phy_config_inbandasbuh1hhjubj")}(h h]h }(hjըhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int modesh](jM )}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj%hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmodesh]hmodes}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjVhhhjhhM'ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjRhhhjhhM'ubah}(h]jMah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhhM'hjOhhubjg)}(hhh]jl)}(h&configure the desired PHY in-band modeh]h&configure the desired PHY in-band mode}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM'hjhhhubah}(h]h ]h"]h$]h&]uh1jfhjOhhhjhhM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX"**Parameters** ``struct phy_device *phydev`` the phy_device struct ``unsigned int modes`` in-band modes to configure **Description** disables, enables or enables-with-bypass in-band signalling between the PHY and host system. **Return** zero on success, or negative errno value.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM+hjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM(hjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjũhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM(hj©ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubj)}(h2``unsigned int modes`` in-band modes to configure h](j)}(h``unsigned int modes``h]j)}(hjh]hunsigned int modes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM)hjߩubj)}(hhh]jl)}(hin-band modes to configureh]hin-band modes to configure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjߩubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM+hjubj)}(hhh]j)}(h]disables, enables or enables-with-bypass in-band signalling between the PHY and host system. h](j)}(h;disables, enables or enables-with-bypass in-band signallingh]h;disables, enables or enables-with-bypass in-band signalling}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM,hj9ubj)}(hhh]jl)}(h between the PHY and host system.h]h between the PHY and host system.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhM,hjLubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjKhM,hj6ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjqh]hReturn}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM.hjubjl)}(h)zero on success, or negative errno value.h]h)zero on success, or negative errno value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM.hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h_phy_start_aneg (C function)c._phy_start_aneghNtauh1hhjdhhhNhNubh)}(hhh](j)}(h/int _phy_start_aneg (struct phy_device *phydev)h]j )}(h.int _phy_start_aneg(struct phy_device *phydev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMCubj")}(h h]h }(hjŪhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjĪhMCubj3)}(h_phy_start_anegh]j9)}(h_phy_start_anegh]h_phy_start_aneg}(hjתhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjӪubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjĪhMCubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j٪sbc._phy_start_anegasbuh1hhjubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjĪhMCubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjĪhMCubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjĪhMChjhhubjg)}(hhh]jl)}(h*start auto-negotiation for this PHY deviceh]h*start auto-negotiation for this PHY device}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMChjshhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjĪhMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX>**Parameters** ``struct phy_device *phydev`` the phy_device struct **Description** Sanitizes the settings (if we're not autonegotiating them), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMGhjubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMDhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjЫhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj̫hMDhjͫubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̫hMDhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMFhjubj)}(hhh]j)}(hSanitizes the settings (if we're not autonegotiating them), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.h](j)}(h4Sanitizes the settings (if we're not autonegotiatingh]h6Sanitizes the settings (if we’re not autonegotiating}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMHhj ubj)}(hhh]jl)}(hthem), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.h]hthem), and then calls the driver’s config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMGhjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start_aneg (C function)c.phy_start_aneghNtauh1hhjdhhhNhNubh)}(hhh](j)}(h.int phy_start_aneg (struct phy_device *phydev)h]j )}(h-int phy_start_aneg(struct phy_device *phydev)h](jM )}(hinth]hint}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMcubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^hhhjphMcubj3)}(hphy_start_anegh]j9)}(hphy_start_anegh]hphy_start_aneg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^hhhjphMcubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_start_anegasbuh1hhjubj")}(h h]h }(hjݬhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj^hhhjphMcubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjZhhhjphMcubah}(h]jUah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjphMchjWhhubjg)}(hhh]jl)}(h*start auto-negotiation for this PHY deviceh]h*start auto-negotiation for this PHY device}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMchjhhubah}(h]h ]h"]h$]h&]uh1jfhjWhhhjphMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhjdhNhNubj)}(hX>**Parameters** ``struct phy_device *phydev`` the phy_device struct **Description** Sanitizes the settings (if we're not autonegotiating them), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.h](jl)}(h**Parameters**h]j)}(hjDh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMghj>ubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjch]hstruct phy_device *phydev}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMdhj]ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMdhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMdhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMfhj>ubj)}(hhh]j)}(hSanitizes the settings (if we're not autonegotiating them), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.h](j)}(h4Sanitizes the settings (if we're not autonegotiatingh]h6Sanitizes the settings (if we’re not autonegotiating}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhhjubj)}(hhh]jl)}(hthem), and then calls the driver's config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.h]hthem), and then calls the driver’s config_aneg function. If the PHYCONTROL Layer is operating, we change the state to reflect the beginning of Auto-negotiation or forcing.}(hjͭhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMghjʭubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɭhMhhjubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_down (C function)c.phy_speed_downhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h9int phy_speed_down (struct phy_device *phydev, bool sync)h]j )}(h8int phy_speed_down(struct phy_device *phydev, bool sync)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhMubj3)}(hphy_speed_downh]j9)}(hphy_speed_downh]hphy_speed_down}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhMubj )}(h&(struct phy_device *phydev, bool sync)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNj j )}j ]j )}j j1sbc.phy_speed_downasbuh1hhjGubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjGubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubj )}(h bool synch](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjʮhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hsynch]hsync}(hjخhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h9set speed to lowest speed supported by both link partnersh]h9set speed to lowest speed supported by both link partners}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``bool sync`` perform action synchronously **Description** Typically used to save energy when waiting for a WoL packet WARNING: Setting sync to false may cause the system being unable to suspend in case the PHY generates an interrupt when finishing the autonegotiation. This interrupt may wake up the system immediately after suspend. Therefore use sync = false only if you're sure it's safe with the respective network chip.h](jl)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjCh]hstruct phy_device *phydev}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj=ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhj:ubj)}(h+``bool sync`` perform action synchronously h](j)}(h ``bool sync``h]j)}(hj|h]h bool sync}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjvubj)}(hhh]jl)}(hperform action synchronouslyh]hperform action synchronously}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhj:ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjl)}(h;Typically used to save energy when waiting for a WoL packeth]h;Typically used to save energy when waiting for a WoL packet}(hjͯhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjl)}(hX2WARNING: Setting sync to false may cause the system being unable to suspend in case the PHY generates an interrupt when finishing the autonegotiation. This interrupt may wake up the system immediately after suspend. Therefore use sync = false only if you're sure it's safe with the respective network chip.h]hX6WARNING: Setting sync to false may cause the system being unable to suspend in case the PHY generates an interrupt when finishing the autonegotiation. This interrupt may wake up the system immediately after suspend. Therefore use sync = false only if you’re sure it’s safe with the respective network chip.}(hjܯhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_up (C function)c.phy_speed_uphNtauh1hhjdhhhNhNubh)}(hhh](j)}(h,int phy_speed_up (struct phy_device *phydev)h]j )}(h+int phy_speed_up(struct phy_device *phydev)h](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h phy_speed_uph]j9)}(h phy_speed_uph]h phy_speed_up}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]j )}j j.sbc.phy_speed_upasbuh1hhjDubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjDubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h1(re)set advertised speeds to all supported speedsh]h1(re)set advertised speeds to all supported speeds}(hj˰hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjȰhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct **Description** Used to revert the effect of phy_speed_downh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj h]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjGh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjl)}(h+Used to revert the effect of phy_speed_downh]h+Used to revert the effect of phy_speed_down}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start_machine (C function)c.phy_start_machinehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h2void phy_start_machine (struct phy_device *phydev)h]j )}(h1void phy_start_machine(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_start_machineh]j9)}(hphy_start_machineh]hphy_start_machine}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjɱhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjűubj")}(h h]h }(hjֱhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjűubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_start_machineasbuh1hhjűubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjűubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjűubj9)}(hphydevh]hphydev}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjűubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h start PHY state machine trackingh]h start PHY state machine tracking}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjIhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhjdhNhNubj)}(hXg**Parameters** ``struct phy_device *phydev`` the phy_device struct **Description** The PHY infrastructure can run a state machine which tracks whether the PHY is starting up, negotiating, etc. This function starts the delayed workqueue which tracks the state of the PHY. If you want to maintain your own state machine, do not call this function.h](jl)}(h**Parameters**h]j)}(hjnh]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubjl)}(h**Description**h]j)}(hjȲh]h Description}(hjʲhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƲubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhubj)}(hhh]j)}(hXThe PHY infrastructure can run a state machine which tracks whether the PHY is starting up, negotiating, etc. This function starts the delayed workqueue which tracks the state of the PHY. If you want to maintain your own state machine, do not call this function.h](j)}(h.The PHY infrastructure can run a state machineh]h.The PHY infrastructure can run a state machine}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hwhich tracks whether the PHY is starting up, negotiating, etc. This function starts the delayed workqueue which tracks the state of the PHY. If you want to maintain your own state machine, do not call this function.h]hwhich tracks whether the PHY is starting up, negotiating, etc. This function starts the delayed workqueue which tracks the state of the PHY. If you want to maintain your own state machine, do not call this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj޲ubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_error (C function) c.phy_errorhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h*void phy_error (struct phy_device *phydev)h]j )}(h)void phy_error(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4hhhjFhMMubj3)}(h phy_errorh]j9)}(h phy_errorh]h phy_error}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj4hhhjFhMMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j[sb c.phy_errorasbuh1hhjqubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjqubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjqubj9)}(hphydevh]hphydev}(hjγhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjmubah}(h]h ]h"]h$]h&]jPjQuh1j hj4hhhjFhMMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0hhhjFhMMubah}(h]j+ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjFhMMhj-hhubjg)}(hhh]jl)}(h%enter ERROR state for this PHY deviceh]h%enter ERROR state for this PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj-hhhjFhMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Moves the PHY to the ERROR state in response to a read or write error, and tells the controller the link is down. Must be called with phydev->lock held.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMQhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj9h]hstruct phy_device *phydev}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMNhj3ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhMNhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMNhj0ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjth]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMPhjubjl)}(hMoves the PHY to the ERROR state in response to a read or write error, and tells the controller the link is down. Must be called with phydev->lock held.h]hMoves the PHY to the ERROR state in response to a read or write error, and tells the controller the link is down. Must be called with phydev->lock held.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMOhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_request_interrupt (C function)c.phy_request_interrupthNtauh1hhjdhhhNhNubh)}(hhh](j)}(h6void phy_request_interrupt (struct phy_device *phydev)h]j )}(h5void phy_request_interrupt(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjȴhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjǴhMubj3)}(hphy_request_interrupth]j9)}(hphy_request_interrupth]hphy_request_interrupt}(hjڴhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjִubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjǴhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jܴsbc.phy_request_interruptasbuh1hhjubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjǴhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjǴhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjǴhMhjhhubjg)}(hhh]jl)}(h-request and enable interrupt for a PHY deviceh]h-request and enable interrupt for a PHY device}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjvhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjǴhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Request and enable the interrupt for the given PHY. If this fails, then we set irq to PHY_POLL. This should only be called with a valid IRQ number.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjӵhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjϵhMhjеubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϵhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(hRequest and enable the interrupt for the given PHY. If this fails, then we set irq to PHY_POLL. This should only be called with a valid IRQ number.h](j)}(h3Request and enable the interrupt for the given PHY.h]h3Request and enable the interrupt for the given PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h_If this fails, then we set irq to PHY_POLL. This should only be called with a valid IRQ number.h]h_If this fails, then we set irq to PHY_POLL. This should only be called with a valid IRQ number.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_free_interrupt (C function)c.phy_free_interrupthNtauh1hhjdhhhNhNubh)}(hhh](j)}(h3void phy_free_interrupt (struct phy_device *phydev)h]j )}(h2void phy_free_interrupt(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`hhhjrhMubj3)}(hphy_free_interrupth]j9)}(hphy_free_interrupth]hphy_free_interrupt}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`hhhjrhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_free_interruptasbuh1hhjubj")}(h h]h }(hj߶hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj`hhhjrhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj\hhhjrhMubah}(h]jWah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjrhMhjYhhubjg)}(hhh]jl)}(h+disable and free interrupt for a PHY deviceh]h+disable and free interrupt for a PHY device}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj!hhubah}(h]h ]h"]h$]h&]uh1jfhjYhhhjrhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Disable and free the interrupt for the given PHY. This should only be called with a valid IRQ number.h](jl)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj@ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjeh]hstruct phy_device *phydev}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj_ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj@ubj)}(hhh]j)}(heDisable and free the interrupt for the given PHY. This should only be called with a valid IRQ number.h](j)}(h1Disable and free the interrupt for the given PHY.h]h1Disable and free the interrupt for the given PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h3This should only be called with a valid IRQ number.h]h3This should only be called with a valid IRQ number.}(hjϷhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj̷ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˷hMhjubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_stop (C function) c.phy_stophNtauh1hhjdhhhNhNubh)}(hhh](j)}(h)void phy_stop (struct phy_device *phydev)h]j )}(h(void phy_stop(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM{ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhM{ubj3)}(hphy_stoph]j9)}(hphy_stoph]hphy_stop}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhM{ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]j )}j j3sb c.phy_stopasbuh1hhjIubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjIubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjIubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhM{ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM{ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM{hjhhubjg)}(hhh]jl)}(h5Bring down the PHY link, and stop checking the statush]h5Bring down the PHY link, and stop checking the status}(hjиhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM{hj͸hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM{ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM|hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_start (C function) c.phy_starthNtauh1hhjdhhhNhNubh)}(hhh](j)}(h*void phy_start (struct phy_device *phydev)h]j )}(h)void phy_start(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjkhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjghhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjghhhjyhMubj3)}(h phy_starth]j9)}(h phy_starth]h phy_start}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjghhhjyhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjƹhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjùubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjȹmodnameN classnameNj j )}j ]j )}j jsb c.phy_startasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjghhhjyhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjchhhjyhMubah}(h]j^ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjyhMhj`hhubjg)}(hhh]jl)}(hstart or restart a PHY deviceh]hstart or restart a PHY device}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj(hhubah}(h]h ]h"]h$]h&]uh1jfhj`hhhjyhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1hhhhjdhNhNubj)}(hXF**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Indicates the attached device's readiness to handle PHY-related work. Used during startup to start the PHY, and after a call to phy_stop() to resume operation. Also used to indicate the MDIO bus has cleared an error condition.h](jl)}(h**Parameters**h]j)}(hjMh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjGubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjlh]hstruct phy_device *phydev}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjfubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjGubj)}(hhh]j)}(hIndicates the attached device's readiness to handle PHY-related work. Used during startup to start the PHY, and after a call to phy_stop() to resume operation. Also used to indicate the MDIO bus has cleared an error condition.h](j)}(h,Indicates the attached device's readiness toh]h.Indicates the attached device’s readiness to}(hjĺhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hhandle PHY-related work. Used during startup to start the PHY, and after a call to phy_stop() to resume operation. Also used to indicate the MDIO bus has cleared an error condition.h]hhandle PHY-related work. Used during startup to start the PHY, and after a call to phy_stop() to resume operation. Also used to indicate the MDIO bus has cleared an error condition.}(hjֺhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjӺubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjҺhMhjubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mac_interrupt (C function)c.phy_mac_interrupthNtauh1hhjdhhhNhNubh)}(hhh](j)}(h2void phy_mac_interrupt (struct phy_device *phydev)h]j )}(h1void phy_mac_interrupt(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj%hMubj3)}(hphy_mac_interrupth]j9)}(hphy_mac_interrupth]hphy_mac_interrupt}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj%hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]j )}j j:sbc.phy_mac_interruptasbuh1hhjPubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj%hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj%hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj%hMhj hhubjg)}(hhh]jl)}(hMAC says the link has changedh]hMAC says the link has changed}(hj׻hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjԻhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj%hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` phy_device struct with changed link **Description** The MAC layer is able to indicate there has been a change in the PHY link status. Trigger the state machine and work a work queue.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(hB``struct phy_device *phydev`` phy_device struct with changed link h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h#phy_device struct with changed linkh]h#phy_device struct with changed link}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjSh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjl)}(hThe MAC layer is able to indicate there has been a change in the PHY link status. Trigger the state machine and work a work queue.h]hThe MAC layer is able to indicate there has been a change in the PHY link status. Trigger the state machine and work a work queue.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_loopback (C function)c.phy_loopbackhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hDint phy_loopback (struct phy_device *phydev, bool enable, int speed)h]j )}(hCint phy_loopback(struct phy_device *phydev, bool enable, int speed)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h phy_loopbackh]j9)}(h phy_loopbackh]h phy_loopback}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h3(struct phy_device *phydev, bool enable, int speed)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjռhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjѼubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjѼubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_loopbackasbuh1hhjѼubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjѼubj )}(hj h]h*}(hj!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjѼubj9)}(hphydevh]hphydev}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjѼubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjͼubj )}(h bool enableh](jM )}(hjh]hbool}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjCubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj9)}(henableh]henable}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjͼubj )}(h int speedh](jM )}(hinth]hint}(hj{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj9)}(hspeedh]hspeed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjͼubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hConfigure loopback mode of PHYh]hConfigure loopback mode of PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjٽjjٽjjjuh1hhhhjdhNhNubj)}(hXO**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool enable`` enable or disable loopback mode ``int speed`` enable loopback mode with speed **Description** Configure loopback mode of PHY and signal link down and link up if speed is changing. **Return** 0 on success, negative error code on failure.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjݽubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``bool enable`` enable or disable loopback mode h](j)}(h``bool enable``h]j)}(hj;h]h bool enable}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj5ubj)}(hhh]jl)}(henable or disable loopback modeh]henable or disable loopback mode}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjubj)}(h.``int speed`` enable loopback mode with speed h](j)}(h ``int speed``h]j)}(hjth]h int speed}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjnubj)}(hhh]jl)}(henable loopback mode with speedh]henable loopback mode with speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjݽubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjݽubjl)}(hUConfigure loopback mode of PHY and signal link down and link up if speed is changing.h]hUConfigure loopback mode of PHY and signal link down and link up if speed is changing.}(hjžhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjݽubjl)}(h **Return**h]j)}(hj־h]hReturn}(hjؾhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԾubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjݽubjl)}(h-0 on success, negative error code on failure.h]h-0 on success, negative error code on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjݽubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phy_eee_tx_clock_stop_capable (C function)c.phy_eee_tx_clock_stop_capablehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h=int phy_eee_tx_clock_stop_capable (struct phy_device *phydev)h]j )}(hsbc.phy_eee_tx_clock_stop_capableasbuh1hhjTubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj)hSM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj)hM.ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj)hM.hjhhubjg)}(hhh]jl)}(h*indicate whether the MAC can stop tx clockh]h*indicate whether the MAC can stop tx clock}(hjۿhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM.hjؿhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj)hM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Indicate whether the MAC can disable the transmit xMII clock while in LPI state. Returns 1 if the MAC may stop the transmit clock, 0 if the MAC must not stop the transmit clock, or negative error.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM2hjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM/hjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hM/hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM/hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjWh]h Description}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM1hjubjl)}(hIndicate whether the MAC can disable the transmit xMII clock while in LPI state. Returns 1 if the MAC may stop the transmit clock, 0 if the MAC must not stop the transmit clock, or negative error.h]hIndicate whether the MAC can disable the transmit xMII clock while in LPI state. Returns 1 if the MAC may stop the transmit clock, 0 if the MAC must not stop the transmit clock, or negative error.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM0hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_eee_rx_clock_stop (C function)c.phy_eee_rx_clock_stophNtauh1hhjdhhhNhNubh)}(hhh](j)}(hKint phy_eee_rx_clock_stop (struct phy_device *phydev, bool clk_stop_enable)h]j )}(hJint phy_eee_rx_clock_stop(struct phy_device *phydev, bool clk_stop_enable)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMBubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMBubj3)}(hphy_eee_rx_clock_stoph]j9)}(hphy_eee_rx_clock_stoph]hphy_eee_rx_clock_stop}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMBubj )}(h1(struct phy_device *phydev, bool clk_stop_enable)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_eee_rx_clock_stopasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hbool clk_stop_enableh](jM )}(hjh]hbool}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj9)}(hclk_stop_enableh]hclk_stop_enable}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMBubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMBubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMBhjhhubjg)}(hhh]jl)}(h"configure PHY receive clock in LPIh]h"configure PHY receive clock in LPI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMBhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMBubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hXP**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool clk_stop_enable`` flag to indicate whether the clock can be stopped **Description** Configure whether the PHY can disable its receive clock during LPI mode, See IEEE 802.3 sections 22.2.2.2, 35.2.2.10, and 45.2.3.1.4. **Return** 0 or negative error.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMFhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMChjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChjubj)}(hK``bool clk_stop_enable`` flag to indicate whether the clock can be stopped h](j)}(h``bool clk_stop_enable``h]j)}(hj h]hbool clk_stop_enable}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMDhjubj)}(hhh]jl)}(h1flag to indicate whether the clock can be stoppedh]h1flag to indicate whether the clock can be stopped}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjEh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMFhjubjl)}(hConfigure whether the PHY can disable its receive clock during LPI mode, See IEEE 802.3 sections 22.2.2.2, 35.2.2.10, and 45.2.3.1.4.h]hConfigure whether the PHY can disable its receive clock during LPI mode, See IEEE 802.3 sections 22.2.2.2, 35.2.2.10, and 45.2.3.1.4.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMEhjubjl)}(h **Return**h]j)}(hjlh]hReturn}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMHhjubjl)}(h0 or negative error.h]h0 or negative error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMIhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_init_eee (C function)c.phy_init_eeehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hBint phy_init_eee (struct phy_device *phydev, bool clk_stop_enable)h]j )}(hAint phy_init_eee(struct phy_device *phydev, bool clk_stop_enable)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMWubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMWubj3)}(h phy_init_eeeh]j9)}(h phy_init_eeeh]h phy_init_eee}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMWubj )}(h1(struct phy_device *phydev, bool clk_stop_enable)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_init_eeeasbuh1hhjubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hbool clk_stop_enableh](jM )}(hjh]hbool}(hj`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\ubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj9)}(hclk_stop_enableh]hclk_stop_enable}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMWubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMWubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMWhjhhubjg)}(hhh]jl)}(hinit and check the EEE featureh]hinit and check the EEE feature}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMWhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX]**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool clk_stop_enable`` PHY may stop the clock during LPI **Description** it checks if the Energy-Efficient Ethernet (EEE) is supported by looking at the MMD registers 3.20 and 7.60/61 and it programs the MMD register 3.0 setting the "Clock stop enable" bit if required.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM[hjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMXhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(h;``bool clk_stop_enable`` PHY may stop the clock during LPI h](j)}(h``bool clk_stop_enable``h]j)}(hjh]hbool clk_stop_enable}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMYhjubj)}(hhh]jl)}(h!PHY may stop the clock during LPIh]h!PHY may stop the clock during LPI}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMYhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMYhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjZh]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM[hjubjl)}(hit checks if the Energy-Efficient Ethernet (EEE) is supported by looking at the MMD registers 3.20 and 7.60/61 and it programs the MMD register 3.0 setting the "Clock stop enable" bit if required.h]hit checks if the Energy-Efficient Ethernet (EEE) is supported by looking at the MMD registers 3.20 and 7.60/61 and it programs the MMD register 3.0 setting the “Clock stop enable” bit if required.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM[hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_eee_err (C function)c.phy_get_eee_errhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h/int phy_get_eee_err (struct phy_device *phydev)h]j )}(h.int phy_get_eee_err(struct phy_device *phydev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMuubj3)}(hphy_get_eee_errh]j9)}(hphy_get_eee_errh]hphy_get_eee_err}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMuubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_get_eee_errasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMuubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMuhjhhubjg)}(hhh]jl)}(hreport the EEE wake error counth]hreport the EEE wake error count}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMuhj\hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwjjwjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** it is to report the number of time where the PHY failed to complete its normal wake sequence.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMyhj{ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMvhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhj{ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMxhj{ubjl)}(h]it is to report the number of time where the PHY failed to complete its normal wake sequence.h]h]it is to report the number of time where the PHY failed to complete its normal wake sequence.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMxhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_get_eee (C function)c.phy_ethtool_get_eeehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hNint phy_ethtool_get_eee (struct phy_device *phydev, struct ethtool_keee *data)h]j )}(hMint phy_ethtool_get_eee(struct phy_device *phydev, struct ethtool_keee *data)h](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj.hMubj3)}(hphy_ethtool_get_eeeh]j9)}(hphy_ethtool_get_eeeh]hphy_ethtool_get_eee}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj.hMubj )}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNj j )}j ]j )}j jCsbc.phy_ethtool_get_eeeasbuh1hhjYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjYubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubj )}(hstruct ethtool_keee *datah](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h ethtool_keeeh]h ethtool_keee}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_ethtool_get_eeeasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdatah]hdata}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj.hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj.hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.hMhjhhubjg)}(hhh]jl)}(hget EEE supported and statush]hget EEE supported and status}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj.hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_keee *data`` ethtool_keee data **Description** get the current EEE settings, filling in all members of **data**.h](jl)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjlubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hjh]hstruct ethtool_keee *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hethtool_keee datah]hethtool_keee data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjlubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjlubjl)}(hAget the current EEE settings, filling in all members of **data**.h](h8get the current EEE settings, filling in all members of }(hjhhhNhNubj)}(h**data**h]hdata}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_set_eee (C function)c.phy_ethtool_set_eeehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hNint phy_ethtool_set_eee (struct phy_device *phydev, struct ethtool_keee *data)h]j )}(hMint phy_ethtool_set_eee(struct phy_device *phydev, struct ethtool_keee *data)h](jM )}(hinth]hint}(hj\hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXhhhjjhMubj3)}(hphy_ethtool_set_eeeh]j9)}(hphy_ethtool_set_eeeh]hphy_ethtool_set_eee}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhjjhMubj )}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_ethtool_set_eeeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct ethtool_keee *datah](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h ethtool_keeeh]h ethtool_keee}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNj j )}j ]jc.phy_ethtool_set_eeeasbuh1hhjubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdatah]hdata}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjXhhhjjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjThhhjjhMubah}(h]jOah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjjhMhjQhhubjg)}(hhh]jl)}(hset EEE supported and statush]hset EEE supported and status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjQhhhjjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_keee *data`` ethtool_keee data **Description** it is to program the Advertisement EEE register.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hjh]hstruct ethtool_keee *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hethtool_keee datah]hethtool_keee data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjAh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubjl)}(h0it is to program the Advertisement EEE register.h]h0it is to program the Advertisement EEE register.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_set_wol (C function)c.phy_ethtool_set_wolhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hPint phy_ethtool_set_wol (struct phy_device *phydev, struct ethtool_wolinfo *wol)h]j )}(hOint phy_ethtool_set_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_ethtool_set_wolh]j9)}(hphy_ethtool_set_wolh]hphy_ethtool_set_wol}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h8(struct phy_device *phydev, struct ethtool_wolinfo *wol)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_ethtool_set_wolasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct ethtool_wolinfo *wolh](j)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(hethtool_wolinfoh]hethtool_wolinfo}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]jc.phy_ethtool_set_wolasbuh1hhj1ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(hwolh]hwol}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj~hhhjhMubah}(h]jyah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhj{hhubjg)}(hhh]jl)}(hConfigure Wake On LANh]hConfigure Wake On LAN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj{hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_wolinfo *wol`` Configuration requestedh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h7``struct ethtool_wolinfo *wol`` Configuration requestedh](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hj0h]hstruct ethtool_wolinfo *wol}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj*ubj)}(hhh]jl)}(hConfiguration requestedh]hConfiguration requested}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_ethtool_get_wol (C function)c.phy_ethtool_get_wolhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hQvoid phy_ethtool_get_wol (struct phy_device *phydev, struct ethtool_wolinfo *wol)h]j )}(hPvoid phy_ethtool_get_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_ethtool_get_wolh]j9)}(hphy_ethtool_get_wolh]hphy_ethtool_get_wol}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h8(struct phy_device *phydev, struct ethtool_wolinfo *wol)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_ethtool_get_wolasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct ethtool_wolinfo *wolh](j)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(hhh]j9)}(hethtool_wolinfoh]hethtool_wolinfo}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]jc.phy_ethtool_get_wolasbuh1hhj5ubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hwolh]hwol}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]j}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h)Get the current Wake On LAN configurationh]h)Get the current Wake On LAN configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_wolinfo *wol`` Store the current configuration hereh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hD``struct ethtool_wolinfo *wol`` Store the current configuration hereh](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hj4h]hstruct ethtool_wolinfo *wol}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhj.ubj)}(hhh]jl)}(h$Store the current configuration hereh]h$Store the current configuration here}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_ethtool_nway_reset (C function)c.phy_ethtool_nway_resethNtauh1hhjdhhhNhNubh)}(hhh](j)}(h4int phy_ethtool_nway_reset (struct net_device *ndev)h]j )}(h3int phy_ethtool_nway_reset(struct net_device *ndev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM&ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM&ubj3)}(hphy_ethtool_nway_reseth]j9)}(hphy_ethtool_nway_reseth]hphy_ethtool_nway_reset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM&ubj )}(h(struct net_device *ndev)h]j )}(hstruct net_device *ndevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_ethtool_nway_resetasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hndevh]hndev}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM&ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM&ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM&hjhhubjg)}(hhh]jl)}(hRestart auto negotiationh]hRestart auto negotiation}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM&hjKhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhjdhNhNubj)}(hS**Parameters** ``struct net_device *ndev`` Network device to restart autoneg forh](jl)}(h**Parameters**h]j)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM*hjjubj)}(hhh]j)}(hA``struct net_device *ndev`` Network device to restart autoneg forh](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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM,hjubj)}(hhh]jl)}(h%Network device to restart autoneg forh]h%Network device to restart autoneg for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:113: ./drivers/net/phy/phy.chM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_config_interrupt (C function)c.phy_config_interrupthNtauh1hhjdhhhNhNubh)}(hhh](j)}(hEint phy_config_interrupt (struct phy_device *phydev, bool interrupts)h]j )}(hDint phy_config_interrupt(struct phy_device *phydev, bool interrupts)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphy_config_interrupth]j9)}(hphy_config_interrupth]hphy_config_interrupt}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h,(struct phy_device *phydev, bool interrupts)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNj j )}j ]j )}j j sbc.phy_config_interruptasbuh1hhj"ubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj )}(hj h]h*}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hbool interruptsh](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interruptsh]h interrupts}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h5configure the PHY device for the requested interruptsh]h5configure the PHY device for the requested interrupts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``bool interrupts`` interrupt flags to configure for this **phydev** **Description** Returns 0 on success or < 0 on error.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hKhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hKhjubj)}(hE``bool interrupts`` interrupt flags to configure for this **phydev** h](j)}(h``bool interrupts``h]j)}(hjWh]hbool interrupts}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjQubj)}(hhh]jl)}(h0interrupt flags to configure for this **phydev**h](h&interrupt flags to configure for this }(hjphhhNhNubj)}(h **phydev**h]hphydev}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jkhjlhKhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubjl)}(h%Returns 0 on success or < 0 on error.h]h%Returns 0 on success or < 0 on error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_supported_speeds (C function)c.phy_supported_speedshNtauh1hhjdhhhNhNubh)}(hhh](j)}(hcunsigned int phy_supported_speeds (struct phy_device *phy, unsigned int *speeds, unsigned int size)h]j )}(hbunsigned int phy_supported_speeds(struct phy_device *phy, unsigned int *speeds, unsigned int size)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphy_supported_speedsh]j9)}(hphy_supported_speedsh]hphy_supported_speeds}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(hA(struct phy_device *phy, unsigned int *speeds, unsigned int size)h](j )}(hstruct phy_device *phyh](j)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j )}j j$sbc.phy_supported_speedsasbuh1hhj:ubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:ubj9)}(hphyh]hphy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubj )}(hunsigned int *speedsh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hspeedsh]hspeeds}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubj )}(hunsigned int sizeh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubjM )}(hinth]hint}(hj*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hsizeh]hsize}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj6ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h5return all speeds currently supported by a phy deviceh]h5return all speeds currently supported by a phy device}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjmhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phy`` The phy device to return supported speeds of. ``unsigned int *speeds`` buffer to store supported speeds in. ``unsigned int size`` size of speeds buffer. **Description** Returns the number of supported speeds, and fills the speeds buffer with the supported speeds. If speeds buffer is too small to contain all currently supported speeds, will return as many speeds as can fit.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh](j)}(hI``struct phy_device *phy`` The phy device to return supported speeds of. h](j)}(h``struct phy_device *phy``h]j)}(hjh]hstruct phy_device *phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(h-The phy device to return supported speeds of.h]h-The phy device to return supported speeds of.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h>``unsigned int *speeds`` buffer to store supported speeds in. h](j)}(h``unsigned int *speeds``h]j)}(hjh]hunsigned int *speeds}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(h$buffer to store supported speeds in.h]h$buffer to store supported speeds in.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h-``unsigned int size`` size of speeds buffer. h](j)}(h``unsigned int size``h]j)}(hj#h]hunsigned int size}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(hsize of speeds buffer.h]hsize of speeds buffer.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hKhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj^h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubjl)}(hReturns the number of supported speeds, and fills the speeds buffer with the supported speeds. If speeds buffer is too small to contain all currently supported speeds, will return as many speeds as can fit.h]hReturns the number of supported speeds, and fills the speeds buffer with the supported speeds. If speeds buffer is too small to contain all currently supported speeds, will return as many speeds as can fit.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_sanitize_settings (C function)c.phy_sanitize_settingshNtauh1hhjdhhhNhNubh)}(hhh](j)}(h6void phy_sanitize_settings (struct phy_device *phydev)h]j )}(h5void phy_sanitize_settings(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphy_sanitize_settingsh]j9)}(hphy_sanitize_settingsh]hphy_sanitize_settings}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_sanitize_settingsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hj9hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h6make sure the PHY is set to supported speed and duplexh]h6make sure the PHY is set to supported speed and duplex}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhj`hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the target phy_device struct **Description** Make sure the PHY is set to supported speeds and duplexes. Drop down by one in this order: 1000/FULL, 1000/HALF, 100/FULL, 100/HALF, 10/FULL, 10/HALF.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]j)}(h;``struct phy_device *phydev`` the target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(hthe target phy_device structh]hthe target phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]j)}(hMake sure the PHY is set to supported speeds and duplexes. Drop down by one in this order: 1000/FULL, 1000/HALF, 100/FULL, 100/HALF, 10/FULL, 10/HALF.h](j)}(h0Make sure the PHY is set to supported speeds andh]h0Make sure the PHY is set to supported speeds and}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chKhjubj)}(hhh]jl)}(hgduplexes. Drop down by one in this order: 1000/FULL, 1000/HALF, 100/FULL, 100/HALF, 10/FULL, 10/HALF.h]hgduplexes. Drop down by one in this order: 1000/FULL, 1000/HALF, 100/FULL, 100/HALF, 10/FULL, 10/HALF.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_hwtstamp_get (C function)c.__phy_hwtstamp_gethNtauh1hhjdhhhNhNubh)}(hhh](j)}(hYint __phy_hwtstamp_get (struct phy_device *phydev, struct kernel_hwtstamp_config *config)h]j )}(hXint __phy_hwtstamp_get(struct phy_device *phydev, struct kernel_hwtstamp_config *config)h](jM )}(hinth]hint}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjJhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJhhhj\hMubj3)}(h__phy_hwtstamp_geth]j9)}(h__phy_hwtstamp_geth]h__phy_hwtstamp_get}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjJhhhj\hMubj )}(hB(struct phy_device *phydev, struct kernel_hwtstamp_config *config)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jqsbc.__phy_hwtstamp_getasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h%struct kernel_hwtstamp_config *configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hkernel_hwtstamp_configh]hkernel_hwtstamp_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__phy_hwtstamp_getasbuh1hhjubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjJhhhj\hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjFhhhj\hMubah}(h]jAah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj\hMhjChhubjg)}(hhh]jl)}(h0Get hardware timestamping configuration from PHYh]h0Get hardware timestamping configuration from PHY}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj{hhubah}(h]h ]h"]h$]h&]uh1jfhjChhhj\hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the PHY device structure ``struct kernel_hwtstamp_config *config`` structure holding the timestamping configuration **Description** Query the PHY device for its current hardware timestamping configuration.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h7``struct phy_device *phydev`` the PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hthe PHY device structureh]hthe PHY device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h[``struct kernel_hwtstamp_config *config`` structure holding the timestamping configuration h](j)}(h)``struct kernel_hwtstamp_config *config``h]j)}(hjh]h%struct kernel_hwtstamp_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h0structure holding the timestamping configurationh]h0structure holding the timestamping configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj3h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjl)}(hIQuery the PHY device for its current hardware timestamping configuration.h]hIQuery the PHY device for its current hardware timestamping configuration.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_hwtstamp_set (C function)c.__phy_hwtstamp_sethNtauh1hhjdhhhNhNubh)}(hhh](j)}(hyint __phy_hwtstamp_set (struct phy_device *phydev, struct kernel_hwtstamp_config *config, struct netlink_ext_ack *extack)h]j )}(hxint __phy_hwtstamp_set(struct phy_device *phydev, struct kernel_hwtstamp_config *config, struct netlink_ext_ack *extack)h](jM )}(hinth]hint}(hjxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjthhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjthhhjhMubj3)}(h__phy_hwtstamp_seth]j9)}(h__phy_hwtstamp_seth]h__phy_hwtstamp_set}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjthhhjhMubj )}(hb(struct phy_device *phydev, struct kernel_hwtstamp_config *config, struct netlink_ext_ack *extack)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.__phy_hwtstamp_setasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h%struct kernel_hwtstamp_config *configh](j)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubh)}(hhh]j9)}(hkernel_hwtstamp_configh]hkernel_hwtstamp_config}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]jc.__phy_hwtstamp_setasbuh1hhj#ubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj )}(hj h]h*}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj9)}(hconfigh]hconfig}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__phy_hwtstamp_setasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hextackh]hextack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjthhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjphhhjhMubah}(h]jkah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjmhhubjg)}(hhh]jl)}(h.Modify PHY hardware timestamping configurationh]h.Modify PHY hardware timestamping configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjmhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the PHY device structure ``struct kernel_hwtstamp_config *config`` structure holding the timestamping configuration ``struct netlink_ext_ack *extack`` netlink extended ack structure, for error reportingh](jl)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj4ubj)}(hhh](j)}(h7``struct phy_device *phydev`` the PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjYh]hstruct phy_device *phydev}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjSubj)}(hhh]jl)}(hthe PHY device structureh]hthe PHY device structure}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjPubj)}(h[``struct kernel_hwtstamp_config *config`` structure holding the timestamping configuration h](j)}(h)``struct kernel_hwtstamp_config *config``h]j)}(hjh]h%struct kernel_hwtstamp_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h0structure holding the timestamping configurationh]h0structure holding the timestamping configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjPubj)}(hV``struct netlink_ext_ack *extack`` netlink extended ack structure, for error reportingh](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjh]hstruct netlink_ext_ack *extack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h3netlink extended ack structure, for error reportingh]h3netlink extended ack structure, for error reporting}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjPubeh}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_queue_state_machine (C function)c.phy_queue_state_machinehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hOvoid phy_queue_state_machine (struct phy_device *phydev, unsigned long jiffies)h]j )}(hNvoid phy_queue_state_machine(struct phy_device *phydev, unsigned long jiffies)h](jM )}(hvoidh]hvoid}(hj%hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj!hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!hhhj3hMubj3)}(hphy_queue_state_machineh]j9)}(hphy_queue_state_machineh]hphy_queue_state_machine}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj!hhhj3hMubj )}(h2(struct phy_device *phydev, unsigned long jiffies)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jHsbc.phy_queue_state_machineasbuh1hhj^ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj^ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubj )}(hunsigned long jiffiesh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hjiffiesh]hjiffies}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubeh}(h]h ]h"]h$]h&]jPjQuh1j hj!hhhj3hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj3hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj3hMhjhhubjg)}(hhh]jl)}(h%Trigger the state machine to run soonh]h%Trigger the state machine to run soon}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj3hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj3hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``unsigned long jiffies`` Run the state machine after these jiffiesh](jl)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjRubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjwh]hstruct phy_device *phydev}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjqubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubj)}(hC``unsigned long jiffies`` Run the state machine after these jiffiesh](j)}(h``unsigned long jiffies``h]j)}(hjh]hunsigned long jiffies}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h)Run the state machine after these jiffiesh]h)Run the state machine after these jiffies}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubeh}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(__phy_ethtool_get_phy_stats (C function)c.__phy_ethtool_get_phy_statshNtauh1hhjdhhhNhNubh)}(hhh](j)}(hvoid __phy_ethtool_get_phy_stats (struct phy_device *phydev, struct ethtool_eth_phy_stats *phy_stats, struct ethtool_phy_stats *phydev_stats)h]j )}(hvoid __phy_ethtool_get_phy_stats(struct phy_device *phydev, struct ethtool_eth_phy_stats *phy_stats, struct ethtool_phy_stats *phydev_stats)h](jM )}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMbubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMbubj3)}(h__phy_ethtool_get_phy_statsh]j9)}(h__phy_ethtool_get_phy_statsh]h__phy_ethtool_get_phy_stats}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMbubj )}(hl(struct phy_device *phydev, struct ethtool_eth_phy_stats *phy_stats, struct ethtool_phy_stats *phydev_stats)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]j )}j j-sbc.__phy_ethtool_get_phy_statsasbuh1hhjCubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjCubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubj )}(h'struct ethtool_eth_phy_stats *phy_statsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hethtool_eth_phy_statsh]hethtool_eth_phy_stats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__phy_ethtool_get_phy_statsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h phy_statsh]h phy_stats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubj )}(h&struct ethtool_phy_stats *phydev_statsh](j)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubh)}(hhh]j9)}(hethtool_phy_statsh]hethtool_phy_stats}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNj j )}j ]jc.__phy_ethtool_get_phy_statsasbuh1hhj%ubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj )}(hj h]h*}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%ubj9)}(h phydev_statsh]h phydev_stats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj?ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMbubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMbubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMbhjhhubjg)}(hhh]jl)}(h$Retrieve standardized PHY statisticsh]h$Retrieve standardized PHY statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMbhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` Pointer to the PHY device ``struct ethtool_eth_phy_stats *phy_stats`` Pointer to ethtool_eth_phy_stats structure ``struct ethtool_phy_stats *phydev_stats`` Pointer to ethtool_phy_stats structure **Description** Fetches PHY statistics using a kernel-defined interface for consistent diagnostics. Unlike phy_ethtool_get_stats(), which allows custom stats, this function enforces a standardized format for better interoperability.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMfhjubj)}(hhh](j)}(h8``struct phy_device *phydev`` Pointer to the PHY device h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMchjubj)}(hhh]jl)}(hPointer to the PHY deviceh]hPointer to the PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjubj)}(hW``struct ethtool_eth_phy_stats *phy_stats`` Pointer to ethtool_eth_phy_stats structure h](j)}(h+``struct ethtool_eth_phy_stats *phy_stats``h]j)}(hj$h]h'struct ethtool_eth_phy_stats *phy_stats}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMdhjubj)}(hhh]jl)}(h*Pointer to ethtool_eth_phy_stats structureh]h*Pointer to ethtool_eth_phy_stats structure}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMdhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMdhjubj)}(hR``struct ethtool_phy_stats *phydev_stats`` Pointer to ethtool_phy_stats structure h](j)}(h*``struct ethtool_phy_stats *phydev_stats``h]j)}(hj]h]h&struct ethtool_phy_stats *phydev_stats}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMehjWubj)}(hhh]jl)}(h&Pointer to ethtool_phy_stats structureh]h&Pointer to ethtool_phy_stats structure}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhMehjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMehjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMghjubjl)}(hFetches PHY statistics using a kernel-defined interface for consistent diagnostics. Unlike phy_ethtool_get_stats(), which allows custom stats, this function enforces a standardized format for better interoperability.h]hFetches PHY statistics using a kernel-defined interface for consistent diagnostics. Unlike phy_ethtool_get_stats(), which allows custom stats, this function enforces a standardized format for better interoperability.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMfhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-__phy_ethtool_get_link_ext_stats (C function)"c.__phy_ethtool_get_link_ext_statshNtauh1hhjdhhhNhNubh)}(hhh](j)}(hlvoid __phy_ethtool_get_link_ext_stats (struct phy_device *phydev, struct ethtool_link_ext_stats *link_stats)h]j )}(hkvoid __phy_ethtool_get_link_ext_stats(struct phy_device *phydev, struct ethtool_link_ext_stats *link_stats)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMxubj3)}(h __phy_ethtool_get_link_ext_statsh]j9)}(h __phy_ethtool_get_link_ext_statsh]h __phy_ethtool_get_link_ext_stats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMxubj )}(hF(struct phy_device *phydev, struct ethtool_link_ext_stats *link_stats)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]j )}j jsb"c.__phy_ethtool_get_link_ext_statsasbuh1hhjubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h)struct ethtool_link_ext_stats *link_statsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hethtool_link_ext_statsh]hethtool_link_ext_stats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jT"c.__phy_ethtool_get_link_ext_statsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h link_statsh]h link_stats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMxubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMxubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMxhjhhubjg)}(hhh]jl)}(h+Retrieve extended link statistics for a PHYh]h+Retrieve extended link statistics for a PHY}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMxhj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMxubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1hhhhjdhNhNubj)}(hXP**Parameters** ``struct phy_device *phydev`` Pointer to the PHY device ``struct ethtool_link_ext_stats *link_stats`` Pointer to the structure to store extended link statistics **Description** Populates the ethtool_link_ext_stats structure with link down event counts and additional driver-specific link statistics, if available.h](jl)}(h**Parameters**h]j)}(hj/h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM|hj)ubj)}(hhh](j)}(h8``struct phy_device *phydev`` Pointer to the PHY device h](j)}(h``struct phy_device *phydev``h]j)}(hjNh]hstruct phy_device *phydev}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMyhjHubj)}(hhh]jl)}(hPointer to the PHY deviceh]hPointer to the PHY device}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMyhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMyhjEubj)}(hi``struct ethtool_link_ext_stats *link_stats`` Pointer to the structure to store extended link statistics h](j)}(h-``struct ethtool_link_ext_stats *link_stats``h]j)}(hjh]h)struct ethtool_link_ext_stats *link_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMzhjubj)}(hhh]jl)}(h:Pointer to the structure to store extended link statisticsh]h:Pointer to the structure to store extended link statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjEubeh}(h]h ]h"]h$]h&]uh1jhj)ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM|hj)ubjl)}(hPopulates the ethtool_link_ext_stats structure with link down event counts and additional driver-specific link statistics, if available.h]hPopulates the ethtool_link_ext_stats structure with link down event counts and additional driver-specific link statistics, if available.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM{hj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_ethtool_get_plca_cfg (C function)c.phy_ethtool_get_plca_cfghNtauh1hhjdhhhNhNubh)}(hhh](j)}(hWint phy_ethtool_get_plca_cfg (struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h]j )}(hVint phy_ethtool_get_plca_cfg(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_ethtool_get_plca_cfgh]j9)}(hphy_ethtool_get_plca_cfgh]hphy_ethtool_get_plca_cfg}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h:(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNj j )}j ]j )}j j*sbc.phy_ethtool_get_plca_cfgasbuh1hhj@ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj<ubj )}(hstruct phy_plca_cfg *plca_cfgh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_plca_cfgh]h phy_plca_cfg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j~c.phy_ethtool_get_plca_cfgasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hplca_cfgh]hplca_cfg}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj<ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hGet PLCA RS configurationh]hGet PLCA RS configuration}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj4hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``struct phy_plca_cfg *plca_cfg`` where to store the retrieved configuration **Description** Retrieve the PLCA configuration from the PHY. Return 0 on success or a negative value if an error occurred.h](jl)}(h**Parameters**h]j)}(hjYh]h Parameters}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjSubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjxh]hstruct phy_device *phydev}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjrubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubj)}(hM``struct phy_plca_cfg *plca_cfg`` where to store the retrieved configuration h](j)}(h!``struct phy_plca_cfg *plca_cfg``h]j)}(hjh]hstruct phy_plca_cfg *plca_cfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h*where to store the retrieved configurationh]h*where to store the retrieved configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubeh}(h]h ]h"]h$]h&]uh1jhjSubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjSubjl)}(hkRetrieve the PLCA configuration from the PHY. Return 0 on success or a negative value if an error occurred.h]hkRetrieve the PLCA configuration from the PHY. Return 0 on success or a negative value if an error occurred.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hplca_check_valid (C function)c.plca_check_validhNtauh1hhjdhhhNhNubh)}(hhh](j)}(huint plca_check_valid (struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h]j )}(htint plca_check_valid(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h](jM )}(hinth]hint}(hj1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj-hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-hhhj?hMubj3)}(hplca_check_validh]j9)}(hplca_check_validh]hplca_check_valid}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-hhhj?hMubj )}(h`(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jTsbc.plca_check_validasbuh1hhjjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfubj )}(h#const struct phy_plca_cfg *plca_cfgh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_plca_cfgh]h phy_plca_cfg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.plca_check_validasbuh1hhjubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hplca_cfgh]hplca_cfg}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.plca_check_validasbuh1hhjgubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hextackh]hextack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfubeh}(h]h ]h"]h$]h&]jPjQuh1j hj-hhhj?hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj)hhhj?hMubah}(h]j$ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj?hMhj&hhubjg)}(hhh]jl)}(h(Check PLCA configuration before enablingh]h(Check PLCA configuration before enabling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj&hhhj?hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``const struct phy_plca_cfg *plca_cfg`` current PLCA configuration ``struct netlink_ext_ack *extack`` extack for reporting useful error messages **Description** Checks whether the PLCA and PHY configuration are consistent and it is safe to enable PLCA. Returns 0 on success or a negative value if the PLCA or PHY configuration is not consistent.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj-h]hstruct phy_device *phydev}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj'ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj$ubj)}(hC``const struct phy_plca_cfg *plca_cfg`` current PLCA configuration h](j)}(h'``const struct phy_plca_cfg *plca_cfg``h]j)}(hjfh]h#const struct phy_plca_cfg *plca_cfg}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj`ubj)}(hhh]jl)}(hcurrent PLCA configurationh]hcurrent PLCA configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhj$ubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjh]hstruct netlink_ext_ack *extack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj$ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjl)}(hChecks whether the PLCA and PHY configuration are consistent and it is safe to enable PLCA. Returns 0 on success or a negative value if the PLCA or PHY configuration is not consistent.h]hChecks whether the PLCA and PHY configuration are consistent and it is safe to enable PLCA. Returns 0 on success or a negative value if the PLCA or PHY configuration is not consistent.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_ethtool_set_plca_cfg (C function)c.phy_ethtool_set_plca_cfghNtauh1hhjdhhhNhNubh)}(hhh](j)}(h}int phy_ethtool_set_plca_cfg (struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h]j )}(h|int phy_ethtool_set_plca_cfg(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj-hMubj3)}(hphy_ethtool_set_plca_cfgh]j9)}(hphy_ethtool_set_plca_cfgh]hphy_ethtool_set_plca_cfg}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj-hMubj )}(h`(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg, struct netlink_ext_ack *extack)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNj j )}j ]j )}j jBsbc.phy_ethtool_set_plca_cfgasbuh1hhjXubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(h#const struct phy_plca_cfg *plca_cfgh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_plca_cfgh]h phy_plca_cfg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.phy_ethtool_set_plca_cfgasbuh1hhjubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hplca_cfgh]hplca_cfg}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]jc.phy_ethtool_set_plca_cfgasbuh1hhjUubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hextackh]hextack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjTubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj-hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj-hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj-hMhjhhubjg)}(hhh]jl)}(hSet PLCA RS configurationh]hSet PLCA RS configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj-hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hXY**Parameters** ``struct phy_device *phydev`` the phy_device struct ``const struct phy_plca_cfg *plca_cfg`` new PLCA configuration to apply ``struct netlink_ext_ack *extack`` extack for reporting useful error messages **Description** Sets the PLCA configuration in the PHY. Return 0 on success or a negative value if an error occurred.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjubj)}(hH``const struct phy_plca_cfg *plca_cfg`` new PLCA configuration to apply h](j)}(h'``const struct phy_plca_cfg *plca_cfg``h]j)}(hjTh]h#const struct phy_plca_cfg *plca_cfg}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjNubj)}(hhh]jl)}(hnew PLCA configuration to applyh]hnew PLCA configuration to apply}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjubj)}(hN``struct netlink_ext_ack *extack`` extack for reporting useful error messages h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hjh]hstruct netlink_ext_ack *extack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h*extack for reporting useful error messagesh]h*extack for reporting useful error messages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjl)}(heSets the PLCA configuration in the PHY. Return 0 on success or a negative value if an error occurred.h]heSets the PLCA configuration in the PHY. Return 0 on success or a negative value if an error occurred.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_ethtool_get_plca_status (C function)c.phy_ethtool_get_plca_statushNtauh1hhjdhhhNhNubh)}(hhh](j)}(h\int phy_ethtool_get_plca_status (struct phy_device *phydev, struct phy_plca_status *plca_st)h]j )}(h[int phy_ethtool_get_plca_status(struct phy_device *phydev, struct phy_plca_status *plca_st)h](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM.ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhM.ubj3)}(hphy_ethtool_get_plca_statush]j9)}(hphy_ethtool_get_plca_statush]hphy_ethtool_get_plca_status}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhM.ubj )}(h<(struct phy_device *phydev, struct phy_plca_status *plca_st)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNj j )}j ]j )}j j0sbc.phy_ethtool_get_plca_statusasbuh1hhjFubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubj )}(hstruct phy_plca_status *plca_sth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphy_plca_statush]hphy_plca_status}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_ethtool_get_plca_statusasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hplca_sth]hplca_st}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM.ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM.hjhhubjg)}(hhh]jl)}(hGet PLCA RS status informationh]hGet PLCA RS status information}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM.hj:hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``struct phy_plca_status *plca_st`` where to store the retrieved status information **Description** Retrieve the PLCA status information from the PHY. Return 0 on success or a negative value if an error occurred.h](jl)}(h**Parameters**h]j)}(hj_h]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM2hjYubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj~h]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM/hjxubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjuubj)}(hT``struct phy_plca_status *plca_st`` where to store the retrieved status information h](j)}(h#``struct phy_plca_status *plca_st``h]j)}(hjh]hstruct phy_plca_status *plca_st}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM0hjubj)}(hhh]jl)}(h/where to store the retrieved status informationh]h/where to store the retrieved status information}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjuubeh}(h]h ]h"]h$]h&]uh1jhjYubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM2hjYubjl)}(hpRetrieve the PLCA status information from the PHY. Return 0 on success or a negative value if an error occurred.h]hpRetrieve the PLCA status information from the PHY. Return 0 on success or a negative value if an error occurred.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM1hjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_check_link_status (C function)c.phy_check_link_statushNtauh1hhjdhhhNhNubh)}(hhh](j)}(h5int phy_check_link_status (struct phy_device *phydev)h]j )}(h4int phy_check_link_status(struct phy_device *phydev)h](jM )}(hinth]hint}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj3hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3hhhjEhMubj3)}(hphy_check_link_statush]j9)}(hphy_check_link_statush]hphy_check_link_status}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj3hhhjEhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jZsbc.phy_check_link_statusasbuh1hhjpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjpubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjlubah}(h]h ]h"]h$]h&]jPjQuh1j hj3hhhjEhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj/hhhjEhMubah}(h]j*ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjEhMhj,hhubjg)}(hhh]jl)}(h+check link status and set state accordinglyh]h+check link status and set state accordingly}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj,hhhjEhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct **Description** Check for link and whether autoneg was triggered / is running and set state accordinglyh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj8h]hstruct phy_device *phydev}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj2ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjsh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjl)}(hWCheck for link and whether autoneg was triggered / is running and set state accordinglyh]hWCheck for link and whether autoneg was triggered / is running and set state accordingly}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_stop_machine (C function)c.phy_stop_machinehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h1void phy_stop_machine (struct phy_device *phydev)h]j )}(h0void phy_stop_machine(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM)ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM)ubj3)}(hphy_stop_machineh]j9)}(hphy_stop_machineh]hphy_stop_machine}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM)ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_stop_machineasbuh1hhjubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM)ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM)ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM)hjhhubjg)}(hhh]jl)}(h#stop the PHY state machine trackingh]h#stop the PHY state machine tracking}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM)hjuhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Stops the state machine delayed workqueue, sets the state to UP (unless it wasn't up yet). This function must be called BEFORE phy_detach.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM-hjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM*hjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM*hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM*hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM,hjubj)}(hhh]j)}(hStops the state machine delayed workqueue, sets the state to UP (unless it wasn't up yet). This function must be called BEFORE phy_detach.h](j)}(h3Stops the state machine delayed workqueue, sets theh]h3Stops the state machine delayed workqueue, sets the}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM-hj ubj)}(hhh]jl)}(hVstate to UP (unless it wasn't up yet). This function must be called BEFORE phy_detach.h]hXstate to UP (unless it wasn’t up yet). This function must be called BEFORE phy_detach.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM-hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhM-hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_barrier (C function)c.phy_write_barrierhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h2void phy_write_barrier (struct phy_device *phydev)h]j )}(h1void phy_write_barrier(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjchhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM\ubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_hhhjqhM\ubj3)}(hphy_write_barrierh]j9)}(hphy_write_barrierh]hphy_write_barrier}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj_hhhjqhM\ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_write_barrierasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj_hhhjqhM\ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj[hhhjqhM\ubah}(h]jVah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjqhM\hjXhhubjg)}(hhh]jl)}(h3ensure the last write completed for this PHY deviceh]h3ensure the last write completed for this PHY device}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM\hj hhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhjqhM\ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** MDIO bus controllers are not required to wait for write transactions to complete before returning. Calling this function ensures that the previous write has completed.h](jl)}(h**Parameters**h]j)}(hjEh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM`hj?ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjdh]hstruct phy_device *phydev}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM]hj^ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhM]hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhM]hj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM_hj?ubjl)}(hMDIO bus controllers are not required to wait for write transactions to complete before returning. Calling this function ensures that the previous write has completed.h]hMDIO bus controllers are not required to wait for write transactions to complete before returning. Calling this function ensures that the previous write has completed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM^hj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_disable_interrupts (C function)c.phy_disable_interruptshNtauh1hhjdhhhNhNubh)}(hhh](j)}(h6int phy_disable_interrupts (struct phy_device *phydev)h]j )}(h5int phy_disable_interrupts(struct phy_device *phydev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMlubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMlubj3)}(hphy_disable_interruptsh]j9)}(hphy_disable_interruptsh]hphy_disable_interrupts}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMlubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNj j )}j ]j )}j jsbc.phy_disable_interruptsasbuh1hhjubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMlubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMlubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMlhjhhubjg)}(hhh]jl)}(h,Disable the PHY interrupts from the PHY sideh]h,Disable the PHY interrupts from the PHY side}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMlhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMlubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMphjubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMrhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_interrupt (C function)c.phy_interrupthNtauh1hhjdhhhNhNubh)}(hhh](j)}(h2irqreturn_t phy_interrupt (int irq, void *phy_dat)h]j )}(h1irqreturn_t phy_interrupt(int irq, void *phy_dat)h](h)}(hhh]j9)}(h irqreturn_th]h irqreturn_t}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNj j )}j ]j )}j phy_interruptsbc.phy_interruptasbuh1hhj;hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM}ubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;hhhjchM}ubj3)}(h phy_interrupth]j9)}(hj`h]h phy_interrupt}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj;hhhjchM}ubj )}(h(int irq, void *phy_dat)h](j )}(hint irqh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hirqh]hirq}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h void *phy_dath](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphy_dath]hphy_dat}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj;hhhjchM}ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhjchM}ubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjchM}hj4hhubjg)}(hhh]jl)}(hPHY interrupt handlerh]hPHY interrupt handler}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM}hjhhubah}(h]h ]h"]h$]h&]uh1jfhj4hhhjchM}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhjdhNhNubj)}(h{**Parameters** ``int irq`` interrupt line ``void *phy_dat`` phy_device pointer **Description** Handle PHY interrupth](jl)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj5ubj)}(hhh](j)}(h``int irq`` interrupt line h](j)}(h ``int irq``h]j)}(hjZh]hint irq}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chM~hjTubj)}(hhh]jl)}(hinterrupt lineh]hinterrupt line}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjohM~hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM~hjQubj)}(h%``void *phy_dat`` phy_device pointer h](j)}(h``void *phy_dat``h]j)}(hjh]h void *phy_dat}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hphy_device pointerh]hphy_device pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjQubeh}(h]h ]h"]h$]h&]uh1jhj5ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj5ubjl)}(hHandle PHY interrupth]hHandle PHY interrupt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_enable_interrupts (C function)c.phy_enable_interruptshNtauh1hhjdhhhNhNubh)}(hhh](j)}(h5int phy_enable_interrupts (struct phy_device *phydev)h]j )}(h4int phy_enable_interrupts(struct phy_device *phydev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj!hMubj3)}(hphy_enable_interruptsh]j9)}(hphy_enable_interruptsh]hphy_enable_interrupts}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj!hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j )}j j6sbc.phy_enable_interruptsasbuh1hhjLubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj!hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj!hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj!hMhjhhubjg)}(hhh]jl)}(h'Enable the interrupts from the PHY sideh]h'Enable the interrupts from the PHY side}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj!hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_update_stats (C function)c.phy_update_statshNtauh1hhjdhhhNhNubh)}(hhh](j)}(h0int phy_update_stats (struct phy_device *phydev)h]j )}(h/int phy_update_stats(struct phy_device *phydev)h](jM )}(hinth]hint}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjhhhj|hMubj3)}(hphy_update_statsh]j9)}(hphy_update_statsh]hphy_update_stats}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjjhhhj|hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_update_statsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjjhhhj|hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjfhhhj|hMubah}(h]jaah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj|hMhjchhubjg)}(hhh]jl)}(h*Update PHY device statistics if supported.h]h*Update PHY device statistics if supported.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj+hhubah}(h]h ]h"]h$]h&]uh1jfhjchhhj|hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhjdhNhNubj)}(hX3**Parameters** ``struct phy_device *phydev`` Pointer to the PHY device structure. **Description** If the PHY driver provides an update_stats callback, this function invokes it to update the PHY statistics. If not, it returns 0. **Return** 0 on success, or a negative error code if the callback fails.h](jl)}(h**Parameters**h]j)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjJubj)}(hhh]j)}(hC``struct phy_device *phydev`` Pointer to the PHY device structure. h](j)}(h``struct phy_device *phydev``h]j)}(hjoh]hstruct phy_device *phydev}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjiubj)}(hhh]jl)}(h$Pointer to the PHY device structure.h]h$Pointer to the PHY device structure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjJubjl)}(hIf the PHY driver provides an update_stats callback, this function invokes it to update the PHY statistics. If not, it returns 0.h]hIf the PHY driver provides an update_stats callback, this function invokes it to update the PHY statistics. If not, it returns 0.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjJubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjJubjl)}(h=0 on success, or a negative error code if the callback fails.h]h=0 on success, or a negative error code if the callback fails.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_get_next_update_time (C function)c.phy_get_next_update_timehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hAunsigned int phy_get_next_update_time (struct phy_device *phydev)h]j )}(h@unsigned int phy_get_next_update_time(struct phy_device *phydev)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj$hMubjM )}(hinth]hint}(hj3hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhj$hMubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj$hMubj3)}(hphy_get_next_update_timeh]j9)}(hphy_get_next_update_timeh]hphy_get_next_update_time}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj$hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jUsbc.phy_get_next_update_timeasbuh1hhjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj$hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj$hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$hMhj hhubjg)}(hhh]jl)}(h"Determine the next PHY update timeh]h"Determine the next PHY update time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj$hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjdhNhNubj)}(hX:**Parameters** ``struct phy_device *phydev`` Pointer to the phy_device structure **Description** This function queries the PHY driver to get the time for the next polling event. If the driver does not implement the callback, a default value is used. **Return** The time for the next polling event in jiffiesh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]j)}(hB``struct phy_device *phydev`` Pointer to the phy_device structure h](j)}(h``struct phy_device *phydev``h]j)}(hj3h]hstruct phy_device *phydev}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj-ubj)}(hhh]jl)}(h#Pointer to the phy_device structureh]h#Pointer to the phy_device structure}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjnh]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjl)}(hThis function queries the PHY driver to get the time for the next polling event. If the driver does not implement the callback, a default value is used.h]hThis function queries the PHY driver to get the time for the next polling event. If the driver does not implement the callback, a default value is used.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjl)}(h.The time for the next polling event in jiffiesh]h.The time for the next polling event in jiffies}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_state_machine (C function)c.phy_state_machinehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h1void phy_state_machine (struct work_struct *work)h]j )}(h0void phy_state_machine(struct work_struct *work)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMiubj3)}(hphy_state_machineh]j9)}(hphy_state_machineh]hphy_state_machine}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMiubj )}(h(struct work_struct *work)h]j )}(hstruct work_struct *workh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h work_structh]h work_struct}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]j )}j jsbc.phy_state_machineasbuh1hhjubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hworkh]hwork}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMiubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMiubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMihjhhubjg)}(hhh]jl)}(hHandle the state machineh]hHandle the state machine}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMihjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h]**Parameters** ``struct work_struct *work`` work_struct that describes the work to be doneh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMmhjubj)}(hhh]j)}(hK``struct work_struct *work`` work_struct that describes the work to be doneh](j)}(h``struct work_struct *work``h]j)}(hjh]hstruct work_struct *work}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMohjubj)}(hhh]jl)}(h.work_struct that describes the work to be doneh]h.work_struct that describes the work to be done}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_ethtool_set_eee_noneg (C function)c.phy_ethtool_set_eee_noneghNtauh1hhjdhhhNhNubh)}(hhh](j)}(h\void phy_ethtool_set_eee_noneg (struct phy_device *phydev, const struct eee_config *old_cfg)h]j )}(h[void phy_ethtool_set_eee_noneg(struct phy_device *phydev, const struct eee_config *old_cfg)h](jM )}(hvoidh]hvoid}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1hhhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1hhhjChMubj3)}(hphy_ethtool_set_eee_nonegh]j9)}(hphy_ethtool_set_eee_nonegh]hphy_ethtool_set_eee_noneg}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1hhhjChMubj )}(h=(struct phy_device *phydev, const struct eee_config *old_cfg)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jXsbc.phy_ethtool_set_eee_nonegasbuh1hhjnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjubj )}(h const struct eee_config *old_cfgh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h eee_configh]h eee_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_ethtool_set_eee_nonegasbuh1hhjubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hold_cfgh]hold_cfg}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj1hhhjChMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj-hhhjChMubah}(h]j(ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjChMhj*hhubjg)}(hhh]jl)}(h7Adjusts MAC LPI configuration without PHY renegotiationh]h7Adjusts MAC LPI configuration without PHY renegotiation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhj}hhubah}(h]h ]h"]h$]h&]uh1jfhj*hhhjChMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` pointer to the target PHY device structure ``const struct eee_config *old_cfg`` pointer to the eee_config structure containing the old EEE settings **Description** This function updates the Energy Efficient Ethernet (EEE) configuration for cases where only the MAC's Low Power Idle (LPI) configuration changes, without triggering PHY renegotiation. It ensures that the MAC is properly informed of the new LPI settings by cycling the link down and up, which is necessary for the MAC to adopt the new configuration. This adjustment is done only if there is a change in the tx_lpi_enabled or tx_lpi_timer configuration.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh](j)}(hI``struct phy_device *phydev`` pointer to the target PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(h*pointer to the target PHY device structureh]h*pointer to the target PHY device structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hi``const struct eee_config *old_cfg`` pointer to the eee_config structure containing the old EEE settings h](j)}(h$``const struct eee_config *old_cfg``h]j)}(hjh]h const struct eee_config *old_cfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubj)}(hhh]jl)}(hCpointer to the eee_config structure containing the old EEE settingsh]hCpointer to the eee_config structure containing the old EEE settings}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj5h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubjl)}(hXThis function updates the Energy Efficient Ethernet (EEE) configuration for cases where only the MAC's Low Power Idle (LPI) configuration changes, without triggering PHY renegotiation. It ensures that the MAC is properly informed of the new LPI settings by cycling the link down and up, which is necessary for the MAC to adopt the new configuration. This adjustment is done only if there is a change in the tx_lpi_enabled or tx_lpi_timer configuration.h]hXThis function updates the Energy Efficient Ethernet (EEE) configuration for cases where only the MAC’s Low Power Idle (LPI) configuration changes, without triggering PHY renegotiation. It ensures that the MAC is properly informed of the new LPI settings by cycling the link down and up, which is necessary for the MAC to adopt the new configuration. This adjustment is done only if there is a change in the tx_lpi_enabled or tx_lpi_timer configuration.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhV/var/lib/git/docbuild/linux/Documentation/networking/kapi:116: ./drivers/net/phy/phy.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_speed_to_str (C function)c.phy_speed_to_strhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h)const char * phy_speed_to_str (int speed)h]j )}(h'const char *phy_speed_to_str(int speed)h](j)}(hj h]hconst}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvhhhjhKubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjvhhhjhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvhhhjhKubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjvhhhjhKubj3)}(hphy_speed_to_strh]j9)}(hphy_speed_to_strh]hphy_speed_to_str}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjvhhhjhKubj )}(h (int speed)h]j )}(h int speedh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hspeedh]hspeed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjvhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjrhhhjhKubah}(h]jmah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjohhubjg)}(hhh]jl)}(h/Return a string representing the PHY link speedh]h/Return a string representing the PHY link speed}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhj"hhubah}(h]h ]h"]h$]h&]uh1jfhjohhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=jj=jjjuh1hhhhjdhNhNubj)}(h1**Parameters** ``int speed`` Speed of the linkh](jl)}(h**Parameters**h]j)}(hjGh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjAubj)}(hhh]j)}(h``int speed`` Speed of the linkh](j)}(h ``int speed``h]j)}(hjfh]h int speed}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhj`ubj)}(hhh]jl)}(hSpeed of the linkh]hSpeed of the link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hKhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_duplex_to_str (C function)c.phy_duplex_to_strhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h4const char * phy_duplex_to_str (unsigned int duplex)h]j )}(h2const char *phy_duplex_to_str(unsigned int duplex)h](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKHubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKHubjM )}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhjhKHubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKHubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhKHubj3)}(hphy_duplex_to_strh]j9)}(hphy_duplex_to_strh]hphy_duplex_to_str}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKHubj )}(h(unsigned int duplex)h]j )}(hunsigned int duplexh](jM )}(hunsignedh]hunsigned}(hj%hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj!ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubjM )}(hinth]hint}(hjAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj!ubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj9)}(hduplexh]hduplex}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKHubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKHubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKHhjhhubjg)}(hhh]jl)}(h#Return string describing the duplexh]h#Return string describing the duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKHhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKHubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hD**Parameters** ``unsigned int duplex`` Duplex setting to describeh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKLhjubj)}(hhh]j)}(h2``unsigned int duplex`` Duplex setting to describeh](j)}(h``unsigned int duplex``h]j)}(hjh]hunsigned int duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKNhjubj)}(hhh]jl)}(hDuplex setting to describeh]hDuplex setting to describe}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_rate_matching_to_str (C function)c.phy_rate_matching_to_strhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h9const char * phy_rate_matching_to_str (int rate_matching)h]j )}(h7const char *phy_rate_matching_to_str(int rate_matching)h](j)}(hj h]hconst}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKYubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj/hKYubjM )}(hcharh]hchar}(hj>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhj/hKYubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj/hKYubj )}(hj h]h*}(hjZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj/hKYubj3)}(hphy_rate_matching_to_strh]j9)}(hphy_rate_matching_to_strh]hphy_rate_matching_to_str}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj/hKYubj )}(h(int rate_matching)h]j )}(hint rate_matchingh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h rate_matchingh]h rate_matching}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj/hKYubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj/hKYubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj/hKYhjhhubjg)}(hhh]jl)}(h,Return a string describing the rate matchingh]h,Return a string describing the rate matching}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKYhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj/hKYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hI**Parameters** ``int rate_matching`` Type of rate matching to describeh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chK]hjubj)}(hhh]j)}(h7``int rate_matching`` Type of rate matching to describeh](j)}(h``int rate_matching``h]j)}(hjh]hint rate_matching}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chK_hjubj)}(hhh]jl)}(h!Type of rate matching to describeh]h!Type of rate matching to describe}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chK[hj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hK_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,phy_fix_phy_mode_for_mac_delays (C function)!c.phy_fix_phy_mode_for_mac_delayshNtauh1hhjdhhhNhNubh)}(hhh](j)}(hiphy_interface_t phy_fix_phy_mode_for_mac_delays (phy_interface_t interface, bool mac_txid, bool mac_rxid)h]j )}(hhphy_interface_t phy_fix_phy_mode_for_mac_delays(phy_interface_t interface, bool mac_txid, bool mac_rxid)h](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]j )}j phy_fix_phy_mode_for_mac_delayssb!c.phy_fix_phy_mode_for_mac_delaysasbuh1hhjdhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdhhhjhKnubj3)}(hphy_fix_phy_mode_for_mac_delaysh]j9)}(hjh]hphy_fix_phy_mode_for_mac_delays}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjdhhhjhKnubj )}(h9(phy_interface_t interface, bool mac_txid, bool mac_rxid)h](j )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j!c.phy_fix_phy_mode_for_mac_delaysasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool mac_txidh](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmac_txidh]hmac_txid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool mac_rxidh](jM )}(hjh]hbool}(hj6hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2ubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj9)}(hmac_rxidh]hmac_rxid}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjdhhhjhKnubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`hhhjhKnubah}(h]j[ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKnhj]hhubjg)}(hhh]jl)}(hQConvenience function for fixing PHY mode based on whether mac adds internal delayh]hQConvenience function for fixing PHY mode based on whether mac adds internal delay}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKnhjxhhubah}(h]h ]h"]h$]h&]uh1jfhj]hhhjhKnubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX6**Parameters** ``phy_interface_t interface`` The current interface mode of the port ``bool mac_txid`` True if the mac adds internal tx delay ``bool mac_rxid`` True if the mac adds internal rx delay **Return** fixed PHY mode, or PHY_INTERFACE_MODE_NA if the interface can not apply the internal delayh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKrhjubj)}(hhh](j)}(hE``phy_interface_t interface`` The current interface mode of the port h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKqhjubj)}(hhh]jl)}(h&The current interface mode of the porth]h&The current interface mode of the port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKqhjubj)}(h9``bool mac_txid`` True if the mac adds internal tx delay h](j)}(h``bool mac_txid``h]j)}(hjh]h bool mac_txid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKrhjubj)}(hhh]jl)}(h&True if the mac adds internal tx delayh]h&True if the mac adds internal tx delay}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKrhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKrhjubj)}(h9``bool mac_rxid`` True if the mac adds internal rx delay h](j)}(h``bool mac_rxid``h]j)}(hj.h]h bool mac_rxid}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKshj(ubj)}(hhh]jl)}(h&True if the mac adds internal rx delayh]h&True if the mac adds internal rx delay}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChKshjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChKshjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjih]hReturn}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKuhjubjl)}(hZfixed PHY mode, or PHY_INTERFACE_MODE_NA if the interface can not apply the internal delayh]hZfixed PHY mode, or PHY_INTERFACE_MODE_NA if the interface can not apply the internal delay}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKuhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_interface_num_ports (C function)c.phy_interface_num_portshNtauh1hhjdhhhNhNubh)}(hhh](j)}(h7int phy_interface_num_ports (phy_interface_t interface)h]j )}(h6int phy_interface_num_ports(phy_interface_t interface)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphy_interface_num_portsh]j9)}(hphy_interface_num_portsh]hphy_interface_num_ports}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h(phy_interface_t interface)h]j )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_interface_num_portsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(hReturn the number of links that can be carried by a given MAC-PHY physical link. Returns 0 if this is unknown, the number of links else.h]hReturn the number of links that can be carried by a given MAC-PHY physical link. Returns 0 if this is unknown, the number of links else.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjChhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1hhhhjdhNhNubj)}(he**Parameters** ``phy_interface_t interface`` The interface mode we want to get the number of portsh](jl)}(h**Parameters**h]j)}(hjhh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjbubj)}(hhh]j)}(hS``phy_interface_t interface`` The interface mode we want to get the number of portsh](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubj)}(hhh]jl)}(h5The interface mode we want to get the number of portsh]h5The interface mode we want to get the number of ports}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_max_speed (C function)c.phy_set_max_speedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hAvoid phy_set_max_speed (struct phy_device *phydev, u32 max_speed)h]j )}(h@void phy_set_max_speed(struct phy_device *phydev, u32 max_speed)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphy_set_max_speedh]j9)}(hphy_set_max_speedh]hphy_set_max_speed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h*(struct phy_device *phydev, u32 max_speed)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNj j )}j ]j )}j jsbc.phy_set_max_speedasbuh1hhjubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 max_speedh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jXc.phy_set_max_speedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h max_speedh]h max_speed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h,Set the maximum speed the PHY should supporth]h,Set the maximum speed the PHY should support}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hXB**Parameters** ``struct phy_device *phydev`` The phy_device struct ``u32 max_speed`` Maximum speed **Description** The PHY might be more capable than the MAC. For example a Fast Ethernet is connected to a 1G PHY. This function allows the MAC to indicate its maximum speed, and so limit what the PHY will advertise.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj*h]hstruct phy_device *phydev}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhj$ubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hKhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hKhj!ubj)}(h ``u32 max_speed`` Maximum speed h](j)}(h``u32 max_speed``h]j)}(hjch]h u32 max_speed}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhj]ubj)}(hhh]jl)}(h Maximum speedh]h Maximum speed}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhKhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhKhj!ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubjl)}(hThe PHY might be more capable than the MAC. For example a Fast Ethernet is connected to a 1G PHY. This function allows the MAC to indicate its maximum speed, and so limit what the PHY will advertise.h]hThe PHY might be more capable than the MAC. For example a Fast Ethernet is connected to a 1G PHY. This function allows the MAC to indicate its maximum speed, and so limit what the PHY will advertise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_resolve_aneg_pause (C function)c.phy_resolve_aneg_pausehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h7void phy_resolve_aneg_pause (struct phy_device *phydev)h]j )}(h6void phy_resolve_aneg_pause(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM9ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM9ubj3)}(hphy_resolve_aneg_pauseh]j9)}(hphy_resolve_aneg_pauseh]hphy_resolve_aneg_pause}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM9ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNj j )}j ]j )}j jsbc.phy_resolve_aneg_pauseasbuh1hhjubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM9ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM9ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM9hjhhubjg)}(hhh]jl)}(hDetermine pause autoneg resultsh]hDetermine pause autoneg results}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM9hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct **Description** Once autoneg has completed the local pause settings can be resolved. Determine if pause and asymmetric pause should be used by the MAC.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM=hjubj)}(hhh]j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM;hjubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM=hjubjl)}(hOnce autoneg has completed the local pause settings can be resolved. Determine if pause and asymmetric pause should be used by the MAC.h]hOnce autoneg has completed the local pause settings can be resolved. Determine if pause and asymmetric pause should be used by the MAC.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM<hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_resolve_aneg_linkmode (C function)c.phy_resolve_aneg_linkmodehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h:void phy_resolve_aneg_linkmode (struct phy_device *phydev)h]j )}(h9void phy_resolve_aneg_linkmode(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMOubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`hhhjrhMOubj3)}(hphy_resolve_aneg_linkmodeh]j9)}(hphy_resolve_aneg_linkmodeh]hphy_resolve_aneg_linkmode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`hhhjrhMOubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_resolve_aneg_linkmodeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj`hhhjrhMOubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj\hhhjrhMOubah}(h]jWah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjrhMOhjYhhubjg)}(hhh]jl)}(h,resolve the advertisements into PHY settingsh]h,resolve the advertisements into PHY settings}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMOhj!hhubah}(h]h ]h"]h$]h&]uh1jfhjYhhhjrhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` The phy_device struct **Description** Resolve our and the link partner advertisements into their corresponding speed and duplex. If full duplex was negotiated, extract the pause mode from the link partner mask.h](jl)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMShj@ubj)}(hhh]j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjeh]hstruct phy_device *phydev}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMPhj_ubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhMPhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMPhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMRhj@ubjl)}(hResolve our and the link partner advertisements into their corresponding speed and duplex. If full duplex was negotiated, extract the pause mode from the link partner mask.h]hResolve our and the link partner advertisements into their corresponding speed and duplex. If full duplex was negotiated, extract the pause mode from the link partner mask.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMQhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_read_mmd (C function)c.__phy_read_mmdhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hEint __phy_read_mmd (struct phy_device *phydev, int devad, u32 regnum)h]j )}(hDint __phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h__phy_read_mmdh]j9)}(h__phy_read_mmdh]h__phy_read_mmd}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h2(struct phy_device *phydev, int devad, u32 regnum)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj" hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj/ hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj@ hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj= ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjB modnameN classnameNj j )}j ]j )}j j sbc.__phy_read_mmdasbuh1hhj ubj")}(h h]h }(hj` hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hjn hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hphydevh]hphydev}(hj{ hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h int devadh](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hdevadh]hdevad}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j\ c.__phy_read_mmdasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hregnumh]hregnum}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hGConvenience function for reading a register from an MMD on a given PHY.h]hGConvenience function for reading a register from an MMD on a given PHY.}(hj" hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj: jj: jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct ``int devad`` The MMD to read from (0..31) ``u32 regnum`` The register on the MMD to read (0..65535) **Description** Same rules as for __phy_read();h](jl)}(h**Parameters**h]j)}(hjD h]h Parameters}(hjF hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj> ubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjc h]hstruct phy_device *phydev}(hje hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj] ubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hj| hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjx hMhjy ubah}(h]h ]h"]h$]h&]uh1jhj] ubeh}(h]h ]h"]h$]h&]uh1jhjx hMhjZ ubj)}(h+``int devad`` The MMD to read from (0..31) h](j)}(h ``int devad``h]j)}(hj h]h int devad}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh]jl)}(hThe MMD to read from (0..31)h]hThe MMD to read from (0..31)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjZ ubj)}(h:``u32 regnum`` The register on the MMD to read (0..65535) h](j)}(h``u32 regnum``h]j)}(hj h]h u32 regnum}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh]jl)}(h*The register on the MMD to read (0..65535)h]h*The register on the MMD to read (0..65535)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjZ ubeh}(h]h ]h"]h$]h&]uh1jhj> ubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj> ubjl)}(hSame rules as for __phy_read();h]hSame rules as for __phy_read();}(hj& hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj> ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read_mmd (C function)c.phy_read_mmdhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hCint phy_read_mmd (struct phy_device *phydev, int devad, u32 regnum)h]j )}(hBint phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum)h](jM )}(hinth]hint}(hjU hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQ hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hjd hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQ hhhjc hMubj3)}(h phy_read_mmdh]j9)}(h phy_read_mmdh]h phy_read_mmd}(hjv hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjr ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQ hhhjc hMubj )}(h2(struct phy_device *phydev, int devad, u32 regnum)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jx sbc.phy_read_mmdasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h int devadh](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hdevadh]hdevad}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj< hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9 ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj> modnameN classnameNj j )}j ]j c.phy_read_mmdasbuh1hhj5 ubj")}(h h]h }(hjZ hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5 ubj9)}(hregnumh]hregnum}(hjh hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5 ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjQ hhhjc hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjM hhhjc hMubah}(h]jH ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjc hMhjJ hhubjg)}(hhh]jl)}(hGConvenience function for reading a register from an MMD on a given PHY.h]hGConvenience function for reading a register from an MMD on a given PHY.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjJ hhhjc hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct ``int devad`` The MMD to read from ``u32 regnum`` The register on the MMD to read **Description** Same rules as for phy_read();h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj h]hstruct phy_device *phydev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h#``int devad`` The MMD to read from h](j)}(h ``int devad``h]j)}(hj h]h int devad}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubj)}(hhh]jl)}(hThe MMD to read fromh]hThe MMD to read from}(hj% hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj! hMhj" ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj! hMhj ubj)}(h/``u32 regnum`` The register on the MMD to read h](j)}(h``u32 regnum``h]j)}(hjE h]h u32 regnum}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj? ubj)}(hhh]jl)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hj^ hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZ hMhj[ ubah}(h]h ]h"]h$]h&]uh1jhj? ubeh}(h]h ]h"]h$]h&]uh1jhjZ hMhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubjl)}(hSame rules as for phy_read();h]hSame rules as for phy_read();}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_write_mmd (C function)c.__phy_write_mmdhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hOint __phy_write_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]j )}(hNint __phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubj3)}(h__phy_write_mmdh]j9)}(h__phy_write_mmdh]h__phy_write_mmd}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMubj )}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j )}j j sbc.__phy_write_mmdasbuh1hhj ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hphydevh]hphydev}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h int devadh](jM )}(hinth]hint}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j<c.__phy_write_mmdasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j<c.__phy_write_mmdasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMhj hhubjg)}(hhh]jl)}(hEConvenience function for writing a register on an MMD on a given PHY.h]hEConvenience function for writing a register on an MMD on a given PHY.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjGhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct ``int devad`` The MMD to read from ``u32 regnum`` The register on the MMD to read ``u16 val`` value to write to **regnum** **Description** Same rules as for __phy_write();h](jl)}(h**Parameters**h]j)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjfubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h#``int devad`` The MMD to read from h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jl)}(hThe MMD to read fromh]hThe MMD to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``u32 regnum`` The register on the MMD to read h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jl)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj6h]hu16 val}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj0ubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hjOhhhNhNubj)}(h **regnum**h]hregnum}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jkhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjubeh}(h]h ]h"]h$]h&]uh1jhjfubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjfubjl)}(h Same rules as for __phy_write();h]h Same rules as for __phy_write();}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_mmd (C function)c.phy_write_mmdhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hMint phy_write_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]j )}(hLint phy_write_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h phy_write_mmdh]j9)}(h phy_write_mmdh]h phy_write_mmd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNj j )}j ]j )}j jsbc.phy_write_mmdasbuh1hhjubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjoubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j;c.phy_write_mmdasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j;c.phy_write_mmdasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hEConvenience function for writing a register on an MMD on a given PHY.h]hEConvenience function for writing a register on an MMD on a given PHY.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjFhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct ``int devad`` The MMD to read from ``u32 regnum`` The register on the MMD to read ``u16 val`` value to write to **regnum** **Description** Same rules as for phy_write();h](jl)}(h**Parameters**h]j)}(hjkh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjeubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h#``int devad`` The MMD to read from h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jl)}(hThe MMD to read fromh]hThe MMD to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``u32 regnum`` The register on the MMD to read h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjubj)}(hhh]jl)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj5h]hu16 val}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj/ubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hjNhhhNhNubj)}(h **regnum**h]hregnum}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jkhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubeh}(h]h ]h"]h$]h&]uh1jhjeubjl)}(h**Description**h]j)}(hj~h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjeubjl)}(hSame rules as for phy_write();h]hSame rules as for phy_write();}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_changed (C function)c.phy_modify_changedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hQint phy_modify_changed (struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h]j )}(hPint phy_modify_changed(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM$ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM$ubj3)}(hphy_modify_changedh]j9)}(hphy_modify_changedh]hphy_modify_changed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM$ubj )}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsbc.phy_modify_changedasbuh1hhjubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]j:c.phy_modify_changedasbuh1hhjnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j:c.phy_modify_changedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j:c.phy_modify_changedasbuh1hhjubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM$ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM$ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM$hjhhubjg)}(hhh]jl)}(h%Function for modifying a PHY registerh]h%Function for modifying a PHY register}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM$hjXhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM$ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation. Returns negative errno, 0 if there was no change, and 1 in case of changeh](jl)}(h**Parameters**h]j)}(hj}h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM(hjwubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM%hjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM&hjubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM'hjubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hM'hj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hM'hjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjGh]hu16 set}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM(hjAubj)}(hhh]jl)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hj`hhhNhNubj)}(h **regnum**h]hregnum}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jkhj\hM(hj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hM(hjubeh}(h]h ]h"]h$]h&]uh1jhjwubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM*hjwubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM*hjwubjl)}(hIReturns negative errno, 0 if there was no change, and 1 in case of changeh]hIReturns negative errno, 0 if there was no change, and 1 in case of change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM.hjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_modify (C function)c.__phy_modifyhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hKint __phy_modify (struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h]j )}(hJint __phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM=ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM=ubj3)}(h __phy_modifyh]j9)}(h __phy_modifyh]h __phy_modify}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM=ubj )}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNj j )}j ]j )}j jsbc.__phy_modifyasbuh1hhjubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j[c.__phy_modifyasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j[c.__phy_modifyasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmaskh]hmask}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]j[c.__phy_modifyasbuh1hhjubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM=ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM=ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM=hjhhubjg)}(hhh]jl)}(h1Convenience function for modifying a PHY registerh]h1Convenience function for modifying a PHY register}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM=hjyhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hXo**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMAhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM>hjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM?hjubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hM?hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM?hjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj/h]hu16 mask}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM@hj)ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhM@hjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhM@hjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjhh]hu16 set}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMAhjbubj)}(hhh]jl)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhj}hMAhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMAhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMChjubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMChjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify (C function) c.phy_modifyhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hIint phy_modify (struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h]j )}(hHint phy_modify(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMRubj3)}(h phy_modifyh]j9)}(h phy_modifyh]h phy_modify}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMRubj )}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]j )}j jsb c.phy_modifyasbuh1hhj/ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jm c.phy_modifyasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jm c.phy_modifyasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]jm c.phy_modifyasbuh1hhj1ubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj9)}(hseth]hset}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMRubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMRubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMRhjhhubjg)}(hhh]jl)}(h7Convenience function for modifying a given PHY registerh]h7Convenience function for modifying a given PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMRhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hXn**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMVhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMShjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMThjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjAh]hu16 mask}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMUhj;ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhMUhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMUhjubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjzh]hu16 set}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMVhjtubj)}(hhh]jl)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMXhjubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMXhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__phy_modify_mmd_changed (C function)c.__phy_modify_mmd_changedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hbint __phy_modify_mmd_changed (struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h]j )}(haint __phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMiubj3)}(h__phy_modify_mmd_changedh]j9)}(h__phy_modify_mmd_changedh]h__phy_modify_mmd_changed}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMiubj )}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]j )}j j+sbc.__phy_modify_mmd_changedasbuh1hhjAubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubj )}(h int devadh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__phy_modify_mmd_changedasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]jc.__phy_modify_mmd_changedasbuh1hhj0ubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubj9)}(hmaskh]hmask}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__phy_modify_mmd_changedasbuh1hhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj9)}(hseth]hset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMiubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMiubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMihjhhubjg)}(hhh]jl)}(h(Function for modifying a register on MMDh]h(Function for modifying a register on MMD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMihjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **Description** Unlocked helper function which allows a MMD register to be modified as new register value = (old register value & ~mask) | set Returns negative errno, 0 if there was no change, and 1 in case of changeh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMmhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMjhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMjhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMjhj ubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjOh]h int devad}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMkhjIubj)}(hhh]jl)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMkhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMkhj ubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMlhjubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhj ubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMmhjubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhj ubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMnhjubj)}(hhh]jl)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hj hhhNhNubj)}(h **regnum**h]hregnum}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jkhj hMnhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMnhj ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjC h]h Description}(hjE hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMphjubjl)}(h~Unlocked helper function which allows a MMD register to be modified as new register value = (old register value & ~mask) | seth]h~Unlocked helper function which allows a MMD register to be modified as new register value = (old register value & ~mask) | set}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMohjubjl)}(hIReturns negative errno, 0 if there was no change, and 1 in case of changeh]hIReturns negative errno, 0 if there was no change, and 1 in case of change}(hjh hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMrhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_modify_mmd_changed (C function)c.phy_modify_mmd_changedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h`int phy_modify_mmd_changed (struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h]j )}(h_int phy_modify_mmd_changed(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubj3)}(hphy_modify_mmd_changedh]j9)}(hphy_modify_mmd_changedh]hphy_modify_mmd_changed}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMubj )}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j j sbc.phy_modify_mmd_changedasbuh1hhj ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj !hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hphydevh]hphydev}(hj-!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h int devadh](jM )}(hinth]hint}(hjF!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjB!ubj")}(h h]h }(hjT!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjB!ubj9)}(hdevadh]hdevad}(hjb!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjB!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj~!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNj j )}j ]j!c.phy_modify_mmd_changedasbuh1hhjw!ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjw!ubj9)}(hregnumh]hregnum}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjw!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNj j )}j ]j!c.phy_modify_mmd_changedasbuh1hhj!ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!ubj9)}(hmaskh]hmask}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj "ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j!c.phy_modify_mmd_changedasbuh1hhj"ubj")}(h h]h }(hj,"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj9)}(hseth]hset}(hj:"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMhj hhubjg)}(hhh]jl)}(h(Function for modifying a register on MMDh]h(Function for modifying a register on MMD}(hjd"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhja"hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|"jj|"jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation. Returns negative errno, 0 if there was no change, and 1 in case of changeh](jl)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj"ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj"h]hstruct phy_device *phydev}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj"ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMhj"ubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hj"h]h int devad}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj"ubj)}(hhh]jl)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMhj"ubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hj#h]h u32 regnum}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj#ubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hj0#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,#hMhj-#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj,#hMhj"ubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjP#h]hu16 mask}(hjR#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN#ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjJ#ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hji#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhje#hMhjf#ubah}(h]h ]h"]h$]h&]uh1jhjJ#ubeh}(h]h ]h"]h$]h&]uh1jhje#hMhj"ubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hj#h]hu16 set}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj#ubj)}(hhh]jl)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hj#hhhNhNubj)}(h **regnum**h]hregnum}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jkhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"ubjl)}(h**NOTE**h]j)}(hj#h]hNOTE}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj"ubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj"ubjl)}(hIReturns negative errno, 0 if there was no change, and 1 in case of changeh]hIReturns negative errno, 0 if there was no change, and 1 in case of change}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_modify_mmd (C function)c.__phy_modify_mmdhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hZint __phy_modify_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h]j )}(hYint __phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hj&$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj"$hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hj5$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"$hhhj4$hMubj3)}(h__phy_modify_mmdh]j9)}(h__phy_modify_mmdh]h__phy_modify_mmd}(hjG$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjC$ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj"$hhhj4$hMubj )}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjc$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_$ubj")}(h h]h }(hjp$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_$ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNj j )}j ]j )}j jI$sbc.__phy_modify_mmdasbuh1hhj_$ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_$ubj )}(hj h]h*}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_$ubj9)}(hphydevh]hphydev}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj[$ubj )}(h int devadh](jM )}(hinth]hint}(hj$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj9)}(hdevadh]hdevad}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj[$ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj %hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj %ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j$c.__phy_modify_mmdasbuh1hhj%ubj")}(h h]h }(hj+%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj9)}(hregnumh]hregnum}(hj9%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj[$ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjU%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjR%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjW%modnameN classnameNj j )}j ]j$c.__phy_modify_mmdasbuh1hhjN%ubj")}(h h]h }(hjs%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjN%ubj9)}(hmaskh]hmask}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjN%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj[$ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j$c.__phy_modify_mmdasbuh1hhj%ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj9)}(hseth]hset}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj[$ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj"$hhhj4$hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj$hhhj4$hMubah}(h]j$ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj4$hMhj$hhubjg)}(hhh]jl)}(h4Convenience function for modifying a register on MMDh]h4Convenience function for modifying a register on MMD}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj%hhubah}(h]h ]h"]h$]h&]uh1jfhj$hhhj4$hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj &jj &jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj&ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj4&h]hstruct phy_device *phydev}(hj6&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2&ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj.&ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjM&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjI&hMhjJ&ubah}(h]h ]h"]h$]h&]uh1jhj.&ubeh}(h]h ]h"]h$]h&]uh1jhjI&hMhj+&ubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjm&h]h int devad}(hjo&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk&ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjg&ubj)}(hhh]jl)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMhj&ubah}(h]h ]h"]h$]h&]uh1jhjg&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhj+&ubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hj&h]h u32 regnum}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj&ubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhj+&ubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj&h]hu16 mask}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj&ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhj+&ubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hj'h]hu16 set}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj'ubj)}(hhh]jl)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hj1'hhhNhNubj)}(h **regnum**h]hregnum}(hj9'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1'ubeh}(h]h ]h"]h$]h&]uh1jkhj-'hMhj.'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj-'hMhj+&ubeh}(h]h ]h"]h$]h&]uh1jhj&ubjl)}(h**NOTE**h]j)}(hja'h]hNOTE}(hjc'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_'ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj&ubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjw'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_mmd (C function)c.phy_modify_mmdhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hXint phy_modify_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h]j )}(hWint phy_modify_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hj'hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'hhhj'hMubj3)}(hphy_modify_mmdh]j9)}(hphy_modify_mmdh]hphy_modify_mmd}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj'hhhj'hMubj )}(hE(struct phy_device *phydev, int devad, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]j )}j j'sbc.phy_modify_mmdasbuh1hhj'ubj")}(h h]h }(hj!(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj )}(hj h]h*}(hj/(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj9)}(hphydevh]hphydev}(hj<(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(h int devadh](jM )}(hinth]hint}(hjU(hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQ(ubj")}(h h]h }(hjc(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQ(ubj9)}(hdevadh]hdevad}(hjq(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQ(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]j(c.phy_modify_mmdasbuh1hhj(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj9)}(hregnumh]hregnum}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNj j )}j ]j(c.phy_modify_mmdasbuh1hhj(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj9)}(hmaskh]hmask}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNj j )}j ]j(c.phy_modify_mmdasbuh1hhj)ubj")}(h h]h }(hj;)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubj9)}(hseth]hset}(hjI)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj'hhhj'hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj'hhhj'hMubah}(h]j'ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj'hMhj'hhubjg)}(hhh]jl)}(h4Convenience function for modifying a register on MMDh]h4Convenience function for modifying a register on MMD}(hjs)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjp)hhubah}(h]h ]h"]h$]h&]uh1jfhj'hhhj'hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)jj)jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` new value of bits set in mask to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj)ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj)h]hstruct phy_device *phydev}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj)ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj)ubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hj)h]h int devad}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj)ubj)}(hhh]jl)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj)ubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hj&*h]h u32 regnum}(hj(*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$*ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj *ubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hj?*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;*hMhj<*ubah}(h]h ]h"]h$]h&]uh1jhj *ubeh}(h]h ]h"]h$]h&]uh1jhj;*hMhj)ubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj_*h]hu16 mask}(hja*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]*ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjY*ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjx*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjt*hMhju*ubah}(h]h ]h"]h$]h&]uh1jhjY*ubeh}(h]h ]h"]h$]h&]uh1jhjt*hMhj)ubj)}(hA``u16 set`` new value of bits set in mask to write to **regnum** h](j)}(h ``u16 set``h]j)}(hj*h]hu16 set}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj*ubj)}(hhh]jl)}(h4new value of bits set in mask to write to **regnum**h](h*new value of bits set in mask to write to }(hj*hhhNhNubj)}(h **regnum**h]hregnum}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jkhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)ubjl)}(h**NOTE**h]j)}(hj*h]hNOTE}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj)ubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_save_page (C function)c.phy_save_pagehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h-int phy_save_page (struct phy_device *phydev)h]j )}(h,int phy_save_page(struct phy_device *phydev)h](jM )}(hinth]hint}(hj&+hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj"+hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hj5+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"+hhhj4+hMubj3)}(h phy_save_pageh]j9)}(h phy_save_pageh]h phy_save_page}(hjG+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjC+ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj"+hhhj4+hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjc+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_+ubj")}(h h]h }(hjp+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_+ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNj j )}j ]j )}j jI+sbc.phy_save_pageasbuh1hhj_+ubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_+ubj )}(hj h]h*}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_+ubj9)}(hphydevh]hphydev}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj[+ubah}(h]h ]h"]h$]h&]jPjQuh1j hj"+hhhj4+hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj+hhhj4+hMubah}(h]j+ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj4+hMhj+hhubjg)}(hhh]jl)}(h+take the bus lock and save the current pageh]h+take the bus lock and save the current page}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj+hhubah}(h]h ]h"]h$]h&]uh1jfhj+hhhj4+hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhjdhNhNubj)}(hX?**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` **Description** Take the MDIO bus lock, and return the current page number. On error, returns a negative errno. phy_restore_page() must always be called after this, irrespective of success or failure of this call.h](jl)}(h**Parameters**h]j)}(hj,h]h Parameters}(hj ,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj,ubj)}(hhh]j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj',h]hstruct phy_device *phydev}(hj),hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%,ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj!,ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj@,hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjJ,h]hstruct phy_device}(hjL,hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjH,ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhj<,hMhj@,ubeh}(h]h ]h"]h$]h&]uh1jkhj<,hMhj=,ubah}(h]h ]h"]h$]h&]uh1jhj!,ubeh}(h]h ]h"]h$]h&]uh1jhj<,hMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubjl)}(h**Description**h]j)}(hj,h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj,ubjl)}(hTake the MDIO bus lock, and return the current page number. On error, returns a negative errno. phy_restore_page() must always be called after this, irrespective of success or failure of this call.h]hTake the MDIO bus lock, and return the current page number. On error, returns a negative errno. phy_restore_page() must always be called after this, irrespective of success or failure of this call.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_select_page (C function)c.phy_select_pagehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h9int phy_select_page (struct phy_device *phydev, int page)h]j )}(h8int phy_select_page(struct phy_device *phydev, int page)h](jM )}(hinth]hint}(hj,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj,hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,hhhj,hMubj3)}(hphy_select_pageh]j9)}(hphy_select_pageh]hphy_select_page}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,hhhj,hMubj )}(h%(struct phy_device *phydev, int page)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj!-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#-modnameN classnameNj j )}j ]j )}j j,sbc.phy_select_pageasbuh1hhj,ubj")}(h h]h }(hjA-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubj )}(hj h]h*}(hjO-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,ubj9)}(hphydevh]hphydev}(hj\-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubj )}(hint pageh](jM )}(hinth]hint}(hju-hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjq-ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjq-ubj9)}(hpageh]hpage}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjq-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj,hhhj,hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,hhhj,hMubah}(h]j,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,hMhj,hhubjg)}(hhh]jl)}(h8take the bus lock, save the current page, and set a pageh]h8take the bus lock, save the current page, and set a page}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj-hhubah}(h]h ]h"]h$]h&]uh1jfhj,hhhj,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` desired page **Description** Take the MDIO bus lock to protect against concurrent access, save the current PHY page, and set the current page. On error, returns a negative errno, otherwise returns the previous page number. phy_restore_page() must always be called after this, irrespective of success or failure of this call.h](jl)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj-ubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj-h]hstruct phy_device *phydev}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj-ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj.hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj.h]hstruct phy_device}(hj!.hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhj.hMhj.ubeh}(h]h ]h"]h$]h&]uh1jkhj.hMhj.ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj.hMhj-ubj)}(h``int page`` desired page h](j)}(h ``int page``h]j)}(hjT.h]hint page}(hjV.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR.ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhjN.ubj)}(hhh]jl)}(h desired pageh]h desired page}(hjm.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhji.hMhjj.ubah}(h]h ]h"]h$]h&]uh1jhjN.ubeh}(h]h ]h"]h$]h&]uh1jhji.hMhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-ubjl)}(h**Description**h]j)}(hj.h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj-ubjl)}(hX(Take the MDIO bus lock to protect against concurrent access, save the current PHY page, and set the current page. On error, returns a negative errno, otherwise returns the previous page number. phy_restore_page() must always be called after this, irrespective of success or failure of this call.h]hX(Take the MDIO bus lock to protect against concurrent access, save the current PHY page, and set the current page. On error, returns a negative errno, otherwise returns the previous page number. phy_restore_page() must always be called after this, irrespective of success or failure of this call.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_restore_page (C function)c.phy_restore_pagehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hFint phy_restore_page (struct phy_device *phydev, int oldpage, int ret)h]j )}(hEint phy_restore_page(struct phy_device *phydev, int oldpage, int ret)h](jM )}(hinth]hint}(hj.hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.hhhj.hMubj3)}(hphy_restore_pageh]j9)}(hphy_restore_pageh]hphy_restore_page}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj.hMubj )}(h1(struct phy_device *phydev, int oldpage, int ret)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj /ubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj /ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj//hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1/modnameN classnameNj j )}j ]j )}j j.sbc.phy_restore_pageasbuh1hhj /ubj")}(h h]h }(hjO/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj /ubj )}(hj h]h*}(hj]/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj /ubj9)}(hphydevh]hphydev}(hjj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj /ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj /ubj )}(h int oldpageh](jM )}(hinth]hint}(hj/hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj/ubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj9)}(holdpageh]holdpage}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj /ubj )}(hint reth](jM )}(hinth]hint}(hj/hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj/ubj")}(h h]h }(hj/hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj9)}(hreth]hret}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj /ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.hhhj.hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj.hhhj.hMubah}(h]j.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.hMhj.hhubjg)}(hhh]jl)}(h2restore the page register and release the bus lockh]h2restore the page register and release the bus lock}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj/hhubah}(h]h ]h"]h$]h&]uh1jfhj.hhhj.hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhjdhNhNubj)}(hXL**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int oldpage`` the old page, return value from phy_save_page() or phy_select_page() ``int ret`` operation's return code **Description** Release the MDIO bus lock, restoring **oldpage** if it is a valid page. This function propagates the earliest error code from the group of operations. **Return** **oldpage** if it was a negative value, otherwise **ret** if it was a negative errno value, otherwise phy_write_page()'s negative value if it were in error, otherwise **ret**.h](jl)}(h**Parameters**h]j)}(hj 0h]h Parameters}(hj"0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj0ubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj?0h]hstruct phy_device *phydev}(hjA0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=0ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj90ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjX0hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjb0h]hstruct phy_device}(hjd0hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj`0ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhjT0hMhjX0ubeh}(h]h ]h"]h$]h&]uh1jkhjT0hMhjU0ubah}(h]h ]h"]h$]h&]uh1jhj90ubeh}(h]h ]h"]h$]h&]uh1jhjT0hMhj60ubj)}(hU``int oldpage`` the old page, return value from phy_save_page() or phy_select_page() h](j)}(h``int oldpage``h]j)}(hj0h]h int oldpage}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj0ubj)}(hhh]jl)}(hDthe old page, return value from phy_save_page() or phy_select_page()h]hDthe old page, return value from phy_save_page() or phy_select_page()}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj60ubj)}(h$``int ret`` operation's return code h](j)}(h ``int ret``h]j)}(hj0h]hint ret}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj0ubj)}(hhh]jl)}(hoperation's return codeh]hoperation’s return code}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj60ubeh}(h]h ]h"]h$]h&]uh1jhj0ubjl)}(h**Description**h]j)}(hj 1h]h Description}(hj 1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 1ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj0ubjl)}(hRelease the MDIO bus lock, restoring **oldpage** if it is a valid page. This function propagates the earliest error code from the group of operations.h](h%Release the MDIO bus lock, restoring }(hj!1hhhNhNubj)}(h **oldpage**h]holdpage}(hj)1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!1ubhf if it is a valid page. This function propagates the earliest error code from the group of operations.}(hj!1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj0ubjl)}(h **Return**h]j)}(hjD1h]hReturn}(hjF1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB1ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj0ubjl)}(h**oldpage** if it was a negative value, otherwise **ret** if it was a negative errno value, otherwise phy_write_page()'s negative value if it were in error, otherwise **ret**.h](j)}(h **oldpage**h]holdpage}(hj^1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ1ubh' if it was a negative value, otherwise }(hjZ1hhhNhNubj)}(h**ret**h]hret}(hjp1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ1ubhp if it was a negative errno value, otherwise phy_write_page()’s negative value if it were in error, otherwise }(hjZ1hhhNhNubj)}(h**ret**h]hret}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ1ubh.}(hjZ1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read_paged (C function)c.phy_read_pagedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hDint phy_read_paged (struct phy_device *phydev, int page, u32 regnum)h]j )}(hCint phy_read_paged(struct phy_device *phydev, int page, u32 regnum)h](jM )}(hinth]hint}(hj1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM7ubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1hhhj1hM7ubj3)}(hphy_read_pagedh]j9)}(hphy_read_pagedh]hphy_read_paged}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1hhhj1hM7ubj )}(h1(struct phy_device *phydev, int page, u32 regnum)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]j )}j j1sbc.phy_read_pagedasbuh1hhj1ubj")}(h h]h }(hj62hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hjD2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(hphydevh]hphydev}(hjQ2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(hint pageh](jM )}(hinth]hint}(hjj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjf2ubj")}(h h]h }(hjx2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjf2ubj9)}(hpageh]hpage}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjf2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]j22c.phy_read_pagedasbuh1hhj2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj9)}(hregnumh]hregnum}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj1hhhj1hM7ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1hhhj1hM7ubah}(h]j1ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hM7hj1hhubjg)}(hhh]jl)}(h1Convenience function for reading a paged registerh]h1Convenience function for reading a paged register}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM7hj2hhubah}(h]h ]h"]h$]h&]uh1jfhj1hhhj1hM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` the page for the phy ``u32 regnum`` register number **Description** Same rules as for phy_read().h](jl)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM;hj3ubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj93h]hstruct phy_device *phydev}(hj;3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj73ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM8hj33ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjR3hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj\3h]hstruct phy_device}(hj^3hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjZ3ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhjN3hM8hjR3ubeh}(h]h ]h"]h$]h&]uh1jkhjN3hM8hjO3ubah}(h]h ]h"]h$]h&]uh1jhj33ubeh}(h]h ]h"]h$]h&]uh1jhjN3hM8hj03ubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hj3h]hint page}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM9hj3ubj)}(hhh]jl)}(hthe page for the phyh]hthe page for the phy}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hM9hj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hM9hj03ubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hj3h]h u32 regnum}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM:hj3ubj)}(hhh]jl)}(hregister numberh]hregister number}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hM:hj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hM:hj03ubeh}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM<hj3ubjl)}(hSame rules as for phy_read().h]hSame rules as for phy_read().}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM;hj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write_paged (C function)c.phy_write_pagedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hNint phy_write_paged (struct phy_device *phydev, int page, u32 regnum, u16 val)h]j )}(hMint phy_write_paged(struct phy_device *phydev, int page, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjJ4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjF4hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMKubj")}(h h]h }(hjY4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjF4hhhjX4hMKubj3)}(hphy_write_pagedh]j9)}(hphy_write_pagedh]hphy_write_paged}(hjk4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjg4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjF4hhhjX4hMKubj )}(h:(struct phy_device *phydev, int page, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j )}j jm4sbc.phy_write_pagedasbuh1hhj4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hphydevh]hphydev}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(hint pageh](jM )}(hinth]hint}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj4ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj9)}(hpageh]hpage}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj15hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj35modnameN classnameNj j )}j ]j4c.phy_write_pagedasbuh1hhj*5ubj")}(h h]h }(hjO5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*5ubj9)}(hregnumh]hregnum}(hj]5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjy5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjv5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{5modnameN classnameNj j )}j ]j4c.phy_write_pagedasbuh1hhjr5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjr5ubj9)}(hvalh]hval}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjr5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjF4hhhjX4hMKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjB4hhhjX4hMKubah}(h]j=4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjX4hMKhj?4hhubjg)}(hhh]jl)}(h1Convenience function for writing a paged registerh]h1Convenience function for writing a paged register}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMKhj5hhubah}(h]h ]h"]h$]h&]uh1jfhj?4hhhjX4hMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` the page for the phy ``u32 regnum`` register number ``u16 val`` value to write **Description** Same rules as for phy_write().h](jl)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMOhj5ubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj6h]hstruct phy_device *phydev}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMLhj 6ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj)6hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj36h]hstruct phy_device}(hj56hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj16ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhj%6hMLhj)6ubeh}(h]h ]h"]h$]h&]uh1jkhj%6hMLhj&6ubah}(h]h ]h"]h$]h&]uh1jhj 6ubeh}(h]h ]h"]h$]h&]uh1jhj%6hMLhj6ubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hjh6h]hint page}(hjj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf6ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMMhjb6ubj)}(hhh]jl)}(hthe page for the phyh]hthe page for the phy}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}6hMMhj~6ubah}(h]h ]h"]h$]h&]uh1jhjb6ubeh}(h]h ]h"]h$]h&]uh1jhj}6hMMhj6ubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hj6h]h u32 regnum}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMNhj6ubj)}(hhh]jl)}(hregister numberh]hregister number}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMNhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMNhj6ubj)}(h``u16 val`` value to write h](j)}(h ``u16 val``h]j)}(hj6h]hu16 val}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMOhj6ubj)}(hhh]jl)}(hvalue to writeh]hvalue to write}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMOhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMOhj6ubeh}(h]h ]h"]h$]h&]uh1jhj5ubjl)}(h**Description**h]j)}(hj7h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMQhj5ubjl)}(hSame rules as for phy_write().h]hSame rules as for phy_write().}(hj+7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMPhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_modify_paged_changed (C function)c.phy_modify_paged_changedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(haint phy_modify_paged_changed (struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h]j )}(h`int phy_modify_paged_changed(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hjZ7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjV7hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM`ubj")}(h h]h }(hji7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjV7hhhjh7hM`ubj3)}(hphy_modify_paged_changedh]j9)}(hphy_modify_paged_changedh]hphy_modify_paged_changed}(hj{7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjw7ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjV7hhhjh7hM`ubj )}(hD(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]j )}j j}7sbc.phy_modify_paged_changedasbuh1hhj7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj7ubj9)}(hphydevh]hphydev}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hint pageh](jM )}(hinth]hint}(hj 8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj9)}(hpageh]hpage}(hj%8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjA8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjC8modnameN classnameNj j )}j ]j7c.phy_modify_paged_changedasbuh1hhj:8ubj")}(h h]h }(hj_8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:8ubj9)}(hregnumh]hregnum}(hjm8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j7c.phy_modify_paged_changedasbuh1hhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj9)}(hmaskh]hmask}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]j7c.phy_modify_paged_changedasbuh1hhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj9)}(hseth]hset}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjV7hhhjh7hM`ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjR7hhhjh7hM`ubah}(h]jM7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjh7hM`hjO7hhubjg)}(hhh]jl)}(h'Function for modifying a paged registerh]h'Function for modifying a paged register}(hj'9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM`hj$9hhubah}(h]h ]h"]h$]h&]uh1jfhjO7hhhjh7hM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?9jj?9jjjuh1hhhhjdhNhNubj)}(hX[**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` the page for the phy ``u32 regnum`` register number ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Description** Returns negative errno, 0 if there was no change, and 1 in case of changeh](jl)}(h**Parameters**h]j)}(hjI9h]h Parameters}(hjK9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG9ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMdhjC9ubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hjh9h]hstruct phy_device *phydev}(hjj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf9ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMahjb9ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj9hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj9h]hstruct phy_device}(hj9hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhj}9hMahj9ubeh}(h]h ]h"]h$]h&]uh1jkhj}9hMahj~9ubah}(h]h ]h"]h$]h&]uh1jhjb9ubeh}(h]h ]h"]h$]h&]uh1jhj}9hMahj_9ubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hj9h]hint page}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMbhj9ubj)}(hhh]jl)}(hthe page for the phyh]hthe page for the phy}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMbhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMbhj_9ubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hj9h]h u32 regnum}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMchj9ubj)}(hhh]jl)}(hregister numberh]hregister number}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMchj:ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj:hMchj_9ubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj2:h]hu16 mask}(hj4:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0:ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMdhj,:ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjK:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjG:hMdhjH:ubah}(h]h ]h"]h$]h&]uh1jhj,:ubeh}(h]h ]h"]h$]h&]uh1jhjG:hMdhj_9ubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjk:h]hu16 set}(hjm:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji:ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMehje:ubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hMehj:ubah}(h]h ]h"]h$]h&]uh1jhje:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMehj_9ubeh}(h]h ]h"]h$]h&]uh1jhjC9ubjl)}(h**Description**h]j)}(hj:h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMghjC9ubjl)}(hIReturns negative errno, 0 if there was no change, and 1 in case of changeh]hIReturns negative errno, 0 if there was no change, and 1 in case of change}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMfhjC9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modify_paged (C function)c.phy_modify_pagedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hYint phy_modify_paged (struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h]j )}(hXint phy_modify_paged(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hj:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMwubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:hhhj:hMwubj3)}(hphy_modify_pagedh]j9)}(hphy_modify_pagedh]hphy_modify_paged}(hj ;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj:hhhj:hMwubj )}(hD(struct phy_device *phydev, int page, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj(;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$;ubj")}(h h]h }(hj5;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$;ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjF;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjC;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjH;modnameN classnameNj j )}j ]j )}j j;sbc.phy_modify_pagedasbuh1hhj$;ubj")}(h h]h }(hjf;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$;ubj )}(hj h]h*}(hjt;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj$;ubj9)}(hphydevh]hphydev}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ;ubj )}(hint pageh](jM )}(hinth]hint}(hj;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubj9)}(hpageh]hpage}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ;ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNj j )}j ]jb;c.phy_modify_pagedasbuh1hhj;ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubj9)}(hregnumh]hregnum}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ;ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNj j )}j ]jb;c.phy_modify_pagedasbuh1hhj<ubj")}(h h]h }(hj8<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubj9)}(hmaskh]hmask}(hjF<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ;ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjb<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjd<modnameN classnameNj j )}j ]jb;c.phy_modify_pagedasbuh1hhj[<ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[<ubj9)}(hseth]hset}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ;ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj:hhhj:hMwubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj:hhhj:hMwubah}(h]j:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj:hMwhj:hhubjg)}(hhh]jl)}(h3Convenience function for modifying a paged registerh]h3Convenience function for modifying a paged register}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMwhj<hhubah}(h]h ]h"]h$]h&]uh1jfhj:hhhj:hMwubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjdhNhNubj)}(hX?**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``int page`` the page for the phy ``u32 regnum`` register number ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Description** Same rules as for phy_read() and phy_write().h](jl)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM{hj<ubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hj<h]hstruct phy_device *phydev}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMxhj<ubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hj=hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj=h]hstruct phy_device}(hj=hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhj=hMxhj=ubeh}(h]h ]h"]h$]h&]uh1jkhj=hMxhj=ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj=hMxhj<ubj)}(h"``int page`` the page for the phy h](j)}(h ``int page``h]j)}(hjQ=h]hint page}(hjS=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO=ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMyhjK=ubj)}(hhh]jl)}(hthe page for the phyh]hthe page for the phy}(hjj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjf=hMyhjg=ubah}(h]h ]h"]h$]h&]uh1jhjK=ubeh}(h]h ]h"]h$]h&]uh1jhjf=hMyhj<ubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hj=h]h u32 regnum}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chMzhj=ubj)}(hhh]jl)}(hregister numberh]hregister number}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hMzhj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hMzhj<ubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj=h]hu16 mask}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM{hj=ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hM{hj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hM{hj<ubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hj=h]hu16 set}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM|hj=ubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>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<ubjl)}(h**Description**h]j)}(hj7>h]h Description}(hj9>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5>ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM~hj<ubjl)}(h-Same rules as for phy_read() and phy_write().h]h-Same rules as for phy_read() and phy_write().}(hjM>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:119: ./drivers/net/phy/phy-core.chM}hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"genphy_c45_pma_resume (C function)c.genphy_c45_pma_resumehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h5int genphy_c45_pma_resume (struct phy_device *phydev)h]j )}(h4int genphy_c45_pma_resume(struct phy_device *phydev)h](jM )}(hinth]hint}(hj|>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjx>hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK2ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjx>hhhj>hK2ubj3)}(hgenphy_c45_pma_resumeh]j9)}(hgenphy_c45_pma_resumeh]hgenphy_c45_pma_resume}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjx>hhhj>hK2ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNj j )}j ]j )}j j>sbc.genphy_c45_pma_resumeasbuh1hhj>ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>ubj )}(hj h]h*}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj>ubj9)}(hphydevh]hphydev}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubah}(h]h ]h"]h$]h&]jPjQuh1j hjx>hhhj>hK2ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjt>hhhj>hK2ubah}(h]jo>ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj>hK2hjq>hhubjg)}(hhh]jl)}(hwakes up the PMA moduleh]hwakes up the PMA module}(hjhhhj>hK2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjT?jjT?jjjuh1hhhhjdhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hj^?h]h Parameters}(hj`?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\?ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK6hjX?ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj}?h]hstruct phy_device *phydev}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK8hjw?ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK3hj?ubah}(h]h ]h"]h$]h&]uh1jhjw?ubeh}(h]h ]h"]h$]h&]uh1jhj?hK8hjt?ubah}(h]h ]h"]h$]h&]uh1jhjX?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_pma_suspend (C function)c.genphy_c45_pma_suspendhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h6int genphy_c45_pma_suspend (struct phy_device *phydev)h]j )}(h5int genphy_c45_pma_suspend(struct phy_device *phydev)h](jM )}(hinth]hint}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK@ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?hhhj?hK@ubj3)}(hgenphy_c45_pma_suspendh]j9)}(hgenphy_c45_pma_suspendh]hgenphy_c45_pma_suspend}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj?hhhj?hK@ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj")}(h h]h }(hj!@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj2@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4@modnameN classnameNj j )}j ]j )}j j?sbc.genphy_c45_pma_suspendasbuh1hhj@ubj")}(h h]h }(hjR@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj )}(hj h]h*}(hj`@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@ubj9)}(hphydevh]hphydev}(hjm@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj @ubah}(h]h ]h"]h$]h&]jPjQuh1j hj?hhhj?hK@ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?hhhj?hK@ubah}(h]j?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj?hK@hj?hhubjg)}(hhh]jl)}(hsuspends the PMA moduleh]hsuspends the PMA module}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chK@hj@hhubah}(h]h ]h"]h$]h&]uh1jfhj?hhhj?hK@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1hhhhjdhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hj@h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKDhj@ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj@h]hstruct phy_device *phydev}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKFhj@ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKAhj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hKFhj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h5genphy_c45_pma_baset1_setup_master_slave (C function)*c.genphy_c45_pma_baset1_setup_master_slavehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hHint genphy_c45_pma_baset1_setup_master_slave (struct phy_device *phydev)h]j )}(hGint genphy_c45_pma_baset1_setup_master_slave(struct phy_device *phydev)h](jM )}(hinth]hint}(hj2AhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.AhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKNubj")}(h h]h }(hjAAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.Ahhhj@AhKNubj3)}(h(genphy_c45_pma_baset1_setup_master_slaveh]j9)}(h(genphy_c45_pma_baset1_setup_master_slaveh]h(genphy_c45_pma_baset1_setup_master_slave}(hjSAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOAubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.Ahhhj@AhKNubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjoAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkAubj")}(h h]h }(hj|AhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkAubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNj j )}j ]j )}j jUAsb*c.genphy_c45_pma_baset1_setup_master_slaveasbuh1hhjkAubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkAubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkAubj9)}(hphydevh]hphydev}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgAubah}(h]h ]h"]h$]h&]jPjQuh1j hj.Ahhhj@AhKNubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*Ahhhj@AhKNubah}(h]j%Aah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@AhKNhj'Ahhubjg)}(hhh]jl)}(h6configures forced master/slave role of BaseT1 devices.h]h6configures forced master/slave role of BaseT1 devices.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKNhjAhhubah}(h]h ]h"]h$]h&]uh1jfhj'Ahhhj@AhKNubeh}(h]h ](jfunctioneh"]h$]h&]jjjj Bjj Bjjjuh1hhhhjdhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hjBh]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKRhjBubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj3Bh]hstruct phy_device *phydev}(hj5BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1Bubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKThj-Bubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjLBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKPhjIBubah}(h]h ]h"]h$]h&]uh1jhj-Bubeh}(h]h ]h"]h$]h&]uh1jhjHBhKThj*Bubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(genphy_c45_pma_setup_forced (C function)c.genphy_c45_pma_setup_forcedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h;int genphy_c45_pma_setup_forced (struct phy_device *phydev)h]j )}(h:int genphy_c45_pma_setup_forced(struct phy_device *phydev)h](jM )}(hinth]hint}(hjBhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKlubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBhhhjBhKlubj3)}(hgenphy_c45_pma_setup_forcedh]j9)}(hgenphy_c45_pma_setup_forcedh]hgenphy_c45_pma_setup_forced}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjBhhhjBhKlubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNj j )}j ]j )}j jBsbc.genphy_c45_pma_setup_forcedasbuh1hhjBubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj )}(hj h]h*}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBubj9)}(hphydevh]hphydev}(hj#ChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubah}(h]h ]h"]h$]h&]jPjQuh1j hjBhhhjBhKlubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjBhhhjBhKlubah}(h]jBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjBhKlhjBhhubjg)}(hhh]jl)}(hconfigures a forced speedh]hconfigures a forced speed}(hjMChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKlhjJChhubah}(h]h ]h"]h$]h&]uh1jfhjBhhhjBhKlubeh}(h]h ](jfunctioneh"]h$]h&]jjjjeCjjeCjjjuh1hhhhjdhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hjoCh]h Parameters}(hjqChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmCubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKphjiCubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjCh]hstruct phy_device *phydev}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKrhjCubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chKmhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChKrhjCubah}(h]h ]h"]h$]h&]uh1jhjiCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&genphy_c45_an_config_aneg (C function)c.genphy_c45_an_config_aneghNtauh1hhjdhhhNhNubh)}(hhh](j)}(h9int genphy_c45_an_config_aneg (struct phy_device *phydev)h]j )}(h8int genphy_c45_an_config_aneg(struct phy_device *phydev)h](jM )}(hinth]hint}(hjChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjChhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjChhhjChMubj3)}(hgenphy_c45_an_config_anegh]j9)}(hgenphy_c45_an_config_anegh]hgenphy_c45_an_config_aneg}(hj DhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjChhhjChMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj%DhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!Dubj")}(h h]h }(hj2DhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!Dubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjCDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@Dubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEDmodnameN classnameNj j )}j ]j )}j j Dsbc.genphy_c45_an_config_anegasbuh1hhj!Dubj")}(h h]h }(hjcDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!Dubj )}(hj h]h*}(hjqDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!Dubj9)}(hphydevh]hphydev}(hj~DhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!Dubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubah}(h]h ]h"]h$]h&]jPjQuh1j hjChhhjChMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjChhhjChMubah}(h]jCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjChMhjChhubjg)}(hhh]jl)}(h!configure advertisement registersh]h!configure advertisement registers}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjDhhubah}(h]h ]h"]h$]h&]uh1jfhjChhhjChMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Configure advertisement registers based on modes set in phydev->advertising Returns negative errno code on failure, 0 if advertisement didn't change, or 1 if advertised modes changed.h](jl)}(h**Parameters**h]j)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM hjDubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjDh]hstruct phy_device *phydev}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjDubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjDubah}(h]h ]h"]h$]h&]uh1jhjDubjl)}(h**Description**h]j)}(hj$Eh]h Description}(hj&EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Eubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjDubjl)}(hKConfigure advertisement registers based on modes set in phydev->advertisingh]hKConfigure advertisement registers based on modes set in phydev->advertising}(hj:EhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjDubjl)}(hkReturns negative errno code on failure, 0 if advertisement didn't change, or 1 if advertised modes changed.h]hmReturns negative errno code on failure, 0 if advertisement didn’t change, or 1 if advertised modes changed.}(hjIEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM hjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_an_disable_aneg (C function)c.genphy_c45_an_disable_aneghNtauh1hhjdhhhNhNubh)}(hhh](j)}(h:int genphy_c45_an_disable_aneg (struct phy_device *phydev)h]j )}(h9int genphy_c45_an_disable_aneg(struct phy_device *phydev)h](jM )}(hinth]hint}(hjxEhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjtEhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtEhhhjEhM9ubj3)}(hgenphy_c45_an_disable_anegh]j9)}(hgenphy_c45_an_disable_anegh]hgenphy_c45_an_disable_aneg}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjtEhhhjEhM9ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNj j )}j ]j )}j jEsbc.genphy_c45_an_disable_anegasbuh1hhjEubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(hphydevh]hphydev}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEubah}(h]h ]h"]h$]h&]jPjQuh1j hjtEhhhjEhM9ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjpEhhhjEhM9ubah}(h]jkEah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjEhM9hjmEhhubjg)}(hhh]jl)}(hdisable auto-negotiationh]hdisable auto-negotiation}(hj8FhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM9hj5Fhhubah}(h]h ]h"]h$]h&]uh1jfhjmEhhhjEhM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPFjjPFjjjuh1hhhhjdhNhNubj)}(hX **Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Disable auto-negotiation in the Clause 45 PHY. The link parameters are controlled through the PMA/PMD MMD registers. Returns zero on success, negative errno code on failure.h](jl)}(h**Parameters**h]j)}(hjZFh]h Parameters}(hj\FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXFubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM=hjTFubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjyFh]hstruct phy_device *phydev}(hj{FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM:hjsFubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhM:hjFubah}(h]h ]h"]h$]h&]uh1jhjsFubeh}(h]h ]h"]h$]h&]uh1jhjFhM:hjpFubah}(h]h ]h"]h$]h&]uh1jhjTFubjl)}(h**Description**h]j)}(hjFh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM<hjTFubjl)}(htDisable auto-negotiation in the Clause 45 PHY. The link parameters are controlled through the PMA/PMD MMD registers.h]htDisable auto-negotiation in the Clause 45 PHY. The link parameters are controlled through the PMA/PMD MMD registers.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM;hjTFubjl)}(h8Returns zero on success, negative errno code on failure.h]h8Returns zero on success, negative errno code on failure.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM>hjTFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_restart_aneg (C function)c.genphy_c45_restart_aneghNtauh1hhjdhhhNhNubh)}(hhh](j)}(h7int genphy_c45_restart_aneg (struct phy_device *phydev)h]j )}(h6int genphy_c45_restart_aneg(struct phy_device *phydev)h](jM )}(hinth]hint}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMNubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGhhhjGhMNubj3)}(hgenphy_c45_restart_anegh]j9)}(hgenphy_c45_restart_anegh]hgenphy_c45_restart_aneg}(hj)GhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%Gubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjGhhhjGhMNubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjEGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAGubj")}(h h]h }(hjRGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAGubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjcGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`Gubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjeGmodnameN classnameNj j )}j ]j )}j j+Gsbc.genphy_c45_restart_anegasbuh1hhjAGubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAGubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAGubj9)}(hphydevh]hphydev}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=Gubah}(h]h ]h"]h$]h&]jPjQuh1j hjGhhhjGhMNubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjGhhhjGhMNubah}(h]jFah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhMNhjFhhubjg)}(hhh]jl)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMNhjGhhubah}(h]h ]h"]h$]h&]uh1jfhjFhhhjGhMNubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** This assumes that the auto-negotiation MMD is present. Enable and restart auto-negotiation.h](jl)}(h**Parameters**h]j)}(hjGh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMRhjGubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj Hh]hstruct phy_device *phydev}(hj HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMOhjHubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj"HhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjHhMOhjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMOhjHubah}(h]h ]h"]h$]h&]uh1jhjGubjl)}(h**Description**h]j)}(hjDHh]h Description}(hjFHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBHubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMQhjGubjl)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hjZHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMPhjGubjl)}(h$Enable and restart auto-negotiation.h]h$Enable and restart auto-negotiation.}(hjiHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMRhjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.genphy_c45_check_and_restart_aneg (C function)#c.genphy_c45_check_and_restart_aneghNtauh1hhjdhhhNhNubh)}(hhh](j)}(hOint genphy_c45_check_and_restart_aneg (struct phy_device *phydev, bool restart)h]j )}(hNint genphy_c45_check_and_restart_aneg(struct phy_device *phydev, bool restart)h](jM )}(hinth]hint}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMbubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHhhhjHhMbubj3)}(h!genphy_c45_check_and_restart_anegh]j9)}(h!genphy_c45_check_and_restart_anegh]h!genphy_c45_check_and_restart_aneg}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjHhhhjHhMbubj )}(h)(struct phy_device *phydev, bool restart)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]j )}j jHsb#c.genphy_c45_check_and_restart_anegasbuh1hhjHubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hj!IhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(hphydevh]hphydev}(hj.IhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubj )}(h bool restarth](jM )}(hjh]hbool}(hjGIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjCIubj")}(h h]h }(hjTIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCIubj9)}(hrestarth]hrestart}(hjbIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCIubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubeh}(h]h ]h"]h$]h&]jPjQuh1j hjHhhhjHhMbubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHhhhjHhMbubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHhMbhjHhhubjg)}(hhh]jl)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMbhjIhhubah}(h]h ]h"]h$]h&]uh1jfhjHhhhjHhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool restart`` whether aneg restart is requested **Description** This assumes that the auto-negotiation MMD is present. Check, and restart auto-negotiation if needed.h](jl)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMfhjIubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjIh]hstruct phy_device *phydev}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMchjIubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMchjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhMchjIubj)}(h3``bool restart`` whether aneg restart is requested h](j)}(h``bool restart``h]j)}(hjJh]h bool restart}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMdhjJubj)}(hhh]jl)}(h!whether aneg restart is requestedh]h!whether aneg restart is requested}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJhMdhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMdhjIubeh}(h]h ]h"]h$]h&]uh1jhjIubjl)}(h**Description**h]j)}(hjAJh]h Description}(hjCJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?Jubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMfhjIubjl)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hjWJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMehjIubjl)}(h.Check, and restart auto-negotiation if needed.h]h.Check, and restart auto-negotiation if needed.}(hjfJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMghjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&genphy_c45_pma_soft_reset (C function)c.genphy_c45_pma_soft_resethNtauh1hhjdhhhNhNubh)}(hhh](j)}(h9int genphy_c45_pma_soft_reset (struct phy_device *phydev)h]j )}(h8int genphy_c45_pma_soft_reset(struct phy_device *phydev)h](jM )}(hinth]hint}(hjJhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjJhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJhhhjJhMubj3)}(hgenphy_c45_pma_soft_reseth]j9)}(hgenphy_c45_pma_soft_reseth]hgenphy_c45_pma_soft_reset}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjJhhhjJhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]j )}j jJsbc.genphy_c45_pma_soft_resetasbuh1hhjJubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj )}(hj h]h*}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJubj9)}(hphydevh]hphydev}(hj+KhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubah}(h]h ]h"]h$]h&]jPjQuh1j hjJhhhjJhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjJhhhjJhMubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjJhMhjJhhubjg)}(hhh]jl)}(h=software reset the PHY via Clause 45 PMA/PMD control registerh]h=software reset the PHY via Clause 45 PMA/PMD control register}(hjUKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjRKhhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjJhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmKjjmKjjjuh1hhhhjdhNhNubj)}(h~**Parameters** ``struct phy_device *phydev`` target phy_device struct **Return** 0 on success, negative errno on failure.h](jl)}(h**Parameters**h]j)}(hjwKh]h Parameters}(hjyKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuKubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjqKubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjKh]hstruct phy_device *phydev}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjKubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjqKubjl)}(h **Return**h]j)}(hjKh]hReturn}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjqKubjl)}(h(0 on success, negative errno on failure.h]h(0 on success, negative errno on failure.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjqKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_aneg_done (C function)c.genphy_c45_aneg_donehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h4int genphy_c45_aneg_done (struct phy_device *phydev)h]j )}(h3int genphy_c45_aneg_done(struct phy_device *phydev)h](jM )}(hinth]hint}(hjLhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hj%LhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhj$LhMubj3)}(hgenphy_c45_aneg_doneh]j9)}(hgenphy_c45_aneg_doneh]hgenphy_c45_aneg_done}(hj7LhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3Lubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjLhhhj$LhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjSLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOLubj")}(h h]h }(hj`LhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOLubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjqLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsLmodnameN classnameNj j )}j ]j )}j j9Lsbc.genphy_c45_aneg_doneasbuh1hhjOLubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOLubj )}(hj h]h*}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjOLubj9)}(hphydevh]hphydev}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjKLubah}(h]h ]h"]h$]h&]jPjQuh1j hjLhhhj$LhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjLhhhj$LhMubah}(h]j Lah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$LhMhj Lhhubjg)}(hhh]jl)}(h'return auto-negotiation complete statush]h'return auto-negotiation complete status}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjLhhubah}(h]h ]h"]h$]h&]uh1jfhj Lhhhj$LhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjdhNhNubj)}(hX1**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** This assumes that the auto-negotiation MMD is present. Reads the status register from the auto-negotiation MMD, returning: - positive if auto-negotiation is complete - negative errno code on error - zero otherwiseh](jl)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjLubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjMh]hstruct phy_device *phydev}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjMubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj0MhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,MhMhj-Mubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhj,MhMhjMubah}(h]h ]h"]h$]h&]uh1jhjLubjl)}(h**Description**h]j)}(hjRMh]h Description}(hjTMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPMubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjLubjl)}(h6This assumes that the auto-negotiation MMD is present.h]h6This assumes that the auto-negotiation MMD is present.}(hjhMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjLubjl)}(hReads the status register from the auto-negotiation MMD, returning: - positive if auto-negotiation is complete - negative errno code on error - zero otherwiseh]hReads the status register from the auto-negotiation MMD, returning: - positive if auto-negotiation is complete - negative errno code on error - zero otherwise}(hjwMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_read_link (C function)c.genphy_c45_read_linkhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h4int genphy_c45_read_link (struct phy_device *phydev)h]j )}(h3int genphy_c45_read_link(struct phy_device *phydev)h](jM )}(hinth]hint}(hjMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMhhhjMhMubj3)}(hgenphy_c45_read_linkh]j9)}(hgenphy_c45_read_linkh]hgenphy_c45_read_link}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMhhhjMhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNj j )}j ]j )}j jMsbc.genphy_c45_read_linkasbuh1hhjMubj")}(h h]h }(hj!NhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj )}(hj h]h*}(hj/NhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjMubj9)}(hphydevh]hphydev}(hjlink to 1. If an error is encountered, a negative errno will be returned, otherwise zero.h](jl)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjNubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjNh]hstruct phy_device *phydev}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjNubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubjl)}(h**Description**h]j)}(hjNh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjNubjl)}(hRead the link status from the specified MMDs, and if they all indicate that the link is up, set phydev->link to 1. If an error is encountered, a negative errno will be returned, otherwise zero.h]hRead the link status from the specified MMDs, and if they all indicate that the link is up, set phydev->link to 1. If an error is encountered, a negative errno will be returned, otherwise zero.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_c45_read_lpa (C function)c.genphy_c45_read_lpahNtauh1hhjdhhhNhNubh)}(hhh](j)}(h3int genphy_c45_read_lpa (struct phy_device *phydev)h]j )}(h2int genphy_c45_read_lpa(struct phy_device *phydev)h](jM )}(hinth]hint}(hj'OhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj#OhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMtubj")}(h h]h }(hj6OhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#Ohhhj5OhMtubj3)}(hgenphy_c45_read_lpah]j9)}(hgenphy_c45_read_lpah]hgenphy_c45_read_lpa}(hjHOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj#Ohhhj5OhMtubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjdOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`Oubj")}(h h]h }(hjqOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`Oubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j jJOsbc.genphy_c45_read_lpaasbuh1hhj`Oubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`Oubj )}(hj h]h*}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj`Oubj9)}(hphydevh]hphydev}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`Oubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj\Oubah}(h]h ]h"]h$]h&]jPjQuh1j hj#Ohhhj5OhMtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjOhhhj5OhMtubah}(h]jOah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj5OhMthjOhhubjg)}(hhh]jl)}(h-read the link partner advertisement and pauseh]h-read the link partner advertisement and pause}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMthjOhhubah}(h]h ]h"]h$]h&]uh1jfhjOhhhj5OhMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Read the Clause 45 defined base (7.19) and 10G (7.33) status registers, filling in the link partner advertisement, pause and asym_pause members in **phydev**. This assumes that the auto-negotiation MMD is present, and the backplane bit (7.48.0) is clear. Clause 45 PHY drivers are expected to fill in the remainder of the link partner advert from vendor registers.h](jl)}(h**Parameters**h]j)}(hj Ph]h Parameters}(hj PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMxhjPubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj(Ph]hstruct phy_device *phydev}(hj*PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&Pubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMuhj"Pubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjAPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=PhMuhj>Pubah}(h]h ]h"]h$]h&]uh1jhj"Pubeh}(h]h ]h"]h$]h&]uh1jhj=PhMuhjPubah}(h]h ]h"]h$]h&]uh1jhjPubjl)}(h**Description**h]j)}(hjcPh]h Description}(hjePhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaPubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMwhjPubjl)}(hXnRead the Clause 45 defined base (7.19) and 10G (7.33) status registers, filling in the link partner advertisement, pause and asym_pause members in **phydev**. This assumes that the auto-negotiation MMD is present, and the backplane bit (7.48.0) is clear. Clause 45 PHY drivers are expected to fill in the remainder of the link partner advert from vendor registers.h](hRead the Clause 45 defined base (7.19) and 10G (7.33) status registers, filling in the link partner advertisement, pause and asym_pause members in }(hjyPhhhNhNubj)}(h **phydev**h]hphydev}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyPubh. This assumes that the auto-negotiation MMD is present, and the backplane bit (7.48.0) is clear. Clause 45 PHY drivers are expected to fill in the remainder of the link partner advert from vendor registers.}(hjyPhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMvhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h4genphy_c45_pma_baset1_read_master_slave (C function))c.genphy_c45_pma_baset1_read_master_slavehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hGint genphy_c45_pma_baset1_read_master_slave (struct phy_device *phydev)h]j )}(hFint genphy_c45_pma_baset1_read_master_slave(struct phy_device *phydev)h](jM )}(hinth]hint}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPhhhjPhMubj3)}(h'genphy_c45_pma_baset1_read_master_slaveh]j9)}(h'genphy_c45_pma_baset1_read_master_slaveh]h'genphy_c45_pma_baset1_read_master_slave}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjPhhhjPhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjQhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]j )}j jPsb)c.genphy_c45_pma_baset1_read_master_slaveasbuh1hhjPubj")}(h h]h }(hj5QhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjCQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hphydevh]hphydev}(hjPQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubah}(h]h ]h"]h$]h&]jPjQuh1j hjPhhhjPhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjPhhhjPhMubah}(h]jPah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjPhMhjPhhubjg)}(hhh]jl)}(h&read forced master/slave configurationh]h&read forced master/slave configuration}(hjzQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjwQhhubah}(h]h ]h"]h$]h&]uh1jfhjPhhhjPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhjdhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjQubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjQh]hstruct phy_device *phydev}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjQubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_c45_read_pma (C function)c.genphy_c45_read_pmahNtauh1hhjdhhhNhNubh)}(hhh](j)}(h3int genphy_c45_read_pma (struct phy_device *phydev)h]j )}(h2int genphy_c45_read_pma(struct phy_device *phydev)h](jM )}(hinth]hint}(hjRhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hj$RhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRhhhj#RhMubj3)}(hgenphy_c45_read_pmah]j9)}(hgenphy_c45_read_pmah]hgenphy_c45_read_pma}(hj6RhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2Rubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjRhhhj#RhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjRRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNRubj")}(h h]h }(hj_RhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNRubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjpRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrRmodnameN classnameNj j )}j ]j )}j j8Rsbc.genphy_c45_read_pmaasbuh1hhjNRubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNRubj )}(hj h]h*}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNRubj9)}(hphydevh]hphydev}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNRubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJRubah}(h]h ]h"]h$]h&]jPjQuh1j hjRhhhj#RhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj Rhhhj#RhMubah}(h]jRah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj#RhMhj Rhhubjg)}(hhh]jl)}(hread link speed etc from PMAh]hread link speed etc from PMA}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjRhhubah}(h]h ]h"]h$]h&]uh1jfhj Rhhhj#RhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhjdhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hjRh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjRubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjSh]hstruct phy_device *phydev}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjSubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj/ShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj,Subah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhj+ShMhj Subah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_c45_read_mdix (C function)c.genphy_c45_read_mdixhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h4int genphy_c45_read_mdix (struct phy_device *phydev)h]j )}(h3int genphy_c45_read_mdix(struct phy_device *phydev)h](jM )}(hinth]hint}(hjpShhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjlShhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlShhhj~ShMubj3)}(hgenphy_c45_read_mdixh]j9)}(hgenphy_c45_read_mdixh]hgenphy_c45_read_mdix}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlShhhj~ShMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]j )}j jSsbc.genphy_c45_read_mdixasbuh1hhjSubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjSubj )}(hj h]h*}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjSubj9)}(hphydevh]hphydev}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjSubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjSubah}(h]h ]h"]h$]h&]jPjQuh1j hjlShhhj~ShMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhShhhj~ShMubah}(h]jcSah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj~ShMhjeShhubjg)}(hhh]jl)}(hread mdix status from PMAh]hread mdix status from PMA}(hj0ThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj-Thhubah}(h]h ]h"]h$]h&]uh1jfhjeShhhj~ShMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHTjjHTjjjuh1hhhhjdhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hjRTh]h Parameters}(hjTThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPTubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjLTubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjqTh]hstruct phy_device *phydev}(hjsThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjkTubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjTubah}(h]h ]h"]h$]h&]uh1jhjkTubeh}(h]h ]h"]h$]h&]uh1jhjThMhjhTubah}(h]h ]h"]h$]h&]uh1jhjLTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_c45_read_eee_abilities (C function)c.genphy_c45_read_eee_abilitieshNtauh1hhjdhhhNhNubh)}(hhh](j)}(h=int genphy_c45_read_eee_abilities (struct phy_device *phydev)h]j )}(hXhhubah}(h]h ]h"]h$]h&]uh1jfhjvWhhhjWhM3ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYXjjYXjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Read the supported link modes from the extended BASE-T1 ability registerh](jl)}(h**Parameters**h]j)}(hjcXh]h Parameters}(hjeXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaXubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM7hj]Xubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjXh]hstruct phy_device *phydev}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM4hj|Xubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjXhM4hjXubah}(h]h ]h"]h$]h&]uh1jhj|Xubeh}(h]h ]h"]h$]h&]uh1jhjXhM4hjyXubah}(h]h ]h"]h$]h&]uh1jhj]Xubjl)}(h**Description**h]j)}(hjXh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM6hj]Xubjl)}(hHRead the supported link modes from the extended BASE-T1 ability registerh]hHRead the supported link modes from the extended BASE-T1 ability register}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM5hj]Xubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h.genphy_c45_pma_read_ext_abilities (C function)#c.genphy_c45_pma_read_ext_abilitieshNtauh1hhjdhhhNhNubh)}(hhh](j)}(hAint genphy_c45_pma_read_ext_abilities (struct phy_device *phydev)h]j )}(h@int genphy_c45_pma_read_ext_abilities(struct phy_device *phydev)h](jM )}(hinth]hint}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjXhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMYubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXhhhjYhMYubj3)}(h!genphy_c45_pma_read_ext_abilitiesh]j9)}(h!genphy_c45_pma_read_ext_abilitiesh]h!genphy_c45_pma_read_ext_abilities}(hj#YhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjXhhhjYhMYubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj?YhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;Yubj")}(h h]h }(hjLYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;Yubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj]YhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_YmodnameN classnameNj j )}j ]j )}j j%Ysb#c.genphy_c45_pma_read_ext_abilitiesasbuh1hhj;Yubj")}(h h]h }(hj}YhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;Yubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj;Yubj9)}(hphydevh]hphydev}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;Yubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7Yubah}(h]h ]h"]h$]h&]jPjQuh1j hjXhhhjYhMYubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhjYhMYubah}(h]jXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjYhMYhjXhhubjg)}(hhh]jl)}(h"read supported link modes from PMAh]h"read supported link modes from PMA}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMYhjYhhubah}(h]h ]h"]h$]h&]uh1jfhjXhhhjYhMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Read the supported link modes from the PMA/PMD extended ability register (Register 1.11).h](jl)}(h**Parameters**h]j)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM]hjYubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjZh]hstruct phy_device *phydev}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMZhjYubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhMZhjZubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjZhMZhjYubah}(h]h ]h"]h$]h&]uh1jhjYubjl)}(h**Description**h]j)}(hj>Zh]h Description}(hj@ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj\ubjl)}(h>Reads status from PHY and sets phy_device members accordingly.h]h>Reads status from PHY and sets phy_device members accordingly.}(hjV]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c45_config_aneg (C function)c.genphy_c45_config_aneghNtauh1hhjdhhhNhNubh)}(hhh](j)}(h6int genphy_c45_config_aneg (struct phy_device *phydev)h]j )}(h5int genphy_c45_config_aneg(struct phy_device *phydev)h](jM )}(hinth]hint}(hj]hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM,ubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]hhhj]hM,ubj3)}(hgenphy_c45_config_anegh]j9)}(hgenphy_c45_config_anegh]hgenphy_c45_config_aneg}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj]hhhj]hM,ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNj j )}j ]j )}j j]sbc.genphy_c45_config_anegasbuh1hhj]ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]ubj )}(hj h]h*}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj]ubj9)}(hphydevh]hphydev}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubah}(h]h ]h"]h$]h&]jPjQuh1j hj]hhhj]hM,ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}]hhhj]hM,ubah}(h]jx]ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hM,hjz]hhubjg)}(hhh]jl)}(h(restart auto-negotiation or forced setuph]h(restart auto-negotiation or forced setup}(hjE^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM,hjB^hhubah}(h]h ]h"]h$]h&]uh1jfhjz]hhhj]hM,ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]^jj]^jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** If auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we force a configuration.h](jl)}(h**Parameters**h]j)}(hjg^h]h Parameters}(hji^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje^ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM0hja^ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj^h]hstruct phy_device *phydev}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM-hj^ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hM-hj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hM-hj}^ubah}(h]h ]h"]h$]h&]uh1jhja^ubjl)}(h**Description**h]j)}(hj^h]h Description}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM/hja^ubj)}(hhh]j)}(hIf auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we force a configuration.h](j)}(h0If auto-negotiation is enabled, we configure theh]h0If auto-negotiation is enabled, we configure the}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM0hj^ubj)}(hhh]jl)}(headvertising, and then restart auto-negotiation. If it is not enabled, then we force a configuration.h]headvertising, and then restart auto-negotiation. If it is not enabled, then we force a configuration.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hM0hj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hM0hj^ubah}(h]h ]h"]h$]h&]uh1jhja^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_fast_retrain (C function)c.genphy_c45_fast_retrainhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hDint genphy_c45_fast_retrain (struct phy_device *phydev, bool enable)h]j )}(hCint genphy_c45_fast_retrain(struct phy_device *phydev, bool enable)h](jM )}(hinth]hint}(hj0_hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj,_hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMaubj")}(h h]h }(hj?_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,_hhhj>_hMaubj3)}(hgenphy_c45_fast_retrainh]j9)}(hgenphy_c45_fast_retrainh]hgenphy_c45_fast_retrain}(hjQ_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjM_ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,_hhhj>_hMaubj )}(h((struct phy_device *phydev, bool enable)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjm_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji_ubj")}(h h]h }(hjz_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hji_ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]j )}j jS_sbc.genphy_c45_fast_retrainasbuh1hhji_ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hji_ubj )}(hj h]h*}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hji_ubj9)}(hphydevh]hphydev}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hji_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hje_ubj )}(h bool enableh](jM )}(hjh]hbool}(hj_hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj_ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubj9)}(henableh]henable}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hje_ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj,_hhhj>_hMaubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj(_hhhj>_hMaubah}(h]j#_ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj>_hMahj%_hhubjg)}(hhh]jl)}(h configure fast retrain registersh]h configure fast retrain registers}(hj$`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMahj!`hhubah}(h]h ]h"]h$]h&]uh1jfhj%_hhhj>_hMaubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<`jj<`jjjuh1hhhhjdhNhNubj)}(hXK**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool enable`` enable fast retrain or not **Description** If fast-retrain is enabled, we configure PHY as advertising fast retrain capable and THP Bypass Request, then enable fast retrain. If it is not enabled, we configure fast retrain disabled.h](jl)}(h**Parameters**h]j)}(hjF`h]h Parameters}(hjH`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD`ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMehj@`ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hje`h]hstruct phy_device *phydev}(hjg`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc`ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMbhj_`ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj~`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjz`hMbhj{`ubah}(h]h ]h"]h$]h&]uh1jhj_`ubeh}(h]h ]h"]h$]h&]uh1jhjz`hMbhj\`ubj)}(h+``bool enable`` enable fast retrain or not h](j)}(h``bool enable``h]j)}(hj`h]h bool enable}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMchj`ubj)}(hhh]jl)}(henable fast retrain or noth]henable fast retrain or not}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj`hMchj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMchj\`ubeh}(h]h ]h"]h$]h&]uh1jhj@`ubjl)}(h**Description**h]j)}(hj`h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMehj@`ubj)}(hhh]j)}(hIf fast-retrain is enabled, we configure PHY as advertising fast retrain capable and THP Bypass Request, then enable fast retrain. If it is not enabled, we configure fast retrain disabled.h](j)}(h/If fast-retrain is enabled, we configure PHY ash]h/If fast-retrain is enabled, we configure PHY as}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMghj`ubj)}(hhh]jl)}(hadvertising fast retrain capable and THP Bypass Request, then enable fast retrain. If it is not enabled, we configure fast retrain disabled.h]hadvertising fast retrain capable and THP Bypass Request, then enable fast retrain. If it is not enabled, we configure fast retrain disabled.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMfhjaubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhjahMghj`ubah}(h]h ]h"]h$]h&]uh1jhj@`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_plca_get_cfg (C function)c.genphy_c45_plca_get_cfghNtauh1hhjdhhhNhNubh)}(hhh](j)}(hVint genphy_c45_plca_get_cfg (struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h]j )}(hUint genphy_c45_plca_get_cfg(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h](jM )}(hinth]hint}(hjIahhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjEahhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjXahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEahhhjWahMubj3)}(hgenphy_c45_plca_get_cfgh]j9)}(hgenphy_c45_plca_get_cfgh]hgenphy_c45_plca_get_cfg}(hjjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfaubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjEahhhjWahMubj )}(h:(struct phy_device *phydev, struct phy_plca_cfg *plca_cfg)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNj j )}j ]j )}j jlasbc.genphy_c45_plca_get_cfgasbuh1hhjaubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj )}(hj h]h*}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaubj9)}(hphydevh]hphydev}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~aubj )}(hstruct phy_plca_cfg *plca_cfgh](j)}(hjh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubh)}(hhh]j9)}(h phy_plca_cfgh]h phy_plca_cfg}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]jac.genphy_c45_plca_get_cfgasbuh1hhjaubj")}(h h]h }(hj4bhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj )}(hj h]h*}(hjBbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaubj9)}(hplca_cfgh]hplca_cfg}(hjObhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~aubeh}(h]h ]h"]h$]h&]jPjQuh1j hjEahhhjWahMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAahhhjWahMubah}(h]jahhubjg)}(hhh]jl)}(h.get PLCA configuration from standard registersh]h.get PLCA configuration from standard registers}(hjybhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjvbhhubah}(h]h ]h"]h$]h&]uh1jfhj>ahhhjWahMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct phy_plca_cfg *plca_cfg`` output structure to store the PLCA configuration **Description** if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to retrieve the current PLCA configuration from the standard registers in MMD 31.h](jl)}(h**Parameters**h]j)}(hjbh]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjbubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjbh]hstruct phy_device *phydev}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjbubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhMhjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjbubj)}(hS``struct phy_plca_cfg *plca_cfg`` output structure to store the PLCA configuration h](j)}(h!``struct phy_plca_cfg *plca_cfg``h]j)}(hjbh]hstruct phy_plca_cfg *plca_cfg}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjbubj)}(hhh]jl)}(h0output structure to store the PLCA configurationh]h0output structure to store the PLCA configuration}(hj chhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMhj cubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjchMhjbubeh}(h]h ]h"]h$]h&]uh1jhjbubjl)}(h**Description**h]j)}(hj.ch]h Description}(hj0chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,cubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjbubj)}(hhh]j)}(hif the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to retrieve the current PLCA configuration from the standard registers in MMD 31.h](j)}(h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCAh]h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA}(hjKchhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjGcubj)}(hhh]jl)}(hManagement Registers specifications, this function can be used to retrieve the current PLCA configuration from the standard registers in MMD 31.h]hManagement Registers specifications, this function can be used to retrieve the current PLCA configuration from the standard registers in MMD 31.}(hj]chhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYchMhjZcubah}(h]h ]h"]h$]h&]uh1jhjGcubeh}(h]h ]h"]h$]h&]uh1jhjYchMhjDcubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_c45_plca_set_cfg (C function)c.genphy_c45_plca_set_cfghNtauh1hhjdhhhNhNubh)}(hhh](j)}(h\int genphy_c45_plca_set_cfg (struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg)h]j )}(h[int genphy_c45_plca_set_cfg(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg)h](jM )}(hinth]hint}(hjchhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjchhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjchhhjchMubj3)}(hgenphy_c45_plca_set_cfgh]j9)}(hgenphy_c45_plca_set_cfgh]hgenphy_c45_plca_set_cfg}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjchhhjchMubj )}(h@(struct phy_device *phydev, const struct phy_plca_cfg *plca_cfg)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]j )}j jcsbc.genphy_c45_plca_set_cfgasbuh1hhjcubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hj&dhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hphydevh]hphydev}(hj3dhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubj )}(h#const struct phy_plca_cfg *plca_cfgh](j)}(hj h]hconst}(hjLdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHdubj")}(h h]h }(hjYdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHdubj)}(hjh]hstruct}(hjgdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHdubj")}(h h]h }(hjtdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHdubh)}(hhh]j9)}(h phy_plca_cfgh]h phy_plca_cfg}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNj j )}j ]jdc.genphy_c45_plca_set_cfgasbuh1hhjHdubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHdubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHdubj9)}(hplca_cfgh]hplca_cfg}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHdubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubeh}(h]h ]h"]h$]h&]jPjQuh1j hjchhhjchMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjchhhjchMubah}(h]jcah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjchMhjchhubjg)}(hhh]jl)}(h/set PLCA configuration using standard registersh]h/set PLCA configuration using standard registers}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjdhhubah}(h]h ]h"]h$]h&]uh1jfhjchhhjchMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``const struct phy_plca_cfg *plca_cfg`` structure containing the PLCA configuration. Fields set to -1 are not to be changed. **Description** if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to modify the PLCA configuration using the standard registers in MMD 31.h](jl)}(h**Parameters**h]j)}(hj eh]h Parameters}(hj ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjeubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj)eh]hstruct phy_device *phydev}(hj+ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'eubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj#eubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjBehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>ehMhj?eubah}(h]h ]h"]h$]h&]uh1jhj#eubeh}(h]h ]h"]h$]h&]uh1jhj>ehMhj eubj)}(h}``const struct phy_plca_cfg *plca_cfg`` structure containing the PLCA configuration. Fields set to -1 are not to be changed. h](j)}(h'``const struct phy_plca_cfg *plca_cfg``h]j)}(hjbeh]h#const struct phy_plca_cfg *plca_cfg}(hjdehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`eubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhj\eubj)}(hhh]jl)}(hTstructure containing the PLCA configuration. Fields set to -1 are not to be changed.h]hTstructure containing the PLCA configuration. Fields set to -1 are not to be changed.}(hj{ehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjxeubah}(h]h ]h"]h$]h&]uh1jhj\eubeh}(h]h ]h"]h$]h&]uh1jhjwehMhj eubeh}(h]h ]h"]h$]h&]uh1jhjeubjl)}(h**Description**h]j)}(hjeh]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjeubj)}(hhh]j)}(hif the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to modify the PLCA configuration using the standard registers in MMD 31.h](j)}(h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCAh]h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMhjeubj)}(hhh]jl)}(hManagement Registers specifications, this function can be used to modify the PLCA configuration using the standard registers in MMD 31.h]hManagement Registers specifications, this function can be used to modify the PLCA configuration using the standard registers in MMD 31.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehMhjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehMhjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_plca_get_status (C function)c.genphy_c45_plca_get_statushNtauh1hhjdhhhNhNubh)}(hhh](j)}(h[int genphy_c45_plca_get_status (struct phy_device *phydev, struct phy_plca_status *plca_st)h]j )}(hZint genphy_c45_plca_get_status(struct phy_device *phydev, struct phy_plca_status *plca_st)h](jM )}(hinth]hint}(hj fhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj fhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM,ubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj fhhhjfhM,ubj3)}(hgenphy_c45_plca_get_statush]j9)}(hgenphy_c45_plca_get_statush]hgenphy_c45_plca_get_status}(hj.fhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*fubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj fhhhjfhM,ubj )}(h<(struct phy_device *phydev, struct phy_plca_status *plca_st)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjJfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFfubj")}(h h]h }(hjWfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFfubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjefubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjfmodnameN classnameNj j )}j ]j )}j j0fsbc.genphy_c45_plca_get_statusasbuh1hhjFfubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFfubj )}(hj h]h*}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjFfubj9)}(hphydevh]hphydev}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBfubj )}(hstruct phy_plca_status *plca_sth](j)}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubh)}(hhh]j9)}(hphy_plca_statush]hphy_plca_status}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNj j )}j ]jfc.genphy_c45_plca_get_statusasbuh1hhjfubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjfubj9)}(hplca_sth]hplca_st}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBfubeh}(h]h ]h"]h$]h&]jPjQuh1j hj fhhhjfhM,ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjfhhhjfhM,ubah}(h]jfah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjfhM,hjfhhubjg)}(hhh]jl)}(h'get PLCA status from standard registersh]h'get PLCA status from standard registers}(hj=ghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM,hj:ghhubah}(h]h ]h"]h$]h&]uh1jfhjfhhhjfhM,ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUgjjUgjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct phy_plca_status *plca_st`` output structure to store the PLCA status **Description** if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to retrieve the current PLCA status information from the standard registers in MMD 31.h](jl)}(h**Parameters**h]j)}(hj_gh]h Parameters}(hjaghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]gubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM0hjYgubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj~gh]hstruct phy_device *phydev}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|gubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM-hjxgubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghM-hjgubah}(h]h ]h"]h$]h&]uh1jhjxgubeh}(h]h ]h"]h$]h&]uh1jhjghM-hjugubj)}(hN``struct phy_plca_status *plca_st`` output structure to store the PLCA status h](j)}(h#``struct phy_plca_status *plca_st``h]j)}(hjgh]hstruct phy_plca_status *plca_st}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM.hjgubj)}(hhh]jl)}(h)output structure to store the PLCA statush]h)output structure to store the PLCA status}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghM.hjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghM.hjugubeh}(h]h ]h"]h$]h&]uh1jhjYgubjl)}(h**Description**h]j)}(hjgh]h Description}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM0hjYgubj)}(hhh]j)}(hif the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, this function can be used to retrieve the current PLCA status information from the standard registers in MMD 31.h](j)}(h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCAh]h=if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chM1hj hubj)}(hhh]jl)}(hManagement Registers specifications, this function can be used to retrieve the current PLCA status information from the standard registers in MMD 31.h]hManagement Registers specifications, this function can be used to retrieve the current PLCA status information from the standard registers in MMD 31.}(hj!hhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhhM1hjhubah}(h]h ]h"]h$]h&]uh1jhj hubeh}(h]h ]h"]h$]h&]uh1jhjhhM1hjhubah}(h]h ]h"]h$]h&]uh1jhjYgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_c45_eee_is_active (C function)c.genphy_c45_eee_is_activehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hKint genphy_c45_eee_is_active (struct phy_device *phydev, unsigned long *lp)h]j )}(hJint genphy_c45_eee_is_active(struct phy_device *phydev, unsigned long *lp)h](jM )}(hinth]hint}(hjahhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj]hhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMCubj")}(h h]h }(hjphhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj]hhhhjohhMCubj3)}(hgenphy_c45_eee_is_activeh]j9)}(hgenphy_c45_eee_is_activeh]hgenphy_c45_eee_is_active}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~hubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj]hhhhjohhMCubj )}(h.(struct phy_device *phydev, unsigned long *lp)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]j )}j jhsbc.genphy_c45_eee_is_activeasbuh1hhjhubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj )}(hj h]h*}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhubj9)}(hphydevh]hphydev}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhubj )}(hunsigned long *lph](jM )}(hunsignedh]hunsigned}(hjihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj iubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj iubjM )}(hlongh]hlong}(hj,ihhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj iubj")}(h h]h }(hj:ihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj iubj )}(hj h]h*}(hjHihhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj iubj9)}(hlph]hlp}(hjUihhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj iubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjhubeh}(h]h ]h"]h$]h&]jPjQuh1j hj]hhhhjohhMCubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjYhhhhjohhMCubah}(h]jThah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjohhMChjVhhhubjg)}(hhh]jl)}(hget EEE statush]hget EEE status}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMChj|ihhubah}(h]h ]h"]h$]h&]uh1jfhjVhhhhjohhMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``unsigned long *lp`` variable to store LP advertised linkmodes **Description** this function will read link partner PHY advertisement and compare it to local advertisement to return current EEE state.h](jl)}(h**Parameters**h]j)}(hjih]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMGhjiubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjih]hstruct phy_device *phydev}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMDhjiubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMDhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMDhjiubj)}(h@``unsigned long *lp`` variable to store LP advertised linkmodes h](j)}(h``unsigned long *lp``h]j)}(hjih]hunsigned long *lp}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMEhjiubj)}(hhh]jl)}(h)variable to store LP advertised linkmodesh]h)variable to store LP advertised linkmodes}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhMEhjjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjjhMEhjiubeh}(h]h ]h"]h$]h&]uh1jhjiubjl)}(h**Description**h]j)}(hj4jh]h Description}(hj6jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2jubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMGhjiubjl)}(hythis function will read link partner PHY advertisement and compare it to local advertisement to return current EEE state.h]hythis function will read link partner PHY advertisement and compare it to local advertisement to return current EEE state.}(hjJjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMGhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'genphy_c45_ethtool_get_eee (C function)c.genphy_c45_ethtool_get_eeehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hUint genphy_c45_ethtool_get_eee (struct phy_device *phydev, struct ethtool_keee *data)h]j )}(hTint genphy_c45_ethtool_get_eee(struct phy_device *phydev, struct ethtool_keee *data)h](jM )}(hinth]hint}(hjyjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjujhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMcubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjujhhhjjhMcubj3)}(hgenphy_c45_ethtool_get_eeeh]j9)}(hgenphy_c45_ethtool_get_eeeh]hgenphy_c45_ethtool_get_eee}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjujhhhjjhMcubj )}(h6(struct phy_device *phydev, struct ethtool_keee *data)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNj j )}j ]j )}j jjsbc.genphy_c45_ethtool_get_eeeasbuh1hhjjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj )}(hj h]h*}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj9)}(hphydevh]hphydev}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjubj )}(hstruct ethtool_keee *datah](j)}(hjh]hstruct}(hj(khhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$kubj")}(h h]h }(hj5khhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$kubh)}(hhh]j9)}(h ethtool_keeeh]h ethtool_keee}(hjFkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHkmodnameN classnameNj j )}j ]jjc.genphy_c45_ethtool_get_eeeasbuh1hhj$kubj")}(h h]h }(hjdkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$kubj )}(hj h]h*}(hjrkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj$kubj9)}(hdatah]hdata}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$kubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjujhhhjjhMcubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjqjhhhjjhMcubah}(h]jljah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjjhMchjnjhhubjg)}(hhh]jl)}(hget EEE supported and statush]hget EEE supported and status}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMchjkhhubah}(h]h ]h"]h$]h&]uh1jfhjnjhhhjjhMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``struct ethtool_keee *data`` ethtool_keee data **Description** it reports the Supported/Advertisement/LP Advertisement capabilities.h](jl)}(h**Parameters**h]j)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMghjkubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjkh]hstruct phy_device *phydev}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMdhjkubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMdhjlubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMdhjkubj)}(h0``struct ethtool_keee *data`` ethtool_keee data h](j)}(h``struct ethtool_keee *data``h]j)}(hj#lh]hstruct ethtool_keee *data}(hj%lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!lubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:122: ./drivers/net/phy/phy-c45.chMehjlubj)}(hhh]jl)}(hethtool_keee datah]hethtool_keee data}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:zubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKwhj6zubj)}(hhh]jl)}(h Serial MIIh]h Serial MII}(hjUzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQzhKwhjRzubah}(h]h ]h"]h$]h&]uh1jhj6zubeh}(h]h ]h"]h$]h&]uh1jhjQzhKwhjwubj)}(hD``PHY_INTERFACE_MODE_XGMII`` 10 gigabit media-independent interface h](j)}(h``PHY_INTERFACE_MODE_XGMII``h]j)}(hjuzh]hPHY_INTERFACE_MODE_XGMII}(hjwzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjszubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKzhjozubj)}(hhh]jl)}(h&10 gigabit media-independent interfaceh]h&10 gigabit media-independent interface}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhKzhjzubah}(h]h ]h"]h$]h&]uh1jhjozubeh}(h]h ]h"]h$]h&]uh1jhjzhKzhjwubj)}(hE``PHY_INTERFACE_MODE_XLGMII`` 40 gigabit media-independent interface h](j)}(h``PHY_INTERFACE_MODE_XLGMII``h]j)}(hjzh]hPHY_INTERFACE_MODE_XLGMII}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhK}hjzubj)}(hhh]jl)}(h&40 gigabit media-independent interfaceh]h&40 gigabit media-independent interface}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhK}hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhK}hjwubj)}(h1``PHY_INTERFACE_MODE_MOCA`` Multimedia over Coax h](j)}(h``PHY_INTERFACE_MODE_MOCA``h]j)}(hjzh]hPHY_INTERFACE_MODE_MOCA}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjzubj)}(hhh]jl)}(hMultimedia over Coaxh]hMultimedia over Coax}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhKhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhKhjwubj)}(h*``PHY_INTERFACE_MODE_PSGMII`` Penta SGMII h](j)}(h``PHY_INTERFACE_MODE_PSGMII``h]j)}(hj {h]hPHY_INTERFACE_MODE_PSGMII}(hj"{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj{ubj)}(hhh]jl)}(h Penta SGMIIh]h Penta SGMII}(hj9{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5{hKhj6{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj5{hKhjwubj)}(h)``PHY_INTERFACE_MODE_QSGMII`` Quad SGMII h](j)}(h``PHY_INTERFACE_MODE_QSGMII``h]j)}(hjY{h]hPHY_INTERFACE_MODE_QSGMII}(hj[{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW{ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjS{ubj)}(hhh]jl)}(h Quad SGMIIh]h Quad SGMII}(hjr{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjn{hKhjo{ubah}(h]h ]h"]h$]h&]uh1jhjS{ubeh}(h]h ]h"]h$]h&]uh1jhjn{hKhjwubj)}(h*``PHY_INTERFACE_MODE_TRGMII`` Turbo RGMII h](j)}(h``PHY_INTERFACE_MODE_TRGMII``h]j)}(hj{h]hPHY_INTERFACE_MODE_TRGMII}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj{ubj)}(hhh]jl)}(h Turbo RGMIIh]h Turbo RGMII}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hKhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hKhjwubj)}(h*``PHY_INTERFACE_MODE_100BASEX`` 100 BaseX h](j)}(h``PHY_INTERFACE_MODE_100BASEX``h]j)}(hj{h]hPHY_INTERFACE_MODE_100BASEX}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj{ubj)}(hhh]jl)}(h 100 BaseXh]h 100 BaseX}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hKhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hKhjwubj)}(h,``PHY_INTERFACE_MODE_1000BASEX`` 1000 BaseX h](j)}(h ``PHY_INTERFACE_MODE_1000BASEX``h]j)}(hj|h]hPHY_INTERFACE_MODE_1000BASEX}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj{ubj)}(hhh]jl)}(h 1000 BaseXh]h 1000 BaseX}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hKhj|ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj|hKhjwubj)}(h,``PHY_INTERFACE_MODE_2500BASEX`` 2500 BaseX h](j)}(h ``PHY_INTERFACE_MODE_2500BASEX``h]j)}(hj=|h]hPHY_INTERFACE_MODE_2500BASEX}(hj?|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;|ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj7|ubj)}(hhh]jl)}(h 2500 BaseXh]h 2500 BaseX}(hjV|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjR|hKhjS|ubah}(h]h ]h"]h$]h&]uh1jhj7|ubeh}(h]h ]h"]h$]h&]uh1jhjR|hKhjwubj)}(h(``PHY_INTERFACE_MODE_5GBASER`` 5G BaseR h](j)}(h``PHY_INTERFACE_MODE_5GBASER``h]j)}(hjv|h]hPHY_INTERFACE_MODE_5GBASER}(hjx|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt|ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjp|ubj)}(hhh]jl)}(h5G BaseRh]h5G BaseR}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hKhj|ubah}(h]h ]h"]h$]h&]uh1jhjp|ubeh}(h]h ]h"]h$]h&]uh1jhj|hKhjwubj)}(h*``PHY_INTERFACE_MODE_RXAUI`` Reduced XAUI h](j)}(h``PHY_INTERFACE_MODE_RXAUI``h]j)}(hj|h]hPHY_INTERFACE_MODE_RXAUI}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj|ubj)}(hhh]jl)}(h Reduced XAUIh]h Reduced XAUI}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hKhj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hKhjwubj)}(hA``PHY_INTERFACE_MODE_XAUI`` 10 Gigabit Attachment Unit Interface h](j)}(h``PHY_INTERFACE_MODE_XAUI``h]j)}(hj|h]hPHY_INTERFACE_MODE_XAUI}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj|ubj)}(hhh]jl)}(h$10 Gigabit Attachment Unit Interfaceh]h$10 Gigabit Attachment Unit Interface}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hKhj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hKhjwubj)}(h*``PHY_INTERFACE_MODE_10GBASER`` 10G BaseR h](j)}(h``PHY_INTERFACE_MODE_10GBASER``h]j)}(hj!}h]hPHY_INTERFACE_MODE_10GBASER}(hj#}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj}ubj)}(hhh]jl)}(h 10G BaseRh]h 10G BaseR}(hj:}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6}hKhj7}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj6}hKhjwubj)}(h*``PHY_INTERFACE_MODE_25GBASER`` 25G BaseR h](j)}(h``PHY_INTERFACE_MODE_25GBASER``h]j)}(hjZ}h]hPHY_INTERFACE_MODE_25GBASER}(hj\}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjT}ubj)}(hhh]jl)}(h 25G BaseRh]h 25G BaseR}(hjs}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjo}hKhjp}ubah}(h]h ]h"]h$]h&]uh1jhjT}ubeh}(h]h ]h"]h$]h&]uh1jhjo}hKhjwubj)}(h9``PHY_INTERFACE_MODE_USXGMII`` Universal Serial 10GE MII h](j)}(h``PHY_INTERFACE_MODE_USXGMII``h]j)}(hj}h]hPHY_INTERFACE_MODE_USXGMII}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj}ubj)}(hhh]jl)}(hUniversal Serial 10GE MIIh]hUniversal Serial 10GE MII}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hKhj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hKhjwubj)}(h<``PHY_INTERFACE_MODE_10GKR`` 10GBASE-KR - with Clause 73 AN h](j)}(h``PHY_INTERFACE_MODE_10GKR``h]j)}(hj}h]hPHY_INTERFACE_MODE_10GKR}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj}ubj)}(hhh]jl)}(h10GBASE-KR - with Clause 73 ANh]h10GBASE-KR - with Clause 73 AN}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hKhj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hKhjwubj)}(h4``PHY_INTERFACE_MODE_QUSGMII`` Quad Universal SGMII h](j)}(h``PHY_INTERFACE_MODE_QUSGMII``h]j)}(hj~h]hPHY_INTERFACE_MODE_QUSGMII}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj}ubj)}(hhh]jl)}(hQuad Universal SGMIIh]hQuad Universal SGMII}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hKhj~ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj~hKhjwubj)}(hB``PHY_INTERFACE_MODE_1000BASEKX`` 1000Base-KX - with Clause 73 AN h](j)}(h!``PHY_INTERFACE_MODE_1000BASEKX``h]j)}(hj>~h]hPHY_INTERFACE_MODE_1000BASEKX}(hj@~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj8~ubj)}(hhh]jl)}(h1000Base-KX - with Clause 73 ANh]h1000Base-KX - with Clause 73 AN}(hjW~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjS~hKhjT~ubah}(h]h ]h"]h$]h&]uh1jhj8~ubeh}(h]h ]h"]h$]h&]uh1jhjS~hKhjwubj)}(hH``PHY_INTERFACE_MODE_10G_QXGMII`` 10G-QXGMII - 4 ports over 10G USXGMII h](j)}(h!``PHY_INTERFACE_MODE_10G_QXGMII``h]j)}(hjw~h]hPHY_INTERFACE_MODE_10G_QXGMII}(hjy~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjq~ubj)}(hhh]jl)}(h%10G-QXGMII - 4 ports over 10G USXGMIIh]h%10G-QXGMII - 4 ports over 10G USXGMII}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hKhj~ubah}(h]h ]h"]h$]h&]uh1jhjq~ubeh}(h]h ]h"]h$]h&]uh1jhj~hKhjwubj)}(h@``PHY_INTERFACE_MODE_50GBASER`` 50GBase-R - with Clause 134 FEC h](j)}(h``PHY_INTERFACE_MODE_50GBASER``h]j)}(hj~h]hPHY_INTERFACE_MODE_50GBASER}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj~ubj)}(hhh]jl)}(h50GBase-R - with Clause 134 FECh]h50GBase-R - with Clause 134 FEC}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hKhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hKhjwubj)}(hA``PHY_INTERFACE_MODE_LAUI`` 50 Gigabit Attachment Unit Interface h](j)}(h``PHY_INTERFACE_MODE_LAUI``h]j)}(hj~h]hPHY_INTERFACE_MODE_LAUI}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj~ubj)}(hhh]jl)}(h$50 Gigabit Attachment Unit Interfaceh]h$50 Gigabit Attachment Unit Interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hKhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hKhjwubj)}(hB``PHY_INTERFACE_MODE_100GBASEP`` 100GBase-P - with Clause 134 FEC h](j)}(h ``PHY_INTERFACE_MODE_100GBASEP``h]j)}(hj"h]hPHY_INTERFACE_MODE_100GBASEP}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjubj)}(hhh]jl)}(h 100GBase-P - with Clause 134 FECh]h 100GBase-P - with Clause 134 FEC}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hKhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hKhjwubj)}(hH``PHY_INTERFACE_MODE_MIILITE`` MII-Lite - MII without RXER TXER CRS COL h](j)}(h``PHY_INTERFACE_MODE_MIILITE``h]j)}(hj[h]hPHY_INTERFACE_MODE_MIILITE}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjUubj)}(hhh]jl)}(h(MII-Lite - MII without RXER TXER CRS COLh]h(MII-Lite - MII without RXER TXER CRS COL}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjphKhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphKhjwubj)}(h'``PHY_INTERFACE_MODE_MAX`` Book keepingh](j)}(h``PHY_INTERFACE_MODE_MAX``h]j)}(hjh]hPHY_INTERFACE_MODE_MAX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjubj)}(hhh]jl)}(h Book keepingh]h Book keeping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjwubeh}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjdhhubjl)}(h0Describes the interface between the MAC and PHY.h]h0Describes the interface between the MAC and PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKohjdhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_modes (C function) c.phy_modeshNtauh1hhjdhhhNhNubh)}(hhh](j)}(h2const char * phy_modes (phy_interface_t interface)h]j )}(h0const char *phy_modes(phy_interface_t interface)h](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj"hKubjM )}(hcharh]hchar}(hj1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhj"hKubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj"hKubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj"hKubj3)}(h phy_modesh]j9)}(h phy_modesh]h phy_modes}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj"hKubj )}(h(phy_interface_t interface)h]j )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j`sb c.phy_modesasbuh1hhjvubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj"hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj"hKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj"hKhj hhubjg)}(hhh]jl)}(h;map phy_interface_t enum to device tree binding of phy-modeh]h;map phy_interface_t enum to device tree binding of phy-mode}(hjՀhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjҀhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj"hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``phy_interface_t interface`` enum phy_interface_t value **Description** maps enum :c:type:`phy_interface_t` defined in this file into the device tree binding of 'phy-mode', so that Ethernet device driver can get PHY interface from device tree.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjubj)}(hhh]j)}(h9``phy_interface_t interface`` enum phy_interface_t value h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjubj)}(hhh]jl)}(henum phy_interface_t valueh]henum phy_interface_t value}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hKhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hKhj ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjQh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjubjl)}(hmaps enum :c:type:`phy_interface_t` defined in this file into the device tree binding of 'phy-mode', so that Ethernet device driver can get PHY interface from device tree.h](h maps enum }(hjghhhNhNubh)}(h:c:type:`phy_interface_t`h]j)}(hjqh]hphy_interface_t}(hjshhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhjgubh defined in this file into the device tree binding of ‘phy-mode’, so that Ethernet device driver can get PHY interface from device tree.}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hrgmii_clock (C function) c.rgmii_clockhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hlong rgmii_clock (int speed)h]j )}(hlong rgmii_clock(int speed)h](jM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'ubj")}(h h]h }(hjȁhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjǁhM'ubj3)}(h rgmii_clockh]j9)}(h rgmii_clockh]h rgmii_clock}(hjځhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjցubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjǁhM'ubj )}(h (int speed)h]j )}(h int speedh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hspeedh]hspeed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjǁhM'ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjǁhM'ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjǁhM'hjhhubjg)}(hhh]jl)}(h map link speed to the clock rateh]h map link speed to the clock rate}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'hj9hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjǁhM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1hhhhjdhNhNubj)}(hX_**Parameters** ``int speed`` link speed value **Description** maps RGMII supported link speeds into the clock rates. This can also be used for MII, GMII, and RMII interface modes as the clock rates are identical, but the caller must be aware that errors for unsupported clock rates will not be signalled. **Return** clock rate or negative errnoh](jl)}(h**Parameters**h]j)}(hj^h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM+hjXubj)}(hhh]j)}(h``int speed`` link speed value h](j)}(h ``int speed``h]j)}(hj}h]h int speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM(hjwubj)}(hhh]jl)}(hlink speed valueh]hlink speed value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjtubah}(h]h ]h"]h$]h&]uh1jhjXubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*hjXubjl)}(hmaps RGMII supported link speeds into the clock rates. This can also be used for MII, GMII, and RMII interface modes as the clock rates are identical, but the caller must be aware that errors for unsupported clock rates will not be signalled.h]hmaps RGMII supported link speeds into the clock rates. This can also be used for MII, GMII, and RMII interface modes as the clock rates are identical, but the caller must be aware that errors for unsupported clock rates will not be signalled.}(hj΂hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*hjXubjl)}(h **Return**h]j)}(hj߂h]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj݂ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM/hjXubjl)}(hclock rate or negative errnoh]hclock rate or negative errno}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM/hjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdio_bus_stats (C struct)c.mdio_bus_statshNtauh1hhjdhhhNhNubh)}(hhh](j)}(hmdio_bus_statsh]j )}( hstruct mdio_bus_statsh](j)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM4ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj1hM4ubj3)}(hmdio_bus_statsh]j9)}(hjh]hmdio_bus_stats}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj1hM4ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj1hM4ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj1hM4hjhhubjg)}(hhh]jl)}(h#Statistics counters for MDIO bussesh]h#Statistics counters for MDIO busses}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMPhjchhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj1hM4ubeh}(h]h ](jstructeh"]h$]h&]jjjj~jj~jjjuh1hhhhjdhNhNubj)}(hX**Definition**:: struct mdio_bus_stats { u64_stats_t transfers; u64_stats_t errors; u64_stats_t writes; u64_stats_t reads; struct u64_stats_sync syncp; }; **Members** ``transfers`` Total number of transfers, i.e. **writes** + **reads** ``errors`` Number of MDIO transfers that returned an error ``writes`` Number of write transfers ``reads`` Number of read transfers ``syncp`` Synchronisation for incrementing statisticsh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThjubj)}(hstruct mdio_bus_stats { u64_stats_t transfers; u64_stats_t errors; u64_stats_t writes; u64_stats_t reads; struct u64_stats_sync syncp; };h]hstruct mdio_bus_stats { u64_stats_t transfers; u64_stats_t errors; u64_stats_t writes; u64_stats_t reads; struct u64_stats_sync syncp; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM^hjubj)}(hhh](j)}(hE``transfers`` Total number of transfers, i.e. **writes** + **reads** h](j)}(h ``transfers``h]j)}(hjӃh]h transfers}(hjՃhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjуubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhj̓ubj)}(hhh]jl)}(h6Total number of transfers, i.e. **writes** + **reads**h](h Total number of transfers, i.e. }(hjhhhNhNubj)}(h **writes**h]hwrites}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh + }(hjhhhNhNubj)}(h **reads**h]hreads}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhj̓ubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjʃubj)}(h;``errors`` Number of MDIO transfers that returned an error h](j)}(h ``errors``h]j)}(hj,h]herrors}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShj&ubj)}(hhh]jl)}(h/Number of MDIO transfers that returned an errorh]h/Number of MDIO transfers that returned an error}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhMShjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMShjʃubj)}(h%``writes`` Number of write transfers h](j)}(h ``writes``h]j)}(hjeh]hwrites}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThj_ubj)}(hhh]jl)}(hNumber of write transfersh]hNumber of write transfers}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhMThj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMThjʃubj)}(h#``reads`` Number of read transfers h](j)}(h ``reads``h]j)}(hjh]hreads}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhjubj)}(hhh]jl)}(hNumber of read transfersh]hNumber of read transfers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjʃubj)}(h5``syncp`` Synchronisation for incrementing statisticsh](j)}(h ``syncp``h]j)}(hjׄh]hsyncp}(hjلhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjՄubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhjфubj)}(hhh]jl)}(h+Synchronisation for incrementing statisticsh]h+Synchronisation for incrementing statistics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhjubah}(h]h ]h"]h$]h&]uh1jhjфubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjʃubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmii_bus (C struct) c.mii_bushNtauh1hhjdhhhNhNubh)}(hhh](j)}(hmii_bush]j )}(hstruct mii_bush](j)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-hhhj>hM\ubj3)}(hmii_bush]j9)}(hj+h]hmii_bus}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-hhhj>hM\ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj)hhhj>hM\ubah}(h]j$ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj>hM\hj&hhubjg)}(hhh]jl)}(hRepresents an MDIO bush]hRepresents an MDIO bus}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahjphhubah}(h]h ]h"]h$]h&]uh1jfhj&hhhj>hM\ubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hXe **Definition**:: struct mii_bus { struct module *owner; const char *name; char id[MII_BUS_ID_SIZE]; void *priv; int (*read)(struct mii_bus *bus, int addr, int regnum); int (*write)(struct mii_bus *bus, int addr, int regnum, u16 val); int (*read_c45)(struct mii_bus *bus, int addr, int devnum, int regnum); int (*write_c45)(struct mii_bus *bus, int addr, int devnum, int regnum, u16 val); int (*reset)(struct mii_bus *bus); struct mdio_bus_stats stats[PHY_MAX_ADDR]; struct mutex mdio_lock; struct device *parent; enum { MDIOBUS_ALLOCATED = 1, MDIOBUS_REGISTERED, MDIOBUS_UNREGISTERED, MDIOBUS_RELEASED, } state; struct device dev; struct mdio_device *mdio_map[PHY_MAX_ADDR]; u32 phy_mask; u32 phy_ignore_ta_mask; int irq[PHY_MAX_ADDR]; int reset_delay_us; int reset_post_delay_us; struct gpio_desc *reset_gpiod; struct mutex shared_lock; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared[PHY_MAX_ADDR]; #endif; }; **Members** ``owner`` Who owns this device ``name`` User friendly name for this MDIO device, or driver name ``id`` Unique identifier for this bus, typical from bus hierarchy ``priv`` Driver private data ``read`` Perform a read transfer on the bus ``write`` Perform a write transfer on the bus ``read_c45`` Perform a C45 read transfer on the bus ``write_c45`` Perform a C45 write transfer on the bus ``reset`` Perform a reset of the bus ``stats`` Statistic counters per device on the bus ``mdio_lock`` A lock to ensure that only one thing can read/write the MDIO bus at a time ``parent`` Parent device of this bus ``state`` State of bus structure ``dev`` Kernel device representation ``mdio_map`` list of all MDIO devices on bus ``phy_mask`` PHY addresses to be ignored when probing ``phy_ignore_ta_mask`` PHY addresses to ignore the TA/read failure ``irq`` An array of interrupts, each PHY's interrupt at the index matching its address ``reset_delay_us`` GPIO reset pulse width in microseconds ``reset_post_delay_us`` GPIO reset deassert delay in microseconds ``reset_gpiod`` Reset GPIO descriptor pointer ``shared_lock`` protect access to the shared element ``shared`` shared state across different PHYsh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMehjubj)}(hXstruct mii_bus { struct module *owner; const char *name; char id[MII_BUS_ID_SIZE]; void *priv; int (*read)(struct mii_bus *bus, int addr, int regnum); int (*write)(struct mii_bus *bus, int addr, int regnum, u16 val); int (*read_c45)(struct mii_bus *bus, int addr, int devnum, int regnum); int (*write_c45)(struct mii_bus *bus, int addr, int devnum, int regnum, u16 val); int (*reset)(struct mii_bus *bus); struct mdio_bus_stats stats[PHY_MAX_ADDR]; struct mutex mdio_lock; struct device *parent; enum { MDIOBUS_ALLOCATED = 1, MDIOBUS_REGISTERED, MDIOBUS_UNREGISTERED, MDIOBUS_RELEASED, } state; struct device dev; struct mdio_device *mdio_map[PHY_MAX_ADDR]; u32 phy_mask; u32 phy_ignore_ta_mask; int irq[PHY_MAX_ADDR]; int reset_delay_us; int reset_post_delay_us; struct gpio_desc *reset_gpiod; struct mutex shared_lock; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared[PHY_MAX_ADDR]; #endif; };h]hXstruct mii_bus { struct module *owner; const char *name; char id[MII_BUS_ID_SIZE]; void *priv; int (*read)(struct mii_bus *bus, int addr, int regnum); int (*write)(struct mii_bus *bus, int addr, int regnum, u16 val); int (*read_c45)(struct mii_bus *bus, int addr, int devnum, int regnum); int (*write_c45)(struct mii_bus *bus, int addr, int devnum, int regnum, u16 val); int (*reset)(struct mii_bus *bus); struct mdio_bus_stats stats[PHY_MAX_ADDR]; struct mutex mdio_lock; struct device *parent; enum { MDIOBUS_ALLOCATED = 1, MDIOBUS_REGISTERED, MDIOBUS_UNREGISTERED, MDIOBUS_RELEASED, } state; struct device dev; struct mdio_device *mdio_map[PHY_MAX_ADDR]; u32 phy_mask; u32 phy_ignore_ta_mask; int irq[PHY_MAX_ADDR]; int reset_delay_us; int reset_post_delay_us; struct gpio_desc *reset_gpiod; struct mutex shared_lock; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared[PHY_MAX_ADDR]; #endif; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjÅhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h``owner`` Who owns this device h](j)}(h ``owner``h]j)}(hjh]howner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޅubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMdhjڅubj)}(hhh]jl)}(hWho owns this deviceh]hWho owns this device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjڅubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjׅubj)}(hA``name`` User friendly name for this MDIO device, or driver name h](j)}(h``name``h]j)}(hjh]hname}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMehjubj)}(hhh]jl)}(h7User friendly name for this MDIO device, or driver nameh]h7User friendly name for this MDIO device, or driver name}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj.hMehj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMehjׅubj)}(hB``id`` Unique identifier for this bus, typical from bus hierarchy h](j)}(h``id``h]j)}(hjRh]hid}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMfhjLubj)}(hhh]jl)}(h:Unique identifier for this bus, typical from bus hierarchyh]h:Unique identifier for this bus, typical from bus hierarchy}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjghMfhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMfhjׅubj)}(h``priv`` Driver private data h](j)}(h``priv``h]j)}(hjh]hpriv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghjubj)}(hhh]jl)}(hDriver private datah]hDriver private data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjׅubj)}(h,``read`` Perform a read transfer on the bus h](j)}(h``read``h]j)}(hjĆh]hread}(hjƆhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj†ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMqhjubj)}(hhh]jl)}(h"Perform a read transfer on the bush]h"Perform a read transfer on the bus}(hj݆hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjنhMqhjچubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjنhMqhjׅubj)}(h.``write`` Perform a write transfer on the bus h](j)}(h ``write``h]j)}(hjh]hwrite}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMshjubj)}(hhh]jl)}(h#Perform a write transfer on the bush]h#Perform a write transfer on the bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjׅubj)}(h4``read_c45`` Perform a C45 read transfer on the bus h](j)}(h ``read_c45``h]j)}(hj6h]hread_c45}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhj0ubj)}(hhh]jl)}(h&Perform a C45 read transfer on the bush]h&Perform a C45 read transfer on the bus}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhMuhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMuhjׅubj)}(h6``write_c45`` Perform a C45 write transfer on the bus h](j)}(h ``write_c45``h]j)}(hjoh]h write_c45}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMwhjiubj)}(hhh]jl)}(h'Perform a C45 write transfer on the bush]h'Perform a C45 write transfer on the bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjׅubj)}(h%``reset`` Perform a reset of the bus h](j)}(h ``reset``h]j)}(hjh]hreset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMzhjubj)}(hhh]jl)}(hPerform a reset of the bush]hPerform a reset of the bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjׅubj)}(h3``stats`` Statistic counters per device on the bus h](j)}(h ``stats``h]j)}(hjh]hstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߇ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}hjۇubj)}(hhh]jl)}(h(Statistic counters per device on the bush]h(Statistic counters per device on the bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM}hjubah}(h]h ]h"]h$]h&]uh1jhjۇubeh}(h]h ]h"]h$]h&]uh1jhjhM}hjׅubj)}(hY``mdio_lock`` A lock to ensure that only one thing can read/write the MDIO bus at a time h](j)}(h ``mdio_lock``h]j)}(hjh]h mdio_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hJA lock to ensure that only one thing can read/write the MDIO bus at a timeh]hJA lock to ensure that only one thing can read/write the MDIO bus at a time}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjׅubj)}(h%``parent`` Parent device of this bus h](j)}(h ``parent``h]j)}(hjTh]hparent}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjNubj)}(hhh]jl)}(hParent device of this bush]hParent device of this bus}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjׅubj)}(h!``state`` State of bus structure h](j)}(h ``state``h]j)}(hjh]hstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hState of bus structureh]hState of bus structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjׅubj)}(h%``dev`` Kernel device representation h](j)}(h``dev``h]j)}(hjƈh]hdev}(hjȈhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĈubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hKernel device representationh]hKernel device representation}(hj߈hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjۈhMhj܈ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjۈhMhjׅubj)}(h-``mdio_map`` list of all MDIO devices on bus h](j)}(h ``mdio_map``h]j)}(hjh]hmdio_map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hlist of all MDIO devices on bush]hlist of all MDIO devices on bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjׅubj)}(h6``phy_mask`` PHY addresses to be ignored when probing h](j)}(h ``phy_mask``h]j)}(hj8h]hphy_mask}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj2ubj)}(hhh]jl)}(h(PHY addresses to be ignored when probingh]h(PHY addresses to be ignored when probing}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjׅubj)}(hC``phy_ignore_ta_mask`` PHY addresses to ignore the TA/read failure h](j)}(h``phy_ignore_ta_mask``h]j)}(hjqh]hphy_ignore_ta_mask}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjkubj)}(hhh]jl)}(h+PHY addresses to ignore the TA/read failureh]h+PHY addresses to ignore the TA/read failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMhjׅubj)}(hW``irq`` An array of interrupts, each PHY's interrupt at the index matching its address h](j)}(h``irq``h]j)}(hjh]hirq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hNAn array of interrupts, each PHY's interrupt at the index matching its addressh]hPAn array of interrupts, each PHY’s interrupt at the index matching its address}(hjÉhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjׅubj)}(h:``reset_delay_us`` GPIO reset pulse width in microseconds h](j)}(h``reset_delay_us``h]j)}(hjh]hreset_delay_us}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjމubj)}(hhh]jl)}(h&GPIO reset pulse width in microsecondsh]h&GPIO reset pulse width in microseconds}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjމubeh}(h]h ]h"]h$]h&]uh1jhjhMhjׅubj)}(hB``reset_post_delay_us`` GPIO reset deassert delay in microseconds h](j)}(h``reset_post_delay_us``h]j)}(hjh]hreset_post_delay_us}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h)GPIO reset deassert delay in microsecondsh]h)GPIO reset deassert delay in microseconds}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjׅubj)}(h.``reset_gpiod`` Reset GPIO descriptor pointer h](j)}(h``reset_gpiod``h]j)}(hjVh]h reset_gpiod}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjPubj)}(hhh]jl)}(hReset GPIO descriptor pointerh]hReset GPIO descriptor pointer}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjׅubj)}(h5``shared_lock`` protect access to the shared element h](j)}(h``shared_lock``h]j)}(hjh]h shared_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h$protect access to the shared elementh]h$protect access to the shared element}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjׅubj)}(h-``shared`` shared state across different PHYsh](j)}(h ``shared``h]j)}(hjȊh]hshared}(hjʊhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƊubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjŠubj)}(hhh]jl)}(h"shared state across different PHYsh]h"shared state across different PHYs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjފubah}(h]h ]h"]h$]h&]uh1jhjŠubeh}(h]h ]h"]h$]h&]uh1jhj݊hMhjׅubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjdhhubjl)}(hbThe Bus class for PHYs. Devices which provide access to PHYs should register using this structureh]hbThe Bus class for PHYs. Devices which provide access to PHYs should register using this structure}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghjdhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_alloc (C function)c.mdiobus_allochNtauh1hhjdhhhNhNubh)}(hhh](j)}(h%struct mii_bus * mdiobus_alloc (void)h]j )}(h#struct mii_bus *mdiobus_alloc(void)h](j)}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEhhhjVhMubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNj j )}j ]j )}j mdiobus_allocsbc.mdiobus_allocasbuh1hhjEhhhjVhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEhhhjVhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEhhhjVhMubj3)}(h mdiobus_alloch]j9)}(hjh]h mdiobus_alloc}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjEhhhjVhMubj )}(h(void)h]j )}(hvoidh]jM )}(hvoidh]hvoid}(hjËhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubah}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjEhhhjVhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAhhhjVhMubah}(h]j<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjVhMhj>hhubjg)}(hhh]jl)}(hAllocate an MDIO bus structureh]hAllocate an MDIO bus structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj>hhhjVhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``void`` no arguments **Description** The internal state of the MDIO bus will be set of MDIOBUS_ALLOCATED ready for the driver to register the bus.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hj.h]hvoid}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj(ubj)}(hhh]jl)}(h no argumentsh]h no arguments}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChKhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChKhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hjih]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhKhj ubjl)}(hmThe internal state of the MDIO bus will be set of MDIOBUS_ALLOCATED ready for the driver to register the bus.h]hmThe internal state of the MDIO bus will be set of MDIOBUS_ALLOCATED ready for the driver to register the bus.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_state (C enum) c.phy_statehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h phy_stateh]j )}(henum phy_stateh](j)}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h phy_stateh]j9)}(hjh]h phy_state}(hjΌhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjʌubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hPHY state machine states:h]hPHY state machine states:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jenumeh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Constants** ``PHY_DOWN`` PHY device and driver are not ready for anything. probe should be called if and only if the PHY is in this state, given that the PHY device exists. - PHY driver probe function will set the state to **PHY_READY** ``PHY_READY`` PHY is ready to send and receive packets, but the controller is not. By default, PHYs which do not implement probe will be set to this state by phy_probe(). - start will set the state to UP ``PHY_HALTED`` PHY is up, but no polling or interrupts are done. - phy_start moves to **PHY_UP** ``PHY_ERROR`` PHY is up, but is in an error state. - phy_stop moves to **PHY_HALTED** ``PHY_UP`` The PHY and attached device are ready to do work. Interrupts should be started here. - timer moves to **PHY_NOLINK** or **PHY_RUNNING** ``PHY_RUNNING`` PHY is currently up, running, and possibly sending and/or receiving packets - irq or timer will set **PHY_NOLINK** if link goes down - phy_stop moves to **PHY_HALTED** ``PHY_NOLINK`` PHY is up, but not currently plugged in. - irq or timer will set **PHY_RUNNING** if link comes back - phy_stop moves to **PHY_HALTED** ``PHY_CABLETEST`` PHY is performing a cable test. Packet reception/sending is not expected to work, carrier will be indicated as down. PHY will be poll once per second, or on interrupt for it current state. Once complete, move to UP to restart the PHY. - phy_stop aborts the running test and moves to **PHY_HALTED**h](jl)}(h **Constants**h]j)}(hjh]h Constants}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubj)}(hhh](j)}(h``PHY_DOWN`` PHY device and driver are not ready for anything. probe should be called if and only if the PHY is in this state, given that the PHY device exists. - PHY driver probe function will set the state to **PHY_READY** h](j)}(h ``PHY_DOWN``h]j)}(hj1h]hPHY_DOWN}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj+ubj)}(hhh]jl)}(hPHY device and driver are not ready for anything. probe should be called if and only if the PHY is in this state, given that the PHY device exists. - PHY driver probe function will set the state to **PHY_READY**h](hPHY device and driver are not ready for anything. probe should be called if and only if the PHY is in this state, given that the PHY device exists. - PHY driver probe function will set the state to }(hjJhhhNhNubj)}(h **PHY_READY**h]h PHY_READY}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj(ubj)}(h``PHY_READY`` PHY is ready to send and receive packets, but the controller is not. By default, PHYs which do not implement probe will be set to this state by phy_probe(). - start will set the state to UP h](j)}(h ``PHY_READY``h]j)}(hjyh]h PHY_READY}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjsubj)}(hhh]jl)}(hPHY is ready to send and receive packets, but the controller is not. By default, PHYs which do not implement probe will be set to this state by phy_probe(). - start will set the state to UPh]hPHY is ready to send and receive packets, but the controller is not. By default, PHYs which do not implement probe will be set to this state by phy_probe(). - start will set the state to UP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhj(ubj)}(ha``PHY_HALTED`` PHY is up, but no polling or interrupts are done. - phy_start moves to **PHY_UP** h](j)}(h``PHY_HALTED``h]j)}(hjh]h PHY_HALTED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hQPHY is up, but no polling or interrupts are done. - phy_start moves to **PHY_UP**h](hGPHY is up, but no polling or interrupts are done. - phy_start moves to }(hj̍hhhNhNubj)}(h **PHY_UP**h]hPHY_UP}(hjԍhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̍ubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjɍubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȍhMhj(ubj)}(hV``PHY_ERROR`` PHY is up, but is in an error state. - phy_stop moves to **PHY_HALTED** h](j)}(h ``PHY_ERROR``h]j)}(hjh]h PHY_ERROR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hGPHY is up, but is in an error state. - phy_stop moves to **PHY_HALTED**h](h9PHY is up, but is in an error state. - phy_stop moves to }(hjhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj(ubj)}(h``PHY_UP`` The PHY and attached device are ready to do work. Interrupts should be started here. - timer moves to **PHY_NOLINK** or **PHY_RUNNING** h](j)}(h ``PHY_UP``h]j)}(hjCh]hPHY_UP}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj=ubj)}(hhh]jl)}(hThe PHY and attached device are ready to do work. Interrupts should be started here. - timer moves to **PHY_NOLINK** or **PHY_RUNNING**h](hfThe PHY and attached device are ready to do work. Interrupts should be started here. - timer moves to }(hj\hhhNhNubj)}(h**PHY_NOLINK**h]h PHY_NOLINK}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh or }(hj\hhhNhNubj)}(h**PHY_RUNNING**h]h PHY_RUNNING}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhj(ubj)}(h``PHY_RUNNING`` PHY is currently up, running, and possibly sending and/or receiving packets - irq or timer will set **PHY_NOLINK** if link goes down - phy_stop moves to **PHY_HALTED** h](j)}(h``PHY_RUNNING``h]j)}(hjh]h PHY_RUNNING}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hPHY is currently up, running, and possibly sending and/or receiving packets - irq or timer will set **PHY_NOLINK** if link goes down - phy_stop moves to **PHY_HALTED**h](hdPHY is currently up, running, and possibly sending and/or receiving packets - irq or timer will set }(hjhhhNhNubj)}(h**PHY_NOLINK**h]h PHY_NOLINK}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' if link goes down - phy_stop moves to }(hjhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hjЎhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj(ubj)}(h``PHY_NOLINK`` PHY is up, but not currently plugged in. - irq or timer will set **PHY_RUNNING** if link comes back - phy_stop moves to **PHY_HALTED** h](j)}(h``PHY_NOLINK``h]j)}(hjh]h PHY_NOLINK}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hPHY is up, but not currently plugged in. - irq or timer will set **PHY_RUNNING** if link comes back - phy_stop moves to **PHY_HALTED**h](hAPHY is up, but not currently plugged in. - irq or timer will set }(hjhhhNhNubj)}(h**PHY_RUNNING**h]h PHY_RUNNING}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( if link comes back - phy_stop moves to }(hjhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj(ubj)}(hX;``PHY_CABLETEST`` PHY is performing a cable test. Packet reception/sending is not expected to work, carrier will be indicated as down. PHY will be poll once per second, or on interrupt for it current state. Once complete, move to UP to restart the PHY. - phy_stop aborts the running test and moves to **PHY_HALTED**h](j)}(h``PHY_CABLETEST``h]j)}(hjQh]h PHY_CABLETEST}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjKubj)}(hhh]jl)}(hX)PHY is performing a cable test. Packet reception/sending is not expected to work, carrier will be indicated as down. PHY will be poll once per second, or on interrupt for it current state. Once complete, move to UP to restart the PHY. - phy_stop aborts the running test and moves to **PHY_HALTED**h](hXPHY is performing a cable test. Packet reception/sending is not expected to work, carrier will be indicated as down. PHY will be poll once per second, or on interrupt for it current state. Once complete, move to UP to restart the PHY. - phy_stop aborts the running test and moves to }(hjjhhhNhNubj)}(h**PHY_HALTED**h]h PHY_HALTED}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhj(ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_c45_device_ids (C struct)c.phy_c45_device_idshNtauh1hhjdhhhNhNubh)}(hhh](j)}(hphy_c45_device_idsh]j )}(hstruct phy_c45_device_idsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM ubj")}(h h]h }(hjǏhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjƏhM ubj3)}(hphy_c45_device_idsh]j9)}(hjh]hphy_c45_device_ids}(hjُhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjՏubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjƏhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjƏhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjƏhM hjhhubjg)}(hhh]jl)}(h802.3-c45 Device Identifiersh]h802.3-c45 Device Identifiers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjƏhM ubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hXT**Definition**:: struct phy_c45_device_ids { u32 devices_in_package; u32 mmds_present; u32 device_ids[MDIO_MMD_NUM]; }; **Members** ``devices_in_package`` IEEE 802.3 devices in package register value. ``mmds_present`` bit vector of MMDs present. ``device_ids`` The device identifier for each present device.h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubj)}(hrstruct phy_c45_device_ids { u32 devices_in_package; u32 mmds_present; u32 device_ids[MDIO_MMD_NUM]; };h]hrstruct phy_c45_device_ids { u32 devices_in_package; u32 mmds_present; u32 device_ids[MDIO_MMD_NUM]; };}hj8sbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h **Members**h]j)}(hjIh]hMembers}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(hE``devices_in_package`` IEEE 802.3 devices in package register value. h](j)}(h``devices_in_package``h]j)}(hjhh]hdevices_in_package}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjbubj)}(hhh]jl)}(h-IEEE 802.3 devices in package register value.h]h-IEEE 802.3 devices in package register value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hM hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hM hj_ubj)}(h-``mmds_present`` bit vector of MMDs present. h](j)}(h``mmds_present``h]j)}(hjh]h mmds_present}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubj)}(hhh]jl)}(hbit vector of MMDs present.h]hbit vector of MMDs present.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj_ubj)}(h=``device_ids`` The device identifier for each present device.h](j)}(h``device_ids``h]j)}(hjڐh]h device_ids}(hjܐhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjؐubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjԐubj)}(hhh]jl)}(h.The device identifier for each present device.h]h.The device identifier for each present device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjԐubeh}(h]h ]h"]h$]h&]uh1jhjhM hj_ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_oatc14_sqi_capability (C struct)c.phy_oatc14_sqi_capabilityhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hphy_oatc14_sqi_capabilityh]j )}(h struct phy_oatc14_sqi_capabilityh](j)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhjAhMubj3)}(hphy_oatc14_sqi_capabilityh]j9)}(hj.h]hphy_oatc14_sqi_capability}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhjAhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,hhhjAhMubah}(h]j'ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjAhMhj)hhubjg)}(hhh]jl)}(h4SQI capability information for OATC14 10Base-T1S PHYh]h4SQI capability information for OATC14 10Base-T1S PHY}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjshhubah}(h]h ]h"]h$]h&]uh1jfhj)hhhjAhMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Definition**:: struct phy_oatc14_sqi_capability { bool updated; int sqi_max; u8 sqiplus_bits; }; **Members** ``updated`` Indicates whether the SQI capability fields have been updated. ``sqi_max`` Maximum supported Signal Quality Indicator (SQI) level reported by the PHY. ``sqiplus_bits`` Bits for SQI+ levels supported by the PHY. 0 - SQI+ is not supported 3 - SQI+ is supported, using 3 bits (8 levels) 4 - SQI+ is supported, using 4 bits (16 levels) 5 - SQI+ is supported, using 5 bits (32 levels) 6 - SQI+ is supported, using 6 bits (64 levels) 7 - SQI+ is supported, using 7 bits (128 levels) 8 - SQI+ is supported, using 8 bits (256 levels)h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(h]struct phy_oatc14_sqi_capability { bool updated; int sqi_max; u8 sqiplus_bits; };h]h]struct phy_oatc14_sqi_capability { bool updated; int sqi_max; u8 sqiplus_bits; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h **Members**h]j)}(hjđh]hMembers}(hjƑhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj‘ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM#hjubj)}(hhh](j)}(hK``updated`` Indicates whether the SQI capability fields have been updated. h](j)}(h ``updated``h]j)}(hjh]hupdated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjݑubj)}(hhh]jl)}(h>Indicates whether the SQI capability fields have been updated.h]h>Indicates whether the SQI capability fields have been updated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjݑubeh}(h]h ]h"]h$]h&]uh1jhjhMhjڑubj)}(hX``sqi_max`` Maximum supported Signal Quality Indicator (SQI) level reported by the PHY. h](j)}(h ``sqi_max``h]j)}(hjh]hsqi_max}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hKMaximum supported Signal Quality Indicator (SQI) level reported by the PHY.h]hKMaximum supported Signal Quality Indicator (SQI) level reported by the PHY.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjڑubj)}(hXv``sqiplus_bits`` Bits for SQI+ levels supported by the PHY. 0 - SQI+ is not supported 3 - SQI+ is supported, using 3 bits (8 levels) 4 - SQI+ is supported, using 4 bits (16 levels) 5 - SQI+ is supported, using 5 bits (32 levels) 6 - SQI+ is supported, using 6 bits (64 levels) 7 - SQI+ is supported, using 7 bits (128 levels) 8 - SQI+ is supported, using 8 bits (256 levels)h](j)}(h``sqiplus_bits``h]j)}(hjVh]h sqiplus_bits}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM#hjPubj)}(hhh]jl)}(hXeBits for SQI+ levels supported by the PHY. 0 - SQI+ is not supported 3 - SQI+ is supported, using 3 bits (8 levels) 4 - SQI+ is supported, using 4 bits (16 levels) 5 - SQI+ is supported, using 5 bits (32 levels) 6 - SQI+ is supported, using 6 bits (64 levels) 7 - SQI+ is supported, using 7 bits (128 levels) 8 - SQI+ is supported, using 8 bits (256 levels)h]hXeBits for SQI+ levels supported by the PHY. 0 - SQI+ is not supported 3 - SQI+ is supported, using 3 bits (8 levels) 4 - SQI+ is supported, using 4 bits (16 levels) 5 - SQI+ is supported, using 5 bits (32 levels) 6 - SQI+ is supported, using 6 bits (64 levels) 7 - SQI+ is supported, using 7 bits (128 levels) 8 - SQI+ is supported, using 8 bits (256 levels)}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM#hjڑubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'hjdhhubjl)}(hThis structure is used by the OATC14 10Base-T1S PHY driver to store the SQI and SQI+ capability information retrieved from the PHY.h]hThis structure is used by the OATC14 10Base-T1S PHY driver to store the SQI and SQI+ capability information retrieved from the PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM$hjdhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_device (C struct) c.phy_devicehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h phy_deviceh]j )}(hstruct phy_deviceh](j)}(hjh]hstruct}(hjגhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjӒhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjӒhhhjhM*ubj3)}(h phy_deviceh]j9)}(hjђh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjӒhhhjhM*ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjϒhhhjhM*ubah}(h]jʒah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM*hj̒hhubjg)}(hhh]jl)}(hAn instance of a PHYh]hAn instance of a PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM/hjhhubah}(h]h ]h"]h$]h&]uh1jfhj̒hhhjhM*ubeh}(h]h ](jstructeh"]h$]h&]jjjj1jj1jjjuh1hhhhjdhNhNubj)}(hX!**Definition**:: struct phy_device { struct mdio_device mdio; const struct phy_driver *drv; struct device_link *devlink; u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned is_c45:1; unsigned is_internal:1; unsigned is_pseudo_fixed_link:1; unsigned is_gigabit_capable:1; unsigned has_fixups:1; unsigned suspended:1; unsigned suspended_by_mdio_bus:1; unsigned sysfs_links:1; unsigned loopback_enabled:1; unsigned downshifted_rate:1; unsigned is_on_sfp_module:1; unsigned mac_managed_pm:1; unsigned wol_enabled:1; unsigned is_genphy_driven:1; unsigned autoneg:1; unsigned link:1; unsigned autoneg_complete:1; bool pause:1; bool asym_pause:1; unsigned interrupts:1; unsigned irq_suspended:1; unsigned irq_rerun:1; unsigned default_timestamp:1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; unsigned long possible_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; int speed; int duplex; int port; u8 master_slave_get; u8 master_slave_set; u8 master_slave_state; unsigned long supported[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long adv_old[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long supported_eee[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising_eee[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long eee_disabled_modes[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; bool enable_tx_lpi; bool eee_active; bool autonomous_eee_disabled; struct eee_config eee_cfg; unsigned long host_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; #ifdef CONFIG_LED_TRIGGER_PHY; struct phy_led_trigger *phy_led_triggers; unsigned int phy_num_led_triggers; struct phy_led_trigger *last_triggered; struct phy_led_trigger *led_link_trigger; #endif; struct list_head leds; int irq; void *priv; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared; #endif; struct sk_buff *skb; void *ehdr; struct nlattr *nest; struct delayed_work state_queue; struct mutex lock; bool sfp_bus_attached; struct sfp_bus *sfp_bus; struct phylink *phylink; struct net_device *attached_dev; struct mii_timestamper *mii_ts; struct pse_control *psec; struct list_head ports; int n_ports; int max_n_ports; u8 mdix; u8 mdix_ctrl; int pma_extable; unsigned int link_down_events; void (*phy_link_change)(struct phy_device *phydev, bool up); void (*adjust_link)(struct net_device *dev); #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; struct phy_oatc14_sqi_capability oatc14_sqi_capability; }; **Members** ``mdio`` MDIO bus this PHY is on ``drv`` Pointer to the driver for this PHY instance ``devlink`` Create a link between phy dev and mac dev, if the external phy used by current mac interface is managed by another mac interface. ``phyindex`` Unique id across the phy's parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn't assigned an id yet. ``phy_id`` UID for this device found during discovery ``c45_ids`` 802.3-c45 Device Identifiers if is_c45. ``is_c45`` Set to true if this PHY uses clause 45 addressing. ``is_internal`` Set to true if this PHY is internal to a MAC. ``is_pseudo_fixed_link`` Set to true if this PHY is an Ethernet switch, etc. ``is_gigabit_capable`` Set to true if PHY supports 1000Mbps ``has_fixups`` Set to true if this PHY has fixups/quirks. ``suspended`` Set to true if this PHY has been suspended successfully. ``suspended_by_mdio_bus`` Set to true if this PHY was suspended by MDIO bus. ``sysfs_links`` Internal boolean tracking sysfs symbolic links setup/removal. ``loopback_enabled`` Set true if this PHY has been loopbacked successfully. ``downshifted_rate`` Set true if link speed has been downshifted. ``is_on_sfp_module`` Set true if PHY is located on an SFP module. ``mac_managed_pm`` Set true if MAC driver takes of suspending/resuming PHY ``wol_enabled`` Set to true if the PHY or the attached MAC have Wake-on-LAN enabled. ``is_genphy_driven`` PHY is driven by one of the generic PHY drivers ``autoneg`` Flag autoneg being used ``link`` Current link state ``autoneg_complete`` Flag auto negotiation of the link has completed ``pause`` Current pause ``asym_pause`` Current asymmetric pause ``interrupts`` Flag interrupts have been enabled ``irq_suspended`` Flag indicating PHY is suspended and therefore interrupt handling shall be postponed until PHY has resumed ``irq_rerun`` Flag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resume ``default_timestamp`` Flag indicating whether we are using the phy timestamp as the default one ``rate_matching`` Current rate matching mode ``state`` State of the PHY for management purposes ``dev_flags`` Device-specific flags used by the PHY driver. ``interface`` enum phy_interface_t value ``possible_interfaces`` bitmap if interface modes that the attached PHY will switch between depending on media speed. ``speed`` Current link speed ``duplex`` Current duplex ``port`` Current port ``master_slave_get`` Current master/slave advertisement ``master_slave_set`` User requested master/slave configuration ``master_slave_state`` Current master/slave configuration ``supported`` Combined MAC/PHY supported linkmodes ``advertising`` Currently advertised linkmodes ``lp_advertising`` Current link partner advertised linkmodes ``adv_old`` Saved advertised while power saving for WoL ``supported_eee`` supported PHY EEE linkmodes ``advertising_eee`` Currently advertised EEE linkmodes ``eee_disabled_modes`` Energy efficient ethernet modes not to be advertised ``enable_tx_lpi`` When True, MAC should transmit LPI to PHY ``eee_active`` phylib private state, indicating that EEE has been negotiated ``autonomous_eee_disabled`` Set when autonomous EEE has been disabled, used to re-apply after PHY soft reset ``eee_cfg`` User configuration of EEE ``host_interfaces`` PHY interface modes supported by host ``phy_led_triggers`` Array of LED triggers ``phy_num_led_triggers`` Number of triggers in **phy_led_triggers** ``last_triggered`` last LED trigger for link speed ``led_link_trigger`` LED trigger for link up/down ``leds`` list of PHY LED structures ``irq`` IRQ number of the PHY's interrupt (-1 if none) ``priv`` Pointer to driver private data ``shared`` Pointer to private data shared by phys in one package ``skb`` Netlink message for cable diagnostics ``ehdr`` nNtlink header for cable diagnostics ``nest`` Netlink nest used for cable diagnostics ``state_queue`` Work queue for state machine ``lock`` Mutex for serialization access to PHY ``sfp_bus_attached`` Flag indicating whether the SFP bus has been attached ``sfp_bus`` SFP bus attached to this PHY's fiber port ``phylink`` Pointer to phylink instance for this PHY ``attached_dev`` The attached enet driver's device instance ptr ``mii_ts`` Pointer to time stamper callbacks ``psec`` Pointer to Power Sourcing Equipment control struct ``ports`` List of PHY ports structures ``n_ports`` Number of ports currently attached to the PHY ``max_n_ports`` Max number of ports this PHY can expose ``mdix`` Current crossover ``mdix_ctrl`` User setting of crossover ``pma_extable`` Cached value of PMA/PMD Extended Abilities Register ``link_down_events`` Number of times link was lost ``phy_link_change`` Callback for phylink for notification of link change ``adjust_link`` Callback for the enet controller to respond to changes: in the link state. ``macsec_ops`` MACsec offloading ops. ``oatc14_sqi_capability`` SQI capability information for OATC14 10Base-T1S PHYbh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh:}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM3hj5ubj)}(hX struct phy_device { struct mdio_device mdio; const struct phy_driver *drv; struct device_link *devlink; u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned is_c45:1; unsigned is_internal:1; unsigned is_pseudo_fixed_link:1; unsigned is_gigabit_capable:1; unsigned has_fixups:1; unsigned suspended:1; unsigned suspended_by_mdio_bus:1; unsigned sysfs_links:1; unsigned loopback_enabled:1; unsigned downshifted_rate:1; unsigned is_on_sfp_module:1; unsigned mac_managed_pm:1; unsigned wol_enabled:1; unsigned is_genphy_driven:1; unsigned autoneg:1; unsigned link:1; unsigned autoneg_complete:1; bool pause:1; bool asym_pause:1; unsigned interrupts:1; unsigned irq_suspended:1; unsigned irq_rerun:1; unsigned default_timestamp:1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; unsigned long possible_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; int speed; int duplex; int port; u8 master_slave_get; u8 master_slave_set; u8 master_slave_state; unsigned long supported[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long adv_old[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long supported_eee[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising_eee[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long eee_disabled_modes[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; bool enable_tx_lpi; bool eee_active; bool autonomous_eee_disabled; struct eee_config eee_cfg; unsigned long host_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; #ifdef CONFIG_LED_TRIGGER_PHY; struct phy_led_trigger *phy_led_triggers; unsigned int phy_num_led_triggers; struct phy_led_trigger *last_triggered; struct phy_led_trigger *led_link_trigger; #endif; struct list_head leds; int irq; void *priv; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared; #endif; struct sk_buff *skb; void *ehdr; struct nlattr *nest; struct delayed_work state_queue; struct mutex lock; bool sfp_bus_attached; struct sfp_bus *sfp_bus; struct phylink *phylink; struct net_device *attached_dev; struct mii_timestamper *mii_ts; struct pse_control *psec; struct list_head ports; int n_ports; int max_n_ports; u8 mdix; u8 mdix_ctrl; int pma_extable; unsigned int link_down_events; void (*phy_link_change)(struct phy_device *phydev, bool up); void (*adjust_link)(struct net_device *dev); #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; struct phy_oatc14_sqi_capability oatc14_sqi_capability; };h]hX struct phy_device { struct mdio_device mdio; const struct phy_driver *drv; struct device_link *devlink; u32 phyindex; u32 phy_id; struct phy_c45_device_ids c45_ids; unsigned is_c45:1; unsigned is_internal:1; unsigned is_pseudo_fixed_link:1; unsigned is_gigabit_capable:1; unsigned has_fixups:1; unsigned suspended:1; unsigned suspended_by_mdio_bus:1; unsigned sysfs_links:1; unsigned loopback_enabled:1; unsigned downshifted_rate:1; unsigned is_on_sfp_module:1; unsigned mac_managed_pm:1; unsigned wol_enabled:1; unsigned is_genphy_driven:1; unsigned autoneg:1; unsigned link:1; unsigned autoneg_complete:1; bool pause:1; bool asym_pause:1; unsigned interrupts:1; unsigned irq_suspended:1; unsigned irq_rerun:1; unsigned default_timestamp:1; int rate_matching; enum phy_state state; u32 dev_flags; phy_interface_t interface; unsigned long possible_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; int speed; int duplex; int port; u8 master_slave_get; u8 master_slave_set; u8 master_slave_state; unsigned long supported[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long adv_old[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long supported_eee[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long advertising_eee[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long eee_disabled_modes[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; bool enable_tx_lpi; bool eee_active; bool autonomous_eee_disabled; struct eee_config eee_cfg; unsigned long host_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; #ifdef CONFIG_LED_TRIGGER_PHY; struct phy_led_trigger *phy_led_triggers; unsigned int phy_num_led_triggers; struct phy_led_trigger *last_triggered; struct phy_led_trigger *led_link_trigger; #endif; struct list_head leds; int irq; void *priv; #if IS_ENABLED(CONFIG_PHY_PACKAGE); struct phy_package_shared *shared; #endif; struct sk_buff *skb; void *ehdr; struct nlattr *nest; struct delayed_work state_queue; struct mutex lock; bool sfp_bus_attached; struct sfp_bus *sfp_bus; struct phylink *phylink; struct net_device *attached_dev; struct mii_timestamper *mii_ts; struct pse_control *psec; struct list_head ports; int n_ports; int max_n_ports; u8 mdix; u8 mdix_ctrl; int pma_extable; unsigned int link_down_events; void (*phy_link_change)(struct phy_device *phydev, bool up); void (*adjust_link)(struct net_device *dev); #if IS_ENABLED(CONFIG_MACSEC); const struct macsec_ops *macsec_ops; #endif; struct phy_oatc14_sqi_capability oatc14_sqi_capability; };}hjVsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM5hj5ubjl)}(h **Members**h]j)}(hjgh]hMembers}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj5ubj)}(hhh](j)}(h!``mdio`` MDIO bus this PHY is on h](j)}(h``mdio``h]j)}(hjh]hmdio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM2hjubj)}(hhh]jl)}(hMDIO bus this PHY is onh]hMDIO bus this PHY is on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hj}ubj)}(h4``drv`` Pointer to the driver for this PHY instance h](j)}(h``drv``h]j)}(hjh]hdrv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM3hjubj)}(hhh]jl)}(h+Pointer to the driver for this PHY instanceh]h+Pointer to the driver for this PHY instance}(hjؓhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjԓhM3hjՓubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjԓhM3hj}ubj)}(h``devlink`` Create a link between phy dev and mac dev, if the external phy used by current mac interface is managed by another mac interface. h](j)}(h ``devlink``h]j)}(hjh]hdevlink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM5hjubj)}(hhh]jl)}(hCreate a link between phy dev and mac dev, if the external phy used by current mac interface is managed by another mac interface.h]hCreate a link between phy dev and mac dev, if the external phy used by current mac interface is managed by another mac interface.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM5hj}ubj)}(h``phyindex`` Unique id across the phy's parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn't assigned an id yet. h](j)}(h ``phyindex``h]j)}(hj2h]hphyindex}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM8hj,ubj)}(hhh]jl)}(hUnique id across the phy's parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn't assigned an id yet.h]hUnique id across the phy’s parent tree of phys to address the PHY from userspace, similar to ifindex. A zero index means the PHY wasn’t assigned an id yet.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM6hjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhM8hj}ubj)}(h6``phy_id`` UID for this device found during discovery h](j)}(h ``phy_id``h]j)}(hjlh]hphy_id}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM9hjfubj)}(hhh]jl)}(h*UID for this device found during discoveryh]h*UID for this device found during discovery}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhM9hj}ubj)}(h4``c45_ids`` 802.3-c45 Device Identifiers if is_c45. h](j)}(h ``c45_ids``h]j)}(hjh]hc45_ids}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM:hjubj)}(hhh]jl)}(h'802.3-c45 Device Identifiers if is_c45.h]h'802.3-c45 Device Identifiers if is_c45.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hj}ubj)}(h>``is_c45`` Set to true if this PHY uses clause 45 addressing. h](j)}(h ``is_c45``h]j)}(hjޔh]his_c45}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjܔubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;hjؔubj)}(hhh]jl)}(h2Set to true if this PHY uses clause 45 addressing.h]h2Set to true if this PHY uses clause 45 addressing.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjؔubeh}(h]h ]h"]h$]h&]uh1jhjhM;hj}ubj)}(h>``is_internal`` Set to true if this PHY is internal to a MAC. h](j)}(h``is_internal``h]j)}(hjh]h is_internal}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM<hjubj)}(hhh]jl)}(h-Set to true if this PHY is internal to a MAC.h]h-Set to true if this PHY is internal to a MAC.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hM<hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM<hj}ubj)}(hM``is_pseudo_fixed_link`` Set to true if this PHY is an Ethernet switch, etc. h](j)}(h``is_pseudo_fixed_link``h]j)}(hjPh]his_pseudo_fixed_link}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM=hjJubj)}(hhh]jl)}(h3Set to true if this PHY is an Ethernet switch, etc.h]h3Set to true if this PHY is an Ethernet switch, etc.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjehM=hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM=hj}ubj)}(h<``is_gigabit_capable`` Set to true if PHY supports 1000Mbps h](j)}(h``is_gigabit_capable``h]j)}(hjh]his_gigabit_capable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjubj)}(hhh]jl)}(h$Set to true if PHY supports 1000Mbpsh]h$Set to true if PHY supports 1000Mbps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM>hj}ubj)}(h:``has_fixups`` Set to true if this PHY has fixups/quirks. h](j)}(h``has_fixups``h]j)}(hj•h]h has_fixups}(hjĕhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM?hjubj)}(hhh]jl)}(h*Set to true if this PHY has fixups/quirks.h]h*Set to true if this PHY has fixups/quirks.}(hjەhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjוhM?hjؕubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjוhM?hj}ubj)}(hG``suspended`` Set to true if this PHY has been suspended successfully. h](j)}(h ``suspended``h]j)}(hjh]h suspended}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hjubj)}(hhh]jl)}(h8Set to true if this PHY has been suspended successfully.h]h8Set to true if this PHY has been suspended successfully.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hj}ubj)}(hM``suspended_by_mdio_bus`` Set to true if this PHY was suspended by MDIO bus. h](j)}(h``suspended_by_mdio_bus``h]j)}(hj4h]hsuspended_by_mdio_bus}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMAhj.ubj)}(hhh]jl)}(h2Set to true if this PHY was suspended by MDIO bus.h]h2Set to true if this PHY was suspended by MDIO bus.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMAhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMAhj}ubj)}(hN``sysfs_links`` Internal boolean tracking sysfs symbolic links setup/removal. h](j)}(h``sysfs_links``h]j)}(hjmh]h sysfs_links}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMBhjgubj)}(hhh]jl)}(h=Internal boolean tracking sysfs symbolic links setup/removal.h]h=Internal boolean tracking sysfs symbolic links setup/removal.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMBhj}ubj)}(hL``loopback_enabled`` Set true if this PHY has been loopbacked successfully. h](j)}(h``loopback_enabled``h]j)}(hjh]hloopback_enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMChjubj)}(hhh]jl)}(h6Set true if this PHY has been loopbacked successfully.h]h6Set true if this PHY has been loopbacked successfully.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChj}ubj)}(hB``downshifted_rate`` Set true if link speed has been downshifted. h](j)}(h``downshifted_rate``h]j)}(hjߖh]hdownshifted_rate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݖubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMDhjٖubj)}(hhh]jl)}(h,Set true if link speed has been downshifted.h]h,Set true if link speed has been downshifted.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjٖubeh}(h]h ]h"]h$]h&]uh1jhjhMDhj}ubj)}(hB``is_on_sfp_module`` Set true if PHY is located on an SFP module. h](j)}(h``is_on_sfp_module``h]j)}(hjh]his_on_sfp_module}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMEhjubj)}(hhh]jl)}(h,Set true if PHY is located on an SFP module.h]h,Set true if PHY is located on an SFP module.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMEhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMEhj}ubj)}(hK``mac_managed_pm`` Set true if MAC driver takes of suspending/resuming PHY h](j)}(h``mac_managed_pm``h]j)}(hjQh]hmac_managed_pm}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFhjKubj)}(hhh]jl)}(h7Set true if MAC driver takes of suspending/resuming PHYh]h7Set true if MAC driver takes of suspending/resuming PHY}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMFhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMFhj}ubj)}(hU``wol_enabled`` Set to true if the PHY or the attached MAC have Wake-on-LAN enabled. h](j)}(h``wol_enabled``h]j)}(hjh]h wol_enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHhjubj)}(hhh]jl)}(hDSet to true if the PHY or the attached MAC have Wake-on-LAN enabled.h]hDSet to true if the PHY or the attached MAC have Wake-on-LAN enabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhj}ubj)}(hE``is_genphy_driven`` PHY is driven by one of the generic PHY drivers h](j)}(h``is_genphy_driven``h]j)}(hjėh]his_genphy_driven}(hjƗhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj—ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMIhjubj)}(hhh]jl)}(h/PHY is driven by one of the generic PHY driversh]h/PHY is driven by one of the generic PHY drivers}(hjݗhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjٗhMIhjڗubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjٗhMIhj}ubj)}(h$``autoneg`` Flag autoneg being used h](j)}(h ``autoneg``h]j)}(hjh]hautoneg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMnhjubj)}(hhh]jl)}(hFlag autoneg being usedh]hFlag autoneg being used}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhj}ubj)}(h``link`` Current link state h](j)}(h``link``h]j)}(hj6h]hlink}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMphj0ubj)}(hhh]jl)}(hCurrent link stateh]hCurrent link state}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhMphjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMphj}ubj)}(hE``autoneg_complete`` Flag auto negotiation of the link has completed h](j)}(h``autoneg_complete``h]j)}(hjoh]hautoneg_complete}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMqhjiubj)}(hhh]jl)}(h/Flag auto negotiation of the link has completedh]h/Flag auto negotiation of the link has completed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMqhj}ubj)}(h``pause`` Current pause h](j)}(h ``pause``h]j)}(hjh]hpause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM_hjubj)}(hhh]jl)}(h Current pauseh]h Current pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM_hj}ubj)}(h(``asym_pause`` Current asymmetric pause h](j)}(h``asym_pause``h]j)}(hjh]h asym_pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߘubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM`hjۘubj)}(hhh]jl)}(hCurrent asymmetric pauseh]hCurrent asymmetric pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM`hjubah}(h]h ]h"]h$]h&]uh1jhjۘubeh}(h]h ]h"]h$]h&]uh1jhjhM`hj}ubj)}(h1``interrupts`` Flag interrupts have been enabled h](j)}(h``interrupts``h]j)}(hjh]h interrupts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhjubj)}(hhh]jl)}(h!Flag interrupts have been enabledh]h!Flag interrupts have been enabled}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/hMuhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMuhj}ubj)}(h}``irq_suspended`` Flag indicating PHY is suspended and therefore interrupt handling shall be postponed until PHY has resumed h](j)}(h``irq_suspended``h]j)}(hjSh]h irq_suspended}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMwhjMubj)}(hhh]jl)}(hjFlag indicating PHY is suspended and therefore interrupt handling shall be postponed until PHY has resumedh]hjFlag indicating PHY is suspended and therefore interrupt handling shall be postponed until PHY has resumed}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMvhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMwhj}ubj)}(h``irq_rerun`` Flag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resume h](j)}(h ``irq_rerun``h]j)}(hjh]h irq_rerun}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMyhjubj)}(hhh]jl)}(htFlag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resumeh]htFlag indicating interrupts occurred while PHY was suspended, requiring a rerun of the interrupt handler after resume}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMyhj}ubj)}(h```default_timestamp`` Flag indicating whether we are using the phy timestamp as the default one h](j)}(h``default_timestamp``h]j)}(hjǙh]hdefault_timestamp}(hjəhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjřubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM{hjubj)}(hhh]jl)}(hIFlag indicating whether we are using the phy timestamp as the default oneh]hIFlag indicating whether we are using the phy timestamp as the default one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMzhjݙubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjܙhM{hj}ubj)}(h-``rate_matching`` Current rate matching mode h](j)}(h``rate_matching``h]j)}(hjh]h rate_matching}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMohjubj)}(hhh]jl)}(hCurrent rate matching modeh]hCurrent rate matching mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohj}ubj)}(h3``state`` State of the PHY for management purposes h](j)}(h ``state``h]j)}(hj:h]hstate}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhj4ubj)}(hhh]jl)}(h(State of the PHY for management purposesh]h(State of the PHY for management purposes}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhMJhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMJhj}ubj)}(h<``dev_flags`` Device-specific flags used by the PHY driver. h](j)}(h ``dev_flags``h]j)}(hjsh]h dev_flags}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMKhjmubj)}(hhh]jl)}(h-Device-specific flags used by the PHY driver.h]h-Device-specific flags used by the PHY driver.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMKhj}ubj)}(h)``interface`` enum phy_interface_t value h](j)}(h ``interface``h]j)}(hjh]h interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM|hjubj)}(hhh]jl)}(henum phy_interface_t valueh]henum phy_interface_t value}(hjŚhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM|hjšubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM|hj}ubj)}(hv``possible_interfaces`` bitmap if interface modes that the attached PHY will switch between depending on media speed. h](j)}(h``possible_interfaces``h]j)}(hjh]hpossible_interfaces}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM~hjߚubj)}(hhh]jl)}(h]bitmap if interface modes that the attached PHY will switch between depending on media speed.h]h]bitmap if interface modes that the attached PHY will switch between depending on media speed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}hjubah}(h]h ]h"]h$]h&]uh1jhjߚubeh}(h]h ]h"]h$]h&]uh1jhjhM~hj}ubj)}(h``speed`` Current link speed h](j)}(h ``speed``h]j)}(hjh]hspeed}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\hjubj)}(hhh]jl)}(hCurrent link speedh]hCurrent link speed}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hM\hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM\hj}ubj)}(h``duplex`` Current duplex h](j)}(h ``duplex``h]j)}(hjXh]hduplex}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]hjRubj)}(hhh]jl)}(hCurrent duplexh]hCurrent duplex}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhM]hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM]hj}ubj)}(h``port`` Current port h](j)}(h``port``h]j)}(hjh]hport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM^hjubj)}(hhh]jl)}(h Current porth]h Current port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hj}ubj)}(h8``master_slave_get`` Current master/slave advertisement h](j)}(h``master_slave_get``h]j)}(hjʛh]hmaster_slave_get}(hj̛hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjțubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjěubj)}(hhh]jl)}(h"Current master/slave advertisementh]h"Current master/slave advertisement}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjߛhMhjubah}(h]h ]h"]h$]h&]uh1jhjěubeh}(h]h ]h"]h$]h&]uh1jhjߛhMhj}ubj)}(h?``master_slave_set`` User requested master/slave configuration h](j)}(h``master_slave_set``h]j)}(hjh]hmaster_slave_set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h)User requested master/slave configurationh]h)User requested master/slave configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubj)}(h:``master_slave_state`` Current master/slave configuration h](j)}(h``master_slave_state``h]j)}(hj<h]hmaster_slave_state}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj6ubj)}(hhh]jl)}(h"Current master/slave configurationh]h"Current master/slave configuration}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhj}ubj)}(h3``supported`` Combined MAC/PHY supported linkmodes h](j)}(h ``supported``h]j)}(hjuh]h supported}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahjoubj)}(hhh]jl)}(h$Combined MAC/PHY supported linkmodesh]h$Combined MAC/PHY supported linkmodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMahj}ubj)}(h/``advertising`` Currently advertised linkmodes h](j)}(h``advertising``h]j)}(hjh]h advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMbhjubj)}(hhh]jl)}(hCurrently advertised linkmodesh]hCurrently advertised linkmodes}(hjǜhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjÜhMbhjĜubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjÜhMbhj}ubj)}(h=``lp_advertising`` Current link partner advertised linkmodes h](j)}(h``lp_advertising``h]j)}(hjh]hlp_advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMkhjubj)}(hhh]jl)}(h)Current link partner advertised linkmodesh]h)Current link partner advertised linkmodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMkhj}ubj)}(h8``adv_old`` Saved advertised while power saving for WoL h](j)}(h ``adv_old``h]j)}(hj h]hadv_old}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMchjubj)}(hhh]jl)}(h+Saved advertised while power saving for WoLh]h+Saved advertised while power saving for WoL}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hMchj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMchj}ubj)}(h.``supported_eee`` supported PHY EEE linkmodes h](j)}(h``supported_eee``h]j)}(hjYh]h supported_eee}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMdhjSubj)}(hhh]jl)}(hsupported PHY EEE linkmodesh]hsupported PHY EEE linkmodes}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMdhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMdhj}ubj)}(h7``advertising_eee`` Currently advertised EEE linkmodes h](j)}(h``advertising_eee``h]j)}(hjh]hadvertising_eee}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMehjubj)}(hhh]jl)}(h"Currently advertised EEE linkmodesh]h"Currently advertised EEE linkmodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehj}ubj)}(hL``eee_disabled_modes`` Energy efficient ethernet modes not to be advertised h](j)}(h``eee_disabled_modes``h]j)}(hj˝h]heee_disabled_modes}(hj͝hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɝubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMmhjŝubj)}(hhh]jl)}(h4Energy efficient ethernet modes not to be advertisedh]h4Energy efficient ethernet modes not to be advertised}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjŝubeh}(h]h ]h"]h$]h&]uh1jhjhMmhj}ubj)}(h<``enable_tx_lpi`` When True, MAC should transmit LPI to PHY h](j)}(h``enable_tx_lpi``h]j)}(hjh]h enable_tx_lpi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMfhjubj)}(hhh]jl)}(h)When True, MAC should transmit LPI to PHYh]h)When True, MAC should transmit LPI to PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMfhj}ubj)}(hM``eee_active`` phylib private state, indicating that EEE has been negotiated h](j)}(h``eee_active``h]j)}(hj=h]h eee_active}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghj7ubj)}(hhh]jl)}(h=phylib private state, indicating that EEE has been negotiatedh]h=phylib private state, indicating that EEE has been negotiated}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjRhMghjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMghj}ubj)}(hm``autonomous_eee_disabled`` Set when autonomous EEE has been disabled, used to re-apply after PHY soft reset h](j)}(h``autonomous_eee_disabled``h]j)}(hjvh]hautonomous_eee_disabled}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMihjpubj)}(hhh]jl)}(hPSet when autonomous EEE has been disabled, used to re-apply after PHY soft reseth]hPSet when autonomous EEE has been disabled, used to re-apply after PHY soft reset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMihj}ubj)}(h&``eee_cfg`` User configuration of EEE h](j)}(h ``eee_cfg``h]j)}(hjh]heee_cfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhjubj)}(hhh]jl)}(hUser configuration of EEEh]hUser configuration of EEE}(hjɞhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjŞhMjhjƞubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjŞhMjhj}ubj)}(h:``host_interfaces`` PHY interface modes supported by host h](j)}(h``host_interfaces``h]j)}(hjh]hhost_interfaces}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMlhjubj)}(hhh]jl)}(h%PHY interface modes supported by hosth]h%PHY interface modes supported by host}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhj}ubj)}(h+``phy_led_triggers`` Array of LED triggers h](j)}(h``phy_led_triggers``h]j)}(hj"h]hphy_led_triggers}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hArray of LED triggersh]hArray of LED triggers}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhj}ubj)}(hD``phy_num_led_triggers`` Number of triggers in **phy_led_triggers** h](j)}(h``phy_num_led_triggers``h]j)}(hj[h]hphy_num_led_triggers}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjUubj)}(hhh]jl)}(h*Number of triggers in **phy_led_triggers**h](hNumber of triggers in }(hjthhhNhNubj)}(h**phy_led_triggers**h]hphy_led_triggers}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jkhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhj}ubj)}(h3``last_triggered`` last LED trigger for link speed h](j)}(h``last_triggered``h]j)}(hjh]hlast_triggered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hlast LED trigger for link speedh]hlast LED trigger for link speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubj)}(h2``led_link_trigger`` LED trigger for link up/down h](j)}(h``led_link_trigger``h]j)}(hj۟h]hled_link_trigger}(hjݟhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjٟubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj՟ubj)}(hhh]jl)}(hLED trigger for link up/downh]hLED trigger for link up/down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj՟ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubj)}(h$``leds`` list of PHY LED structures h](j)}(h``leds``h]j)}(hjh]hleds}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hlist of PHY LED structuresh]hlist of PHY LED structures}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj}ubj)}(h7``irq`` IRQ number of the PHY's interrupt (-1 if none) h](j)}(h``irq``h]j)}(hjMh]hirq}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhjGubj)}(hhh]jl)}(h.IRQ number of the PHY's interrupt (-1 if none)h]h0IRQ number of the PHY’s interrupt (-1 if none)}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhMRhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMRhj}ubj)}(h(``priv`` Pointer to driver private data h](j)}(h``priv``h]j)}(hjh]hpriv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hPointer to driver private datah]hPointer to driver private data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubj)}(hA``shared`` Pointer to private data shared by phys in one package h](j)}(h ``shared``h]j)}(hjh]hshared}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h5Pointer to private data shared by phys in one packageh]h5Pointer to private data shared by phys in one package}(hjؠhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjԠhMhjՠubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjԠhMhj}ubj)}(h.``skb`` Netlink message for cable diagnostics h](j)}(h``skb``h]j)}(hjh]hskb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h%Netlink message for cable diagnosticsh]h%Netlink message for cable diagnostics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhj}ubj)}(h.``ehdr`` nNtlink header for cable diagnostics h](j)}(h``ehdr``h]j)}(hj1h]hehdr}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj+ubj)}(hhh]jl)}(h$nNtlink header for cable diagnosticsh]h$nNtlink header for cable diagnostics}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj}ubj)}(h1``nest`` Netlink nest used for cable diagnostics h](j)}(h``nest``h]j)}(hjjh]hnest}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjdubj)}(hhh]jl)}(h'Netlink nest used for cable diagnosticsh]h'Netlink nest used for cable diagnostics}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubj)}(h-``state_queue`` Work queue for state machine h](j)}(h``state_queue``h]j)}(hjh]h state_queue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hWork queue for state machineh]hWork queue for state machine}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubj)}(h/``lock`` Mutex for serialization access to PHY h](j)}(h``lock``h]j)}(hjܡh]hlock}(hjޡhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڡubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj֡ubj)}(hhh]jl)}(h%Mutex for serialization access to PHYh]h%Mutex for serialization access to PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj֡ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubj)}(hK``sfp_bus_attached`` Flag indicating whether the SFP bus has been attached h](j)}(h``sfp_bus_attached``h]j)}(hjh]hsfp_bus_attached}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThjubj)}(hhh]jl)}(h5Flag indicating whether the SFP bus has been attachedh]h5Flag indicating whether the SFP bus has been attached}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMThj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMThj}ubj)}(h6``sfp_bus`` SFP bus attached to this PHY's fiber port h](j)}(h ``sfp_bus``h]j)}(hjNh]hsfp_bus}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhjHubj)}(hhh]jl)}(h)SFP bus attached to this PHY's fiber porth]h+SFP bus attached to this PHY’s fiber port}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMUhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMUhj}ubj)}(h5``phylink`` Pointer to phylink instance for this PHY h](j)}(h ``phylink``h]j)}(hjh]hphylink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShjubj)}(hhh]jl)}(h(Pointer to phylink instance for this PHYh]h(Pointer to phylink instance for this PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShj}ubj)}(h@``attached_dev`` The attached enet driver's device instance ptr h](j)}(h``attached_dev``h]j)}(hjh]h attached_dev}(hj¢hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhjubj)}(hhh]jl)}(h.The attached enet driver's device instance ptrh]h0The attached enet driver’s device instance ptr}(hj٢hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjբhMVhj֢ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjբhMVhj}ubj)}(h-``mii_ts`` Pointer to time stamper callbacks h](j)}(h ``mii_ts``h]j)}(hjh]hmii_ts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h!Pointer to time stamper callbacksh]h!Pointer to time stamper callbacks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubj)}(h<``psec`` Pointer to Power Sourcing Equipment control struct h](j)}(h``psec``h]j)}(hj2h]hpsec}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj,ubj)}(hhh]jl)}(h2Pointer to Power Sourcing Equipment control structh]h2Pointer to Power Sourcing Equipment control struct}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhj}ubj)}(h'``ports`` List of PHY ports structures h](j)}(h ``ports``h]j)}(hjkh]hports}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjeubj)}(hhh]jl)}(hList of PHY ports structuresh]hList of PHY ports structures}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubj)}(h:``n_ports`` Number of ports currently attached to the PHY h](j)}(h ``n_ports``h]j)}(hjh]hn_ports}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h-Number of ports currently attached to the PHYh]h-Number of ports currently attached to the PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubj)}(h8``max_n_ports`` Max number of ports this PHY can expose h](j)}(h``max_n_ports``h]j)}(hjݣh]h max_n_ports}(hjߣhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۣubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjףubj)}(hhh]jl)}(h'Max number of ports this PHY can exposeh]h'Max number of ports this PHY can expose}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjףubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubj)}(h``mdix`` Current crossover h](j)}(h``mdix``h]j)}(hjh]hmdix}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMrhjubj)}(hhh]jl)}(hCurrent crossoverh]hCurrent crossover}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMrhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMrhj}ubj)}(h(``mdix_ctrl`` User setting of crossover h](j)}(h ``mdix_ctrl``h]j)}(hjOh]h mdix_ctrl}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMshjIubj)}(hhh]jl)}(hUser setting of crossoverh]hUser setting of crossover}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMshjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMshj}ubj)}(hD``pma_extable`` Cached value of PMA/PMD Extended Abilities Register h](j)}(h``pma_extable``h]j)}(hjh]h pma_extable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMthjubj)}(hhh]jl)}(h3Cached value of PMA/PMD Extended Abilities Registerh]h3Cached value of PMA/PMD Extended Abilities Register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthj}ubj)}(h3``link_down_events`` Number of times link was lost h](j)}(h``link_down_events``h]j)}(hjh]hlink_down_events}(hjähhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hNumber of times link was losth]hNumber of times link was lost}(hjڤhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj֤hMhjפubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj֤hMhj}ubj)}(hI``phy_link_change`` Callback for phylink for notification of link change h](j)}(h``phy_link_change``h]j)}(hjh]hphy_link_change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMYhjubj)}(hhh]jl)}(h4Callback for phylink for notification of link changeh]h4Callback for phylink for notification of link change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhj}ubj)}(h[``adjust_link`` Callback for the enet controller to respond to changes: in the link state. h](j)}(h``adjust_link``h]j)}(hj3h]h adjust_link}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMXhj-ubj)}(hhh]jl)}(hJCallback for the enet controller to respond to changes: in the link state.h]hJCallback for the enet controller to respond to changes: in the link state.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMXhj}ubj)}(h&``macsec_ops`` MACsec offloading ops. h](j)}(h``macsec_ops``h]j)}(hjmh]h macsec_ops}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMZhjgubj)}(hhh]jl)}(hMACsec offloading ops.h]hMACsec offloading ops.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMZhj}ubj)}(hN``oatc14_sqi_capability`` SQI capability information for OATC14 10Base-T1S PHYh](j)}(h``oatc14_sqi_capability``h]j)}(hjh]hoatc14_sqi_capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h4SQI capability information for OATC14 10Base-T1S PHYh]h4SQI capability information for OATC14 10Base-T1S PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubeh}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjdhhubj)}(h- Bits [15:0] are free to use by the PHY driver to communicate driver specific behavior. - Bits [23:16] are currently reserved for future use. - Bits [31:24] are reserved for defining generic PHY driver behavior. h]jUQ)}(hhh](jZQ)}(hVBits [15:0] are free to use by the PHY driver to communicate driver specific behavior.h]jl)}(hVBits [15:0] are free to use by the PHY driver to communicate driver specific behavior.h]hVBits [15:0] are free to use by the PHY driver to communicate driver specific behavior.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMKhjubah}(h]h ]h"]h$]h&]uh1jYQhjubjZQ)}(h3Bits [23:16] are currently reserved for future use.h]jl)}(hj!h]h3Bits [23:16] are currently reserved for future use.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMMhjubah}(h]h ]h"]h$]h&]uh1jYQhjubjZQ)}(hDBits [31:24] are reserved for defining generic PHY driver behavior. h]jl)}(hCBits [31:24] are reserved for defining generic PHY driver behavior.h]hCBits [31:24] are reserved for defining generic PHY driver behavior.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMNhj7ubah}(h]h ]h"]h$]h&]uh1jYQhjubeh}(h]h ]h"]h$]h&]j$Rj@uh1jTQhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjhMKhjdhhubjl)}(hinterrupts currently only supports enabled or disabled, but could be changed in the future to support enabling and disabling specific interruptsh]hinterrupts currently only supports enabled or disabled, but could be changed in the future to support enabling and disabling specific interrupts}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMQhjdhhubjl)}(hqContains some infrastructure for polling and interrupt handling, as well as handling shifts in PHY hardware stateh]hqContains some infrastructure for polling and interrupt handling, as well as handling shifts in PHY hardware state{+}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhjdhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_tdr_config (C struct)c.phy_tdr_confighNtauh1hhjdhhhNhNubh)}(hhh](j)}(hphy_tdr_configh]j )}(hstruct phy_tdr_configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM[ubj3)}(hphy_tdr_configh]j9)}(hjh]hphy_tdr_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM[ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM[ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM[hjhhubjg)}(hhh]jl)}(hConfiguration of a TDR raw testh]hConfiguration of a TDR raw test}(hjզhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM:hjҦhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM[ubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hXM**Definition**:: struct phy_tdr_config { u32 first; u32 last; u32 step; s8 pair; }; **Members** ``first`` Distance for first data collection point ``last`` Distance for last data collection point ``step`` Step between data collection points ``pair`` Bitmap of cable pairs to collect data forh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjubj)}(hRstruct phy_tdr_config { u32 first; u32 last; u32 step; s8 pair; };h]hRstruct phy_tdr_config { u32 first; u32 last; u32 step; s8 pair; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hjubjl)}(h **Members**h]j)}(hj#h]hMembers}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMGhjubj)}(hhh](j)}(h3``first`` Distance for first data collection point h](j)}(h ``first``h]j)}(hjBh]hfirst}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM=hj<ubj)}(hhh]jl)}(h(Distance for first data collection pointh]h(Distance for first data collection point}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhM=hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhM=hj9ubj)}(h1``last`` Distance for last data collection point h](j)}(h``last``h]j)}(hj{h]hlast}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjuubj)}(hhh]jl)}(h'Distance for last data collection pointh]h'Distance for last data collection point}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhM>hj9ubj)}(h-``step`` Step between data collection points h](j)}(h``step``h]j)}(hjh]hstep}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM?hjubj)}(hhh]jl)}(h#Step between data collection pointsh]h#Step between data collection points}(hjͧhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjɧhM?hjʧubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɧhM?hj9ubj)}(h2``pair`` Bitmap of cable pairs to collect data forh](j)}(h``pair``h]j)}(hjh]hpair}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM?hjubj)}(hhh]jl)}(h)Bitmap of cable pairs to collect data forh]h)Bitmap of cable pairs to collect data for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hj9ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubjl)}(h**Description**h]j)}(hj0h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMChjdhhubjl)}(hA structure containing possible configuration parameters for a TDR cable test. The driver does not need to implement all the parameters, but should report what is actually used. All distances are in centimeters.h]hA structure containing possible configuration parameters for a TDR cable test. The driver does not need to implement all the parameters, but should report what is actually used. All distances are in centimeters.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM@hjdhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlink_inband_signalling (C enum)c.link_inband_signallinghNtauh1hhjdhhhNhNubh)}(hhh](j)}(hlink_inband_signallingh]j )}(henum link_inband_signallingh](j)}(hjh]henum}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjhhhj{hMHubj3)}(hlink_inband_signallingh]j9)}(hjhh]hlink_inband_signalling}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjjhhhj{hMHubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjfhhhj{hMHubah}(h]jaah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj{hMHhjchhubjg)}(hhh]jl)}(h+in-band signalling modes that are supportedh]h+in-band signalling modes that are supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMOhjhhubah}(h]h ]h"]h$]h&]uh1jfhjchhhj{hMHubeh}(h]h ](jenumeh"]h$]h&]jjjjȨjjȨjjjuh1hhhhjdhNhNubj)}(h**Constants** ``LINK_INBAND_DISABLE`` in-band signalling can be disabled ``LINK_INBAND_ENABLE`` in-band signalling can be enabled without bypass ``LINK_INBAND_BYPASS`` in-band signalling can be enabled with bypassh](jl)}(h **Constants**h]j)}(hjҨh]h Constants}(hjԨhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjШubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShj̨ubj)}(hhh](j)}(h;``LINK_INBAND_DISABLE`` in-band signalling can be disabled h](j)}(h``LINK_INBAND_DISABLE``h]j)}(hjh]hLINK_INBAND_DISABLE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhjubj)}(hhh]jl)}(h"in-band signalling can be disabledh]h"in-band signalling can be disabled}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjubj)}(hH``LINK_INBAND_ENABLE`` in-band signalling can be enabled without bypass h](j)}(h``LINK_INBAND_ENABLE``h]j)}(hj*h]hLINK_INBAND_ENABLE}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMYhj$ubj)}(hhh]jl)}(h0in-band signalling can be enabled without bypassh]h0in-band signalling can be enabled without bypass}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hMYhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMYhjubj)}(hD``LINK_INBAND_BYPASS`` in-band signalling can be enabled with bypassh](j)}(h``LINK_INBAND_BYPASS``h]j)}(hjch]hLINK_INBAND_BYPASS}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[hj]ubj)}(hhh]jl)}(h-in-band signalling can be enabled with bypassh]h-in-band signalling can be enabled with bypass}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\hjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhM[hjubeh}(h]h ]h"]h$]h&]uh1jhj̨ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM^hjdhhubjl)}(hThe possible and required bits can only be used if the valid bit is set. If possible is clear, that means inband signalling can not be used. Required is only valid when possible is set, and means that inband signalling must be used.h]hThe possible and required bits can only be used if the valid bit is set. If possible is clear, that means inband signalling can not be used. Required is only valid when possible is set, and means that inband signalling must be used.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThjdhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_plca_cfg (C struct)c.phy_plca_cfghNtauh1hhjdhhhNhNubh)}(hhh](j)}(h phy_plca_cfgh]j )}(hstruct phy_plca_cfgh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM\ubj3)}(h phy_plca_cfgh]j9)}(hjީh]h phy_plca_cfg}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM\ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjܩhhhjhM\ubah}(h]jשah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM\hj٩hhubjg)}(hhh]jl)}(hWConfiguration of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.h]hWConfiguration of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahj#hhubah}(h]h ]h"]h$]h&]uh1jfhj٩hhhjhM\ubeh}(h]h ](jstructeh"]h$]h&]jjjj>jj>jjjuh1hhhhjdhNhNubj)}(hX**Definition**:: struct phy_plca_cfg { int version; int enabled; int node_id; int node_cnt; int to_tmr; int burst_cnt; int burst_tmr; }; **Members** ``version`` read-only PLCA register map version. -1 = not available. Ignored when setting the configuration. Format is the same as reported by the PLCA IDVER register (31.CA00). -1 = not available. ``enabled`` PLCA configured mode (enabled/disabled). -1 = not available / don't set. 0 = disabled, anything else = enabled. ``node_id`` the PLCA local node identifier. -1 = not available / don't set. Allowed values [0 .. 254]. 255 = node disabled. ``node_cnt`` the PLCA node count (maximum number of nodes having a TO). Only meaningful for the coordinator (node_id = 0). -1 = not available / don't set. Allowed values [1 .. 255]. ``to_tmr`` The value of the PLCA to_timer in bit-times, which determines the PLCA transmit opportunity window opening. See IEEE802.3 Clause 148 for more details. The to_timer shall be set equal over all nodes. -1 = not available / don't set. Allowed values [0 .. 255]. ``burst_cnt`` controls how many additional frames a node is allowed to send in single transmit opportunity (TO). The default value of 0 means that the node is allowed exactly one frame per TO. A value of 1 allows two frames per TO, and so on. -1 = not available / don't set. Allowed values [0 .. 255]. ``burst_tmr`` controls how many bit times to wait for the MAC to send a new frame before interrupting the burst. This value should be set to a value greater than the MAC inter-packet gap (which is typically 96 bits). -1 = not available / don't set. Allowed values [0 .. 255].h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh:}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMehjBubj)}(hstruct phy_plca_cfg { int version; int enabled; int node_id; int node_cnt; int to_tmr; int burst_cnt; int burst_tmr; };h]hstruct phy_plca_cfg { int version; int enabled; int node_id; int node_cnt; int to_tmr; int burst_cnt; int burst_tmr; };}hjcsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghjBubjl)}(h **Members**h]j)}(hjth]hMembers}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMqhjBubj)}(hhh](j)}(h``version`` read-only PLCA register map version. -1 = not available. Ignored when setting the configuration. Format is the same as reported by the PLCA IDVER register (31.CA00). -1 = not available. h](j)}(h ``version``h]j)}(hjh]hversion}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMghjubj)}(hhh]jl)}(hread-only PLCA register map version. -1 = not available. Ignored when setting the configuration. Format is the same as reported by the PLCA IDVER register (31.CA00). -1 = not available.h]hread-only PLCA register map version. -1 = not available. Ignored when setting the configuration. Format is the same as reported by the PLCA IDVER register (31.CA00). -1 = not available.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubj)}(h|``enabled`` PLCA configured mode (enabled/disabled). -1 = not available / don't set. 0 = disabled, anything else = enabled. h](j)}(h ``enabled``h]j)}(hjͪh]henabled}(hjϪhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˪ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMihjǪubj)}(hhh]jl)}(hoPLCA configured mode (enabled/disabled). -1 = not available / don't set. 0 = disabled, anything else = enabled.h]hqPLCA configured mode (enabled/disabled). -1 = not available / don’t set. 0 = disabled, anything else = enabled.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhhjubah}(h]h ]h"]h$]h&]uh1jhjǪubeh}(h]h ]h"]h$]h&]uh1jhjhMihjubj)}(h|``node_id`` the PLCA local node identifier. -1 = not available / don't set. Allowed values [0 .. 254]. 255 = node disabled. h](j)}(h ``node_id``h]j)}(hjh]hnode_id}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMkhjubj)}(hhh]jl)}(hothe PLCA local node identifier. -1 = not available / don't set. Allowed values [0 .. 254]. 255 = node disabled.h]hqthe PLCA local node identifier. -1 = not available / don’t set. Allowed values [0 .. 254]. 255 = node disabled.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjubj)}(h``node_cnt`` the PLCA node count (maximum number of nodes having a TO). Only meaningful for the coordinator (node_id = 0). -1 = not available / don't set. Allowed values [1 .. 255]. h](j)}(h ``node_cnt``h]j)}(hjAh]hnode_cnt}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMnhj;ubj)}(hhh]jl)}(hthe PLCA node count (maximum number of nodes having a TO). Only meaningful for the coordinator (node_id = 0). -1 = not available / don't set. Allowed values [1 .. 255].h]hthe PLCA node count (maximum number of nodes having a TO). Only meaningful for the coordinator (node_id = 0). -1 = not available / don’t set. Allowed values [1 .. 255].}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMlhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMnhjubj)}(hX ``to_tmr`` The value of the PLCA to_timer in bit-times, which determines the PLCA transmit opportunity window opening. See IEEE802.3 Clause 148 for more details. The to_timer shall be set equal over all nodes. -1 = not available / don't set. Allowed values [0 .. 255]. h](j)}(h ``to_tmr``h]j)}(hj{h]hto_tmr}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMrhjuubj)}(hhh]jl)}(hXThe value of the PLCA to_timer in bit-times, which determines the PLCA transmit opportunity window opening. See IEEE802.3 Clause 148 for more details. The to_timer shall be set equal over all nodes. -1 = not available / don't set. Allowed values [0 .. 255].h]hXThe value of the PLCA to_timer in bit-times, which determines the PLCA transmit opportunity window opening. See IEEE802.3 Clause 148 for more details. The to_timer shall be set equal over all nodes. -1 = not available / don’t set. Allowed values [0 .. 255].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMohjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubj)}(hX.``burst_cnt`` controls how many additional frames a node is allowed to send in single transmit opportunity (TO). The default value of 0 means that the node is allowed exactly one frame per TO. A value of 1 allows two frames per TO, and so on. -1 = not available / don't set. Allowed values [0 .. 255]. h](j)}(h ``burst_cnt``h]j)}(hjh]h burst_cnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMwhjubj)}(hhh]jl)}(hXcontrols how many additional frames a node is allowed to send in single transmit opportunity (TO). The default value of 0 means that the node is allowed exactly one frame per TO. A value of 1 allows two frames per TO, and so on. -1 = not available / don't set. Allowed values [0 .. 255].h]hX!controls how many additional frames a node is allowed to send in single transmit opportunity (TO). The default value of 0 means that the node is allowed exactly one frame per TO. A value of 1 allows two frames per TO, and so on. -1 = not available / don’t set. Allowed values [0 .. 255].}(hjΫhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMshj˫ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʫhMwhjubj)}(hX``burst_tmr`` controls how many bit times to wait for the MAC to send a new frame before interrupting the burst. This value should be set to a value greater than the MAC inter-packet gap (which is typically 96 bits). -1 = not available / don't set. Allowed values [0 .. 255].h](j)}(h ``burst_tmr``h]j)}(hjh]h burst_tmr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMzhjubj)}(hhh]jl)}(hXcontrols how many bit times to wait for the MAC to send a new frame before interrupting the burst. This value should be set to a value greater than the MAC inter-packet gap (which is typically 96 bits). -1 = not available / don't set. Allowed values [0 .. 255].h]hXcontrols how many bit times to wait for the MAC to send a new frame before interrupting the burst. This value should be set to a value greater than the MAC inter-packet gap (which is typically 96 bits). -1 = not available / don’t set. Allowed values [0 .. 255].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjubeh}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubjl)}(h**Description**h]j)}(hj2h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM~hjdhhubjl)}(hA structure containing configuration parameters for setting/getting the PLCA RS configuration. The driver does not need to implement all the parameters, but should report what is actually used.h]hA structure containing configuration parameters for setting/getting the PLCA RS configuration. The driver does not need to implement all the parameters, but should report what is actually used.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM{hjdhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_plca_status (C struct)c.phy_plca_statushNtauh1hhjdhhhNhNubh)}(hhh](j)}(hphy_plca_statush]j )}(hstruct phy_plca_statush](j)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlhhhj}hMubj3)}(hphy_plca_statush]j9)}(hjjh]hphy_plca_status}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlhhhj}hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhhj}hMubah}(h]jcah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}hMhjehhubjg)}(hhh]jl)}(hPStatus of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.h]hPStatus of the PLCA (Physical Layer Collision Avoidance) Reconciliation Sublayer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjehhhj}hMubeh}(h]h ](jstructeh"]h$]h&]jjjjʬjjʬjjjuh1hhhhjdhNhNubj)}(h**Definition**:: struct phy_plca_status { bool pst; }; **Members** ``pst`` The PLCA status as reported by the PST bit in the PLCA STATUS register(31.CA03), indicating BEACON activity.h](jl)}(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&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjάubj)}(h)struct phy_plca_status { bool pst; };h]h)struct phy_plca_status { bool pst; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjάubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjάubj)}(hhh]j)}(ht``pst`` The PLCA status as reported by the PST bit in the PLCA STATUS register(31.CA03), indicating BEACON activity.h](j)}(h``pst``h]j)}(hjh]hpst}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hlThe PLCA status as reported by the PST bit in the PLCA STATUS register(31.CA03), indicating BEACON activity.h]hlThe PLCA status as reported by the PST bit in the PLCA STATUS register(31.CA03), indicating BEACON activity.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubah}(h]h ]h"]h$]h&]uh1jhjάubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubjl)}(h**Description**h]j)}(hjah]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjdhhubjl)}(hA structure containing status information of the PLCA RS configuration. The driver does not need to implement all the parameters, but should report what is actually used.h]hA structure containing status information of the PLCA RS configuration. The driver does not need to implement all the parameters, but should report what is actually used.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjdhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_led (C struct) c.phy_ledhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hphy_ledh]j )}(hstruct phy_ledh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_ledh]j9)}(hjh]hphy_led}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hAn LED driven by the PHYh]hAn LED driven by the PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjޭhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX7**Definition**:: struct phy_led { struct list_head list; struct phy_device *phydev; struct led_classdev led_cdev; u8 index; }; **Members** ``list`` List of LEDs ``phydev`` PHY this LED is attached to ``led_cdev`` Standard LED class structure ``index`` Number of the LEDh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(h}struct phy_led { struct list_head list; struct phy_device *phydev; struct led_classdev led_cdev; u8 index; };h]h}struct phy_led { struct list_head list; struct phy_device *phydev; struct led_classdev led_cdev; u8 index; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h **Members**h]j)}(hj/h]hMembers}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h``list`` List of LEDs h](j)}(h``list``h]j)}(hjNh]hlist}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjHubj)}(hhh]jl)}(h List of LEDsh]h List of LEDs}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjEubj)}(h'``phydev`` PHY this LED is attached to h](j)}(h ``phydev``h]j)}(hjh]hphydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hPHY this LED is attached toh]hPHY this LED is attached to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjEubj)}(h*``led_cdev`` Standard LED class structure h](j)}(h ``led_cdev``h]j)}(hjh]hled_cdev}(hj®hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hStandard LED class structureh]hStandard LED class structure}(hjٮhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjծhMhj֮ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjծhMhjEubj)}(h``index`` Number of the LEDh](j)}(h ``index``h]j)}(hjh]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hNumber of the LEDh]hNumber of the LED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjEubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mse_capability (C struct)c.phy_mse_capabilityhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hphy_mse_capabilityh]j )}(hstruct phy_mse_capabilityh](j)}(hjh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjOhhhj`hMubj3)}(hphy_mse_capabilityh]j9)}(hjMh]hphy_mse_capability}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjOhhhj`hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjKhhhj`hMubah}(h]jFah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj`hMhjHhhubjg)}(hhh]jl)}(h=Capabilities of Mean Square Error (MSE) measurement interfaceh]h=Capabilities of Mean Square Error (MSE) measurement interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjHhhhj`hMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX[**Definition**:: struct phy_mse_capability { u64 max_average_mse; u64 max_peak_mse; u64 refresh_rate_ps; u64 num_symbols; u32 supported_caps; }; **Members** ``max_average_mse`` The maximum value for an average MSE snapshot. This defines the scale for the measurement. If the PHY_MSE_CAP_AVG capability is supported, this value MUST be greater than 0. (vendor-specific units). ``max_peak_mse`` The maximum value for a peak MSE snapshot. If either PHY_MSE_CAP_PEAK or PHY_MSE_CAP_WORST_PEAK is supported, this value MUST be greater than 0. (vendor-specific units). ``refresh_rate_ps`` The typical interval, in picoseconds, between hardware updates of the MSE values. This is an estimate, and callers should not assume synchronous sampling. (vendor-specific units). ``num_symbols`` The number of symbols aggregated per hardware sample to calculate the MSE. (vendor-specific units). ``supported_caps`` A bitmask of PHY_MSE_CAP_* values indicating which measurement types (e.g., average, peak) and channels (e.g., per-pair or link-wide) are supported.h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hstruct phy_mse_capability { u64 max_average_mse; u64 max_peak_mse; u64 refresh_rate_ps; u64 num_symbols; u32 supported_caps; };h]hstruct phy_mse_capability { u64 max_average_mse; u64 max_peak_mse; u64 refresh_rate_ps; u64 num_symbols; u32 supported_caps; };}hjүsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h``max_average_mse`` The maximum value for an average MSE snapshot. This defines the scale for the measurement. If the PHY_MSE_CAP_AVG capability is supported, this value MUST be greater than 0. (vendor-specific units). h](j)}(h``max_average_mse``h]j)}(hjh]hmax_average_mse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubj)}(hhh]jl)}(hThe maximum value for an average MSE snapshot. This defines the scale for the measurement. If the PHY_MSE_CAP_AVG capability is supported, this value MUST be greater than 0. (vendor-specific units).h]hThe maximum value for an average MSE snapshot. This defines the scale for the measurement. If the PHY_MSE_CAP_AVG capability is supported, this value MUST be greater than 0. (vendor-specific units).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h``max_peak_mse`` The maximum value for a peak MSE snapshot. If either PHY_MSE_CAP_PEAK or PHY_MSE_CAP_WORST_PEAK is supported, this value MUST be greater than 0. (vendor-specific units). h](j)}(h``max_peak_mse``h]j)}(hj<h]h max_peak_mse}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM#hj6ubj)}(hhh]jl)}(hThe maximum value for a peak MSE snapshot. If either PHY_MSE_CAP_PEAK or PHY_MSE_CAP_WORST_PEAK is supported, this value MUST be greater than 0. (vendor-specific units).h]hThe maximum value for a peak MSE snapshot. If either PHY_MSE_CAP_PEAK or PHY_MSE_CAP_WORST_PEAK is supported, this value MUST be greater than 0. (vendor-specific units).}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM!hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM#hjubj)}(h``refresh_rate_ps`` The typical interval, in picoseconds, between hardware updates of the MSE values. This is an estimate, and callers should not assume synchronous sampling. (vendor-specific units). h](j)}(h``refresh_rate_ps``h]j)}(hjvh]hrefresh_rate_ps}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM&hjpubj)}(hhh]jl)}(hThe typical interval, in picoseconds, between hardware updates of the MSE values. This is an estimate, and callers should not assume synchronous sampling. (vendor-specific units).h]hThe typical interval, in picoseconds, between hardware updates of the MSE values. This is an estimate, and callers should not assume synchronous sampling. (vendor-specific units).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM$hjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjubj)}(ht``num_symbols`` The number of symbols aggregated per hardware sample to calculate the MSE. (vendor-specific units). h](j)}(h``num_symbols``h]j)}(hjh]h num_symbols}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM(hjubj)}(hhh]jl)}(hcThe number of symbols aggregated per hardware sample to calculate the MSE. (vendor-specific units).h]hcThe number of symbols aggregated per hardware sample to calculate the MSE. (vendor-specific units).}(hjɰhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'hjưubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjŰhM(hjubj)}(h``supported_caps`` A bitmask of PHY_MSE_CAP_* values indicating which measurement types (e.g., average, peak) and channels (e.g., per-pair or link-wide) are supported.h](j)}(h``supported_caps``h]j)}(hjh]hsupported_caps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*hjubj)}(hhh]jl)}(hA bitmask of PHY_MSE_CAP_* values indicating which measurement types (e.g., average, peak) and channels (e.g., per-pair or link-wide) are supported.h]hA bitmask of PHY_MSE_CAP_* values indicating which measurement types (e.g., average, peak) and channels (e.g., per-pair or link-wide) are supported.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM)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&]uh1jhjdhhhNhNubjl)}(h**Description**h]j)}(hj-h]h Description}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM.hjdhhubjl)}(hStandardization notes:h]hStandardization notes:}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjdhhubjUQ)}(hhh](jZQ)}(hPresence of MSE/SQI/pMSE is defined by OPEN Alliance specs, but numeric scaling, refresh/update rate and aggregation windows are not fixed and are vendor-/product-specific. (OA 100BASE-T1 TC1 v1.0 6.1.*; OA 1000BASE-T1 TC12 v2.2 6.1.*) h]jl)}(hPresence of MSE/SQI/pMSE is defined by OPEN Alliance specs, but numeric scaling, refresh/update rate and aggregation windows are not fixed and are vendor-/product-specific. (OA 100BASE-T1 TC1 v1.0 6.1.*; OA 1000BASE-T1 TC12 v2.2 6.1.*)h]hPresence of MSE/SQI/pMSE is defined by OPEN Alliance specs, but numeric scaling, refresh/update rate and aggregation windows are not fixed and are vendor-/product-specific. (OA 100BASE-T1 TC1 v1.0 6.1.*; OA 1000BASE-T1 TC12 v2.2 6.1.*)}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjUubah}(h]h ]h"]h$]h&]uh1jYQhjRubjZQ)}(hTypical recommendations: 2^16 symbols and 0..511 scaling for MSE; pMSE only defined for 100BASE-T1 (sliding window example), others are vendor extensions. Drivers must report actual scale/limits here. h]jl)}(hTypical recommendations: 2^16 symbols and 0..511 scaling for MSE; pMSE only defined for 100BASE-T1 (sliding window example), others are vendor extensions. Drivers must report actual scale/limits here.h]hTypical recommendations: 2^16 symbols and 0..511 scaling for MSE; pMSE only defined for 100BASE-T1 (sliding window example), others are vendor extensions. Drivers must report actual scale/limits here.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjnubah}(h]h ]h"]h$]h&]uh1jYQhjRubeh}(h]h ]h"]h$]h&]j$Rj@uh1jTQhjghMhjdhhubjl)}(hX Describes the MSE measurement capabilities for the current link mode. These properties are dynamic and may change when link settings are modified. Callers should re-query this capability after any link state change to ensure they have the most up-to-date information.h]hX Describes the MSE measurement capabilities for the current link mode. These properties are dynamic and may change when link settings are modified. Callers should re-query this capability after any link state change to ensure they have the most up-to-date information.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjdhhubjl)}(hXCallers should only request measurements for channels and types that are indicated as supported by the **supported_caps** bitmask. If **supported_caps** is 0, the device provides no MSE diagnostics, and driver operations should typically return -EOPNOTSUPP.h](hgCallers should only request measurements for channels and types that are indicated as supported by the }(hjhhhNhNubj)}(h**supported_caps**h]hsupported_caps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bitmask. If }(hjhhhNhNubj)}(h**supported_caps**h]hsupported_caps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhi is 0, the device provides no MSE diagnostics, and driver operations should typically return -EOPNOTSUPP.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjdhhubjl)}(hSnapshot values for average and peak MSE can be normalized to a 0..1 ratio by dividing the raw snapshot by the corresponding **max_average_mse** or **max_peak_mse** value.h](h}Snapshot values for average and peak MSE can be normalized to a 0..1 ratio by dividing the raw snapshot by the corresponding }(hjϱhhhNhNubj)}(h**max_average_mse**h]hmax_average_mse}(hjױhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϱubh or }(hjϱhhhNhNubj)}(h**max_peak_mse**h]h max_peak_mse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϱubh value.}(hjϱhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjdhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_mse_snapshot (C struct)c.phy_mse_snapshothNtauh1hhjdhhhNhNubh)}(hhh](j)}(hphy_mse_snapshoth]j )}(hstruct phy_mse_snapshoth](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj(hMubj3)}(hphy_mse_snapshoth]j9)}(hjh]hphy_mse_snapshot}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj(hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj(hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj(hMhjhhubjg)}(hhh]jl)}(h1A snapshot of Mean Square Error (MSE) diagnosticsh]h1A snapshot of Mean Square Error (MSE) diagnostics}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM5hjZhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj(hMubeh}(h]h ](jstructeh"]h$]h&]jjjjujjujjjuh1hhhhjdhNhNubj)}(hX**Definition**:: struct phy_mse_snapshot { u64 average_mse; u64 peak_mse; u64 worst_peak_mse; }; **Members** ``average_mse`` The average MSE value over the measurement window. OPEN Alliance references MSE as a DCQ metric; recommends 2^16 symbols and 0..511 scaling. Exact scale and refresh are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.1; 1000BASE-T1 TC12 v2.2 6.1.1). ``peak_mse`` The peak MSE value observed within the measurement window. For 100BASE-T1, "pMSE" is optional and may be implemented via a sliding 128-symbol window with periodic capture; not standardized for 1000BASE-T1. (100BASE-T1 TC1 v1.0 6.1.3, Table "DCQ.peakMSE"). ``worst_peak_mse`` A latched high-water mark of the peak MSE since last read (read-to-clear if implemented). OPEN Alliance shows a latched "worst case peak MSE" for 100BASE-T1 pMSE; availability/semantics outside that are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.3, DCQ.peakMSE high byte; 1000BASE-T1 TC12 v2.2 treats DCQ details as vendor-specific.)h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubh:}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM9hjyubj)}(h[struct phy_mse_snapshot { u64 average_mse; u64 peak_mse; u64 worst_peak_mse; };h]h[struct phy_mse_snapshot { u64 average_mse; u64 peak_mse; u64 worst_peak_mse; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;hjyubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMAhjyubj)}(hhh](j)}(hX``average_mse`` The average MSE value over the measurement window. OPEN Alliance references MSE as a DCQ metric; recommends 2^16 symbols and 0..511 scaling. Exact scale and refresh are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.1; 1000BASE-T1 TC12 v2.2 6.1.1). h](j)}(h``average_mse``h]j)}(hjʲh]h average_mse}(hj̲hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȲubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMAhjIJubj)}(hhh]jl)}(hThe average MSE value over the measurement window. OPEN Alliance references MSE as a DCQ metric; recommends 2^16 symbols and 0..511 scaling. Exact scale and refresh are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.1; 1000BASE-T1 TC12 v2.2 6.1.1).h]hThe average MSE value over the measurement window. OPEN Alliance references MSE as a DCQ metric; recommends 2^16 symbols and 0..511 scaling. Exact scale and refresh are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.1; 1000BASE-T1 TC12 v2.2 6.1.1).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjubah}(h]h ]h"]h$]h&]uh1jhjIJubeh}(h]h ]h"]h$]h&]uh1jhj߲hMAhjubj)}(hX ``peak_mse`` The peak MSE value observed within the measurement window. For 100BASE-T1, "pMSE" is optional and may be implemented via a sliding 128-symbol window with periodic capture; not standardized for 1000BASE-T1. (100BASE-T1 TC1 v1.0 6.1.3, Table "DCQ.peakMSE"). h](j)}(h ``peak_mse``h]j)}(hjh]hpeak_mse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFhjubj)}(hhh]jl)}(hThe peak MSE value observed within the measurement window. For 100BASE-T1, "pMSE" is optional and may be implemented via a sliding 128-symbol window with periodic capture; not standardized for 1000BASE-T1. (100BASE-T1 TC1 v1.0 6.1.3, Table "DCQ.peakMSE").h]hXThe peak MSE value observed within the measurement window. For 100BASE-T1, “pMSE” is optional and may be implemented via a sliding 128-symbol window with periodic capture; not standardized for 1000BASE-T1. (100BASE-T1 TC1 v1.0 6.1.3, Table “DCQ.peakMSE”).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjubj)}(hX_``worst_peak_mse`` A latched high-water mark of the peak MSE since last read (read-to-clear if implemented). OPEN Alliance shows a latched "worst case peak MSE" for 100BASE-T1 pMSE; availability/semantics outside that are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.3, DCQ.peakMSE high byte; 1000BASE-T1 TC12 v2.2 treats DCQ details as vendor-specific.)h](j)}(h``worst_peak_mse``h]j)}(hj>h]hworst_peak_mse}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMKhj8ubj)}(hhh]jl)}(hXLA latched high-water mark of the peak MSE since last read (read-to-clear if implemented). OPEN Alliance shows a latched "worst case peak MSE" for 100BASE-T1 pMSE; availability/semantics outside that are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.3, DCQ.peakMSE high byte; 1000BASE-T1 TC12 v2.2 treats DCQ details as vendor-specific.)h]hXPA latched high-water mark of the peak MSE since last read (read-to-clear if implemented). OPEN Alliance shows a latched “worst case peak MSE” for 100BASE-T1 pMSE; availability/semantics outside that are vendor-specific. (100BASE-T1 TC1 v1.0 6.1.3, DCQ.peakMSE high byte; 1000BASE-T1 TC12 v2.2 treats DCQ details as vendor-specific.)}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMKhjubeh}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMOhjdhhubjl)}(h]Holds a set of MSE diagnostic values that were all captured from a single measurement window.h]h]Holds a set of MSE diagnostic values that were all captured from a single measurement window.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM6hjdhhubjl)}(h{Values are raw, device-scaled and not normalized. Use struct phy_mse_capability to interpret the scale and sampling window.h]h{Values are raw, device-scaled and not normalized. Use struct phy_mse_capability to interpret the scale and sampling window.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM9hjdhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_driver (C struct) c.phy_driverhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h phy_driverh]j )}(hstruct phy_driverh](j)}(hjh]hstruct}(hjγhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjʳhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM?ubj")}(h h]h }(hjܳhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjʳhhhj۳hM?ubj3)}(h phy_driverh]j9)}(hjȳh]h phy_driver}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjʳhhhj۳hM?ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjƳhhhj۳hM?ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj۳hM?hjóhhubjg)}(hhh]jl)}(h*Driver structure for a particular PHY typeh]h*Driver structure for a particular PHY type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThj hhubah}(h]h ]h"]h$]h&]uh1jfhjóhhhj۳hM?ubeh}(h]h ](jstructeh"]h$]h&]jjjj(jj(jjjuh1hhhhjdhNhNubj)}(hXA**Definition**:: struct phy_driver { struct mdio_driver_common mdiodrv; u32 phy_id; char *name; u32 phy_id_mask; const unsigned long * const features; u32 flags; const void *driver_data; int (*soft_reset)(struct phy_device *phydev); int (*config_init)(struct phy_device *phydev); int (*probe)(struct phy_device *phydev); int (*get_features)(struct phy_device *phydev); unsigned int (*inband_caps)(struct phy_device *phydev, phy_interface_t interface); int (*config_inband)(struct phy_device *phydev, unsigned int modes); int (*get_rate_matching)(struct phy_device *phydev, phy_interface_t iface); int (*suspend)(struct phy_device *phydev); int (*resume)(struct phy_device *phydev); int (*config_aneg)(struct phy_device *phydev); int (*aneg_done)(struct phy_device *phydev); int (*read_status)(struct phy_device *phydev); int (*config_intr)(struct phy_device *phydev); irqreturn_t (*handle_interrupt)(struct phy_device *phydev); void (*remove)(struct phy_device *phydev); int (*match_phy_device)(struct phy_device *phydev, const struct phy_driver *phydrv); int (*set_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol); void (*get_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol); void (*link_change_notify)(struct phy_device *dev); int (*read_mmd)(struct phy_device *dev, int devnum, u16 regnum); int (*write_mmd)(struct phy_device *dev, int devnum, u16 regnum, u16 val); int (*read_page)(struct phy_device *dev); int (*write_page)(struct phy_device *dev, int page); int (*module_info)(struct phy_device *dev, struct ethtool_modinfo *modinfo); int (*module_eeprom)(struct phy_device *dev, struct ethtool_eeprom *ee, u8 *data); int (*cable_test_start)(struct phy_device *dev); int (*cable_test_tdr_start)(struct phy_device *dev, const struct phy_tdr_config *config); int (*cable_test_get_status)(struct phy_device *dev, bool *finished); void (*get_phy_stats)(struct phy_device *dev, struct ethtool_eth_phy_stats *eth_stats, struct ethtool_phy_stats *stats); void (*get_link_stats)(struct phy_device *dev, struct ethtool_link_ext_stats *link_stats); int (*update_stats)(struct phy_device *dev); int (*get_sset_count)(struct phy_device *dev); void (*get_strings)(struct phy_device *dev, u8 *data); void (*get_stats)(struct phy_device *dev, struct ethtool_stats *stats, u64 *data); int (*disable_autonomous_eee)(struct phy_device *dev); int (*get_tunable)(struct phy_device *dev, struct ethtool_tunable *tuna, void *data); int (*set_tunable)(struct phy_device *dev, struct ethtool_tunable *tuna, const void *data); int (*set_loopback)(struct phy_device *dev, bool enable, int speed); int (*get_sqi)(struct phy_device *dev); int (*get_sqi_max)(struct phy_device *dev); int (*get_mse_capability)(struct phy_device *dev, struct phy_mse_capability *cap); int (*get_mse_snapshot)(struct phy_device *dev, enum phy_mse_channel channel, struct phy_mse_snapshot *snapshot); int (*get_plca_cfg)(struct phy_device *dev, struct phy_plca_cfg *plca_cfg); int (*set_plca_cfg)(struct phy_device *dev, const struct phy_plca_cfg *plca_cfg); int (*get_plca_status)(struct phy_device *dev, struct phy_plca_status *plca_st); int (*led_brightness_set)(struct phy_device *dev, u8 index, enum led_brightness value); int (*led_blink_set)(struct phy_device *dev, u8 index, unsigned long *delay_on, unsigned long *delay_off); int (*led_hw_is_supported)(struct phy_device *dev, u8 index, unsigned long rules); int (*led_hw_control_set)(struct phy_device *dev, u8 index, unsigned long rules); int (*led_hw_control_get)(struct phy_device *dev, u8 index, unsigned long *rules); int (*led_polarity_set)(struct phy_device *dev, int index, unsigned long modes); unsigned int (*get_next_update_time)(struct phy_device *dev); int (*attach_mii_port)(struct phy_device *dev, struct phy_port *port); int (*attach_mdi_port)(struct phy_device *dev, struct phy_port *port); }; **Members** ``mdiodrv`` Data common to all MDIO devices ``phy_id`` The result of reading the UID registers of this PHY type, and ANDing them with the phy_id_mask. This driver only works for PHYs with IDs which match this field ``name`` The friendly name of this PHY type ``phy_id_mask`` Defines the important bits of the phy_id ``features`` A mandatory list of features (speed, duplex, etc) supported by this PHY ``flags`` A bitfield defining certain other features this PHY supports (like interrupts) ``driver_data`` Static driver data ``soft_reset`` Called to issue a PHY software reset ``config_init`` Called to initialize the PHY, including after a reset ``probe`` Called during discovery. Used to set up device-specific structures, if any ``get_features`` Probe the hardware to determine what abilities it has. Should only set phydev->supported. ``inband_caps`` query whether in-band is supported for the given PHY interface mode. Returns a bitmask of bits defined by enum link_inband_signalling. ``config_inband`` configure in-band mode for the PHY ``get_rate_matching`` Get the supported type of rate matching for a particular phy interface. This is used by phy consumers to determine whether to advertise lower-speed modes for that interface. It is assumed that if a rate matching mode is supported on an interface, then that interface's rate can be adapted to all slower link speeds supported by the phy. If the interface is not supported, this should return ``RATE_MATCH_NONE``. ``suspend`` Suspend the hardware, saving state if needed ``resume`` Resume the hardware, restoring state if needed ``config_aneg`` Configures the advertisement and resets autonegotiation if phydev->autoneg is on, forces the speed to the current settings in phydev if phydev->autoneg is off ``aneg_done`` Determines the auto negotiation result ``read_status`` Determines the negotiated speed and duplex ``config_intr`` Enables or disables interrupts. It should also clear any pending interrupts prior to enabling the IRQs and after disabling them. ``handle_interrupt`` Override default interrupt handling ``remove`` Clears up any memory if needed ``match_phy_device`` Returns true if this is a suitable driver for the given phydev. If NULL, matching is based on phy_id and phy_id_mask. ``set_wol`` Some devices (e.g. qnap TS-119P II) require PHY register changes to enable Wake on LAN, so set_wol is provided to be called in the ethernet driver's set_wol function. ``get_wol`` See set_wol, but for checking whether Wake on LAN is enabled. ``link_change_notify`` Called to inform a PHY device driver when the core is about to change the link state. This callback is supposed to be used as fixup hook for drivers that need to take action when the link state changes. Drivers are by no means allowed to mess with the PHY device structure in their implementations. ``read_mmd`` PHY specific driver override for reading a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD read function will be used by phy_read_mmd(), which will use either a direct read for Clause 45 PHYs or an indirect read for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device. ``write_mmd`` PHY specific driver override for writing a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD write function will be used by phy_write_mmd(), which will use either a direct write for Clause 45 PHYs, or an indirect write for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device. val is the value to be written. ``read_page`` Return the current PHY register page number ``write_page`` Set the current PHY register page number ``module_info`` Get the size and type of the eeprom contained within a plug-in module ``module_eeprom`` Get the eeprom information from the plug-in module ``cable_test_start`` Start a cable test ``cable_test_tdr_start`` Start a raw TDR cable test ``cable_test_get_status`` Once per second, or on interrupt, request the status of the test. ``get_phy_stats`` Retrieve PHY statistics. **dev**: The PHY device for which the statistics are retrieved. **eth_stats**: structure where Ethernet PHY stats will be stored. **stats**: structure where additional PHY-specific stats will be stored. Retrieves the supported PHY statistics and populates the provided structures. The input structures are pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace. ``get_link_stats`` Retrieve link statistics. **dev**: The PHY device for which the statistics are retrieved. **link_stats**: structure where link-specific stats will be stored. Retrieves link-related statistics for the given PHY device. The input structure is pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace. ``update_stats`` Trigger periodic statistics updates. **dev**: The PHY device for which statistics updates are triggered. Periodically gathers statistics from the PHY device to update locally maintained 64-bit counters. This is necessary for PHYs that implement reduced-width counters (e.g., 16-bit or 32-bit) which can overflow more frequently compared to 64-bit counters. By invoking this callback, drivers can fetch the current counter values, handle overflow detection, and accumulate the results into local 64-bit counters for accurate reporting through the `get_phy_stats` and `get_link_stats` interfaces. Return: 0 on success or a negative error code on failure. ``get_sset_count`` Number of statistic counters ``get_strings`` Names of the statistic counters ``get_stats`` Return the statistic counter values ``disable_autonomous_eee`` Disable PHY-autonomous EEE Some PHYs manage EEE autonomously, preventing the MAC from controlling LPI signaling. This callback disables autonomous EEE at the PHY. Return: 0 on success, negative errno on failure. ``get_tunable`` Return the value of a tunable ``set_tunable`` Set the value of a tunable ``set_loopback`` Set the loopback mode of the PHY enable selects if the loopback mode is enabled or disabled. If the loopback mode is enabled, then the speed of the loopback mode can be requested with the speed argument. If the speed argument is zero, then any speed can be selected. If the speed argument is > 0, then this speed shall be selected for the loopback mode or EOPNOTSUPP shall be returned if speed selection is not supported. ``get_sqi`` Get the signal quality indication ``get_sqi_max`` Get the maximum signal quality indication ``get_mse_capability`` Get capabilities and scale of MSE measurement **dev**: PHY device **cap**: Output (filled on success) Fill **cap** with the PHY's MSE capability for the current link mode: scale limits (max_average_mse, max_peak_mse), update interval (refresh_rate_ps), sample length (num_symbols) and the capability bitmask (supported_caps). Implementations may defer capability report until hardware has converged; in that case they should return -EAGAIN and allow the caller to retry later. Return: 0 on success. On failure, returns a negative errno code, such as -EOPNOTSUPP if MSE measurement is not supported by the PHY or in the current link mode, or -EAGAIN if the capability information is not yet available. ``get_mse_snapshot`` Retrieve a snapshot of MSE diagnostic values **dev**: PHY device **channel**: Channel identifier (PHY_MSE_CHANNEL_*) **snapshot**: Output (filled on success) Fill **snapshot** with a correlated set of MSE values from the most recent measurement window. Callers must validate **channel** against supported_caps returned by get_mse_capability(). Drivers must not coerce **channel**; if the requested selector is not implemented by the device or current link mode, the operation must fail. worst_peak_mse is latched and must be treated as read-to-clear. Return: 0 on success. On failure, returns a negative errno code, such as -EOPNOTSUPP if MSE measurement is not supported by the PHY or in the current link mode, or -EAGAIN if measurements are not yet available. ``get_plca_cfg`` Return the current PLCA configuration ``set_plca_cfg`` Set the PLCA configuration ``get_plca_status`` Return the current PLCA status info ``led_brightness_set`` Set a PHY LED brightness. Index indicates which of the PHYs led should be set. Value follows the standard LED class meaning, e.g. LED_OFF, LED_HALF, LED_FULL. ``led_blink_set`` Set a PHY LED blinking. Index indicates which of the PHYs led should be configured to blink. Delays are in milliseconds and if both are zero then a sensible default should be chosen. The call should adjust the timings in that case and if it can't match the values specified exactly. ``led_hw_is_supported`` Can the HW support the given rules. **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The core is interested in these rules Return 0 if yes, -EOPNOTSUPP if not, or an error code. ``led_hw_control_set`` Set the HW to control the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The rules used to control the LED Returns 0, or a an error code. ``led_hw_control_get`` Get how the HW is controlling the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** Pointer to the rules used to control the LED Set ***rules** to how the HW is currently blinking. Returns 0 on success, or a error code if the current blinking cannot be represented in rules, or some other error happens. ``led_polarity_set`` Set the LED polarity modes **dev**: PHY device which has the LED **index**: Which LED of the PHY device **modes**: bitmap of LED polarity modes Configure LED with all the required polarity modes in **modes** to make it correctly turn ON or OFF. Returns 0, or an error code. ``get_next_update_time`` Get the time until the next update event **dev**: PHY device Callback to determine the time (in jiffies) until the next update event for the PHY state machine. Allows PHY drivers to dynamically adjust polling intervals based on link state or other conditions. Returns the time in jiffies until the next update event. ``attach_mii_port`` Attach the given MII port to the PHY device **dev**: PHY device to notify **port**: The port being added Called when an MII port that needs to be driven by the PHY is found. The port that is being passed may or may not be initialized. If it is already initialized, it is by the generic port representation from devicetree, which superseeds any strapping or vendor-specific properties. If the port isn't initialized, the port->mediums and port->lanes fields must be set, possibly according to strapping information. The PHY driver must set the port->interfaces field to indicate the possible MII modes that this PHY can output on the port. Returns 0, or an error code. ``attach_mdi_port`` Attach the given MII port to the PHY device **dev**: PHY device to notify **port**: The port being added Called when a port that needs to be driven by the PHY is found. The number of time this will be called depends on phydev->max_n_ports, which the driver can change in .probe(). The port that is being passed may or may not be initialized. If it is already initialized, it is by the generic port representation from devicetree, which superseeds any strapping or vendor-specific properties. If the port isn't initialized, the port->mediums and port->lanes fields must be set, possibly according to strapping information. Returns 0, or an error code.h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh:}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMXhj,ubj)}(hXstruct phy_driver { struct mdio_driver_common mdiodrv; u32 phy_id; char *name; u32 phy_id_mask; const unsigned long * const features; u32 flags; const void *driver_data; int (*soft_reset)(struct phy_device *phydev); int (*config_init)(struct phy_device *phydev); int (*probe)(struct phy_device *phydev); int (*get_features)(struct phy_device *phydev); unsigned int (*inband_caps)(struct phy_device *phydev, phy_interface_t interface); int (*config_inband)(struct phy_device *phydev, unsigned int modes); int (*get_rate_matching)(struct phy_device *phydev, phy_interface_t iface); int (*suspend)(struct phy_device *phydev); int (*resume)(struct phy_device *phydev); int (*config_aneg)(struct phy_device *phydev); int (*aneg_done)(struct phy_device *phydev); int (*read_status)(struct phy_device *phydev); int (*config_intr)(struct phy_device *phydev); irqreturn_t (*handle_interrupt)(struct phy_device *phydev); void (*remove)(struct phy_device *phydev); int (*match_phy_device)(struct phy_device *phydev, const struct phy_driver *phydrv); int (*set_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol); void (*get_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol); void (*link_change_notify)(struct phy_device *dev); int (*read_mmd)(struct phy_device *dev, int devnum, u16 regnum); int (*write_mmd)(struct phy_device *dev, int devnum, u16 regnum, u16 val); int (*read_page)(struct phy_device *dev); int (*write_page)(struct phy_device *dev, int page); int (*module_info)(struct phy_device *dev, struct ethtool_modinfo *modinfo); int (*module_eeprom)(struct phy_device *dev, struct ethtool_eeprom *ee, u8 *data); int (*cable_test_start)(struct phy_device *dev); int (*cable_test_tdr_start)(struct phy_device *dev, const struct phy_tdr_config *config); int (*cable_test_get_status)(struct phy_device *dev, bool *finished); void (*get_phy_stats)(struct phy_device *dev, struct ethtool_eth_phy_stats *eth_stats, struct ethtool_phy_stats *stats); void (*get_link_stats)(struct phy_device *dev, struct ethtool_link_ext_stats *link_stats); int (*update_stats)(struct phy_device *dev); int (*get_sset_count)(struct phy_device *dev); void (*get_strings)(struct phy_device *dev, u8 *data); void (*get_stats)(struct phy_device *dev, struct ethtool_stats *stats, u64 *data); int (*disable_autonomous_eee)(struct phy_device *dev); int (*get_tunable)(struct phy_device *dev, struct ethtool_tunable *tuna, void *data); int (*set_tunable)(struct phy_device *dev, struct ethtool_tunable *tuna, const void *data); int (*set_loopback)(struct phy_device *dev, bool enable, int speed); int (*get_sqi)(struct phy_device *dev); int (*get_sqi_max)(struct phy_device *dev); int (*get_mse_capability)(struct phy_device *dev, struct phy_mse_capability *cap); int (*get_mse_snapshot)(struct phy_device *dev, enum phy_mse_channel channel, struct phy_mse_snapshot *snapshot); int (*get_plca_cfg)(struct phy_device *dev, struct phy_plca_cfg *plca_cfg); int (*set_plca_cfg)(struct phy_device *dev, const struct phy_plca_cfg *plca_cfg); int (*get_plca_status)(struct phy_device *dev, struct phy_plca_status *plca_st); int (*led_brightness_set)(struct phy_device *dev, u8 index, enum led_brightness value); int (*led_blink_set)(struct phy_device *dev, u8 index, unsigned long *delay_on, unsigned long *delay_off); int (*led_hw_is_supported)(struct phy_device *dev, u8 index, unsigned long rules); int (*led_hw_control_set)(struct phy_device *dev, u8 index, unsigned long rules); int (*led_hw_control_get)(struct phy_device *dev, u8 index, unsigned long *rules); int (*led_polarity_set)(struct phy_device *dev, int index, unsigned long modes); unsigned int (*get_next_update_time)(struct phy_device *dev); int (*attach_mii_port)(struct phy_device *dev, struct phy_port *port); int (*attach_mdi_port)(struct phy_device *dev, struct phy_port *port); };h]hXstruct phy_driver { struct mdio_driver_common mdiodrv; u32 phy_id; char *name; u32 phy_id_mask; const unsigned long * const features; u32 flags; const void *driver_data; int (*soft_reset)(struct phy_device *phydev); int (*config_init)(struct phy_device *phydev); int (*probe)(struct phy_device *phydev); int (*get_features)(struct phy_device *phydev); unsigned int (*inband_caps)(struct phy_device *phydev, phy_interface_t interface); int (*config_inband)(struct phy_device *phydev, unsigned int modes); int (*get_rate_matching)(struct phy_device *phydev, phy_interface_t iface); int (*suspend)(struct phy_device *phydev); int (*resume)(struct phy_device *phydev); int (*config_aneg)(struct phy_device *phydev); int (*aneg_done)(struct phy_device *phydev); int (*read_status)(struct phy_device *phydev); int (*config_intr)(struct phy_device *phydev); irqreturn_t (*handle_interrupt)(struct phy_device *phydev); void (*remove)(struct phy_device *phydev); int (*match_phy_device)(struct phy_device *phydev, const struct phy_driver *phydrv); int (*set_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol); void (*get_wol)(struct phy_device *dev, struct ethtool_wolinfo *wol); void (*link_change_notify)(struct phy_device *dev); int (*read_mmd)(struct phy_device *dev, int devnum, u16 regnum); int (*write_mmd)(struct phy_device *dev, int devnum, u16 regnum, u16 val); int (*read_page)(struct phy_device *dev); int (*write_page)(struct phy_device *dev, int page); int (*module_info)(struct phy_device *dev, struct ethtool_modinfo *modinfo); int (*module_eeprom)(struct phy_device *dev, struct ethtool_eeprom *ee, u8 *data); int (*cable_test_start)(struct phy_device *dev); int (*cable_test_tdr_start)(struct phy_device *dev, const struct phy_tdr_config *config); int (*cable_test_get_status)(struct phy_device *dev, bool *finished); void (*get_phy_stats)(struct phy_device *dev, struct ethtool_eth_phy_stats *eth_stats, struct ethtool_phy_stats *stats); void (*get_link_stats)(struct phy_device *dev, struct ethtool_link_ext_stats *link_stats); int (*update_stats)(struct phy_device *dev); int (*get_sset_count)(struct phy_device *dev); void (*get_strings)(struct phy_device *dev, u8 *data); void (*get_stats)(struct phy_device *dev, struct ethtool_stats *stats, u64 *data); int (*disable_autonomous_eee)(struct phy_device *dev); int (*get_tunable)(struct phy_device *dev, struct ethtool_tunable *tuna, void *data); int (*set_tunable)(struct phy_device *dev, struct ethtool_tunable *tuna, const void *data); int (*set_loopback)(struct phy_device *dev, bool enable, int speed); int (*get_sqi)(struct phy_device *dev); int (*get_sqi_max)(struct phy_device *dev); int (*get_mse_capability)(struct phy_device *dev, struct phy_mse_capability *cap); int (*get_mse_snapshot)(struct phy_device *dev, enum phy_mse_channel channel, struct phy_mse_snapshot *snapshot); int (*get_plca_cfg)(struct phy_device *dev, struct phy_plca_cfg *plca_cfg); int (*set_plca_cfg)(struct phy_device *dev, const struct phy_plca_cfg *plca_cfg); int (*get_plca_status)(struct phy_device *dev, struct phy_plca_status *plca_st); int (*led_brightness_set)(struct phy_device *dev, u8 index, enum led_brightness value); int (*led_blink_set)(struct phy_device *dev, u8 index, unsigned long *delay_on, unsigned long *delay_off); int (*led_hw_is_supported)(struct phy_device *dev, u8 index, unsigned long rules); int (*led_hw_control_set)(struct phy_device *dev, u8 index, unsigned long rules); int (*led_hw_control_get)(struct phy_device *dev, u8 index, unsigned long *rules); int (*led_polarity_set)(struct phy_device *dev, int index, unsigned long modes); unsigned int (*get_next_update_time)(struct phy_device *dev); int (*attach_mii_port)(struct phy_device *dev, struct phy_port *port); int (*attach_mdi_port)(struct phy_device *dev, struct phy_port *port); };}hjMsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMZhj,ubjl)}(h **Members**h]j)}(hj^h]hMembers}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj,ubj)}(hhh](j)}(h,``mdiodrv`` Data common to all MDIO devices h](j)}(h ``mdiodrv``h]j)}(hj}h]hmdiodrv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhjwubj)}(hhh]jl)}(hData common to all MDIO devicesh]hData common to all MDIO devices}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjtubj)}(h``phy_id`` The result of reading the UID registers of this PHY type, and ANDing them with the phy_id_mask. This driver only works for PHYs with IDs which match this field h](j)}(h ``phy_id``h]j)}(hjh]hphy_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMZhjubj)}(hhh]jl)}(hThe result of reading the UID registers of this PHY type, and ANDing them with the phy_id_mask. This driver only works for PHYs with IDs which match this fieldh]hThe result of reading the UID registers of this PHY type, and ANDing them with the phy_id_mask. This driver only works for PHYs with IDs which match this field}(hjϴhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMXhj̴ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˴hMZhjtubj)}(h,``name`` The friendly name of this PHY type h](j)}(h``name``h]j)}(hjh]hname}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM[hjubj)}(hhh]jl)}(h"The friendly name of this PHY typeh]h"The friendly name of this PHY type}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjtubj)}(h9``phy_id_mask`` Defines the important bits of the phy_id h](j)}(h``phy_id_mask``h]j)}(hj)h]h phy_id_mask}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\hj#ubj)}(hhh]jl)}(h(Defines the important bits of the phy_idh]h(Defines the important bits of the phy_id}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hM\hj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hM\hjtubj)}(hU``features`` A mandatory list of features (speed, duplex, etc) supported by this PHY h](j)}(h ``features``h]j)}(hjbh]hfeatures}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM^hj\ubj)}(hhh]jl)}(hGA mandatory list of features (speed, duplex, etc) supported by this PHYh]hGA mandatory list of features (speed, duplex, etc) supported by this PHY}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM^hjtubj)}(hY``flags`` A bitfield defining certain other features this PHY supports (like interrupts) h](j)}(h ``flags``h]j)}(hjh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM`hjubj)}(hhh]jl)}(hNA bitfield defining certain other features this PHY supports (like interrupts)h]hNA bitfield defining certain other features this PHY supports (like interrupts)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM_hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM`hjtubj)}(h#``driver_data`` Static driver data h](j)}(h``driver_data``h]j)}(hjֵh]h driver_data}(hjصhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԵubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahjеubj)}(hhh]jl)}(hStatic driver datah]hStatic driver data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjеubeh}(h]h ]h"]h$]h&]uh1jhjhMahjtubj)}(h4``soft_reset`` Called to issue a PHY software reset h](j)}(h``soft_reset``h]j)}(hjh]h soft_reset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhj ubj)}(hhh]jl)}(h$Called to issue a PHY software reseth]h$Called to issue a PHY software reset}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hMuhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMuhjtubj)}(hF``config_init`` Called to initialize the PHY, including after a reset h](j)}(h``config_init``h]j)}(hjHh]h config_init}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM{hjBubj)}(hhh]jl)}(h5Called to initialize the PHY, including after a reseth]h5Called to initialize the PHY, including after a reset}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMzhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hM{hjtubj)}(hV``probe`` Called during discovery. Used to set up device-specific structures, if any h](j)}(h ``probe``h]j)}(hjh]hprobe}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj|ubj)}(hhh]jl)}(hKCalled during discovery. Used to set up device-specific structures, if anyh]hKCalled during discovery. Used to set up device-specific structures, if any}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(hl``get_features`` Probe the hardware to determine what abilities it has. Should only set phydev->supported. h](j)}(h``get_features``h]j)}(hjh]h get_features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hZProbe the hardware to determine what abilities it has. Should only set phydev->supported.h]hZProbe the hardware to determine what abilities it has. Should only set phydev->supported.}(hjնhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjҶubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjѶhMhjtubj)}(h``inband_caps`` query whether in-band is supported for the given PHY interface mode. Returns a bitmask of bits defined by enum link_inband_signalling. h](j)}(h``inband_caps``h]j)}(hjh]h inband_caps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hquery whether in-band is supported for the given PHY interface mode. Returns a bitmask of bits defined by enum link_inband_signalling.h]hquery whether in-band is supported for the given PHY interface mode. Returns a bitmask of bits defined by enum link_inband_signalling.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjtubj)}(h5``config_inband`` configure in-band mode for the PHY h](j)}(h``config_inband``h]j)}(hj0h]h config_inband}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj*ubj)}(hhh]jl)}(h"configure in-band mode for the PHYh]h"configure in-band mode for the PHY}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjtubj)}(hX``get_rate_matching`` Get the supported type of rate matching for a particular phy interface. This is used by phy consumers to determine whether to advertise lower-speed modes for that interface. It is assumed that if a rate matching mode is supported on an interface, then that interface's rate can be adapted to all slower link speeds supported by the phy. If the interface is not supported, this should return ``RATE_MATCH_NONE``. h](j)}(h``get_rate_matching``h]j)}(hjih]hget_rate_matching}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjcubj)}(hhh]jl)}(hXGet the supported type of rate matching for a particular phy interface. This is used by phy consumers to determine whether to advertise lower-speed modes for that interface. It is assumed that if a rate matching mode is supported on an interface, then that interface's rate can be adapted to all slower link speeds supported by the phy. If the interface is not supported, this should return ``RATE_MATCH_NONE``.h](hXGet the supported type of rate matching for a particular phy interface. This is used by phy consumers to determine whether to advertise lower-speed modes for that interface. It is assumed that if a rate matching mode is supported on an interface, then that interface’s rate can be adapted to all slower link speeds supported by the phy. If the interface is not supported, this should return }(hjhhhNhNubj)}(h``RATE_MATCH_NONE``h]hRATE_MATCH_NONE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjtubj)}(h9``suspend`` Suspend the hardware, saving state if needed h](j)}(h ``suspend``h]j)}(hjh]hsuspend}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h,Suspend the hardware, saving state if neededh]h,Suspend the hardware, saving state if needed}(hjηhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjʷhMhj˷ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʷhMhjtubj)}(h:``resume`` Resume the hardware, restoring state if needed h](j)}(h ``resume``h]j)}(hjh]hresume}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h.Resume the hardware, restoring state if neededh]h.Resume the hardware, restoring state if needed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h``config_aneg`` Configures the advertisement and resets autonegotiation if phydev->autoneg is on, forces the speed to the current settings in phydev if phydev->autoneg is off h](j)}(h``config_aneg``h]j)}(hj'h]h config_aneg}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj!ubj)}(hhh]jl)}(hConfigures the advertisement and resets autonegotiation if phydev->autoneg is on, forces the speed to the current settings in phydev if phydev->autoneg is offh]hConfigures the advertisement and resets autonegotiation if phydev->autoneg is on, forces the speed to the current settings in phydev if phydev->autoneg is off}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjtubj)}(h5``aneg_done`` Determines the auto negotiation result h](j)}(h ``aneg_done``h]j)}(hjah]h aneg_done}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj[ubj)}(hhh]jl)}(h&Determines the auto negotiation resulth]h&Determines the auto negotiation result}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjtubj)}(h;``read_status`` Determines the negotiated speed and duplex h](j)}(h``read_status``h]j)}(hjh]h read_status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h*Determines the negotiated speed and duplexh]h*Determines the negotiated speed and duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h``config_intr`` Enables or disables interrupts. It should also clear any pending interrupts prior to enabling the IRQs and after disabling them. h](j)}(h``config_intr``h]j)}(hjӸh]h config_intr}(hjոhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѸubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj͸ubj)}(hhh]jl)}(hEnables or disables interrupts. It should also clear any pending interrupts prior to enabling the IRQs and after disabling them.h]hEnables or disables interrupts. It should also clear any pending interrupts prior to enabling the IRQs and after disabling them.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhj͸ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h9``handle_interrupt`` Override default interrupt handling h](j)}(h``handle_interrupt``h]j)}(hj h]hhandle_interrupt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h#Override default interrupt handlingh]h#Override default interrupt handling}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjtubj)}(h*``remove`` Clears up any memory if needed h](j)}(h ``remove``h]j)}(hjFh]hremove}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj@ubj)}(hhh]jl)}(hClears up any memory if neededh]hClears up any memory if needed}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjtubj)}(h``match_phy_device`` Returns true if this is a suitable driver for the given phydev. If NULL, matching is based on phy_id and phy_id_mask. h](j)}(h``match_phy_device``h]j)}(hjh]hmatch_phy_device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubj)}(hhh]jl)}(hvReturns true if this is a suitable driver for the given phydev. If NULL, matching is based on phy_id and phy_id_mask.h]hvReturns true if this is a suitable driver for the given phydev. If NULL, matching is based on phy_id and phy_id_mask.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h``set_wol`` Some devices (e.g. qnap TS-119P II) require PHY register changes to enable Wake on LAN, so set_wol is provided to be called in the ethernet driver's set_wol function. h](j)}(h ``set_wol``h]j)}(hjh]hset_wol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hSome devices (e.g. qnap TS-119P II) require PHY register changes to enable Wake on LAN, so set_wol is provided to be called in the ethernet driver's set_wol function.h]hSome devices (e.g. qnap TS-119P II) require PHY register changes to enable Wake on LAN, so set_wol is provided to be called in the ethernet driver’s set_wol function.}(hjҹhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjϹubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjιhMhjtubj)}(hJ``get_wol`` See set_wol, but for checking whether Wake on LAN is enabled. h](j)}(h ``get_wol``h]j)}(hjh]hget_wol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h=See set_wol, but for checking whether Wake on LAN is enabled.h]h=See set_wol, but for checking whether Wake on LAN is enabled.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(hXB``link_change_notify`` Called to inform a PHY device driver when the core is about to change the link state. This callback is supposed to be used as fixup hook for drivers that need to take action when the link state changes. Drivers are by no means allowed to mess with the PHY device structure in their implementations. h](j)}(h``link_change_notify``h]j)}(hj-h]hlink_change_notify}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj'ubj)}(hhh]jl)}(hX*Called to inform a PHY device driver when the core is about to change the link state. This callback is supposed to be used as fixup hook for drivers that need to take action when the link state changes. Drivers are by no means allowed to mess with the PHY device structure in their implementations.h]hX*Called to inform a PHY device driver when the core is about to change the link state. This callback is supposed to be used as fixup hook for drivers that need to take action when the link state changes. Drivers are by no means allowed to mess with the PHY device structure in their implementations.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjtubj)}(hX``read_mmd`` PHY specific driver override for reading a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD read function will be used by phy_read_mmd(), which will use either a direct read for Clause 45 PHYs or an indirect read for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device. h](j)}(h ``read_mmd``h]j)}(hjgh]hread_mmd}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjaubj)}(hhh]jl)}(hXPHY specific driver override for reading a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD read function will be used by phy_read_mmd(), which will use either a direct read for Clause 45 PHYs or an indirect read for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device.h]hXPHY specific driver override for reading a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD read function will be used by phy_read_mmd(), which will use either a direct read for Clause 45 PHYs or an indirect read for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhjtubj)}(hX``write_mmd`` PHY specific driver override for writing a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD write function will be used by phy_write_mmd(), which will use either a direct write for Clause 45 PHYs, or an indirect write for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device. val is the value to be written. h](j)}(h ``write_mmd``h]j)}(hjh]h write_mmd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hXPHY specific driver override for writing a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD write function will be used by phy_write_mmd(), which will use either a direct write for Clause 45 PHYs, or an indirect write for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device. val is the value to be written.h]hXPHY specific driver override for writing a MMD register. This function is optional for PHY specific drivers. When not provided, the default MMD write function will be used by phy_write_mmd(), which will use either a direct write for Clause 45 PHYs, or an indirect write for Clause 22 PHYs. devnum is the MMD device number within the PHY device, regnum is the register within the selected MMD device. val is the value to be written.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h:``read_page`` Return the current PHY register page number h](j)}(h ``read_page``h]j)}(hjۺh]h read_page}(hjݺhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjٺubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjպubj)}(hhh]jl)}(h+Return the current PHY register page numberh]h+Return the current PHY register page number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjպubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h8``write_page`` Set the current PHY register page number h](j)}(h``write_page``h]j)}(hjh]h write_page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h(Set the current PHY register page numberh]h(Set the current PHY register page number}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjtubj)}(hV``module_info`` Get the size and type of the eeprom contained within a plug-in module h](j)}(h``module_info``h]j)}(hjMh]h module_info}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjGubj)}(hhh]jl)}(hEGet the size and type of the eeprom contained within a plug-in moduleh]hEGet the size and type of the eeprom contained within a plug-in module}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjtubj)}(hE``module_eeprom`` Get the eeprom information from the plug-in module h](j)}(h``module_eeprom``h]j)}(hjh]h module_eeprom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubj)}(hhh]jl)}(h2Get the eeprom information from the plug-in moduleh]h2Get the eeprom information from the plug-in module}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjtubj)}(h(``cable_test_start`` Start a cable test h](j)}(h``cable_test_start``h]j)}(hjh]hcable_test_start}(hjûhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hStart a cable testh]hStart a cable test}(hjڻhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjֻhMhj׻ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjֻhMhjtubj)}(h4``cable_test_tdr_start`` Start a raw TDR cable test h](j)}(h``cable_test_tdr_start``h]j)}(hjh]hcable_test_tdr_start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hStart a raw TDR cable testh]hStart a raw TDR cable test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h\``cable_test_get_status`` Once per second, or on interrupt, request the status of the test. h](j)}(h``cable_test_get_status``h]j)}(hj3h]hcable_test_get_status}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj-ubj)}(hhh]jl)}(hAOnce per second, or on interrupt, request the status of the test.h]hAOnce per second, or on interrupt, request the status of the test.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjtubj)}(hX>``get_phy_stats`` Retrieve PHY statistics. **dev**: The PHY device for which the statistics are retrieved. **eth_stats**: structure where Ethernet PHY stats will be stored. **stats**: structure where additional PHY-specific stats will be stored. Retrieves the supported PHY statistics and populates the provided structures. The input structures are pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace. h](j)}(h``get_phy_stats``h]j)}(hjmh]h get_phy_stats}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM)hjgubj)}(hhh](jl)}(hRetrieve PHY statistics. **dev**: The PHY device for which the statistics are retrieved. **eth_stats**: structure where Ethernet PHY stats will be stored. **stats**: structure where additional PHY-specific stats will be stored.h](hRetrieve PHY statistics. }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9: The PHY device for which the statistics are retrieved. }(hjhhhNhNubj)}(h **eth_stats**h]h eth_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh5: structure where Ethernet PHY stats will be stored. }(hjhhhNhNubj)}(h **stats**h]hstats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh?: structure where additional PHY-specific stats will be stored.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubjl)}(hXFRetrieves the supported PHY statistics and populates the provided structures. The input structures are pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace.h](h|Retrieves the supported PHY statistics and populates the provided structures. The input structures are pre-initialized with }(hj˼hhhNhNubj")}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjӼhhhNhNubah}(h]h ]h"]h$]h&]uh1j!hj˼ubhw, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to }(hj˼hhhNhNubj")}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j!hj˼ubh' and will not be returned to userspace.}(hj˼hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM%hjubeh}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjtubj)}(hX``get_link_stats`` Retrieve link statistics. **dev**: The PHY device for which the statistics are retrieved. **link_stats**: structure where link-specific stats will be stored. Retrieves link-related statistics for the given PHY device. The input structure is pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace. h](j)}(h``get_link_stats``h]j)}(hjh]hget_link_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM8hj ubj)}(hhh](jl)}(hRetrieve link statistics. **dev**: The PHY device for which the statistics are retrieved. **link_stats**: structure where link-specific stats will be stored.h](hRetrieve link statistics. }(hj)hhhNhNubj)}(h**dev**h]hdev}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh9: The PHY device for which the statistics are retrieved. }(hj)hhhNhNubj)}(h**link_stats**h]h link_stats}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh5: structure where link-specific stats will be stored.}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM0hj&ubjl)}(hX2Retrieves link-related statistics for the given PHY device. The input structure is pre-initialized with `ETHTOOL_STAT_NOT_SET`, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to `ETHTOOL_STAT_NOT_SET` and will not be returned to userspace.h](hhRetrieves link-related statistics for the given PHY device. The input structure is pre-initialized with }(hj\hhhNhNubj")}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1j!hj\ubhw, and the driver must only modify members corresponding to supported statistics. Unmodified members will remain set to }(hj\hhhNhNubj")}(h`ETHTOOL_STAT_NOT_SET`h]hETHTOOL_STAT_NOT_SET}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1j!hj\ubh' and will not be returned to userspace.}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM4hj&ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hM8hjtubj)}(hX``update_stats`` Trigger periodic statistics updates. **dev**: The PHY device for which statistics updates are triggered. Periodically gathers statistics from the PHY device to update locally maintained 64-bit counters. This is necessary for PHYs that implement reduced-width counters (e.g., 16-bit or 32-bit) which can overflow more frequently compared to 64-bit counters. By invoking this callback, drivers can fetch the current counter values, handle overflow detection, and accumulate the results into local 64-bit counters for accurate reporting through the `get_phy_stats` and `get_link_stats` interfaces. Return: 0 on success or a negative error code on failure. h](j)}(h``update_stats``h]j)}(hjh]h update_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhjubj)}(hhh](jl)}(hhTrigger periodic statistics updates. **dev**: The PHY device for which statistics updates are triggered.h](h%Trigger periodic statistics updates. }(hjhhhNhNubj)}(h**dev**h]hdev}(hj½hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh<: The PHY device for which statistics updates are triggered.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hjubjl)}(hXPeriodically gathers statistics from the PHY device to update locally maintained 64-bit counters. This is necessary for PHYs that implement reduced-width counters (e.g., 16-bit or 32-bit) which can overflow more frequently compared to 64-bit counters. By invoking this callback, drivers can fetch the current counter values, handle overflow detection, and accumulate the results into local 64-bit counters for accurate reporting through the `get_phy_stats` and `get_link_stats` interfaces.h](hXPeriodically gathers statistics from the PHY device to update locally maintained 64-bit counters. This is necessary for PHYs that implement reduced-width counters (e.g., 16-bit or 32-bit) which can overflow more frequently compared to 64-bit counters. By invoking this callback, drivers can fetch the current counter values, handle overflow detection, and accumulate the results into local 64-bit counters for accurate reporting through the }(hj۽hhhNhNubj")}(h`get_phy_stats`h]h get_phy_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j!hj۽ubh and }(hj۽hhhNhNubj")}(h`get_link_stats`h]hget_link_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j!hj۽ubh interfaces.}(hj۽hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMAhjubjl)}(h9Return: 0 on success or a negative error code on failure.h]h9Return: 0 on success or a negative error code on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMJhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjtubj)}(h0``get_sset_count`` Number of statistic counters h](j)}(h``get_sset_count``h]j)}(hj.h]hget_sset_count}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMNhj(ubj)}(hhh]jl)}(hNumber of statistic countersh]hNumber of statistic counters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjChMNhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMNhjtubj)}(h0``get_strings`` Names of the statistic counters h](j)}(h``get_strings``h]j)}(hjgh]h get_strings}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMPhjaubj)}(hhh]jl)}(hNames of the statistic countersh]hNames of the statistic counters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj|hMPhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMPhjtubj)}(h2``get_stats`` Return the statistic counter values h](j)}(h ``get_stats``h]j)}(hjh]h get_stats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhjubj)}(hhh]jl)}(h#Return the statistic counter valuesh]h#Return the statistic counter values}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjtubj)}(h``disable_autonomous_eee`` Disable PHY-autonomous EEE Some PHYs manage EEE autonomously, preventing the MAC from controlling LPI signaling. This callback disables autonomous EEE at the PHY. Return: 0 on success, negative errno on failure. h](j)}(h``disable_autonomous_eee``h]j)}(hjپh]hdisable_autonomous_eee}(hj۾hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj׾ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]hjӾubj)}(hhh](jl)}(hDisable PHY-autonomous EEEh]hDisable PHY-autonomous EEE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhjubjl)}(hSome PHYs manage EEE autonomously, preventing the MAC from controlling LPI signaling. This callback disables autonomous EEE at the PHY.h]hSome PHYs manage EEE autonomously, preventing the MAC from controlling LPI signaling. This callback disables autonomous EEE at the PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMYhjubjl)}(h0Return: 0 on success, negative errno on failure.h]h0Return: 0 on success, negative errno on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM]hjubeh}(h]h ]h"]h$]h&]uh1jhjӾubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjtubj)}(h.``get_tunable`` Return the value of a tunable h](j)}(h``get_tunable``h]j)}(hj0h]h get_tunable}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMbhj*ubj)}(hhh]jl)}(hReturn the value of a tunableh]hReturn the value of a tunable}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMbhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMbhjtubj)}(h+``set_tunable`` Set the value of a tunable h](j)}(h``set_tunable``h]j)}(hjih]h set_tunable}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMehjcubj)}(hhh]jl)}(hSet the value of a tunableh]hSet the value of a tunable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMehjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMehjtubj)}(hX``set_loopback`` Set the loopback mode of the PHY enable selects if the loopback mode is enabled or disabled. If the loopback mode is enabled, then the speed of the loopback mode can be requested with the speed argument. If the speed argument is zero, then any speed can be selected. If the speed argument is > 0, then this speed shall be selected for the loopback mode or EOPNOTSUPP shall be returned if speed selection is not supported. h](j)}(h``set_loopback``h]j)}(hjh]h set_loopback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMphjubj)}(hhh]jl)}(hXSet the loopback mode of the PHY enable selects if the loopback mode is enabled or disabled. If the loopback mode is enabled, then the speed of the loopback mode can be requested with the speed argument. If the speed argument is zero, then any speed can be selected. If the speed argument is > 0, then this speed shall be selected for the loopback mode or EOPNOTSUPP shall be returned if speed selection is not supported.h]hXSet the loopback mode of the PHY enable selects if the loopback mode is enabled or disabled. If the loopback mode is enabled, then the speed of the loopback mode can be requested with the speed argument. If the speed argument is zero, then any speed can be selected. If the speed argument is > 0, then this speed shall be selected for the loopback mode or EOPNOTSUPP shall be returned if speed selection is not supported.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMphjtubj)}(h.``get_sqi`` Get the signal quality indication h](j)}(h ``get_sqi``h]j)}(hjܿh]hget_sqi}(hj޿hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڿubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMshjֿubj)}(hhh]jl)}(h!Get the signal quality indicationh]h!Get the signal quality indication}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjֿubeh}(h]h ]h"]h$]h&]uh1jhjhMshjtubj)}(h:``get_sqi_max`` Get the maximum signal quality indication h](j)}(h``get_sqi_max``h]j)}(hjh]h get_sqi_max}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhjubj)}(hhh]jl)}(h)Get the maximum signal quality indicationh]h)Get the maximum signal quality indication}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMuhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMuhjtubj)}(hX``get_mse_capability`` Get capabilities and scale of MSE measurement **dev**: PHY device **cap**: Output (filled on success) Fill **cap** with the PHY's MSE capability for the current link mode: scale limits (max_average_mse, max_peak_mse), update interval (refresh_rate_ps), sample length (num_symbols) and the capability bitmask (supported_caps). Implementations may defer capability report until hardware has converged; in that case they should return -EAGAIN and allow the caller to retry later. Return: 0 on success. On failure, returns a negative errno code, such as -EOPNOTSUPP if MSE measurement is not supported by the PHY or in the current link mode, or -EAGAIN if the capability information is not yet available. h](j)}(h``get_mse_capability``h]j)}(hjNh]hget_mse_capability}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjHubj)}(hhh](jl)}(hhGet capabilities and scale of MSE measurement **dev**: PHY device **cap**: Output (filled on success)h](h.Get capabilities and scale of MSE measurement }(hjghhhNhNubj)}(h**dev**h]hdev}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh: PHY device }(hjghhhNhNubj)}(h**cap**h]hcap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh: Output (filled on success)}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMyhjdubjl)}(hFill **cap** with the PHY's MSE capability for the current link mode: scale limits (max_average_mse, max_peak_mse), update interval (refresh_rate_ps), sample length (num_symbols) and the capability bitmask (supported_caps).h](hFill }(hjhhhNhNubj)}(h**cap**h]hcap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh with the PHY’s MSE capability for the current link mode: scale limits (max_average_mse, max_peak_mse), update interval (refresh_rate_ps), sample length (num_symbols) and the capability bitmask (supported_caps).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}hjdubjl)}(hImplementations may defer capability report until hardware has converged; in that case they should return -EAGAIN and allow the caller to retry later.h]hImplementations may defer capability report until hardware has converged; in that case they should return -EAGAIN and allow the caller to retry later.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjdubjl)}(hReturn: 0 on success. On failure, returns a negative errno code, such as -EOPNOTSUPP if MSE measurement is not supported by the PHY or in the current link mode, or -EAGAIN if the capability information is not yet available.h]hReturn: 0 on success. On failure, returns a negative errno code, such as -EOPNOTSUPP if MSE measurement is not supported by the PHY or in the current link mode, or -EAGAIN if the capability information is not yet available.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjdubeh}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjtubj)}(hX``get_mse_snapshot`` Retrieve a snapshot of MSE diagnostic values **dev**: PHY device **channel**: Channel identifier (PHY_MSE_CHANNEL_*) **snapshot**: Output (filled on success) Fill **snapshot** with a correlated set of MSE values from the most recent measurement window. Callers must validate **channel** against supported_caps returned by get_mse_capability(). Drivers must not coerce **channel**; if the requested selector is not implemented by the device or current link mode, the operation must fail. worst_peak_mse is latched and must be treated as read-to-clear. Return: 0 on success. On failure, returns a negative errno code, such as -EOPNOTSUPP if MSE measurement is not supported by the PHY or in the current link mode, or -EAGAIN if measurements are not yet available. h](j)}(h``get_mse_snapshot``h]j)}(hjh]hget_mse_snapshot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](jl)}(hRetrieve a snapshot of MSE diagnostic values **dev**: PHY device **channel**: Channel identifier (PHY_MSE_CHANNEL_*) **snapshot**: Output (filled on success)h](h-Retrieve a snapshot of MSE diagnostic values }(hjhhhNhNubj)}(h**dev**h]hdev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: PHY device }(hjhhhNhNubj)}(h **channel**h]hchannel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh*: Channel identifier (PHY_MSE_CHANNEL_*) }(hjhhhNhNubj)}(h **snapshot**h]hsnapshot}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: Output (filled on success)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h^Fill **snapshot** with a correlated set of MSE values from the most recent measurement window.h](hFill }(hjIhhhNhNubj)}(h **snapshot**h]hsnapshot}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubhM with a correlated set of MSE values from the most recent measurement window.}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hCallers must validate **channel** against supported_caps returned by get_mse_capability(). Drivers must not coerce **channel**; if the requested selector is not implemented by the device or current link mode, the operation must fail.h](hCallers must validate }(hjjhhhNhNubj)}(h **channel**h]hchannel}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubhR against supported_caps returned by get_mse_capability(). Drivers must not coerce }(hjjhhhNhNubj)}(h **channel**h]hchannel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubhk; if the requested selector is not implemented by the device or current link mode, the operation must fail.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h?worst_peak_mse is latched and must be treated as read-to-clear.h]h?worst_peak_mse is latched and must be treated as read-to-clear.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hReturn: 0 on success. On failure, returns a negative errno code, such as -EOPNOTSUPP if MSE measurement is not supported by the PHY or in the current link mode, or -EAGAIN if measurements are not yet available.h]hReturn: 0 on success. On failure, returns a negative errno code, such as -EOPNOTSUPP if MSE measurement is not supported by the PHY or in the current link mode, or -EAGAIN if measurements are not yet available.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h7``get_plca_cfg`` Return the current PLCA configuration h](j)}(h``get_plca_cfg``h]j)}(hjh]h get_plca_cfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h%Return the current PLCA configurationh]h%Return the current PLCA configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h,``set_plca_cfg`` Set the PLCA configuration h](j)}(h``set_plca_cfg``h]j)}(hjh]h set_plca_cfg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hSet the PLCA configurationh]hSet the PLCA configuration}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h8``get_plca_status`` Return the current PLCA status info h](j)}(h``get_plca_status``h]j)}(hj?h]hget_plca_status}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj9ubj)}(hhh]jl)}(h#Return the current PLCA status infoh]h#Return the current PLCA status info}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjtubj)}(h``led_brightness_set`` Set a PHY LED brightness. Index indicates which of the PHYs led should be set. Value follows the standard LED class meaning, e.g. LED_OFF, LED_HALF, LED_FULL. h](j)}(h``led_brightness_set``h]j)}(hjxh]hled_brightness_set}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjrubj)}(hhh]jl)}(hSet a PHY LED brightness. Index indicates which of the PHYs led should be set. Value follows the standard LED class meaning, e.g. LED_OFF, LED_HALF, LED_FULL.h]hSet a PHY LED brightness. Index indicates which of the PHYs led should be set. Value follows the standard LED class meaning, e.g. LED_OFF, LED_HALF, LED_FULL.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(hX/``led_blink_set`` Set a PHY LED blinking. Index indicates which of the PHYs led should be configured to blink. Delays are in milliseconds and if both are zero then a sensible default should be chosen. The call should adjust the timings in that case and if it can't match the values specified exactly. h](j)}(h``led_blink_set``h]j)}(hjh]h led_blink_set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hXSet a PHY LED blinking. Index indicates which of the PHYs led should be configured to blink. Delays are in milliseconds and if both are zero then a sensible default should be chosen. The call should adjust the timings in that case and if it can't match the values specified exactly.h]hXSet a PHY LED blinking. Index indicates which of the PHYs led should be configured to blink. Delays are in milliseconds and if both are zero then a sensible default should be chosen. The call should adjust the timings in that case and if it can’t match the values specified exactly.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h``led_hw_is_supported`` Can the HW support the given rules. **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The core is interested in these rules Return 0 if yes, -EOPNOTSUPP if not, or an error code. h](j)}(h``led_hw_is_supported``h]j)}(hjh]hled_hw_is_supported}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](jl)}(hCan the HW support the given rules. **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The core is interested in these rulesh](h$Can the HW support the given rules. }(hjhhhNhNubj)}(h**dev**h]hdev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: PHY device which has the LED }(hjhhhNhNubj)}(h **index**h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: Which LED of the PHY device }(hjhhhNhNubj)}(h **rules**h]hrules}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& The core is interested in these rules}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h7Return 0 if yes, -EOPNOTSUPP if not, or an error code.h]h7Return 0 if yes, -EOPNOTSUPP if not, or an error code.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h``led_hw_control_set`` Set the HW to control the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The rules used to control the LED Returns 0, or a an error code. h](j)}(h``led_hw_control_set``h]j)}(hjjh]hled_hw_control_set}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjdubj)}(hhh](jl)}(hSet the HW to control the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** The rules used to control the LEDh](hSet the HW to control the LED }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: PHY device which has the LED }(hjhhhNhNubj)}(h **index**h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: Which LED of the PHY device }(hjhhhNhNubj)}(h **rules**h]hrules}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" The rules used to control the LED}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hReturns 0, or a an error code.h]hReturns 0, or a an error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(hXq``led_hw_control_get`` Get how the HW is controlling the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** Pointer to the rules used to control the LED Set ***rules** to how the HW is currently blinking. Returns 0 on success, or a error code if the current blinking cannot be represented in rules, or some other error happens. h](j)}(h``led_hw_control_get``h]j)}(hjh]hled_hw_control_get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](jl)}(hGet how the HW is controlling the LED **dev**: PHY device which has the LED **index**: Which LED of the PHY device **rules** Pointer to the rules used to control the LEDh](h&Get how the HW is controlling the LED }(hjhhhNhNubj)}(h**dev**h]hdev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: PHY device which has the LED }(hjhhhNhNubj)}(h **index**h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: Which LED of the PHY device }(hjhhhNhNubj)}(h **rules**h]hrules}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh- Pointer to the rules used to control the LED}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hSet ***rules** to how the HW is currently blinking. Returns 0 on success, or a error code if the current blinking cannot be represented in rules, or some other error happens.h](hSet }(hjFhhhNhNubj)}(h ***rules**h]h*rules}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh to how the HW is currently blinking. Returns 0 on success, or a error code if the current blinking cannot be represented in rules, or some other error happens.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(hX)``led_polarity_set`` Set the LED polarity modes **dev**: PHY device which has the LED **index**: Which LED of the PHY device **modes**: bitmap of LED polarity modes Configure LED with all the required polarity modes in **modes** to make it correctly turn ON or OFF. Returns 0, or an error code. h](j)}(h``led_polarity_set``h]j)}(hjyh]hled_polarity_set}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjsubj)}(hhh](jl)}(hSet the LED polarity modes **dev**: PHY device which has the LED **index**: Which LED of the PHY device **modes**: bitmap of LED polarity modesh](hSet the LED polarity modes }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: PHY device which has the LED }(hjhhhNhNubj)}(h **index**h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: Which LED of the PHY device }(hjhhhNhNubj)}(h **modes**h]hmodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: bitmap of LED polarity modes}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hdConfigure LED with all the required polarity modes in **modes** to make it correctly turn ON or OFF.h](h6Configure LED with all the required polarity modes in }(hjhhhNhNubj)}(h **modes**h]hmodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh% to make it correctly turn ON or OFF.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hReturns 0, or an error code.h]hReturns 0, or an error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(hXY``get_next_update_time`` Get the time until the next update event **dev**: PHY device Callback to determine the time (in jiffies) until the next update event for the PHY state machine. Allows PHY drivers to dynamically adjust polling intervals based on link state or other conditions. Returns the time in jiffies until the next update event. h](j)}(h``get_next_update_time``h]j)}(hjh]hget_next_update_time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](jl)}(hmediums and port->lanes fields must be set, possibly according to strapping information. The PHY driver must set the port->interfaces field to indicate the possible MII modes that this PHY can output on the port. Returns 0, or an error code. h](j)}(h``attach_mii_port``h]j)}(hjh]hattach_mii_port}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj{ubj)}(hhh](jl)}(hhAttach the given MII port to the PHY device **dev**: PHY device to notify **port**: The port being addedh](h,Attach the given MII port to the PHY device }(hjhhhNhNubj)}(h**dev**h]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: PHY device to notify }(hjhhhNhNubj)}(h**port**h]hport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: The port being added}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hDCalled when an MII port that needs to be driven by the PHY is found.h]hDCalled when an MII port that needs to be driven by the PHY is found.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hThe port that is being passed may or may not be initialized. If it is already initialized, it is by the generic port representation from devicetree, which superseeds any strapping or vendor-specific properties.h]hThe port that is being passed may or may not be initialized. If it is already initialized, it is by the generic port representation from devicetree, which superseeds any strapping or vendor-specific properties.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubjl)}(hIf the port isn't initialized, the port->mediums and port->lanes fields must be set, possibly according to strapping information.h]hIf the port isn’t initialized, the port->mediums and port->lanes fields must be set, possibly according to strapping information.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h{The PHY driver must set the port->interfaces field to indicate the possible MII modes that this PHY can output on the port.h]h{The PHY driver must set the port->interfaces field to indicate the possible MII modes that this PHY can output on the port.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hReturns 0, or an error code.h]hReturns 0, or an error code.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(hX``attach_mdi_port`` Attach the given MII port to the PHY device **dev**: PHY device to notify **port**: The port being added Called when a port that needs to be driven by the PHY is found. The number of time this will be called depends on phydev->max_n_ports, which the driver can change in .probe(). The port that is being passed may or may not be initialized. If it is already initialized, it is by the generic port representation from devicetree, which superseeds any strapping or vendor-specific properties. If the port isn't initialized, the port->mediums and port->lanes fields must be set, possibly according to strapping information. Returns 0, or an error code.h](j)}(h``attach_mdi_port``h]j)}(hj)h]hattach_mdi_port}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM(hj#ubj)}(hhh](jl)}(hhAttach the given MII port to the PHY device **dev**: PHY device to notify **port**: The port being addedh](h,Attach the given MII port to the PHY device }(hjBhhhNhNubj)}(h**dev**h]hdev}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh: PHY device to notify }(hjBhhhNhNubj)}(h**port**h]hport}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh: The port being added}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj?ubjl)}(hCalled when a port that needs to be driven by the PHY is found. The number of time this will be called depends on phydev->max_n_ports, which the driver can change in .probe().h]hCalled when a port that needs to be driven by the PHY is found. The number of time this will be called depends on phydev->max_n_ports, which the driver can change in .probe().}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj?ubjl)}(hThe port that is being passed may or may not be initialized. If it is already initialized, it is by the generic port representation from devicetree, which superseeds any strapping or vendor-specific properties.h]hThe port that is being passed may or may not be initialized. If it is already initialized, it is by the generic port representation from devicetree, which superseeds any strapping or vendor-specific properties.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM!hj?ubjl)}(hIf the port isn't initialized, the port->mediums and port->lanes fields must be set, possibly according to strapping information.h]hIf the port isn’t initialized, the port->mediums and port->lanes fields must be set, possibly according to strapping information.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM&hj?ubjl)}(hReturns 0, or an error code.h]hReturns 0, or an error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM)hj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hM(hjtubeh}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM,hjdhhubjl)}(hXAll functions are optional. If config_aneg or read_status are not implemented, the phy core uses the genphy versions. Note that none of these functions should be called from interrupt time. The goal is for the bus read/write functions to be able to block when the bus transaction is happening, and be freed up by an interrupt (The MPC85xx has this ability, though it is not currently supported in the driver).h]hXAll functions are optional. If config_aneg or read_status are not implemented, the phy core uses the genphy versions. Note that none of these functions should be called from interrupt time. The goal is for the bus read/write functions to be able to block when the bus transaction is happening, and be freed up by an interrupt (The MPC85xx has this ability, though it is not currently supported in the driver).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahjdhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_id_compare (C function)c.phy_id_comparehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h0bool phy_id_compare (u32 id1, u32 id2, u32 mask)h]j )}(h/bool phy_id_compare(u32 id1, u32 id2, u32 mask)h](jM )}(hjh]hbool}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM8ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM8ubj3)}(hphy_id_compareh]j9)}(hphy_id_compareh]hphy_id_compare}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM8ubj )}(h(u32 id1, u32 id2, u32 mask)h](j )}(hu32 id1h](h)}(hhh]j9)}(hu32h]hu32}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j )}j j,sbc.phy_id_compareasbuh1hhjBubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj9)}(hid1h]hid1}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubj )}(hu32 id2h](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jec.phy_id_compareasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hid2h]hid2}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubj )}(hu32 maskh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jec.phy_id_compareasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM8ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM8ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM8hjhhubjg)}(hhh]jl)}(h7compare **id1** with **id2** taking account of **mask**h](hcompare }(hj1hhhNhNubj)}(h**id1**h]hid1}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh with }(hj1hhhNhNubj)}(h**id2**h]hid2}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh taking account of }(hj1hhhNhNubj)}(h**mask**h]hmask}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM8hj.hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM8ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1hhhhjdhNhNubj)}(hX=**Parameters** ``u32 id1`` first PHY ID ``u32 id2`` second PHY ID ``u32 mask`` the PHY ID mask, set bits are significant in matching **Description** Return true if the bits from **id1** and **id2** specified by **mask** match. This uses an equivalent test to (**id** & **mask**) == (**phy_id** & **mask**).h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM<hjubj)}(hhh](j)}(h``u32 id1`` first PHY ID h](j)}(h ``u32 id1``h]j)}(hjh]hu32 id1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM9hjubj)}(hhh]jl)}(h first PHY IDh]h first PHY ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubj)}(h``u32 id2`` second PHY ID h](j)}(h ``u32 id2``h]j)}(hjh]hu32 id2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM:hjubj)}(hhh]jl)}(h second PHY IDh]h second PHY ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubj)}(hC``u32 mask`` the PHY ID mask, set bits are significant in matching h](j)}(h ``u32 mask``h]j)}(hjh]hu32 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM;hjubj)}(hhh]jl)}(h5the PHY ID mask, set bits are significant in matchingh]h5the PHY ID mask, set bits are significant in matching}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hM;hj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hM;hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjQh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM=hjubjl)}(hReturn true if the bits from **id1** and **id2** specified by **mask** match. This uses an equivalent test to (**id** & **mask**) == (**phy_id** & **mask**).h](hReturn true if the bits from }(hjghhhNhNubj)}(h**id1**h]hid1}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh and }(hjghhhNhNubj)}(h**id2**h]hid2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh specified by }(hjghhhNhNubj)}(h**mask**h]hmask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh) match. This uses an equivalent test to (}(hjghhhNhNubj)}(h**id**h]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh & }(hjghhhNhNubj)}(h**mask**h]hmask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh) == (}(hjghhhNhNubj)}(h **phy_id**h]hphy_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh & }hjgsbj)}(h**mask**h]hmask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh).}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM<hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_id_compare_vendor (C function)c.phy_id_compare_vendorhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h4bool phy_id_compare_vendor (u32 id, u32 vendor_mask)h]j )}(h3bool phy_id_compare_vendor(u32 id, u32 vendor_mask)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj!hMFubj3)}(hphy_id_compare_vendorh]j9)}(hphy_id_compare_vendorh]hphy_id_compare_vendor}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj!hMFubj )}(h(u32 id, u32 vendor_mask)h](j )}(hu32 idh](h)}(hhh]j9)}(hu32h]hu32}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]j )}j j6sbc.phy_id_compare_vendorasbuh1hhjLubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj9)}(hidh]hid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubj )}(hu32 vendor_maskh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]joc.phy_id_compare_vendorasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h vendor_maskh]h vendor_mask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj!hMFubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj!hMFubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj!hMFhj hhubjg)}(hhh]jl)}(h#compare **id** with **vendor** maskh](hcompare }(hjhhhNhNubj)}(h**id**h]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh with }(hjhhhNhNubj)}(h **vendor**h]hvendor}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh mask}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMFhjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj!hMFubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``u32 id`` PHY ID ``u32 vendor_mask`` PHY Vendor mask **Return** true if the bits from **id** match **vendor** using the generic PHY Vendor mask.h](jl)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhj3ubj)}(hhh](j)}(h``u32 id`` PHY ID h](j)}(h ``u32 id``h]j)}(hjXh]hu32 id}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMGhjRubj)}(hhh]jl)}(hPHY IDh]hPHY ID}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjmhMGhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMGhjOubj)}(h$``u32 vendor_mask`` PHY Vendor mask h](j)}(h``u32 vendor_mask``h]j)}(hjh]hu32 vendor_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHhjubj)}(hhh]jl)}(hPHY Vendor maskh]hPHY Vendor mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhj3ubjl)}(hPtrue if the bits from **id** match **vendor** using the generic PHY Vendor mask.h](htrue if the bits from }(hjhhhNhNubj)}(h**id**h]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh match }(hjhhhNhNubj)}(h **vendor**h]hvendor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh# using the generic PHY Vendor mask.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_id_compare_model (C function)c.phy_id_compare_modelhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h2bool phy_id_compare_model (u32 id, u32 model_mask)h]j )}(h1bool phy_id_compare_model(u32 id, u32 model_mask)h](jM )}(hjh]hbool}(hj5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj1hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMSubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1hhhjBhMSubj3)}(hphy_id_compare_modelh]j9)}(hphy_id_compare_modelh]hphy_id_compare_model}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj1hhhjBhMSubj )}(h(u32 id, u32 model_mask)h](j )}(hu32 idh](h)}(hhh]j9)}(hu32h]hu32}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]j )}j jWsbc.phy_id_compare_modelasbuh1hhjmubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj9)}(hidh]hid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubj )}(hu32 model_maskh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_id_compare_modelasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h model_maskh]h model_mask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjiubeh}(h]h ]h"]h$]h&]jPjQuh1j hj1hhhjBhMSubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj-hhhjBhMSubah}(h]j(ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjBhMShj*hhubjg)}(hhh]jl)}(h"compare **id** with **model** maskh](hcompare }(hjhhhNhNubj)}(h**id**h]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh with }(hjhhhNhNubj)}(h **model**h]hmodel}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh mask}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShjhhubah}(h]h ]h"]h$]h&]uh1jfhj*hhhjBhMSubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``u32 id`` PHY ID ``u32 model_mask`` PHY Model mask **Return** true if the bits from **id** match **model** using the generic PHY Model mask.h](jl)}(h**Parameters**h]j)}(hjZh]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhjTubj)}(hhh](j)}(h``u32 id`` PHY ID h](j)}(h ``u32 id``h]j)}(hjyh]hu32 id}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThjsubj)}(hhh]jl)}(hPHY IDh]hPHY ID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMThjpubj)}(h"``u32 model_mask`` PHY Model mask h](j)}(h``u32 model_mask``h]j)}(hjh]hu32 model_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMUhjubj)}(hhh]jl)}(hPHY Model maskh]hPHY Model mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjpubeh}(h]h ]h"]h$]h&]uh1jhjTubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhjTubjl)}(hNtrue if the bits from **id** match **model** using the generic PHY Model mask.h](htrue if the bits from }(hjhhhNhNubj)}(h**id**h]hid}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh match }(hjhhhNhNubj)}(h **model**h]hmodel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" using the generic PHY Model mask.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMWhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphydev_id_compare (C function)c.phydev_id_comparehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h:bool phydev_id_compare (struct phy_device *phydev, u32 id)h]j )}(h9bool phydev_id_compare(struct phy_device *phydev, u32 id)h](jM )}(hjh]hbool}(hjVhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjRhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM`ubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRhhhjchM`ubj3)}(hphydev_id_compareh]j9)}(hphydev_id_compareh]hphydev_id_compare}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjRhhhjchM`ubj )}(h#(struct phy_device *phydev, u32 id)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jxsbc.phydev_id_compareasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu32 idh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.phydev_id_compareasbuh1hhjubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hidh]hid}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjRhhhjchM`ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjNhhhjchM`ubah}(h]jIah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjchM`hjKhhubjg)}(hhh]jl)}(h*compare **id** with the PHY's Clause 22 IDh](hcompare }(hj]hhhNhNubj)}(h**id**h]hid}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh with the PHY’s Clause 22 ID}(hj]hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM`hjZhhubah}(h]h ]h"]h$]h&]uh1jfhjKhhhjchM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX2**Parameters** ``struct phy_device *phydev`` the PHY device ``u32 id`` the PHY ID to be matched **Description** Compare the **phydev** clause 22 ID with the provided **id** and return true or false depending whether it matches, using the bound driver mask. The **phydev** must be bound to a driver.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMdhjubj)}(hhh](j)}(h-``struct phy_device *phydev`` the PHY device h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahjubj)}(hhh]jl)}(hthe PHY deviceh]hthe PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahjubj)}(h$``u32 id`` the PHY ID to be matched h](j)}(h ``u32 id``h]j)}(hjh]hu32 id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMbhjubj)}(hhh]jl)}(hthe PHY ID to be matchedh]hthe PHY ID to be matched}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj$h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMdhjubjl)}(hCompare the **phydev** clause 22 ID with the provided **id** and return true or false depending whether it matches, using the bound driver mask. The **phydev** must be bound to a driver.h](h Compare the }(hj:hhhNhNubj)}(h **phydev**h]hphydev}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh clause 22 ID with the provided }(hj:hhhNhNubj)}(h**id**h]hid}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubhY and return true or false depending whether it matches, using the bound driver mask. The }(hj:hhhNhNubj)}(h **phydev**h]hphydev}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh must be bound to a driver.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMchjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_is_started (C function)c.phy_is_startedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h/bool phy_is_started (struct phy_device *phydev)h]j )}(h.bool phy_is_started(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMtubj3)}(hphy_is_startedh]j9)}(hphy_is_startedh]hphy_is_started}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMtubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_is_startedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMtubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMtubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMthjhhubjg)}(hhh]jl)}(h4Convenience function to check whether PHY is startedh]h4Convenience function to check whether PHY is started}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMthj[hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjdhNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` The phy_device structh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMxhjzubj)}(hhh]j)}(h3``struct phy_device *phydev`` The phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMzhjubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_driver_is_genphy (C function)c.phy_driver_is_genphyhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h5bool phy_driver_is_genphy (struct phy_device *phydev)h]j )}(h4bool phy_driver_is_genphy(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM}ubj3)}(hphy_driver_is_genphyh]j9)}(hphy_driver_is_genphyh]hphy_driver_is_genphy}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM}ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]j )}j jsbc.phy_driver_is_genphyasbuh1hhj1ubj")}(h h]h }(hjshhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj-ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM}ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM}ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM}hjhhubjg)}(hhh]jl)}(hUConvenience function to check whether PHY is driven by one of the generic PHY driversh]hUConvenience function to check whether PHY is driven by one of the generic PHY drivers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM}hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct **Return** true if PHY is driven by one of the genphy driversh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hj4h]hReturn}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h2true if PHY is driven by one of the genphy driversh]h2true if PHY is driven by one of the genphy drivers}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_disable_eee_mode (C function)c.phy_disable_eee_modehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hDvoid phy_disable_eee_mode (struct phy_device *phydev, u32 link_mode)h]j )}(hCvoid phy_disable_eee_mode(struct phy_device *phydev, u32 link_mode)h](jM )}(hvoidh]hvoid}(hjyhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjuhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjuhhhjhMubj3)}(hphy_disable_eee_modeh]j9)}(hphy_disable_eee_modeh]hphy_disable_eee_mode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjuhhhjhMubj )}(h*(struct phy_device *phydev, u32 link_mode)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_disable_eee_modeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 link_modeh](h)}(hhh]j9)}(hu32h]hu32}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNj j )}j ]jc.phy_disable_eee_modeasbuh1hhj$ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj9)}(h link_modeh]h link_mode}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjuhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjqhhhjhMubah}(h]jlah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjnhhubjg)}(hhh]jl)}(hDon't advertise an EEE mode.h]hDon’t advertise an EEE mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj~hhubah}(h]h ]h"]h$]h&]uh1jfhjnhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hv**Parameters** ``struct phy_device *phydev`` The phy_device struct ``u32 link_mode`` The EEE mode to be disabledh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h-``u32 link_mode`` The EEE mode to be disabledh](j)}(h``u32 link_mode``h]j)}(hjh]h u32 link_mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hThe EEE mode to be disabledh]hThe EEE mode to be disabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_can_wakeup (C function)c.phy_can_wakeuphNtauh1hhjdhhhNhNubh)}(hhh](j)}(h/bool phy_can_wakeup (struct phy_device *phydev)h]j )}(h.bool phy_can_wakeup(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQhhhjbhMubj3)}(hphy_can_wakeuph]j9)}(hphy_can_wakeuph]hphy_can_wakeup}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQhhhjbhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jwsbc.phy_can_wakeupasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjQhhhjbhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjMhhhjbhMubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjbhMhjJhhubjg)}(hhh]jl)}(h9indicate whether PHY has driver model wakeup capabilitiesh]h9indicate whether PHY has driver model wakeup capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjbhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct **Return** true/false depending on the PHY driver's device_set_wakeup_capable() setting.h](jl)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj0ubj)}(hhh]j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjUh]hstruct phy_device *phydev}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjOubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj0ubjl)}(hMtrue/false depending on the PHY driver's device_set_wakeup_capable() setting.h]hOtrue/false depending on the PHY driver’s device_set_wakeup_capable() setting.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_may_wakeup (C function)c.phy_may_wakeuphNtauh1hhjdhhhNhNubh)}(hhh](j)}(h/bool phy_may_wakeup (struct phy_device *phydev)h]j )}(h.bool phy_may_wakeup(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_may_wakeuph]j9)}(hphy_may_wakeuph]hphy_may_wakeup}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNj j )}j ]j )}j jsbc.phy_may_wakeupasbuh1hhj ubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hphydevh]hphydev}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h'indicate whether PHY has wakeup enabledh]h'indicate whether PHY has wakeup enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` The phy_device struct **Return** true/false depending on the PHY driver's device_set_wakeup_enabled() setting if using the driver model, otherwise the legacy determination.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]j)}(h4``struct phy_device *phydev`` The phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(htrue/false depending on the PHY driver's device_set_wakeup_enabled() setting if using the driver model, otherwise the legacy determination.h]htrue/false depending on the PHY driver’s device_set_wakeup_enabled() setting if using the driver model, otherwise the legacy determination.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_read (C function) c.phy_readhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h4int phy_read (struct phy_device *phydev, u32 regnum)h]j )}(h3int phy_read(struct phy_device *phydev, u32 regnum)h](jM )}(hinth]hint}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQhhhjchMubj3)}(hphy_readh]j9)}(hphy_readh]hphy_read}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQhhhjchMubj )}(h'(struct phy_device *phydev, u32 regnum)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jxsb c.phy_readasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j c.phy_readasbuh1hhjubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjQhhhjchMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjMhhhjchMubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjchMhjJhhubjg)}(hhh]jl)}(h5Convenience function for reading a given PHY registerh]h5Convenience function for reading a given PHY register}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjZhhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjchMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to read **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjyubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_read (C function) c.__phy_readhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h6int __phy_read (struct phy_device *phydev, u32 regnum)h]j )}(h5int __phy_read(struct phy_device *phydev, u32 regnum)h](jM )}(hinth]hint}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjShhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjShhhjehMubj3)}(h __phy_readh]j9)}(h __phy_readh]h __phy_read}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjShhhjehMubj )}(h'(struct phy_device *phydev, u32 regnum)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jzsb c.__phy_readasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j c.__phy_readasbuh1hhjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjShhhjehMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjOhhhjehMubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjehMhjLhhubjg)}(hhh]jl)}(h5convenience function for reading a given PHY registerh]h5convenience function for reading a given PHY register}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj\hhubah}(h]h ]h"]h$]h&]uh1jfhjLhhhjehMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwjjwjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to read **Description** The caller must have taken the MDIO bus lock.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj{ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj{ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj{ubjl)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_write (C function) c.phy_writehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h>int phy_write (struct phy_device *phydev, u32 regnum, u16 val)h]j )}(h=int phy_write(struct phy_device *phydev, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUhhhjghMubj3)}(h phy_writeh]j9)}(h phy_writeh]h phy_write}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjUhhhjghMubj )}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j|sb c.phy_writeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j c.phy_writeasbuh1hhjubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]j c.phy_writeasbuh1hhjLubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjUhhhjghMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjQhhhjghMubah}(h]jLah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjghMhjNhhubjg)}(hhh]jl)}(h5Convenience function for writing a given PHY registerh]h5Convenience function for writing a given PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjNhhhjghMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX,**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj#h]h u32 regnum}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj\h]hu16 val}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjVubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hjuhhhNhNubj)}(h **regnum**h]hregnum}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jkhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_write (C function) c.__phy_writehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h@int __phy_write (struct phy_device *phydev, u32 regnum, u16 val)h]j )}(h?int __phy_write(struct phy_device *phydev, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h __phy_writeh]j9)}(h __phy_writeh]h __phy_write}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNj j )}j ]j )}j j sb c.__phy_writeasbuh1hhj#ubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#ubj )}(hj h]h*}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]ja c.__phy_writeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]ja c.__phy_writeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h5Convenience function for writing a given PHY registerh]h5Convenience function for writing a given PHY register}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj7hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Description** The caller must have taken the MDIO bus lock.h](jl)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjVubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj{h]hstruct phy_device *phydev}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjuubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubeh}(h]h ]h"]h$]h&]uh1jhjVubjl)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjVubjl)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__phy_modify_changed (C function)c.__phy_modify_changedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hSint __phy_modify_changed (struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h]j )}(hRint __phy_modify_changed(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hj{hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjwhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwhhhjhMubj3)}(h__phy_modify_changedh]j9)}(h__phy_modify_changedh]h__phy_modify_changed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjwhhhjhMubj )}(h:(struct phy_device *phydev, u32 regnum, u16 mask, u16 set)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.__phy_modify_changedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNj j )}j ]jc.__phy_modify_changedasbuh1hhj&ubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj9)}(hregnumh]hregnum}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]jc.__phy_modify_changedasbuh1hhjnubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__phy_modify_changedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjwhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjshhhjhMubah}(h]jnah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjphhubjg)}(hhh]jl)}(h1Convenience function for modifying a PHY registerh]h1Convenience function for modifying a PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjphhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` ``u32 regnum`` register number ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Description** Unlocked helper function which allows a PHY register to be modified as new register value = (old register value & ~mask) | set Returns negative errno, 0 if there was no change, and 1 in case of changeh](jl)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj/ubj)}(hhh](j)}(hV``struct phy_device *phydev`` a pointer to a :c:type:`struct phy_device ` h](j)}(h``struct phy_device *phydev``h]j)}(hjTh]hstruct phy_device *phydev}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjNubj)}(hhh]jl)}(h7a pointer to a :c:type:`struct phy_device `h](ha pointer to a }(hjmhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjwh]hstruct phy_device}(hjyhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhjihMhjmubeh}(h]h ]h"]h$]h&]uh1jkhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjKubj)}(h``u32 regnum`` register number h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hregister numberh]hregister number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjKubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjKubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjKubeh}(h]h ]h"]h$]h&]uh1jhj/ubjl)}(h**Description**h]j)}(hjYh]h Description}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj/ubjl)}(h~Unlocked helper function which allows a PHY register to be modified as new register value = (old register value & ~mask) | seth]h~Unlocked helper function which allows a PHY register to be modified as new register value = (old register value & ~mask) | set}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj/ubjl)}(hIReturns negative errno, 0 if there was no change, and 1 in case of changeh]hIReturns negative errno, 0 if there was no change, and 1 in case of change}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_read_mmd_poll_timeout (C macro)c.phy_read_mmd_poll_timeouthNtauh1hhjdhhhNhNubh)}(hhh](j)}(hphy_read_mmd_poll_timeouth]j )}(hphy_read_mmd_poll_timeouth]j3)}(hphy_read_mmd_poll_timeouth]j9)}(hjh]hphy_read_mmd_poll_timeout}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM ubah}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM hjhhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhjhhhjhM ubeh}(h]h ](jmacroeh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubjl)}(hk``phy_read_mmd_poll_timeout (phydev, devaddr, regnum, val, cond, sleep_us, timeout_us, sleep_before_read)``h]j)}(hjh]hgphy_read_mmd_poll_timeout (phydev, devaddr, regnum, val, cond, sleep_us, timeout_us, sleep_before_read)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjdhhubj)}(hNPeriodically poll a PHY register until a condition is met or a timeout occurs h]jl)}(hMPeriodically poll a PHY register until a condition is met or a timeout occursh]hMPeriodically poll a PHY register until a condition is met or a timeout occurs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubah}(h]h ]h"]h$]h&]uh1jhj hM hjdhhubj)}(hX**Parameters** ``phydev`` The phy_device struct ``devaddr`` The MMD to read from ``regnum`` The register on the MMD to read ``val`` Variable to read the register into ``cond`` Break condition (usually involving **val**) ``sleep_us`` Maximum time to sleep between reads in us (0 tight-loops). Please read usleep_range() function description for details and limitations. ``timeout_us`` Timeout in us, 0 means never timeout ``sleep_before_read`` if it is true, sleep **sleep_us** before read. **Return** 0 on success and -ETIMEDOUT upon a timeout. In either case, the last read value at **args** is stored in **val**. Must not be called from atomic context if sleep_us or timeout_us are used.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h!``phydev`` The phy_device struct h](j)}(h ``phydev``h]j)}(hj7h]hphydev}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj1ubj)}(hhh]jl)}(hThe phy_device structh]hThe phy_device struct}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhj.ubj)}(h!``devaddr`` The MMD to read from h](j)}(h ``devaddr``h]j)}(hjph]hdevaddr}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjjubj)}(hhh]jl)}(hThe MMD to read fromh]hThe MMD to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj.ubj)}(h+``regnum`` The register on the MMD to read h](j)}(h ``regnum``h]j)}(hjh]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hThe register on the MMD to readh]hThe register on the MMD to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj.ubj)}(h+``val`` Variable to read the register into h](j)}(h``val``h]j)}(hjh]hval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h"Variable to read the register intoh]h"Variable to read the register into}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj.ubj)}(h5``cond`` Break condition (usually involving **val**) h](j)}(h``cond``h]j)}(hjh]hcond}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h+Break condition (usually involving **val**)h](h#Break condition (usually involving }(hj4hhhNhNubj)}(h**val**h]hval}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh)}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj.ubj)}(h``sleep_us`` Maximum time to sleep between reads in us (0 tight-loops). Please read usleep_range() function description for details and limitations. h](j)}(h ``sleep_us``h]j)}(hjfh]hsleep_us}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj`ubj)}(hhh]jl)}(hMaximum time to sleep between reads in us (0 tight-loops). Please read usleep_range() function description for details and limitations.h]hMaximum time to sleep between reads in us (0 tight-loops). Please read usleep_range() function description for details and limitations.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhj.ubj)}(h4``timeout_us`` Timeout in us, 0 means never timeout h](j)}(h``timeout_us``h]j)}(hjh]h timeout_us}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h$Timeout in us, 0 means never timeouth]h$Timeout in us, 0 means never timeout}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj.ubj)}(hE``sleep_before_read`` if it is true, sleep **sleep_us** before read. h](j)}(h``sleep_before_read``h]j)}(hjh]hsleep_before_read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h.if it is true, sleep **sleep_us** before read.h](hif it is true, sleep }(hjhhhNhNubj)}(h **sleep_us**h]hsleep_us}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before read.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj.ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hj&h]hReturn}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h0 on success and -ETIMEDOUT upon a timeout. In either case, the last read value at **args** is stored in **val**. Must not be called from atomic context if sleep_us or timeout_us are used.h](hS0 on success and -ETIMEDOUT upon a timeout. In either case, the last read value at }(hj<hhhNhNubj)}(h**args**h]hargs}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh is stored in }(hj<hhhNhNubj)}(h**val**h]hval}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubhL. Must not be called from atomic context if sleep_us or timeout_us are used.}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_set_bits (C function)c.__phy_set_bitshNtauh1hhjdhhhNhNubh)}(hhh](j)}(hCint __phy_set_bits (struct phy_device *phydev, u32 regnum, u16 val)h]j )}(hBint __phy_set_bits(struct phy_device *phydev, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMOubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMOubj3)}(h__phy_set_bitsh]j9)}(h__phy_set_bitsh]h__phy_set_bits}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMOubj )}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.__phy_set_bitsasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNj j )}j ]jc.__phy_set_bitsasbuh1hhj:ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj9)}(hregnumh]hregnum}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__phy_set_bitsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMOubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMOubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMOhjhhubjg)}(hhh]jl)}(h7Convenience function for setting bits in a PHY registerh]h7Convenience function for setting bits in a PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMOhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` bits to set **Description** The caller must have taken the MDIO bus lock.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj h]hstruct phy_device *phydev}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMPhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5hMPhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMPhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjYh]h u32 regnum}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMQhjSubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMQhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMQhjubj)}(h``u16 val`` bits to set h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhjubj)}(hhh]jl)}(h bits to seth]h bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThjubjl)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMShjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_clear_bits (C function)c.__phy_clear_bitshNtauh1hhjdhhhNhNubh)}(hhh](j)}(hEint __phy_clear_bits (struct phy_device *phydev, u32 regnum, u16 val)h]j )}(hDint __phy_clear_bits(struct phy_device *phydev, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\ubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hM\ubj3)}(h__phy_clear_bitsh]j9)}(h__phy_clear_bitsh]h__phy_clear_bits}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hM\ubj )}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]j )}j j5sbc.__phy_clear_bitsasbuh1hhjKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjKubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__phy_clear_bitsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__phy_clear_bitsasbuh1hhjubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hM\ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hM\ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hM\hjhhubjg)}(hhh]jl)}(h8Convenience function for clearing bits in a PHY registerh]h8Convenience function for clearing bits in a PHY register}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM\hj_hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hM\ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` bits to clear **Description** The caller must have taken the MDIO bus lock.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM`hj~ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM]hjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM^hjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjubj)}(h``u16 val`` bits to clear h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM_hjubj)}(hhh]jl)}(h bits to clearh]h bits to clear}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hM_hj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hM_hjubeh}(h]h ]h"]h$]h&]uh1jhj~ubjl)}(h**Description**h]j)}(hjPh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMahj~ubjl)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM`hj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_bits (C function)c.phy_set_bitshNtauh1hhjdhhhNhNubh)}(hhh](j)}(hAint phy_set_bits (struct phy_device *phydev, u32 regnum, u16 val)h]j )}(h@int phy_set_bits(struct phy_device *phydev, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMjubj3)}(h phy_set_bitsh]j9)}(h phy_set_bitsh]h phy_set_bits}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMjubj )}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_set_bitsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNj j )}j ]j c.phy_set_bitsasbuh1hhj@ubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj9)}(hregnumh]hregnum}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.phy_set_bitsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMjubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMjubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMjhjhhubjg)}(hhh]jl)}(h7Convenience function for setting bits in a PHY registerh]h7Convenience function for setting bits in a PHY register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMjhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` bits to seth](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMnhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj&h]hstruct phy_device *phydev}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMkhj ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hMkhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMkhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj_h]h u32 regnum}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMlhjYubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjthMlhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMlhjubj)}(h``u16 val`` bits to seth](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMnhjubj)}(hhh]jl)}(h bits to seth]h bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_clear_bits (C function)c.phy_clear_bitshNtauh1hhjdhhhNhNubh)}(hhh](j)}(hCint phy_clear_bits (struct phy_device *phydev, u32 regnum, u16 val)h]j )}(hBint phy_clear_bits(struct phy_device *phydev, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMuubj3)}(hphy_clear_bitsh]j9)}(hphy_clear_bitsh]hphy_clear_bits}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMuubj )}(h0(struct phy_device *phydev, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j jsbc.phy_clear_bitsasbuh1hhj+ubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubj )}(hj h]h*}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jic.phy_clear_bitsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jic.phy_clear_bitsasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMuubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMuubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMuhjhhubjg)}(hhh]jl)}(h8Convenience function for clearing bits in a PHY registerh]h8Convenience function for clearing bits in a PHY register}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMuhj?hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``u32 regnum`` register number to write ``u16 val`` bits to clearh](jl)}(h**Parameters**h]j)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMyhj^ubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMvhj}ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjzubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMwhjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjzubj)}(h``u16 val`` bits to clearh](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMyhjubj)}(hhh]jl)}(h bits to clearh]h bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMxhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMyhjzubeh}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__phy_set_bits_mmd (C function)c.__phy_set_bits_mmdhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hRint __phy_set_bits_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]j )}(hQint __phy_set_bits_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjOhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhj]hMubj3)}(h__phy_set_bits_mmdh]j9)}(h__phy_set_bits_mmdh]h__phy_set_bits_mmd}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhj]hMubj )}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jrsbc.__phy_set_bits_mmdasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]jc.__phy_set_bits_mmdasbuh1hhj/ubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj9)}(hregnumh]hregnum}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__phy_set_bits_mmdasbuh1hhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjKhhhj]hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjGhhhj]hMubah}(h]jBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hMhjDhhubjg)}(hhh]jl)}(h:Convenience function for setting bits in a register on MMDh]h:Convenience function for setting bits in a register on MMD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjDhhhj]hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 val`` bits to set **Description** The caller must have taken the MDIO bus lock.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj ubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjNh]h int devad}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjHubj)}(hhh]jl)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhj ubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h``u16 val`` bits to set h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h bits to seth]h bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__phy_clear_bits_mmd (C function)c.__phy_clear_bits_mmdhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hTint __phy_clear_bits_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]j )}(hSint __phy_clear_bits_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](jM )}(hinth]hint}(hj@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj<hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<hhhjNhMubj3)}(h__phy_clear_bits_mmdh]j9)}(h__phy_clear_bits_mmdh]h__phy_clear_bits_mmd}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj<hhhjNhMubj )}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jcsbc.__phy_clear_bits_mmdasbuh1hhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(h int devadh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdevadh]hdevad}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNj j )}j ]jc.__phy_clear_bits_mmdasbuh1hhj ubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hregnumh]hregnum}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNj j )}j ]jc.__phy_clear_bits_mmdasbuh1hhjhubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubeh}(h]h ]h"]h$]h&]jPjQuh1j hj<hhhjNhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj8hhhjNhMubah}(h]j3ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjNhMhj5hhubjg)}(hhh]jl)}(h;Convenience function for clearing bits in a register on MMDh]h;Convenience function for clearing bits in a register on MMD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj5hhhjNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 val`` bits to clear **Description** The caller must have taken the MDIO bus lock.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hj?h]h int devad}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj9ubj)}(hhh]jl)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjxh]h u32 regnum}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjrubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``u16 val`` bits to clear h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h bits to clearh]h bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h-The caller must have taken the MDIO bus lock.h]h-The caller must have taken the MDIO bus lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_bits_mmd (C function)c.phy_set_bits_mmdhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hPint phy_set_bits_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]j )}(hOint phy_set_bits_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](jM )}(hinth]hint}(hj1hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj-hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-hhhj?hMubj3)}(hphy_set_bits_mmdh]j9)}(hphy_set_bits_mmdh]hphy_set_bits_mmd}(hjRhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj-hhhj?hMubj )}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jTsbc.phy_set_bits_mmdasbuh1hhjjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfubj )}(h int devadh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_set_bits_mmdasbuh1hhjubj")}(h h]h }(hj6hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]jc.phy_set_bits_mmdasbuh1hhjYubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjYubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjfubeh}(h]h ]h"]h$]h&]jPjQuh1j hj-hhhj?hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj)hhhj?hMubah}(h]j$ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj?hMhj&hhubjg)}(hhh]jl)}(h:Convenience function for setting bits in a register on MMDh]h:Convenience function for setting bits in a register on MMD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj&hhhj?hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 val`` bits to seth](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hj0h]h int devad}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj*ubj)}(hhh]jl)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjih]h u32 regnum}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjcubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjubj)}(h``u16 val`` bits to seth](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h bits to seth]h bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_clear_bits_mmd (C function)c.phy_clear_bits_mmdhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hRint phy_clear_bits_mmd (struct phy_device *phydev, int devad, u32 regnum, u16 val)h]j )}(hQint phy_clear_bits_mmd(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj hMubj3)}(hphy_clear_bits_mmdh]j9)}(hphy_clear_bits_mmdh]hphy_clear_bits_mmd}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj hMubj )}(h;(struct phy_device *phydev, int devad, u32 regnum, u16 val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hjFhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]j )}j jsbc.phy_clear_bits_mmdasbuh1hhj5ubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(h int devadh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jsc.phy_clear_bits_mmdasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNj j )}j ]jsc.phy_clear_bits_mmdasbuh1hhj$ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj9)}(hvalh]hval}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj1ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMhjhhubjg)}(hhh]jl)}(h;Convenience function for clearing bits in a register on MMDh]h;Convenience function for clearing bits in a register on MMD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj~hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct ``int devad`` the MMD containing register to modify ``u32 regnum`` register number to modify ``u16 val`` bits to clearh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh](j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``int devad`` the MMD containing register to modify h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(h%the MMD containing register to modifyh]h%the MMD containing register to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hj4h]h u32 regnum}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj.ubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjubj)}(h``u16 val`` bits to clearh](j)}(h ``u16 val``h]j)}(hjmh]hu16 val}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjgubj)}(hhh]jl)}(h bits to clearh]h bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_interrupt_is_valid (C function)c.phy_interrupt_is_validhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h7bool phy_interrupt_is_valid (struct phy_device *phydev)h]j )}(h6bool phy_interrupt_is_valid(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_interrupt_is_validh]j9)}(hphy_interrupt_is_validh]hphy_interrupt_is_valid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNj j )}j ]j )}j jsbc.phy_interrupt_is_validasbuh1hhjubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h0Convenience function for testing a given PHY irqh]h0Convenience function for testing a given PHY irq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` the phy_device struct **NOTE** must be kept in sync with addition/removal of PHY_POLL and PHY_MAC_INTERRUPTh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]j)}(h4``struct phy_device *phydev`` the phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hLmust be kept in sync with addition/removal of PHY_POLL and PHY_MAC_INTERRUPTh]hLmust be kept in sync with addition/removal of PHY_POLL and PHY_MAC_INTERRUPT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_polling_mode (C function)c.phy_polling_modehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h1bool phy_polling_mode (struct phy_device *phydev)h]j )}(h0bool phy_polling_mode(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjChhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjChhhjThMubj3)}(hphy_polling_modeh]j9)}(hphy_polling_modeh]hphy_polling_mode}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjChhhjThMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jisbc.phy_polling_modeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubah}(h]h ]h"]h$]h&]jPjQuh1j hjChhhjThMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?hhhjThMubah}(h]j:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjThMhj<hhubjg)}(hhh]jl)}(hUConvenience function for testing whether polling is used to detect PHY status changesh]hUConvenience function for testing whether polling is used to detect PHY status changes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj<hhhjThMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jl)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj"ubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjGh]hstruct phy_device *phydev}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjAubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_hwtstamp (C function)c.phy_has_hwtstamphNtauh1hhjdhhhNhNubh)}(hhh](j)}(h1bool phy_has_hwtstamp (struct phy_device *phydev)h]j )}(h0bool phy_has_hwtstamp(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_has_hwtstamph]j9)}(hphy_has_hwtstamph]hphy_has_hwtstamp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_has_hwtstampasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h-Tests whether a PHY time stamp configuration.h]h-Tests whether a PHY time stamp configuration.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj]hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxjjxjjjuh1hhhhjdhNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj|ubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_rxtstamp (C function)c.phy_has_rxtstamphNtauh1hhjdhhhNhNubh)}(hhh](j)}(h1bool phy_has_rxtstamp (struct phy_device *phydev)h]j )}(h0bool phy_has_rxtstamp(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_has_rxtstamph]j9)}(hphy_has_rxtstamph]hphy_has_rxtstamp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNj j )}j ]j )}j jsbc.phy_has_rxtstampasbuh1hhj3ubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3ubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h3Tests whether a PHY supports receive time stamping.h]h3Tests whether a PHY supports receive time stamping.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_tsinfo (C function)c.phy_has_tsinfohNtauh1hhjdhhhNhNubh)}(hhh](j)}(h/bool phy_has_tsinfo (struct phy_device *phydev)h]j )}(h.bool phy_has_tsinfo(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQhhhjbhMubj3)}(hphy_has_tsinfoh]j9)}(hphy_has_tsinfoh]hphy_has_tsinfo}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQhhhjbhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jwsbc.phy_has_tsinfoasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjQhhhjbhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjMhhhjbhMubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjbhMhjJhhubjg)}(hhh]jl)}(hQTests whether a PHY reports time stamping and/or PTP hardware clock capabilities.h]hQTests whether a PHY reports time stamping and/or PTP hardware clock capabilities.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjJhhhjbhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhjdhNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jl)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhj0ubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjUh]hstruct phy_device *phydev}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjOubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_has_txtstamp (C function)c.phy_has_txtstamphNtauh1hhjdhhhNhNubh)}(hhh](j)}(h1bool phy_has_txtstamp (struct phy_device *phydev)h]j )}(h0bool phy_has_txtstamp(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_has_txtstamph]j9)}(hphy_has_txtstamph]hphy_has_txtstamp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsbc.phy_has_txtstampasbuh1hhjubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjDhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h4Tests whether a PHY supports transmit time stamping.h]h4Tests whether a PHY supports transmit time stamping.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjkhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_is_default_hwtstamp (C function)c.phy_is_default_hwtstamphNtauh1hhjdhhhNhNubh)}(hhh](j)}(h8bool phy_is_default_hwtstamp (struct phy_device *phydev)h]j )}(h7bool phy_is_default_hwtstamp(struct phy_device *phydev)h](jM )}(hjh]hbool}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_is_default_hwtstamph]j9)}(hphy_is_default_hwtstamph]hphy_is_default_hwtstamp}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj")}(h h]h }(hjRhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]j )}j j+sbc.phy_is_default_hwtstampasbuh1hhjAubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjAubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h)Is the PHY hwtstamp the default timestamph]h)Is the PHY hwtstamp the default timestamp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hXj**Parameters** ``struct phy_device *phydev`` Pointer to phy_device **Description** This is used to get default timestamping device taking into account the new API choice, which is selecting the timestamping from MAC by default if the phydev does not have default_timestamp flag enabled. **Return** True if phy is the default hw timestamp, false otherwise.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]j)}(h4``struct phy_device *phydev`` Pointer to phy_device h](j)}(h``struct phy_device *phydev``h]j)}(hj h]hstruct phy_device *phydev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubj)}(hhh]jl)}(hPointer to phy_deviceh]hPointer to phy_device}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(hThis is used to get default timestamping device taking into account the new API choice, which is selecting the timestamping from MAC by default if the phydev does not have default_timestamp flag enabled.h]hThis is used to get default timestamping device taking into account the new API choice, which is selecting the timestamping from MAC by default if the phydev does not have default_timestamp flag enabled.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h **Return**h]j)}(hjkh]hReturn}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubjl)}(h9True if phy is the default hw timestamp, false otherwise.h]h9True if phy is the default hw timestamp, false otherwise.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_on_sfp (C function) c.phy_on_sfphNtauh1hhjdhhhNhNubh)}(hhh](j)}(h+bool phy_on_sfp (struct phy_device *phydev)h]j )}(h*bool phy_on_sfp(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM&ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM&ubj3)}(h phy_on_sfph]j9)}(h phy_on_sfph]h phy_on_sfp}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM&ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jsb c.phy_on_sfpasbuh1hhjubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM&ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM&ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM&hjhhubjg)}(hhh]jl)}(h=Convenience function for testing if a PHY is on an SFP moduleh]h=Convenience function for testing if a PHY is on an SFP module}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM&hjlhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM*hjubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM,hjubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_interface_mode_is_rgmii (C function)c.phy_interface_mode_is_rgmiihNtauh1hhjdhhhNhNubh)}(hhh](j)}(h7bool phy_interface_mode_is_rgmii (phy_interface_t mode)h]j )}(h6bool phy_interface_mode_is_rgmii(phy_interface_t mode)h](jM )}(hjh]hbool}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM/ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM/ubj3)}(hphy_interface_mode_is_rgmiih]j9)}(hphy_interface_mode_is_rgmiih]hphy_interface_mode_is_rgmii}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM/ubj )}(h(phy_interface_t mode)h]j )}(hphy_interface_t modeh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j )}j j,sbc.phy_interface_mode_is_rgmiiasbuh1hhjBubj")}(h h]h }(hjihhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj9)}(hmodeh]hmode}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM/ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM/ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM/hjhhubjg)}(hhh]jl)}(hPConvenience function for testing if a PHY interface mode is RGMII (all variants)h]hPConvenience function for testing if a PHY interface mode is RGMII (all variants)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM/hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hM**Parameters** ``phy_interface_t mode`` the :c:type:`phy_interface_t` enumh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM3hjubj)}(hhh]j)}(h;``phy_interface_t mode`` the :c:type:`phy_interface_t` enumh](j)}(h``phy_interface_t mode``h]j)}(hjh]hphy_interface_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM5hjubj)}(hhh]jl)}(h"the :c:type:`phy_interface_t` enumh](hthe }(hjhhhNhNubh)}(h:c:type:`phy_interface_t`h]j)}(hj h]hphy_interface_t}(hj hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM1hjubh enum}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj" hM1hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phy_interface_mode_is_8023z (C function)c.phy_interface_mode_is_8023zhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h7bool phy_interface_mode_is_8023z (phy_interface_t mode)h]j )}(h6bool phy_interface_mode_is_8023z(phy_interface_t mode)h](jM )}(hjh]hbool}(hj_ hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj[ hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM:ubj")}(h h]h }(hjm hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ hhhjl hM:ubj3)}(hphy_interface_mode_is_8023zh]j9)}(hphy_interface_mode_is_8023zh]hphy_interface_mode_is_8023z}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj[ hhhjl hM:ubj )}(h(phy_interface_t mode)h]j )}(hphy_interface_t modeh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j j sbc.phy_interface_mode_is_8023zasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hmodeh]hmode}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hj[ hhhjl hM:ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjW hhhjl hM:ubah}(h]jR ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjl hM:hjT hhubjg)}(hhh]jl)}(h2does the PHY interface mode use 802.3z negotiationh]h2does the PHY interface mode use 802.3z negotiation}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM:hj hhubah}(h]h ]h"]h$]h&]uh1jfhjT hhhjl hM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``phy_interface_t mode`` one of :c:type:`enum phy_interface_t ` **Description** Returns true if the PHY interface mode uses the 16-bit negotiation word as defined in 802.3z. (See 802.3-2015 37.2.1 Config_Reg encoding)h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hj ubj)}(hhh]j)}(hQ``phy_interface_t mode`` one of :c:type:`enum phy_interface_t ` h](j)}(h``phy_interface_t mode``h]j)}(hj7 h]hphy_interface_t mode}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5 ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM<hj1 ubj)}(hhh]jl)}(h7one of :c:type:`enum phy_interface_t `h](hone of }(hjP hhhNhNubh)}(h0:c:type:`enum phy_interface_t `h]j)}(hjZ h]henum phy_interface_t}(hj\ hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjX ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhjL hM<hjP ubeh}(h]h ]h"]h$]h&]uh1jkhjL hM<hjM ubah}(h]h ]h"]h$]h&]uh1jhj1 ubeh}(h]h ]h"]h$]h&]uh1jhjL hM<hj. ubah}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM>hj ubjl)}(hReturns true if the PHY interface mode uses the 16-bit negotiation word as defined in 802.3z. (See 802.3-2015 37.2.1 Config_Reg encoding)h]hReturns true if the PHY interface mode uses the 16-bit negotiation word as defined in 802.3z. (See 802.3-2015 37.2.1 Config_Reg encoding)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM=hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_interface_is_rgmii (C function)c.phy_interface_is_rgmiihNtauh1hhjdhhhNhNubh)}(hhh](j)}(h7bool phy_interface_is_rgmii (struct phy_device *phydev)h]j )}(h6bool phy_interface_is_rgmii(struct phy_device *phydev)h](jM )}(hjh]hbool}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMHubj3)}(hphy_interface_is_rgmiih]j9)}(hphy_interface_is_rgmiih]hphy_interface_is_rgmii}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMHubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj0 hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj- ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2 modnameN classnameNj j )}j ]j )}j j sbc.phy_interface_is_rgmiiasbuh1hhj ubj")}(h h]h }(hjP hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj^ hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hphydevh]hphydev}(hjk hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj hMHubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hMHubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMHhj hhubjg)}(hhh]jl)}(hKConvenience function for testing if a PHY interface is RGMII (all variants)h]hKConvenience function for testing if a PHY interface is RGMII (all variants)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMHhj hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMHubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjdhNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMLhj ubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj h]hstruct phy_device *phydev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMNhj ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMJhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMNhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phy_is_pseudo_fixed_link (C function)c.phy_is_pseudo_fixed_linkhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h9bool phy_is_pseudo_fixed_link (struct phy_device *phydev)h]j )}(h8bool phy_is_pseudo_fixed_link(struct phy_device *phydev)h](jM )}(hjh]hbool}(hj0 hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj, hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRubj")}(h h]h }(hj> hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj, hhhj= hMRubj3)}(hphy_is_pseudo_fixed_linkh]j9)}(hphy_is_pseudo_fixed_linkh]hphy_is_pseudo_fixed_link}(hjP hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjL ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj, hhhj= hMRubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjl hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh ubj")}(h h]h }(hjy hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjh ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jR sbc.phy_is_pseudo_fixed_linkasbuh1hhjh ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjh ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjh ubj9)}(hphydevh]hphydev}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjh ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjd ubah}(h]h ]h"]h$]h&]jPjQuh1j hj, hhhj= hMRubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj( hhhj= hMRubah}(h]j# ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj= hMRhj% hhubjg)}(hhh]jl)}(hkConvenience function for testing if this PHY is the CPU port facing side of an Ethernet switch, or similar.h]hkConvenience function for testing if this PHY is the CPU port facing side of an Ethernet switch, or similar.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMRhj hhubah}(h]h ]h"]h$]h&]uh1jfhj% hhhj= hMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjdhNhNubj)}(hE**Parameters** ``struct phy_device *phydev`` the phy_device structh](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMVhj ubj)}(hhh]j)}(h3``struct phy_device *phydev`` the phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj0 h]hstruct phy_device *phydev}(hj2 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj. ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMXhj* ubj)}(hhh]jl)}(hthe phy_device structh]hthe phy_device struct}(hjI hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhMThjF ubah}(h]h ]h"]h$]h&]uh1jhj* ubeh}(h]h ]h"]h$]h&]uh1jhjE hMXhj' ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_module_driver (C macro)c.phy_module_driverhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hphy_module_driverh]j )}(hphy_module_driverh]j3)}(hphy_module_driverh]j9)}(hj h]hphy_module_driver}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM ubah}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hM ubah}(h]j} ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hM hj hhubjg)}(hhh]h}(h]h ]h"]h$]h&]uh1jfhj hhhj hM ubeh}(h]h ](jmacroeh"]h$]h&]jjjj jj jjjuh1hhhhjdhNhNubjl)}(h.``phy_module_driver (__phy_drivers, __count)``h]j)}(hj h]h*phy_module_driver (__phy_drivers, __count)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjdhhubj)}(h)Helper macro for registering PHY drivers h]jl)}(h(Helper macro for registering PHY driversh]h(Helper macro for registering PHY drivers}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hj ubah}(h]h ]h"]h$]h&]uh1jhj hM hjdhhubj)}(hX7**Parameters** ``__phy_drivers`` array of PHY drivers to register ``__count`` Numbers of members in array **Description** Helper macro for PHY drivers which do not do anything special in module init/exit. Each module may only use this macro once, and calling it replaces module_init() and module_exit().h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hj ubj)}(hhh](j)}(h3``__phy_drivers`` array of PHY drivers to register h](j)}(h``__phy_drivers``h]j)}(hjh]h __phy_drivers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjubj)}(hhh]jl)}(h array of PHY drivers to registerh]h array of PHY drivers to register}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hM hj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hM hj ubj)}(h(``__count`` Numbers of members in array h](j)}(h ``__count``h]j)}(hjMh]h__count}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hjGubj)}(hhh]jl)}(hNumbers of members in arrayh]hNumbers of members in array}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjbhM hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM hj ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hj ubjl)}(hHelper macro for PHY drivers which do not do anything special in module init/exit. Each module may only use this macro once, and calling it replaces module_init() and module_exit().h]hHelper macro for PHY drivers which do not do anything special in module init/exit. Each module may only use this macro once, and calling it replaces module_init() and module_exit().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:125: ./include/linux/phy.hhM hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$genphy_match_phy_device (C function)c.genphy_match_phy_devicehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hXint genphy_match_phy_device (struct phy_device *phydev, const struct phy_driver *phydrv)h]j )}(hWint genphy_match_phy_device(struct phy_device *phydev, const struct phy_driver *phydrv)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hgenphy_match_phy_deviceh]j9)}(hgenphy_match_phy_deviceh]hgenphy_match_phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h<(struct phy_device *phydev, const struct phy_driver *phydrv)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNj j )}j ]j )}j jsbc.genphy_match_phy_deviceasbuh1hhjubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst struct phy_driver *phydrvh](j)}(hj h]hconst}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(hhh]j9)}(h phy_driverh]h phy_driver}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jDc.genphy_match_phy_deviceasbuh1hhjxubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hphydrvh]hphydrv}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h$match a PHY device with a PHY driverh]h$match a PHY device with a PHY driver}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``const struct phy_driver *phydrv`` target phy_driver struct **Description** Checks whether the given PHY device matches the specified PHY driver. For Clause 45 PHYs, iterates over the available device identifiers and compares them against the driver's expected PHY ID, applying the provided mask. For Clause 22 PHYs, a direct ID comparison is performed. **Return** 1 if the PHY device matches the driver, 0 otherwise.h](jl)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj4ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjYh]hstruct phy_device *phydev}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjSubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjPubj)}(h=``const struct phy_driver *phydrv`` target phy_driver struct h](j)}(h#``const struct phy_driver *phydrv``h]j)}(hjh]hconst struct phy_driver *phydrv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(htarget phy_driver structh]htarget phy_driver struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjPubeh}(h]h ]h"]h$]h&]uh1jhj4ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj4ubjl)}(hXChecks whether the given PHY device matches the specified PHY driver. For Clause 45 PHYs, iterates over the available device identifiers and compares them against the driver's expected PHY ID, applying the provided mask. For Clause 22 PHYs, a direct ID comparison is performed.h]hXChecks whether the given PHY device matches the specified PHY driver. For Clause 45 PHYs, iterates over the available device identifiers and compares them against the driver’s expected PHY ID, applying the provided mask. For Clause 22 PHYs, a direct ID comparison is performed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj4ubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj4ubjl)}(h41 if the PHY device matches the driver, 0 otherwise.h]h41 if the PHY device matches the driver, 0 otherwise.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_device (C function)c.get_phy_devicehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hOstruct phy_device * get_phy_device (struct mii_bus *bus, int addr, bool is_c45)h]j )}(hMstruct phy_device *get_phy_device(struct mii_bus *bus, int addr, bool is_c45)h](j)}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhjFhMubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j )}j get_phy_devicesbc.get_phy_deviceasbuh1hhj5hhhjFhMubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5hhhjFhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5hhhjFhMubj3)}(hget_phy_deviceh]j9)}(hjvh]hget_phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj5hhhjFhMubj )}(h,(struct mii_bus *bus, int addr, bool is_c45)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jtc.get_phy_deviceasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](jM )}(hinth]hint}(hj#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool is_c45h](jM )}(hjh]hbool}(hjXhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjTubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj9)}(his_c45h]his_c45}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj5hhhjFhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj1hhhjFhMubah}(h]j,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjFhMhj.hhubjg)}(hhh]jl)}(hDreads the specified PHY device and returns its **phy_device** structh](h/reads the specified PHY device and returns its }(hjhhhNhNubj)}(h**phy_device**h]h phy_device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh struct}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj.hhhjFhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the target MII bus ``int addr`` PHY address on the MII bus ``bool is_c45`` If true the PHY uses the 802.3 clause 45 protocol **Description** Probe for a PHY at **addr** on **bus**. When probing for a clause 22 PHY, then read the ID registers. If we find a valid ID, allocate and return a :c:type:`struct phy_device `. When probing for a clause 45 PHY, read the "devices in package" registers. If the "devices in package" appears valid, read the ID registers for each MMD, allocate and return a :c:type:`struct phy_device `. Returns an allocated :c:type:`struct phy_device ` on success, ``-ENODEV`` if there is no PHY present, or ``-EIO`` on bus access error.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM!hjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjh]hstruct mii_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(hthe target MII bush]hthe target MII bus}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hj)h]hint addr}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj#ubj)}(hhh]jl)}(hPHY address on the MII bush]hPHY address on the MII bus}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hM hj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hM hjubj)}(hB``bool is_c45`` If true the PHY uses the 802.3 clause 45 protocol h](j)}(h``bool is_c45``h]j)}(hjbh]h bool is_c45}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM!hj\ubj)}(hhh]jl)}(h1If true the PHY uses the 802.3 clause 45 protocolh]h1If true the PHY uses the 802.3 clause 45 protocol}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhM!hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM!hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM#hjubjl)}(h'Probe for a PHY at **addr** on **bus**.h](hProbe for a PHY at }(hjhhhNhNubj)}(h**addr**h]haddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on }(hjhhhNhNubj)}(h**bus**h]hbus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM"hjubjl)}(hWhen probing for a clause 22 PHY, then read the ID registers. If we find a valid ID, allocate and return a :c:type:`struct phy_device `.h](hkWhen probing for a clause 22 PHY, then read the ID registers. If we find a valid ID, allocate and return a }(hjhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjh]hstruct phy_device}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM$hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj hM$hjubjl)}(hWhen probing for a clause 45 PHY, read the "devices in package" registers. If the "devices in package" appears valid, read the ID registers for each MMD, allocate and return a :c:type:`struct phy_device `.h](hWhen probing for a clause 45 PHY, read the “devices in package” registers. If the “devices in package” appears valid, read the ID registers for each MMD, allocate and return a }(hjhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hj"h]hstruct phy_device}(hj$hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM'hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj?hM'hjubjl)}(hReturns an allocated :c:type:`struct phy_device ` on success, ``-ENODEV`` if there is no PHY present, or ``-EIO`` on bus access error.h](hReturns an allocated }(hjJhhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjTh]hstruct phy_device}(hjVhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM+hjJubh on success, }(hjJhhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubh if there is no PHY present, or }(hjJhhhNhNubj)}(h``-EIO``h]h-EIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubh on bus access error.}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjqhM+hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_device_register (C function)c.phy_device_registerhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h3int phy_device_register (struct phy_device *phydev)h]j )}(h2int phy_device_register(struct phy_device *phydev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMRubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMRubj3)}(hphy_device_registerh]j9)}(hphy_device_registerh]hphy_device_register}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMRubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_device_registerasbuh1hhjubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMRubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMRubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMRhjhhubjg)}(hhh]jl)}(h'Register the phy device on the MDIO bush]h'Register the phy device on the MDIO bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMRhj}hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h`**Parameters** ``struct phy_device *phydev`` phy_device structure to be added to the MDIO bush](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMVhjubj)}(hhh]j)}(hN``struct phy_device *phydev`` phy_device structure to be added to the MDIO bush](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMXhjubj)}(hhh]jl)}(h0phy_device structure to be added to the MDIO bush]h0phy_device structure to be added to the MDIO bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_device_remove (C function)c.phy_device_removehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h2void phy_device_remove (struct phy_device *phydev)h]j )}(h1void phy_device_remove(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMyubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj)hMyubj3)}(hphy_device_removeh]j9)}(hphy_device_removeh]hphy_device_remove}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj)hMyubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]j )}j j>sbc.phy_device_removeasbuh1hhjTubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjTubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjTubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj)hMyubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj)hMyubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj)hMyhjhhubjg)}(hhh]jl)}(h;Remove a previously registered phy device from the MDIO bush]h;Remove a previously registered phy device from the MDIO bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMyhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj)hMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` phy_device structure to remove **Description** This doesn't free the phy_device itself, it merely reverses the effects of phy_device_register(). Use phy_device_free() to free the device after calling this function.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM}hjubj)}(hhh]j)}(h=``struct phy_device *phydev`` phy_device structure to remove h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMzhjubj)}(hhh]jl)}(hphy_device structure to removeh]hphy_device structure to remove}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hMzhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMzhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjWh]h Description}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM|hjubjl)}(hThis doesn't free the phy_device itself, it merely reverses the effects of phy_device_register(). Use phy_device_free() to free the device after calling this function.h]hThis doesn’t free the phy_device itself, it merely reverses the effects of phy_device_register(). Use phy_device_free() to free the device after calling this function.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM{hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_get_c45_ids (C function)c.phy_get_c45_idshNtauh1hhjdhhhNhNubh)}(hhh](j)}(h/int phy_get_c45_ids (struct phy_device *phydev)h]j )}(h.int phy_get_c45_ids(struct phy_device *phydev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_get_c45_idsh]j9)}(hphy_get_c45_idsh]hphy_get_c45_ids}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_get_c45_idsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hphydevh]hphydev}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h"Read 802.3-c45 IDs for phy device.h]h"Read 802.3-c45 IDs for phy device.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` phy_device structure to read 802.3-c45 IDs **Description** Returns zero on success, ``-EIO`` on bus access error, or ``-ENODEV`` if the "devices in package" is invalid.h](jl)}(h**Parameters**h]j)}(hj~h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjxubj)}(hhh]j)}(hI``struct phy_device *phydev`` phy_device structure to read 802.3-c45 IDs h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(h*phy_device structure to read 802.3-c45 IDsh]h*phy_device structure to read 802.3-c45 IDs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjxubjl)}(hmReturns zero on success, ``-EIO`` on bus access error, or ``-ENODEV`` if the "devices in package" is invalid.h](hReturns zero on success, }(hjhhhNhNubj)}(h``-EIO``h]h-EIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on bus access error, or }(hjhhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, if the “devices in package” is invalid.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_find_next (C function)c.phy_find_nexthNtauh1hhjdhhhNhNubh)}(hhh](j)}(hOstruct phy_device * phy_find_next (struct mii_bus *bus, struct phy_device *pos)h]j )}(hMstruct phy_device *phy_find_next(struct mii_bus *bus, struct phy_device *pos)h](j)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhjNhMubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]j )}j phy_find_nextsbc.phy_find_nextasbuh1hhj=hhhjNhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhjNhMubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=hhhjNhMubj3)}(h phy_find_nexth]j9)}(hj~h]h phy_find_next}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhjNhMubj )}(h-(struct mii_bus *bus, struct phy_device *pos)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j|c.phy_find_nextasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct phy_device *posh](j)}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j|c.phy_find_nextasbuh1hhj'ubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj9)}(hposh]hpos}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj=hhhjNhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9hhhjNhMubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjNhMhj6hhubjg)}(hhh]jl)}(h$finds the next PHY device on the bush]h$finds the next PHY device on the bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj6hhhjNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct mii_bus *bus`` the target MII bus ``struct phy_device *pos`` cursor **Return** next phy_device on the bus, or NULLh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjh]hstruct mii_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(hthe target MII bush]hthe target MII bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h"``struct phy_device *pos`` cursor h](j)}(h``struct phy_device *pos``h]j)}(hj&h]hstruct phy_device *pos}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj ubj)}(hhh]jl)}(hcursorh]hcursor}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjah]hReturn}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubjl)}(h#next phy_device on the bus, or NULLh]h#next phy_device on the bus, or NULL}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_connect_direct (C function)c.phy_connect_directhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hint phy_connect_direct (struct net_device *dev, struct phy_device *phydev, void (*handler)(struct net_device *), phy_interface_t interface)h]j )}(hint phy_connect_direct(struct net_device *dev, struct phy_device *phydev, void (*handler)(struct net_device*), phy_interface_t interface)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hphy_connect_directh]j9)}(hphy_connect_directh]hphy_connect_direct}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hs(struct net_device *dev, struct phy_device *phydev, void (*handler)(struct net_device*), phy_interface_t interface)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phy_connect_directasbuh1hhjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjshhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNj j )}j ]jc.phy_connect_directasbuh1hhjQubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjQubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h#void (*handler)(struct net_device*)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hjh]h(}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hhandlerh]hhandler}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubj )}(hjh]h)}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjh]h(}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNj j )}j ]jc.phy_connect_directasbuh1hhjubj )}(hj h]h*}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj )}(hjh]h)}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_connect_directasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h3connect an ethernet device to a specific phy_deviceh]h3connect an ethernet device to a specific phy_device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct net_device *dev`` the network device to connect ``struct phy_device *phydev`` the pointer to the phy device ``void (*handler)(struct net_device *)`` callback function for state change notifications ``phy_interface_t interface`` PHY device's interfaceh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh](j)}(h9``struct net_device *dev`` the network device to connect h](j)}(h``struct net_device *dev``h]j)}(hjh]hstruct net_device *dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(hthe network device to connecth]hthe network device to connect}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(h<``struct phy_device *phydev`` the pointer to the phy device h](j)}(h``struct phy_device *phydev``h]j)}(hjWh]hstruct phy_device *phydev}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjQubj)}(hhh]jl)}(hthe pointer to the phy deviceh]hthe pointer to the phy device}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubj)}(hZ``void (*handler)(struct net_device *)`` callback function for state change notifications h](j)}(h(``void (*handler)(struct net_device *)``h]j)}(hjh]h$void (*handler)(struct net_device *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(h0callback function for state change notificationsh]h0callback function for state change notifications}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``phy_interface_t interface`` PHY device's interfaceh](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(hPHY device's interfaceh]hPHY device’s interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_connect (C function) c.phy_connecthNtauh1hhjdhhhNhNubh)}(hhh](j)}(hstruct phy_device * phy_connect (struct net_device *dev, const char *bus_id, void (*handler)(struct net_device *), phy_interface_t interface)h]j )}(hstruct phy_device *phy_connect(struct net_device *dev, const char *bus_id, void (*handler)(struct net_device*), phy_interface_t interface)h](j)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hj1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj0hMubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNj j )}j ]j )}j phy_connectsb c.phy_connectasbuh1hhjhhhj0hMubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj0hMubj )}(hj h]h*}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj0hMubj3)}(h phy_connecth]j9)}(hj`h]h phy_connect}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj0hMubj )}(hl(struct net_device *dev, const char *bus_id, void (*handler)(struct net_device*), phy_interface_t interface)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j^ c.phy_connectasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst char *bus_idh](j)}(hj h]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubjM )}(hcharh]hchar}(hj( hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj6 hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hjD hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hbus_idh]hbus_id}(hjQ hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h#void (*handler)(struct net_device*)h](jM )}(hvoidh]hvoid}(hjj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjf ubj")}(h h]h }(hjx hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjf ubj )}(hjh]h(}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjf ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjf ubj9)}(hhandlerh]hhandler}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjf ubj )}(hjh]h)}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjf ubj )}(hjh]h(}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjf ubj)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjf ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j^ c.phy_connectasbuh1hhjf ubj )}(hj h]h*}(hj!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjf ubj )}(hjh]h)}(hj!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjf ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hj,!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.!modnameN classnameNj j )}j ]j^ c.phy_connectasbuh1hhj%!ubj")}(h h]h }(hjJ!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%!ubj9)}(h interfaceh]h interface}(hjX!hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%!ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj0hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj0hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0hMhjhhubjg)}(hhh]jl)}(h*connect an ethernet device to a PHY deviceh]h*connect an ethernet device to a PHY device}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj!hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj0hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct net_device *dev`` the network device to connect ``const char *bus_id`` the id string of the PHY device to connect ``void (*handler)(struct net_device *)`` callback function for state change notifications ``phy_interface_t interface`` PHY device's interface **Description** Convenience function for connecting ethernet devices to PHY devices. The default behavior is for the PHY infrastructure to handle everything, and only notify the connected driver when the link status changes. If you don't want, or can't use the provided functionality, you may choose to call only the subset of functions which provide the desired functionality.h](jl)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj!ubj)}(hhh](j)}(h9``struct net_device *dev`` the network device to connect h](j)}(h``struct net_device *dev``h]j)}(hj!h]hstruct net_device *dev}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj!ubj)}(hhh]jl)}(hthe network device to connecth]hthe network device to connect}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMhj!ubj)}(hB``const char *bus_id`` the id string of the PHY device to connect h](j)}(h``const char *bus_id``h]j)}(hj!h]hconst char *bus_id}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj!ubj)}(hhh]jl)}(h*the id string of the PHY device to connecth]h*the id string of the PHY device to connect}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj"hMhj!ubj)}(hZ``void (*handler)(struct net_device *)`` callback function for state change notifications h](j)}(h(``void (*handler)(struct net_device *)``h]j)}(hj5"h]h$void (*handler)(struct net_device *)}(hj7"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3"ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj/"ubj)}(hhh]jl)}(h0callback function for state change notificationsh]h0callback function for state change notifications}(hjN"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjJ"hMhjK"ubah}(h]h ]h"]h$]h&]uh1jhj/"ubeh}(h]h ]h"]h$]h&]uh1jhjJ"hMhj!ubj)}(h5``phy_interface_t interface`` PHY device's interface h](j)}(h``phy_interface_t interface``h]j)}(hjn"h]hphy_interface_t interface}(hjp"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl"ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjh"ubj)}(hhh]jl)}(hPHY device's interfaceh]hPHY device’s interface}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjh"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!ubjl)}(h**Description**h]j)}(hj"h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj!ubj)}(hhh]j)}(hXkConvenience function for connecting ethernet devices to PHY devices. The default behavior is for the PHY infrastructure to handle everything, and only notify the connected driver when the link status changes. If you don't want, or can't use the provided functionality, you may choose to call only the subset of functions which provide the desired functionality.h](j)}(h,Convenience function for connecting etherneth]h,Convenience function for connecting ethernet}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj"ubj)}(hhh]jl)}(hX>devices to PHY devices. The default behavior is for the PHY infrastructure to handle everything, and only notify the connected driver when the link status changes. If you don't want, or can't use the provided functionality, you may choose to call only the subset of functions which provide the desired functionality.h]hXBdevices to PHY devices. The default behavior is for the PHY infrastructure to handle everything, and only notify the connected driver when the link status changes. If you don’t want, or can’t use the provided functionality, you may choose to call only the subset of functions which provide the desired functionality.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMhj"ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_disconnect (C function)c.phy_disconnecthNtauh1hhjdhhhNhNubh)}(hhh](j)}(h/void phy_disconnect (struct phy_device *phydev)h]j )}(h.void phy_disconnect(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj#hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hj(#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#hhhj'#hM ubj3)}(hphy_disconnecth]j9)}(hphy_disconnecth]hphy_disconnect}(hj:#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj6#ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj#hhhj'#hM ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjV#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjR#ubj")}(h h]h }(hjc#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjR#ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjt#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjq#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjv#modnameN classnameNj j )}j ]j )}j j<#sbc.phy_disconnectasbuh1hhjR#ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjR#ubj )}(hj h]h*}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjR#ubj9)}(hphydevh]hphydev}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjR#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjN#ubah}(h]h ]h"]h$]h&]jPjQuh1j hj#hhhj'#hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj#hhhj'#hM ubah}(h]j #ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj'#hM hj#hhubjg)}(hhh]jl)}(h?disable interrupts, stop state machine, and detach a PHY deviceh]h?disable interrupts, stop state machine, and detach a PHY device}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj#hhubah}(h]h ]h"]h$]h&]uh1jfhj#hhhj'#hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhjdhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj#ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj$h]hstruct phy_device *phydev}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj$ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj3$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj0$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj/$hMhj$ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_attach_direct (C function)c.phy_attach_directhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hoint phy_attach_direct (struct net_device *dev, struct phy_device *phydev, u32 flags, phy_interface_t interface)h]j )}(hnint phy_attach_direct(struct net_device *dev, struct phy_device *phydev, u32 flags, phy_interface_t interface)h](jM )}(hinth]hint}(hjt$hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjp$hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjp$hhhj$hMubj3)}(hphy_attach_directh]j9)}(hphy_attach_directh]hphy_attach_direct}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjp$hhhj$hMubj )}(hY(struct net_device *dev, struct phy_device *phydev, u32 flags, phy_interface_t interface)h](j )}(hstruct net_device *devh](j)}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubh)}(hhh]j9)}(h net_deviceh]h net_device}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNj j )}j ]j )}j j$sbc.phy_attach_directasbuh1hhj$ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj )}(hj h]h*}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj$ubj9)}(hdevh]hdev}(hj %hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj#%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj")}(h h]h }(hj0%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjA%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjC%modnameN classnameNj j )}j ]j$c.phy_attach_directasbuh1hhj%ubj")}(h h]h }(hj_%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj )}(hj h]h*}(hjm%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%ubj9)}(hphydevh]hphydev}(hjz%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(h u32 flagsh](h)}(hhh]j9)}(hu32h]hu32}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j$c.phy_attach_directasbuh1hhj%ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj9)}(hflagsh]hflags}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j$c.phy_attach_directasbuh1hhj%ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj9)}(h interfaceh]h interface}(hj &hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjp$hhhj$hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjl$hhhj$hMubah}(h]jg$ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj$hMhji$hhubjg)}(hhh]jl)}(h5attach a network device to a given PHY device pointerh]h5attach a network device to a given PHY device pointer}(hj4&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj1&hhubah}(h]h ]h"]h$]h&]uh1jfhji$hhhj$hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjL&jjL&jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct net_device *dev`` network device to attach ``struct phy_device *phydev`` Pointer to phy_device to attach ``u32 flags`` PHY device's dev_flags ``phy_interface_t interface`` PHY device's interface **Description** Called by drivers to attach to a particular PHY device. The phy_device is found, and properly hooked up to the phy_driver. If no driver is attached, then a generic driver is used. The phy_device is given a ptr to the attaching device, and given a callback for link status change. The phy_device is returned to the attaching driver. This function takes a reference on the phy device.h](jl)}(h**Parameters**h]j)}(hjV&h]h Parameters}(hjX&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT&ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjP&ubj)}(hhh](j)}(h4``struct net_device *dev`` network device to attach h](j)}(h``struct net_device *dev``h]j)}(hju&h]hstruct net_device *dev}(hjw&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs&ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjo&ubj)}(hhh]jl)}(hnetwork device to attachh]hnetwork device to attach}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMhj&ubah}(h]h ]h"]h$]h&]uh1jhjo&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjl&ubj)}(h>``struct phy_device *phydev`` Pointer to phy_device to attach h](j)}(h``struct phy_device *phydev``h]j)}(hj&h]hstruct phy_device *phydev}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj&ubj)}(hhh]jl)}(hPointer to phy_device to attachh]hPointer to phy_device to attach}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjl&ubj)}(h%``u32 flags`` PHY device's dev_flags h](j)}(h ``u32 flags``h]j)}(hj&h]h u32 flags}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj&ubj)}(hhh]jl)}(hPHY device's dev_flagsh]hPHY device’s dev_flags}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj&hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhjl&ubj)}(h5``phy_interface_t interface`` PHY device's interface h](j)}(h``phy_interface_t interface``h]j)}(hj 'h]hphy_interface_t interface}(hj"'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj'ubj)}(hhh]jl)}(hPHY device's interfaceh]hPHY device’s interface}(hj9'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj5'hMhj6'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj5'hMhjl&ubeh}(h]h ]h"]h$]h&]uh1jhjP&ubjl)}(h**Description**h]j)}(hj['h]h Description}(hj]'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY'ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjP&ubj)}(hhh]j)}(hXCalled by drivers to attach to a particular PHY device. The phy_device is found, and properly hooked up to the phy_driver. If no driver is attached, then a generic driver is used. The phy_device is given a ptr to the attaching device, and given a callback for link status change. The phy_device is returned to the attaching driver. This function takes a reference on the phy device.h](j)}(h/Called by drivers to attach to a particular PHYh]h/Called by drivers to attach to a particular PHY}(hjx'hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjt'ubj)}(hhh]jl)}(hXQdevice. The phy_device is found, and properly hooked up to the phy_driver. If no driver is attached, then a generic driver is used. The phy_device is given a ptr to the attaching device, and given a callback for link status change. The phy_device is returned to the attaching driver. This function takes a reference on the phy device.h]hXQdevice. The phy_device is found, and properly hooked up to the phy_driver. If no driver is attached, then a generic driver is used. The phy_device is given a ptr to the attaching device, and given a callback for link status change. The phy_device is returned to the attaching driver. This function takes a reference on the phy device.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj'ubah}(h]h ]h"]h$]h&]uh1jhjt'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjq'ubah}(h]h ]h"]h$]h&]uh1jhjP&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_detach (C function) c.phy_detachhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h+void phy_detach (struct phy_device *phydev)h]j )}(h*void phy_detach(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hj'hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMvubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'hhhj'hMvubj3)}(h phy_detachh]j9)}(h phy_detachh]h phy_detach}(hj'hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj'hhhj'hMvubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hj(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj&(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj((modnameN classnameNj j )}j ]j )}j j'sb c.phy_detachasbuh1hhj(ubj")}(h h]h }(hjF(hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj )}(hj h]h*}(hjT(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(ubj9)}(hphydevh]hphydev}(hja(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj(ubah}(h]h ]h"]h$]h&]jPjQuh1j hj'hhhj'hMvubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj'hhhj'hMvubah}(h]j'ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj'hMvhj'hhubjg)}(hhh]jl)}(h+detach a PHY device from its network deviceh]h+detach a PHY device from its network device}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMvhj(hhubah}(h]h ]h"]h$]h&]uh1jfhj'hhhj'hMvubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** This detaches the phy device from its network device and the phy driver, and drops the reference count taken in phy_attach_direct().h](jl)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMzhj(ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj(h]hstruct phy_device *phydev}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMwhj(ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(hMwhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMwhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubjl)}(h**Description**h]j)}(hj)h]h Description}(hj )hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMyhj(ubjl)}(hThis detaches the phy device from its network device and the phy driver, and drops the reference count taken in phy_attach_direct().h]hThis detaches the phy device from its network device and the phy driver, and drops the reference count taken in phy_attach_direct().}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMxhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phy_reset_after_clk_enable (C function)c.phy_reset_after_clk_enablehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h:int phy_reset_after_clk_enable (struct phy_device *phydev)h]j )}(h9int phy_reset_after_clk_enable(struct phy_device *phydev)h](jM )}(hinth]hint}(hjL)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjH)hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hj[)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjH)hhhjZ)hMubj3)}(hphy_reset_after_clk_enableh]j9)}(hphy_reset_after_clk_enableh]hphy_reset_after_clk_enable}(hjm)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hji)ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjH)hhhjZ)hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNj j )}j ]j )}j jo)sbc.phy_reset_after_clk_enableasbuh1hhj)ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubj )}(hj h]h*}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)ubj9)}(hphydevh]hphydev}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubah}(h]h ]h"]h$]h&]jPjQuh1j hjH)hhhjZ)hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjD)hhhjZ)hMubah}(h]j?)ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjZ)hMhjA)hhubjg)}(hhh]jl)}(hperform a PHY reset if neededh]hperform a PHY reset if needed}(hj *hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj *hhubah}(h]h ]h"]h$]h&]uh1jfhjA)hhhjZ)hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$*jj$*jjjuh1hhhhjdhNhNubj)}(hX8**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Some PHYs are known to need a reset after their refclk was enabled. This function evaluates the flags and perform the reset if it's needed. Returns < 0 on error, 0 if the phy wasn't reset and 1 if the phy was reset.h](jl)}(h**Parameters**h]j)}(hj.*h]h Parameters}(hj0*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,*ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj(*ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjM*h]hstruct phy_device *phydev}(hjO*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK*ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjG*ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjf*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjb*hMhjc*ubah}(h]h ]h"]h$]h&]uh1jhjG*ubeh}(h]h ]h"]h$]h&]uh1jhjb*hMhjD*ubah}(h]h ]h"]h$]h&]uh1jhj(*ubjl)}(h**Description**h]j)}(hj*h]h Description}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj(*ubj)}(hhh]j)}(hSome PHYs are known to need a reset after their refclk was enabled. This function evaluates the flags and perform the reset if it's needed. Returns < 0 on error, 0 if the phy wasn't reset and 1 if the phy was reset.h](j)}(h:Some PHYs are known to need a reset after their refclk wash]h:Some PHYs are known to need a reset after their refclk was}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj*ubj)}(hhh]jl)}(henabled. This function evaluates the flags and perform the reset if it's needed. Returns < 0 on error, 0 if the phy wasn't reset and 1 if the phy was reset.h]henabled. This function evaluates the flags and perform the reset if it’s needed. Returns < 0 on error, 0 if the phy wasn’t reset and 1 if the phy was reset.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhj(*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_setup_forced (C function)c.genphy_setup_forcedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h3int genphy_setup_forced (struct phy_device *phydev)h]j )}(h2int genphy_setup_forced(struct phy_device *phydev)h](jM )}(hinth]hint}(hj*hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj*hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMnubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*hhhj+hMnubj3)}(hgenphy_setup_forcedh]j9)}(hgenphy_setup_forcedh]hgenphy_setup_forced}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj*hhhj+hMnubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj5+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1+ubj")}(h h]h }(hjB+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1+ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjS+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjP+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjU+modnameN classnameNj j )}j ]j )}j j+sbc.genphy_setup_forcedasbuh1hhj1+ubj")}(h h]h }(hjs+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1+ubj )}(hj h]h*}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1+ubj9)}(hphydevh]hphydev}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj-+ubah}(h]h ]h"]h$]h&]jPjQuh1j hj*hhhj+hMnubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*hhhj+hMnubah}(h]j*ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj+hMnhj*hhubjg)}(hhh]jl)}(h.configures/forces speed/duplex from **phydev**h](h$configures/forces speed/duplex from }(hj+hhhNhNubj)}(h **phydev**h]hphydev}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMnhj+hhubah}(h]h ]h"]h$]h&]uh1jfhj*hhhj+hMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Configures MII_BMCR to force speed/duplex to the values in phydev. Assumes that the values are valid. Please see phy_sanitize_settings().h](jl)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMrhj+ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj,h]hstruct phy_device *phydev}(hj ,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMohj,ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj ,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj,hMohj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMohj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubjl)}(h**Description**h]j)}(hjB,h]h Description}(hjD,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@,ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMqhj+ubj)}(hhh]j)}(hConfigures MII_BMCR to force speed/duplex to the values in phydev. Assumes that the values are valid. Please see phy_sanitize_settings().h](j)}(h)Configures MII_BMCR to force speed/duplexh]h)Configures MII_BMCR to force speed/duplex}(hj_,hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMrhj[,ubj)}(hhh]jl)}(h_to the values in phydev. Assumes that the values are valid. Please see phy_sanitize_settings().h]h_to the values in phydev. Assumes that the values are valid. Please see phy_sanitize_settings().}(hjq,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjm,hMrhjn,ubah}(h]h ]h"]h$]h&]uh1jhj[,ubeh}(h]h ]h"]h$]h&]uh1jhjm,hMrhjX,ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h genphy_restart_aneg (C function)c.genphy_restart_aneghNtauh1hhjdhhhNhNubh)}(hhh](j)}(h3int genphy_restart_aneg (struct phy_device *phydev)h]j )}(h2int genphy_restart_aneg(struct phy_device *phydev)h](jM )}(hinth]hint}(hj,hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj,hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,hhhj,hMubj3)}(hgenphy_restart_anegh]j9)}(hgenphy_restart_anegh]hgenphy_restart_aneg}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,hhhj,hMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj -hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj -ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNj j )}j ]j )}j j,sbc.genphy_restart_anegasbuh1hhj,ubj")}(h h]h }(hj,-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubj )}(hj h]h*}(hj:-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,ubj9)}(hphydevh]hphydev}(hjG-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubah}(h]h ]h"]h$]h&]jPjQuh1j hj,hhhj,hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,hhhj,hMubah}(h]j,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj,hMhj,hhubjg)}(hhh]jl)}(h"Enable and Restart Autonegotiationh]h"Enable and Restart Autonegotiation}(hjq-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjn-hhubah}(h]h ]h"]h$]h&]uh1jfhj,hhhj,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhjdhNhNubj)}(hH**Parameters** ``struct phy_device *phydev`` target phy_device structh](jl)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj-ubj)}(hhh]j)}(h6``struct phy_device *phydev`` target phy_device structh](j)}(h``struct phy_device *phydev``h]j)}(hj-h]hstruct phy_device *phydev}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj-ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*genphy_check_and_restart_aneg (C function)c.genphy_check_and_restart_aneghNtauh1hhjdhhhNhNubh)}(hhh](j)}(hKint genphy_check_and_restart_aneg (struct phy_device *phydev, bool restart)h]j )}(hJint genphy_check_and_restart_aneg(struct phy_device *phydev, bool restart)h](jM )}(hinth]hint}(hj .hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.hhhj.hMubj3)}(hgenphy_check_and_restart_anegh]j9)}(hgenphy_check_and_restart_anegh]hgenphy_check_and_restart_aneg}(hj-.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj).ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj.hMubj )}(h)(struct phy_device *phydev, bool restart)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjI.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjE.ubj")}(h h]h }(hjV.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjE.ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjg.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjd.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetji.modnameN classnameNj j )}j ]j )}j j/.sbc.genphy_check_and_restart_anegasbuh1hhjE.ubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjE.ubj )}(hj h]h*}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjE.ubj9)}(hphydevh]hphydev}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjE.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjA.ubj )}(h bool restarth](jM )}(hjh]hbool}(hj.hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.ubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj9)}(hrestarth]hrestart}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjA.ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.hhhj.hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj.hhhj.hMubah}(h]j-ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj.hMhj.hhubjg)}(hhh]jl)}(h#Enable and restart auto-negotiationh]h#Enable and restart auto-negotiation}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj.hhubah}(h]h ]h"]h$]h&]uh1jfhj.hhhj.hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool restart`` whether aneg restart is requested **Description** Check, and restart auto-negotiation if needed.h](jl)}(h**Parameters**h]j)}(hj"/h]h Parameters}(hj$/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj /ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj/ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjA/h]hstruct phy_device *phydev}(hjC/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?/ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj;/ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjZ/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjV/hMhjW/ubah}(h]h ]h"]h$]h&]uh1jhj;/ubeh}(h]h ]h"]h$]h&]uh1jhjV/hMhj8/ubj)}(h3``bool restart`` whether aneg restart is requested h](j)}(h``bool restart``h]j)}(hjz/h]h bool restart}(hj|/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx/ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjt/ubj)}(hhh]jl)}(h!whether aneg restart is requestedh]h!whether aneg restart is requested}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjt/ubeh}(h]h ]h"]h$]h&]uh1jhj/hMhj8/ubeh}(h]h ]h"]h$]h&]uh1jhj/ubjl)}(h**Description**h]j)}(hj/h]h Description}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj/ubjl)}(h.Check, and restart auto-negotiation if needed.h]h.Check, and restart auto-negotiation if needed.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__genphy_config_aneg (C function)c.__genphy_config_aneghNtauh1hhjdhhhNhNubh)}(hhh](j)}(hBint __genphy_config_aneg (struct phy_device *phydev, bool changed)h]j )}(hAint __genphy_config_aneg(struct phy_device *phydev, bool changed)h](jM )}(hinth]hint}(hj/hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj/hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hj 0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/hhhj0hMubj3)}(h__genphy_config_anegh]j9)}(h__genphy_config_anegh]h__genphy_config_aneg}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj/hhhj0hMubj )}(h)(struct phy_device *phydev, bool changed)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj70hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj30ubj")}(h h]h }(hjD0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj30ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjU0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjR0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjW0modnameN classnameNj j )}j ]j )}j j0sbc.__genphy_config_anegasbuh1hhj30ubj")}(h h]h }(hju0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj30ubj )}(hj h]h*}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj30ubj9)}(hphydevh]hphydev}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj30ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/0ubj )}(h bool changedh](jM )}(hjh]hbool}(hj0hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0ubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubj9)}(hchangedh]hchanged}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj/0ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj/hhhj0hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj/hhhj0hMubah}(h]j/ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0hMhj/hhubjg)}(hhh]jl)}(h&restart auto-negotiation or write BMCRh]h&restart auto-negotiation or write BMCR}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj0hhubah}(h]h ]h"]h$]h&]uh1jfhj/hhhj0hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool changed`` whether autoneg is requested **Description** If auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR.h](jl)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj 1ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj/1h]hstruct phy_device *phydev}(hj11hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-1ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhj)1ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjH1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjD1hMhjE1ubah}(h]h ]h"]h$]h&]uh1jhj)1ubeh}(h]h ]h"]h$]h&]uh1jhjD1hMhj&1ubj)}(h.``bool changed`` whether autoneg is requested h](j)}(h``bool changed``h]j)}(hjh1h]h bool changed}(hjj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf1ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMhjb1ubj)}(hhh]jl)}(hwhether autoneg is requestedh]hwhether autoneg is requested}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}1hMhj~1ubah}(h]h ]h"]h$]h&]uh1jhjb1ubeh}(h]h ]h"]h$]h&]uh1jhj}1hMhj&1ubeh}(h]h ]h"]h$]h&]uh1jhj 1ubjl)}(h**Description**h]j)}(hj1h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj 1ubj)}(hhh]j)}(hIf auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR.h](j)}(h0If auto-negotiation is enabled, we configure theh]h0If auto-negotiation is enabled, we configure the}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj1ubj)}(hhh]jl)}(h^advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR.h]h^advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hM hj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hM hj1ubah}(h]h ]h"]h$]h&]uh1jhj 1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c37_config_aneg (C function)c.genphy_c37_config_aneghNtauh1hhjdhhhNhNubh)}(hhh](j)}(h6int genphy_c37_config_aneg (struct phy_device *phydev)h]j )}(h5int genphy_c37_config_aneg(struct phy_device *phydev)h](jM )}(hinth]hint}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM6 ubj")}(h h]h }(hj!2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhj 2hM6 ubj3)}(hgenphy_c37_config_anegh]j9)}(hgenphy_c37_config_anegh]hgenphy_c37_config_aneg}(hj32hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhj 2hM6 ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjO2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjK2ubj")}(h h]h }(hj\2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjK2ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjm2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjo2modnameN classnameNj j )}j ]j )}j j52sbc.genphy_c37_config_anegasbuh1hhjK2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjK2ubj )}(hj h]h*}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjK2ubj9)}(hphydevh]hphydev}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjK2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjG2ubah}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhj 2hM6 ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj 2hhhj 2hM6 ubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj 2hM6 hj2hhubjg)}(hhh]jl)}(h&restart auto-negotiation or write BMCRh]h&restart auto-negotiation or write BMCR}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM6 hj2hhubah}(h]h ]h"]h$]h&]uh1jfhj2hhhj 2hM6 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1hhhhjdhNhNubj)}(hX2**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** If auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR. This function is intended for use with Clause 37 1000Base-X mode.h](jl)}(h**Parameters**h]j)}(hj2h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM: hj2ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj3h]hstruct phy_device *phydev}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM7 hj 3ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj,3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj(3hM7 hj)3ubah}(h]h ]h"]h$]h&]uh1jhj 3ubeh}(h]h ]h"]h$]h&]uh1jhj(3hM7 hj 3ubah}(h]h ]h"]h$]h&]uh1jhj2ubjl)}(h**Description**h]j)}(hjN3h]h Description}(hjP3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL3ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM9 hj2ubj)}(hhh]j)}(hIf auto-negotiation is enabled, we configure the advertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR. This function is intended for use with Clause 37 1000Base-X mode.h](j)}(h0If auto-negotiation is enabled, we configure theh]h0If auto-negotiation is enabled, we configure the}(hjk3hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM; hjg3ubj)}(hhh]jl)}(hadvertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR. This function is intended for use with Clause 37 1000Base-X mode.h]hadvertising, and then restart auto-negotiation. If it is not enabled, then we write the BMCR. This function is intended for use with Clause 37 1000Base-X mode.}(hj}3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM: hjz3ubah}(h]h ]h"]h$]h&]uh1jhjg3ubeh}(h]h ]h"]h$]h&]uh1jhjy3hM; hjd3ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_aneg_done (C function)c.genphy_aneg_donehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h0int genphy_aneg_done (struct phy_device *phydev)h]j )}(h/int genphy_aneg_done(struct phy_device *phydev)h](jM )}(hinth]hint}(hj3hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj3hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMf ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3hhhj3hMf ubj3)}(hgenphy_aneg_doneh]j9)}(hgenphy_aneg_doneh]hgenphy_aneg_done}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj3hhhj3hMf ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j )}j j3sbc.genphy_aneg_doneasbuh1hhj3ubj")}(h h]h }(hj94hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj3ubj )}(hj h]h*}(hjG4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj3ubj9)}(hphydevh]hphydev}(hjT4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj3ubah}(h]h ]h"]h$]h&]jPjQuh1j hj3hhhj3hMf ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3hhhj3hMf ubah}(h]j3ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj3hMf hj3hhubjg)}(hhh]jl)}(hreturn auto-negotiation statush]hreturn auto-negotiation status}(hj~4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMf hj{4hhubah}(h]h ]h"]h$]h&]uh1jfhj3hhhj3hMf ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Reads the status register and returns 0 either if auto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-negotiation is done.h](jl)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMj hj4ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj4h]hstruct phy_device *phydev}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMg hj4ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj4hMg hj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMg hj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubjl)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMi hj4ubj)}(hhh]j)}(hReads the status register and returns 0 either if auto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-negotiation is done.h](j)}(h1Reads the status register and returns 0 either ifh]h1Reads the status register and returns 0 either if}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMj hj5ubj)}(hhh]jl)}(hpauto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-negotiation is done.h]hpauto-negotiation is incomplete, or if there was an error. Returns BMSR_ANEGCOMPLETE if auto-negotiation is done.}(hj)5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%5hMj hj&5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj%5hMj hj5ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_update_link (C function)c.genphy_update_linkhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h2int genphy_update_link (struct phy_device *phydev)h]j )}(h1int genphy_update_link(struct phy_device *phydev)h](jM )}(hinth]hint}(hji5hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hje5hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMv ubj")}(h h]h }(hjx5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hje5hhhjw5hMv ubj3)}(hgenphy_update_linkh]j9)}(hgenphy_update_linkh]hgenphy_update_link}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hje5hhhjw5hMv ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNj j )}j ]j )}j j5sbc.genphy_update_linkasbuh1hhj5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hphydevh]hphydev}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubah}(h]h ]h"]h$]h&]jPjQuh1j hje5hhhjw5hMv ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhja5hhhjw5hMv ubah}(h]j\5ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjw5hMv hj^5hhubjg)}(hhh]jl)}(h update link status in **phydev**h](hupdate link status in }(hj)6hhhNhNubj)}(h **phydev**h]hphydev}(hj16hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)6ubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMv hj&6hhubah}(h]h ]h"]h$]h&]uh1jfhj^5hhhjw5hMv ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjO6jjO6jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Update the value in phydev->link to reflect the current link value. In order to do this, we need to read the status register twice, keeping the second value.h](jl)}(h**Parameters**h]j)}(hjY6h]h Parameters}(hj[6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW6ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMz hjS6ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjx6h]hstruct phy_device *phydev}(hjz6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv6ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMw hjr6ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMw hj6ubah}(h]h ]h"]h$]h&]uh1jhjr6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMw hjo6ubah}(h]h ]h"]h$]h&]uh1jhjS6ubjl)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMy hjS6ubj)}(hhh]j)}(hUpdate the value in phydev->link to reflect the current link value. In order to do this, we need to read the status register twice, keeping the second value.h](j)}(h/Update the value in phydev->link to reflect theh]h/Update the value in phydev->link to reflect the}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMz hj6ubj)}(hhh]jl)}(hncurrent link value. In order to do this, we need to read the status register twice, keeping the second value.h]hncurrent link value. In order to do this, we need to read the status register twice, keeping the second value.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj6hMz hj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMz hj6ubah}(h]h ]h"]h$]h&]uh1jhjS6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_read_status_fixed (C function)c.genphy_read_status_fixedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h8int genphy_read_status_fixed (struct phy_device *phydev)h]j )}(h7int genphy_read_status_fixed(struct phy_device *phydev)h](jM )}(hinth]hint}(hj"7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hj17hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7hhhj07hM ubj3)}(hgenphy_read_status_fixedh]j9)}(hgenphy_read_status_fixedh]hgenphy_read_status_fixed}(hjC7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?7ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7hhhj07hM ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj_7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[7ubj")}(h h]h }(hjl7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[7ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj}7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjz7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]j )}j jE7sbc.genphy_read_status_fixedasbuh1hhj[7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[7ubj )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj[7ubj9)}(hphydevh]hphydev}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjW7ubah}(h]h ]h"]h$]h&]jPjQuh1j hj7hhhj07hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhj07hM ubah}(h]j7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj07hM hj7hhubjg)}(hhh]jl)}(h'read the link parameters for !aneg modeh]h'read the link parameters for !aneg mode}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj7hhubah}(h]h ]h"]h$]h&]uh1jfhj7hhhj07hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Read the current duplex and speed state for a PHY operating with autonegotiation disabled.h](jl)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj7ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj#8h]hstruct phy_device *phydev}(hj%8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!8ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj8ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj<8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj88hM hj98ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj88hM hj8ubah}(h]h ]h"]h$]h&]uh1jhj7ubjl)}(h**Description**h]j)}(hj^8h]h Description}(hj`8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\8ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj7ubjl)}(hZRead the current duplex and speed state for a PHY operating with autonegotiation disabled.h]hZRead the current duplex and speed state for a PHY operating with autonegotiation disabled.}(hjt8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_read_status (C function)c.genphy_read_statushNtauh1hhjdhhhNhNubh)}(hhh](j)}(h2int genphy_read_status (struct phy_device *phydev)h]j )}(h1int genphy_read_status(struct phy_device *phydev)h](jM )}(hinth]hint}(hj8hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8hhhj8hM ubj3)}(hgenphy_read_statush]j9)}(hgenphy_read_statush]hgenphy_read_status}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj8hhhj8hM ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]j )}j j8sbc.genphy_read_statusasbuh1hhj8ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj )}(hj h]h*}(hj,9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj8ubj9)}(hphydevh]hphydev}(hj99hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj8ubah}(h]h ]h"]h$]h&]jPjQuh1j hj8hhhj8hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj8hhhj8hM ubah}(h]j8ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8hM hj8hhubjg)}(hhh]jl)}(h3check the link status and update current link stateh]h3check the link status and update current link state}(hjc9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj`9hhubah}(h]h ]h"]h$]h&]uh1jfhj8hhhj8hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{9jj{9jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Check the link, then figure out the current state by comparing what we advertise with what the link partner advertises. Start by checking the gigabit possibilities, then move on to 10/100.h](jl)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj9ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj9h]hstruct phy_device *phydev}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj9ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hM hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubjl)}(h**Description**h]j)}(hj9h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj9ubj)}(hhh]j)}(hCheck the link, then figure out the current state by comparing what we advertise with what the link partner advertises. Start by checking the gigabit possibilities, then move on to 10/100.h](j)}(h1Check the link, then figure out the current stateh]h1Check the link, then figure out the current state}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj9ubj)}(hhh]jl)}(hby comparing what we advertise with what the link partner advertises. Start by checking the gigabit possibilities, then move on to 10/100.h]hby comparing what we advertise with what the link partner advertises. Start by checking the gigabit possibilities, then move on to 10/100.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj :ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj :hM hj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#genphy_c37_read_status (C function)c.genphy_c37_read_statushNtauh1hhjdhhhNhNubh)}(hhh](j)}(hEint genphy_c37_read_status (struct phy_device *phydev, bool *changed)h]j )}(hDint genphy_c37_read_status(struct phy_device *phydev, bool *changed)h](jM )}(hinth]hint}(hjO:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjK:hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM+ ubj")}(h h]h }(hj^:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjK:hhhj]:hM+ ubj3)}(hgenphy_c37_read_statush]j9)}(hgenphy_c37_read_statush]hgenphy_c37_read_status}(hjp:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjl:ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjK:hhhj]:hM+ ubj )}(h*(struct phy_device *phydev, bool *changed)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]j )}j jr:sbc.genphy_c37_read_statusasbuh1hhj:ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj )}(hj h]h*}(hj:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:ubj9)}(hphydevh]hphydev}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:ubj )}(h bool *changedh](jM )}(hjh]hbool}(hj:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:ubj")}(h h]h }(hj ;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj )}(hj h]h*}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:ubj9)}(hchangedh]hchanged}(hj&;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj:ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjK:hhhj]:hM+ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjG:hhhj]:hM+ ubah}(h]jB:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]:hM+ hjD:hhubjg)}(hhh]jl)}(h3check the link status and update current link stateh]h3check the link status and update current link state}(hjP;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM+ hjM;hhubah}(h]h ]h"]h$]h&]uh1jfhjD:hhhj]:hM+ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjh;jjh;jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool *changed`` pointer where to store if link changed **Description** Check the link, then figure out the current state by comparing what we advertise with what the link partner advertises. This function is for Clause 37 1000Base-X mode. If link has changed, **changed** is set to true, false otherwise.h](jl)}(h**Parameters**h]j)}(hjr;h]h Parameters}(hjt;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp;ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM/ hjl;ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj;h]hstruct phy_device *phydev}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM, hj;ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hM, hj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hM, hj;ubj)}(h9``bool *changed`` pointer where to store if link changed h](j)}(h``bool *changed``h]j)}(hj;h]h bool *changed}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM- hj;ubj)}(hhh]jl)}(h&pointer where to store if link changedh]h&pointer where to store if link changed}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj;hM- hj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hM- hj;ubeh}(h]h ]h"]h$]h&]uh1jhjl;ubjl)}(h**Description**h]j)}(hj<h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM/ hjl;ubj)}(hhh]j)}(hCheck the link, then figure out the current state by comparing what we advertise with what the link partner advertises. This function is for Clause 37 1000Base-X mode. If link has changed, **changed** is set to true, false otherwise.h](j)}(h1Check the link, then figure out the current stateh]h1Check the link, then figure out the current state}(hj"<hhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM2 hj<ubj)}(hhh](jl)}(huby comparing what we advertise with what the link partner advertises. This function is for Clause 37 1000Base-X mode.h]huby comparing what we advertise with what the link partner advertises. This function is for Clause 37 1000Base-X mode.}(hj4<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM0 hj1<ubjl)}(hAIf link has changed, **changed** is set to true, false otherwise.h](hIf link has changed, }(hjC<hhhNhNubj)}(h **changed**h]hchanged}(hjK<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC<ubh! is set to true, false otherwise.}(hjC<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM3 hj1<ubeh}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj0<hM2 hj<ubah}(h]h ]h"]h$]h&]uh1jhjl;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgenphy_soft_reset (C function)c.genphy_soft_resethNtauh1hhjdhhhNhNubh)}(hhh](j)}(h1int genphy_soft_reset (struct phy_device *phydev)h]j )}(h0int genphy_soft_reset(struct phy_device *phydev)h](jM )}(hinth]hint}(hj<hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj<hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMk ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<hhhj<hMk ubj3)}(hgenphy_soft_reseth]j9)}(hgenphy_soft_reseth]hgenphy_soft_reset}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj<hhhj<hMk ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNj j )}j ]j )}j j<sbc.genphy_soft_resetasbuh1hhj<ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<ubj )}(hj h]h*}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj<ubj9)}(hphydevh]hphydev}(hj,=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj<ubah}(h]h ]h"]h$]h&]jPjQuh1j hj<hhhj<hMk ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj<hhhj<hMk ubah}(h]j<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj<hMk hj<hhubjg)}(hhh]jl)}(h)software reset the PHY via BMCR_RESET bith]h)software reset the PHY via BMCR_RESET bit}(hjV=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMk hjS=hhubah}(h]h ]h"]h$]h&]uh1jfhj<hhhj<hMk ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjn=jjn=jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Perform a software PHY reset using the standard BMCR_RESET bit and poll for the reset bit to be cleared. **Return** 0 on success, < 0 on failureh](jl)}(h**Parameters**h]j)}(hjx=h]h Parameters}(hjz=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv=ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMo hjr=ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj=h]hstruct phy_device *phydev}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMl hj=ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj=hMl hj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hMl hj=ubah}(h]h ]h"]h$]h&]uh1jhjr=ubjl)}(h**Description**h]j)}(hj=h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMn hjr=ubjl)}(hhPerform a software PHY reset using the standard BMCR_RESET bit and poll for the reset bit to be cleared.h]hhPerform a software PHY reset using the standard BMCR_RESET bit and poll for the reset bit to be cleared.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMn hjr=ubjl)}(h **Return**h]j)}(hj=h]hReturn}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMq hjr=ubjl)}(h0 on success, < 0 on failureh]h0 on success, < 0 on failure}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMq hjr=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"genphy_read_abilities (C function)c.genphy_read_abilitieshNtauh1hhjdhhhNhNubh)}(hhh](j)}(h5int genphy_read_abilities (struct phy_device *phydev)h]j )}(h4int genphy_read_abilities(struct phy_device *phydev)h](jM )}(hinth]hint}(hj>>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:>hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hjM>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:>hhhjL>hM ubj3)}(hgenphy_read_abilitiesh]j9)}(hgenphy_read_abilitiesh]hgenphy_read_abilities}(hj_>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[>ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj:>hhhjL>hM ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj{>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjw>ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjw>ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNj j )}j ]j )}j ja>sbc.genphy_read_abilitiesasbuh1hhjw>ubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjw>ubj )}(hj h]h*}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjw>ubj9)}(hphydevh]hphydev}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjw>ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjs>ubah}(h]h ]h"]h$]h&]jPjQuh1j hj:>hhhjL>hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj6>hhhjL>hM ubah}(h]j1>ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjL>hM hj3>hhubjg)}(hhh]jl)}(h+read PHY abilities from Clause 22 registersh]h+read PHY abilities from Clause 22 registers}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj>hhubah}(h]h ]h"]h$]h&]uh1jfhj3>hhhjL>hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Reads the PHY's abilities and populates phydev->supported accordingly. **Return** 0 on success, < 0 on failureh](jl)}(h**Parameters**h]j)}(hj ?h]h Parameters}(hj"?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj?ubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj??h]hstruct phy_device *phydev}(hjA?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=?ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj9?ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjX?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjT?hM hjU?ubah}(h]h ]h"]h$]h&]uh1jhj9?ubeh}(h]h ]h"]h$]h&]uh1jhjT?hM hj6?ubah}(h]h ]h"]h$]h&]uh1jhj?ubjl)}(h**Description**h]j)}(hjz?h]h Description}(hj|?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx?ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj?ubjl)}(hFReads the PHY's abilities and populates phydev->supported accordingly.h]hHReads the PHY’s abilities and populates phydev->supported accordingly.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj?ubjl)}(h **Return**h]j)}(hj?h]hReturn}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj?ubjl)}(h0 on success, < 0 on failureh]h0 on success, < 0 on failure}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phy_remove_link_mode (C function)c.phy_remove_link_modehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hDvoid phy_remove_link_mode (struct phy_device *phydev, u32 link_mode)h]j )}(hCvoid phy_remove_link_mode(struct phy_device *phydev, u32 link_mode)h](jM )}(hvoidh]hvoid}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM+ ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?hhhj?hM+ ubj3)}(hphy_remove_link_modeh]j9)}(hphy_remove_link_modeh]hphy_remove_link_mode}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj?hhhj?hM+ ubj )}(h*(struct phy_device *phydev, u32 link_mode)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj#@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj")}(h h]h }(hj0@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjA@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjC@modnameN classnameNj j )}j ]j )}j j @sbc.phy_remove_link_modeasbuh1hhj@ubj")}(h h]h }(hja@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj )}(hj h]h*}(hjo@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj@ubj9)}(hphydevh]hphydev}(hj|@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubj )}(h u32 link_modeh](h)}(hhh]j9)}(hu32h]hu32}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNj j )}j ]j]@c.phy_remove_link_modeasbuh1hhj@ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@ubj9)}(h link_modeh]h link_mode}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj@ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj?hhhj?hM+ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj?hhhj?hM+ ubah}(h]j?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj?hM+ hj?hhubjg)}(hhh]jl)}(hRemove a supported link modeh]hRemove a supported link mode}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM+ hj@hhubah}(h]h ]h"]h$]h&]uh1jfhj?hhhj?hM+ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhjdhNhNubj)}(hX+**Parameters** ``struct phy_device *phydev`` phy_device structure to remove link mode from ``u32 link_mode`` Link mode to be removed **Description** Some MACs don't support all link modes which the PHY does. e.g. a 1G MAC often does not support 1000Half. Add a helper to remove a link mode.h](jl)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM/ hj Aubj)}(hhh](j)}(hL``struct phy_device *phydev`` phy_device structure to remove link mode from h](j)}(h``struct phy_device *phydev``h]j)}(hj/Ah]hstruct phy_device *phydev}(hj1AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-Aubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM, hj)Aubj)}(hhh]jl)}(h-phy_device structure to remove link mode fromh]h-phy_device structure to remove link mode from}(hjHAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDAhM, hjEAubah}(h]h ]h"]h$]h&]uh1jhj)Aubeh}(h]h ]h"]h$]h&]uh1jhjDAhM, hj&Aubj)}(h*``u32 link_mode`` Link mode to be removed h](j)}(h``u32 link_mode``h]j)}(hjhAh]h u32 link_mode}(hjjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfAubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM- hjbAubj)}(hhh]jl)}(hLink mode to be removedh]hLink mode to be removed}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}AhM- hj~Aubah}(h]h ]h"]h$]h&]uh1jhjbAubeh}(h]h ]h"]h$]h&]uh1jhj}AhM- hj&Aubeh}(h]h ]h"]h$]h&]uh1jhj Aubjl)}(h**Description**h]j)}(hjAh]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM/ hj Aubjl)}(hSome MACs don't support all link modes which the PHY does. e.g. a 1G MAC often does not support 1000Half. Add a helper to remove a link mode.h]hSome MACs don’t support all link modes which the PHY does. e.g. a 1G MAC often does not support 1000Half. Add a helper to remove a link mode.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM/ hj Aubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phy_advertise_supported (C function)c.phy_advertise_supportedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h8void phy_advertise_supported (struct phy_device *phydev)h]j )}(h7void phy_advertise_supported(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMC ubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAhhhjAhMC ubj3)}(hphy_advertise_supportedh]j9)}(hphy_advertise_supportedh]hphy_advertise_supported}(hj BhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjAhhhjAhMC ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj%BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!Bubj")}(h h]h }(hj2BhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!Bubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjCBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj@Bubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEBmodnameN classnameNj j )}j ]j )}j j Bsbc.phy_advertise_supportedasbuh1hhj!Bubj")}(h h]h }(hjcBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj!Bubj )}(hj h]h*}(hjqBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj!Bubj9)}(hphydevh]hphydev}(hj~BhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!Bubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjBubah}(h]h ]h"]h$]h&]jPjQuh1j hjAhhhjAhMC ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAhhhjAhMC ubah}(h]jAah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjAhMC hjAhhubjg)}(hhh]jl)}(hAdvertise all supported modesh]hAdvertise all supported modes}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMC hjBhhubah}(h]h ]h"]h$]h&]uh1jfhjAhhhjAhMC ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBjjBjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Called to advertise all supported modes, doesn't touch pause mode advertising.h](jl)}(h**Parameters**h]j)}(hjBh]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMG hjBubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjBh]hstruct phy_device *phydev}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMD hjBubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMD hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMD hjBubah}(h]h ]h"]h$]h&]uh1jhjBubjl)}(h**Description**h]j)}(hj$Ch]h Description}(hj&ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Cubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMF hjBubjl)}(hNCalled to advertise all supported modes, doesn't touch pause mode advertising.h]hPCalled to advertise all supported modes, doesn’t touch pause mode advertising.}(hj:ChhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMF hjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"phy_advertise_eee_all (C function)c.phy_advertise_eee_allhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h6void phy_advertise_eee_all (struct phy_device *phydev)h]j )}(h5void phy_advertise_eee_all(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjiChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjeChhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMT ubj")}(h h]h }(hjxChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeChhhjwChMT ubj3)}(hphy_advertise_eee_allh]j9)}(hphy_advertise_eee_allh]hphy_advertise_eee_all}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjeChhhjwChMT ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNj j )}j ]j )}j jCsbc.phy_advertise_eee_allasbuh1hhjCubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj )}(hj h]h*}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjCubj9)}(hphydevh]hphydev}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubah}(h]h ]h"]h$]h&]jPjQuh1j hjeChhhjwChMT ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjaChhhjwChMT ubah}(h]j\Cah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjwChMT hj^Chhubjg)}(hhh]jl)}(h!Advertise all supported EEE modesh]h!Advertise all supported EEE modes}(hj)DhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMT hj&Dhhubah}(h]h ]h"]h$]h&]uh1jfhj^ChhhjwChMT ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjADjjADjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Per default phylib preserves the EEE advertising at the time of phy probing, which might be a subset of the supported EEE modes. Use this function when all supported EEE modes should be advertised. This does not trigger auto-negotiation, so must be called before phy_start()/ phylink_start() which will start auto-negotiation.h](jl)}(h**Parameters**h]j)}(hjKDh]h Parameters}(hjMDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIDubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMX hjEDubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjjDh]hstruct phy_device *phydev}(hjlDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhDubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMU hjdDubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMU hjDubah}(h]h ]h"]h$]h&]uh1jhjdDubeh}(h]h ]h"]h$]h&]uh1jhjDhMU hjaDubah}(h]h ]h"]h$]h&]uh1jhjEDubjl)}(h**Description**h]j)}(hjDh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMW hjEDubjl)}(hXFPer default phylib preserves the EEE advertising at the time of phy probing, which might be a subset of the supported EEE modes. Use this function when all supported EEE modes should be advertised. This does not trigger auto-negotiation, so must be called before phy_start()/ phylink_start() which will start auto-negotiation.h]hXFPer default phylib preserves the EEE advertising at the time of phy probing, which might be a subset of the supported EEE modes. Use this function when all supported EEE modes should be advertised. This does not trigger auto-negotiation, so must be called before phy_start()/ phylink_start() which will start auto-negotiation.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMW hjEDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_support_eee (C function)c.phy_support_eeehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h0void phy_support_eee (struct phy_device *phydev)h]j )}(h/void phy_support_eee(struct phy_device *phydev)h](jM )}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjDhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMe ubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjDhhhjDhMe ubj3)}(hphy_support_eeeh]j9)}(hphy_support_eeeh]hphy_support_eee}(hj EhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjDhhhjDhMe ubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj'EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#Eubj")}(h h]h }(hj4EhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#Eubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjEEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGEmodnameN classnameNj j )}j ]j )}j j Esbc.phy_support_eeeasbuh1hhj#Eubj")}(h h]h }(hjeEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj#Eubj )}(hj h]h*}(hjsEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj#Eubj9)}(hphydevh]hphydev}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#Eubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjEubah}(h]h ]h"]h$]h&]jPjQuh1j hjDhhhjDhMe ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjDhhhjDhMe ubah}(h]jDah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjDhMe hjDhhubjg)}(hhh]jl)}(h$Set initial EEE policy configurationh]h$Set initial EEE policy configuration}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMe hjEhhubah}(h]h ]h"]h$]h&]uh1jfhjDhhhjDhMe ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` Target phy_device struct **Description** This function configures the initial policy for Energy Efficient Ethernet (EEE) on the specified PHY device, influencing that EEE capabilities are advertised before the link is established. It should be called during PHY registration by the MAC driver and/or the PHY driver (for SmartEEE PHYs) if MAC supports LPI or PHY is capable to compensate missing LPI functionality of the MAC. The function sets default EEE policy parameters, including preparing the PHY to advertise EEE capabilities based on hardware support. It also sets the expected configuration for Low Power Idle (LPI) in the MAC driver. If the PHY framework determines that both local and remote advertisements support EEE, and the negotiated link mode is compatible with EEE, it will set enable_tx_lpi = true. The MAC driver is expected to act on this setting by enabling the LPI timer if enable_tx_lpi is set.h](jl)}(h**Parameters**h]j)}(hjEh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMi hjEubj)}(hhh]j)}(h7``struct phy_device *phydev`` Target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjEh]hstruct phy_device *phydev}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMf hjEubj)}(hhh]jl)}(hTarget phy_device structh]hTarget phy_device struct}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhMf hjFubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjFhMf hjEubah}(h]h ]h"]h$]h&]uh1jhjEubjl)}(h**Description**h]j)}(hj&Fh]h Description}(hj(FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Fubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMh hjEubjl)}(hXThis function configures the initial policy for Energy Efficient Ethernet (EEE) on the specified PHY device, influencing that EEE capabilities are advertised before the link is established. It should be called during PHY registration by the MAC driver and/or the PHY driver (for SmartEEE PHYs) if MAC supports LPI or PHY is capable to compensate missing LPI functionality of the MAC.h]hXThis function configures the initial policy for Energy Efficient Ethernet (EEE) on the specified PHY device, influencing that EEE capabilities are advertised before the link is established. It should be called during PHY registration by the MAC driver and/or the PHY driver (for SmartEEE PHYs) if MAC supports LPI or PHY is capable to compensate missing LPI functionality of the MAC.}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjAKubeh}(h]h ]h"]h$]h&]jPjQuh1j hjKhhhjKhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjKhhhjKhM ubah}(h]jJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjKhM hjKhhubjg)}(hhh]jl)}(hConfigure symmetric Pauseh]hConfigure symmetric Pause}(hjhLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjeLhhubah}(h]h ]h"]h$]h&]uh1jfhjKhhhjKhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjdhNhNubj)}(hXn**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool rx`` Receiver Pause is supported ``bool tx`` Transmit Pause is supported ``bool autoneg`` Auto neg should be used **Description** Configure advertised Pause support depending on if receiver pause and pause auto neg is supported. Generally called from the set_pauseparam .ndo.h](jl)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjLubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjLh]hstruct phy_device *phydev}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjLubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhM hjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhM hjLubj)}(h(``bool rx`` Receiver Pause is supported h](j)}(h ``bool rx``h]j)}(hjLh]hbool rx}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjLubj)}(hhh]jl)}(hReceiver Pause is supportedh]hReceiver Pause is supported}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhM hjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhM hjLubj)}(h(``bool tx`` Transmit Pause is supported h](j)}(h ``bool tx``h]j)}(hjMh]hbool tx}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjMubj)}(hhh]jl)}(hTransmit Pause is supportedh]hTransmit Pause is supported}(hj4MhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0MhM hj1Mubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhj0MhM hjLubj)}(h)``bool autoneg`` Auto neg should be used h](j)}(h``bool autoneg``h]j)}(hjTMh]h bool autoneg}(hjVMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRMubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjNMubj)}(hhh]jl)}(hAuto neg should be usedh]hAuto neg should be used}(hjmMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjiMhM hjjMubah}(h]h ]h"]h$]h&]uh1jhjNMubeh}(h]h ]h"]h$]h&]uh1jhjiMhM hjLubeh}(h]h ]h"]h$]h&]uh1jhjLubjl)}(h**Description**h]j)}(hjMh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjLubjl)}(hConfigure advertised Pause support depending on if receiver pause and pause auto neg is supported. Generally called from the set_pauseparam .ndo.h]hConfigure advertised Pause support depending on if receiver pause and pause auto neg is supported. Generally called from the set_pauseparam .ndo.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_set_asym_pause (C function)c.phy_set_asym_pausehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hEvoid phy_set_asym_pause (struct phy_device *phydev, bool rx, bool tx)h]j )}(hDvoid phy_set_asym_pause(struct phy_device *phydev, bool rx, bool tx)h](jM )}(hvoidh]hvoid}(hjMhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMhhhjMhM ubj3)}(hphy_set_asym_pauseh]j9)}(hphy_set_asym_pauseh]hphy_set_asym_pause}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMhhhjMhM ubj )}(h-(struct phy_device *phydev, bool rx, bool tx)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Nubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Nubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj/NhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,Nubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1NmodnameN classnameNj j )}j ]j )}j jMsbc.phy_set_asym_pauseasbuh1hhj Nubj")}(h h]h }(hjONhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Nubj )}(hj h]h*}(hj]NhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj Nubj9)}(hphydevh]hphydev}(hjjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Nubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj Nubj )}(hbool rxh](jM )}(hjh]hbool}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj9)}(hrxh]hrx}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj Nubj )}(hbool txh](jM )}(hjh]hbool}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj9)}(htxh]htx}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj Nubeh}(h]h ]h"]h$]h&]jPjQuh1j hjMhhhjMhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjMhhhjMhM ubah}(h]jMah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjMhM hjMhhubjg)}(hhh]jl)}(hConfigure Pause and Asym Pauseh]hConfigure Pause and Asym Pause}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjNhhubah}(h]h ]h"]h$]h&]uh1jfhjMhhhjMhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjdhNhNubj)}(hX|**Parameters** ``struct phy_device *phydev`` target phy_device struct ``bool rx`` Receiver Pause is supported ``bool tx`` Transmit Pause is supported **Description** Configure advertised Pause support depending on if transmit and receiver pause is supported. If there has been a change in adverting, trigger a new autoneg. Generally called from the set_pauseparam .ndo.h](jl)}(h**Parameters**h]j)}(hjOh]h Parameters}(hj OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjOubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj=Oh]hstruct phy_device *phydev}(hj?OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;Oubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hj7Oubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjVOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjROhM hjSOubah}(h]h ]h"]h$]h&]uh1jhj7Oubeh}(h]h ]h"]h$]h&]uh1jhjROhM hj4Oubj)}(h(``bool rx`` Receiver Pause is supported h](j)}(h ``bool rx``h]j)}(hjvOh]hbool rx}(hjxOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtOubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjpOubj)}(hhh]jl)}(hReceiver Pause is supportedh]hReceiver Pause is supported}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhM hjOubah}(h]h ]h"]h$]h&]uh1jhjpOubeh}(h]h ]h"]h$]h&]uh1jhjOhM hj4Oubj)}(h(``bool tx`` Transmit Pause is supported h](j)}(h ``bool tx``h]j)}(hjOh]hbool tx}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjOubj)}(hhh]jl)}(hTransmit Pause is supportedh]hTransmit Pause is supported}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhM hjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhM hj4Oubeh}(h]h ]h"]h$]h&]uh1jhjOubjl)}(h**Description**h]j)}(hjOh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjOubjl)}(hConfigure advertised Pause support depending on if transmit and receiver pause is supported. If there has been a change in adverting, trigger a new autoneg. Generally called from the set_pauseparam .ndo.h]hConfigure advertised Pause support depending on if transmit and receiver pause is supported. If there has been a change in adverting, trigger a new autoneg. Generally called from the set_pauseparam .ndo.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM hjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_validate_pause (C function)c.phy_validate_pausehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hRbool phy_validate_pause (struct phy_device *phydev, struct ethtool_pauseparam *pp)h]j )}(hQbool phy_validate_pause(struct phy_device *phydev, struct ethtool_pauseparam *pp)h](jM )}(hjh]hbool}(hj/PhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj+Phhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM ubj")}(h h]h }(hj=PhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+PhhhjVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubeh}(h]h ]h"]h$]h&]jPjQuh1j hjThhhjThM* ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjThhhjThM* ubah}(h]jTah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjThM* hjThhubjg)}(hhh]jl)}(h'returns the index of the internal delayh]h'returns the index of the internal delay}(hjhVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM* hjeVhhubah}(h]h ]h"]h$]h&]uh1jfhjThhhjThM* ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` phy_device struct ``const int *delay_values`` array of delays the PHY supports ``int size`` the size of the delay array ``bool is_rx`` boolean to indicate to get the rx internal delay **Description** Returns the index within the array of internal delay passed in. If the device property is not present then the interface type is checked if the interface defines use of internal delay then a 1 is returned otherwise a 0 is returned. The array must be in ascending order. If PHY does not have an ascending order array then size = 0 and the value of the delay property is returned. Return -EINVAL if the delay is invalid or cannot be found.h](jl)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM. hjVubj)}(hhh](j)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjVh]hstruct phy_device *phydev}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM+ hjVubj)}(hhh]jl)}(hphy_device structh]hphy_device struct}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhM+ hjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhM+ hjVubj)}(h=``const int *delay_values`` array of delays the PHY supports h](j)}(h``const int *delay_values``h]j)}(hjVh]hconst int *delay_values}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM, hjVubj)}(hhh]jl)}(h array of delays the PHY supportsh]h array of delays the PHY supports}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhM, hjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhM, hjVubj)}(h)``int size`` the size of the delay array h](j)}(h ``int size``h]j)}(hjWh]hint size}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM- hjWubj)}(hhh]jl)}(hthe size of the delay arrayh]hthe size of the delay array}(hj4WhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj0WhM- hj1Wubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhj0WhM- hjVubj)}(h@``bool is_rx`` boolean to indicate to get the rx internal delay h](j)}(h``bool is_rx``h]j)}(hjTWh]h bool is_rx}(hjVWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRWubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM. hjNWubj)}(hhh]jl)}(h0boolean to indicate to get the rx internal delayh]h0boolean to indicate to get the rx internal delay}(hjmWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjiWhM. hjjWubah}(h]h ]h"]h$]h&]uh1jhjNWubeh}(h]h ]h"]h$]h&]uh1jhjiWhM. hjVubeh}(h]h ]h"]h$]h&]uh1jhjVubjl)}(h**Description**h]j)}(hjWh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM0 hjVubjl)}(hXReturns the index within the array of internal delay passed in. If the device property is not present then the interface type is checked if the interface defines use of internal delay then a 1 is returned otherwise a 0 is returned. The array must be in ascending order. If PHY does not have an ascending order array then size = 0 and the value of the delay property is returned. Return -EINVAL if the delay is invalid or cannot be found.h]hXReturns the index within the array of internal delay passed in. If the device property is not present then the interface type is checked if the interface defines use of internal delay then a 1 is returned otherwise a 0 is returned. The array must be in ascending order. If PHY does not have an ascending order array then size = 0 and the value of the delay property is returned. Return -EINVAL if the delay is invalid or cannot be found.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM/ hjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phy_get_tx_amplitude_gain (C function)c.phy_get_tx_amplitude_gainhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hint phy_get_tx_amplitude_gain (struct phy_device *phydev, struct device *dev, enum ethtool_link_mode_bit_indices linkmode, u32 *val)h]j )}(hint phy_get_tx_amplitude_gain(struct phy_device *phydev, struct device *dev, enum ethtool_link_mode_bit_indices linkmode, u32 *val)h](jM )}(hinth]hint}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjWhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMy ubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWhhhjWhMy ubj3)}(hphy_get_tx_amplitude_gainh]j9)}(hphy_get_tx_amplitude_gainh]hphy_get_tx_amplitude_gain}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjWhhhjWhMy ubj )}(hf(struct phy_device *phydev, struct device *dev, enum ethtool_link_mode_bit_indices linkmode, u32 *val)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Xubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Xubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj/XhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,Xubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1XmodnameN classnameNj j )}j ]j )}j jWsbc.phy_get_tx_amplitude_gainasbuh1hhj Xubj")}(h h]h }(hjOXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj Xubj )}(hj h]h*}(hj]XhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj Xubj9)}(hphydevh]hphydev}(hjjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Xubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj Xubj )}(hstruct device *devh](j)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubh)}(hhh]j9)}(hdeviceh]hdevice}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNj j )}j ]jKXc.phy_get_tx_amplitude_gainasbuh1hhjXubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj )}(hj h]h*}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXubj9)}(hdevh]hdev}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj Xubj )}(h+enum ethtool_link_mode_bit_indices linkmodeh](j)}(hjh]henum}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubh)}(hhh]j9)}(hethtool_link_mode_bit_indicesh]hethtool_link_mode_bit_indices}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]jKXc.phy_get_tx_amplitude_gainasbuh1hhjXubj")}(h h]h }(hj/YhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj9)}(hlinkmodeh]hlinkmode}(hj=YhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj Xubj )}(hu32 *valh](h)}(hhh]j9)}(hu32h]hu32}(hjYYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[YmodnameN classnameNj j )}j ]jKXc.phy_get_tx_amplitude_gainasbuh1hhjRYubj")}(h h]h }(hjwYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjRYubj )}(hj h]h*}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjRYubj9)}(hvalh]hval}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjRYubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj Xubeh}(h]h ]h"]h$]h&]jPjQuh1j hjWhhhjWhMy ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjWhhhjWhMy ubah}(h]jWah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjWhMy hjWhhubjg)}(hhh]jl)}(h#stores tx amplitude gain in **val**h](hstores tx amplitude gain in }(hjYhhhNhNubj)}(h**val**h]hval}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMy hjYhhubah}(h]h ]h"]h$]h&]uh1jfhjWhhhjWhMy ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjdhNhNubj)}(hX<**Parameters** ``struct phy_device *phydev`` phy_device struct ``struct device *dev`` pointer to the devices device struct ``enum ethtool_link_mode_bit_indices linkmode`` linkmode for which the tx amplitude gain should be retrieved ``u32 *val`` tx amplitude gain **Return** 0 on success, < 0 on failureh](jl)}(h**Parameters**h]j)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM} hjYubj)}(hhh](j)}(h0``struct phy_device *phydev`` phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj Zh]hstruct phy_device *phydev}(hj ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Zubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMz hjZubj)}(hhh]jl)}(hphy_device structh]hphy_device struct}(hj$ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj ZhMz hj!Zubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj ZhMz hjZubj)}(h<``struct device *dev`` pointer to the devices device struct h](j)}(h``struct device *dev``h]j)}(hjDZh]hstruct device *dev}(hjFZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBZubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM{ hj>Zubj)}(hhh]jl)}(h$pointer to the devices device structh]h$pointer to the devices device struct}(hj]ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjYZhM{ hjZZubah}(h]h ]h"]h$]h&]uh1jhj>Zubeh}(h]h ]h"]h$]h&]uh1jhjYZhM{ hjZubj)}(hm``enum ethtool_link_mode_bit_indices linkmode`` linkmode for which the tx amplitude gain should be retrieved h](j)}(h/``enum ethtool_link_mode_bit_indices linkmode``h]j)}(hj}Zh]h+enum ethtool_link_mode_bit_indices linkmode}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{Zubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chM| hjwZubj)}(hhh]jl)}(hstruct phy_port * phy_get_sfp_port (struct phy_device *phydev)h]j )}(hchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,chhhj=chMHubh)}(hhh]j9)}(h fwnode_handleh]h fwnode_handle}(hjOchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQcmodnameN classnameNj j )}j ]j )}j fwnode_get_phy_nodesbc.fwnode_get_phy_nodeasbuh1hhj,chhhj=chMHubj")}(h h]h }(hjpchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,chhhj=chMHubj )}(hj h]h*}(hj~chhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,chhhj=chMHubj3)}(hfwnode_get_phy_nodeh]j9)}(hjmch]hfwnode_get_phy_node}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,chhhj=chMHubj )}(h$(const struct fwnode_handle *fwnode)h]j )}(h"const struct fwnode_handle *fwnodeh](j)}(hj h]hconst}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubh)}(hhh]j9)}(h fwnode_handleh]h fwnode_handle}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNj j )}j ]jkcc.fwnode_get_phy_nodeasbuh1hhjcubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(hfwnodeh]hfwnode}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjcubah}(h]h ]h"]h$]h&]jPjQuh1j hj,chhhj=chMHubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj(chhhj=chMHubah}(h]j#cah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj=chMHhj%chhubjg)}(hhh]jl)}(h+Get the phy_node using the named reference.h]h+Get the phy_node using the named reference.}(hjFdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMHhjCdhhubah}(h]h ]h"]h$]h&]uh1jfhj%chhhj=chMHubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^djj^djjjuh1hhhhjdhNhNubj)}(hXe**Parameters** ``const struct fwnode_handle *fwnode`` Pointer to fwnode from which phy_node has to be obtained. **Description** Refer return conditions of fwnode_find_reference(). For ACPI, only "phy-handle" is supported. Legacy DT properties "phy" and "phy-device" are not supported in ACPI. DT supports all the three named references to the phy node.h](jl)}(h**Parameters**h]j)}(hjhdh]h Parameters}(hjjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfdubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMLhjbdubj)}(hhh]j)}(ha``const struct fwnode_handle *fwnode`` Pointer to fwnode from which phy_node has to be obtained. h](j)}(h&``const struct fwnode_handle *fwnode``h]j)}(hjdh]h"const struct fwnode_handle *fwnode}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMIhjdubj)}(hhh]jl)}(h9Pointer to fwnode from which phy_node has to be obtained.h]h9Pointer to fwnode from which phy_node has to be obtained.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjdhMIhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhMIhj~dubah}(h]h ]h"]h$]h&]uh1jhjbdubjl)}(h**Description**h]j)}(hjdh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMKhjbdubjl)}(hRefer return conditions of fwnode_find_reference(). For ACPI, only "phy-handle" is supported. Legacy DT properties "phy" and "phy-device" are not supported in ACPI. DT supports all the three named references to the phy node.h]hRefer return conditions of fwnode_find_reference(). For ACPI, only “phy-handle” is supported. Legacy DT properties “phy” and “phy-device” are not supported in ACPI. DT supports all the three named references to the phy node.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:128: ./drivers/net/phy/phy_device.chMJhjbdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_uses_state_machine (C function)c.phy_uses_state_machinehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h7bool phy_uses_state_machine (struct phy_device *phydev)h]j )}(h6bool phy_uses_state_machine(struct phy_device *phydev)h](jM )}(hjh]hbool}(hjehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjehhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjehhhjehMubj3)}(hphy_uses_state_machineh]j9)}(hphy_uses_state_machineh]hphy_uses_state_machine}(hj'ehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj#eubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjehhhjehMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjCehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?eubj")}(h h]h }(hjPehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?eubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjaehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^eubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcemodnameN classnameNj j )}j ]j )}j j)esbc.phy_uses_state_machineasbuh1hhj?eubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?eubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?eubj9)}(hphydevh]hphydev}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?eubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj;eubah}(h]h ]h"]h$]h&]jPjQuh1j hjehhhjehMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdhhhjehMubah}(h]jdah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjehMhjdhhubjg)}(hhh]jl)}(h3test whether consumer driver uses PAL state machineh]h3test whether consumer driver uses PAL state machine}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjehhubah}(h]h ]h"]h$]h&]uh1jfhjdhhhjehMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` the target PHY device structure **Description** Ultimately, this aims to indirectly determine whether the PHY is attached to a consumer which uses the state machine by calling phy_start() and phy_stop(). When the PHY driver consumer uses phylib, it must have previously called phy_connect_direct() or one of its derivatives, so that phy_prepare_link() has set up a hook for monitoring state changes. When the PHY driver is used by the MAC driver consumer through phylink (the only other provider of a phy_link_change() method), using the PHY state machine is not optional. **Return** true if consumer calls phy_start() and phy_stop(), false otherwise.h](jl)}(h**Parameters**h]j)}(hjeh]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjeubj)}(hhh]j)}(h>``struct phy_device *phydev`` the target PHY device structure h](j)}(h``struct phy_device *phydev``h]j)}(hjfh]hstruct phy_device *phydev}(hj fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjfubj)}(hhh]jl)}(hthe target PHY device structureh]hthe target PHY device structure}(hj fhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjfhMhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjeubah}(h]h ]h"]h$]h&]uh1jhjeubjl)}(h**Description**h]j)}(hjBfh]h Description}(hjDfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@fubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjeubjl)}(hUltimately, this aims to indirectly determine whether the PHY is attached to a consumer which uses the state machine by calling phy_start() and phy_stop().h]hUltimately, this aims to indirectly determine whether the PHY is attached to a consumer which uses the state machine by calling phy_start() and phy_stop().}(hjXfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjeubjl)}(hWhen the PHY driver consumer uses phylib, it must have previously called phy_connect_direct() or one of its derivatives, so that phy_prepare_link() has set up a hook for monitoring state changes.h]hWhen the PHY driver consumer uses phylib, it must have previously called phy_connect_direct() or one of its derivatives, so that phy_prepare_link() has set up a hook for monitoring state changes.}(hjgfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjeubjl)}(hWhen the PHY driver is used by the MAC driver consumer through phylink (the only other provider of a phy_link_change() method), using the PHY state machine is not optional.h]hWhen the PHY driver is used by the MAC driver consumer through phylink (the only other provider of a phy_link_change() method), using the PHY state machine is not optional.}(hjvfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjeubjl)}(h **Return**h]j)}(hjfh]hReturn}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM"hjeubjl)}(hCtrue if consumer calls phy_start() and phy_stop(), false otherwise.h]hCtrue if consumer calls phy_start() and phy_stop(), false otherwise.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM#hjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_register_fixup (C function)c.phy_register_fixuphNtauh1hhjdhhhNhNubh)}(hhh](j)}(hkint phy_register_fixup (const char *bus_id, u32 phy_uid, u32 phy_uid_mask, int (*run)(struct phy_device *))h]j )}(hiint phy_register_fixup(const char *bus_id, u32 phy_uid, u32 phy_uid_mask, int (*run)(struct phy_device*))h](jM )}(hinth]hint}(hjfhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjfhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjfhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfhhhjfhMubj3)}(hphy_register_fixuph]j9)}(hphy_register_fixuph]hphy_register_fixup}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjfhhhjfhMubj )}(hS(const char *bus_id, u32 phy_uid, u32 phy_uid_mask, int (*run)(struct phy_device*))h](j )}(hconst char *bus_idh](j)}(hj h]hconst}(hj ghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubjM )}(hcharh]hchar}(hj$ghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgubj")}(h h]h }(hj2ghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hj@ghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hbus_idh]hbus_id}(hjMghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(h u32 phy_uidh](h)}(hhh]j9)}(hu32h]hu32}(hjighhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkgmodnameN classnameNj j )}j ]j )}j jfsbc.phy_register_fixupasbuh1hhjbgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbgubj9)}(hphy_uidh]hphy_uid}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(hu32 phy_uid_maskh](h)}(hhh]j9)}(hu32h]hu32}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]jgc.phy_register_fixupasbuh1hhjgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj9)}(h phy_uid_maskh]h phy_uid_mask}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(hint (*run)(struct phy_device*)h](jM )}(hinth]hint}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjgubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hjh]h(}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj )}(hj h]h*}(hj!hhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hrunh]hrun}(hj.hhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubj )}(hjh]h)}(hjmdio.dev.bus_id (or NULL) ``u32 phy_uid`` Used to match against phydev->phy_id (the UID of the PHY) ``u32 phy_uid_mask`` Applied to phydev->phy_id and fixup->phy_uid before comparison (or 0 to disable id-based matching) ``int (*run)(struct phy_device *)`` The actual code to be run when a matching PHY is foundh](jl)}(h**Parameters**h]j)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjhubj)}(hhh](j)}(hP``const char *bus_id`` A string which matches phydev->mdio.dev.bus_id (or NULL) h](j)}(h``const char *bus_id``h]j)}(hj ih]hconst char *bus_id}(hj ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjiubj)}(hhh]jl)}(h8A string which matches phydev->mdio.dev.bus_id (or NULL)h]h8A string which matches phydev->mdio.dev.bus_id (or NULL)}(hj"ihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjiubj)}(hJ``u32 phy_uid`` Used to match against phydev->phy_id (the UID of the PHY) h](j)}(h``u32 phy_uid``h]j)}(hjBih]h u32 phy_uid}(hjDihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@iubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjphy_id (the UID of the PHY)h]h9Used to match against phydev->phy_id (the UID of the PHY)}(hj[ihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWihMhjXiubah}(h]h ]h"]h$]h&]uh1jhjphy_id and fixup->phy_uid before comparison (or 0 to disable id-based matching) h](j)}(h``u32 phy_uid_mask``h]j)}(hj{ih]hu32 phy_uid_mask}(hj}ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyiubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjuiubj)}(hhh]jl)}(hbApplied to phydev->phy_id and fixup->phy_uid before comparison (or 0 to disable id-based matching)h]hbApplied to phydev->phy_id and fixup->phy_uid before comparison (or 0 to disable id-based matching)}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjiubah}(h]h ]h"]h$]h&]uh1jhjuiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjiubj)}(hZ``int (*run)(struct phy_device *)`` The actual code to be run when a matching PHY is foundh](j)}(h#``int (*run)(struct phy_device *)``h]j)}(hjih]hint (*run)(struct phy_device *)}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjiubj)}(hhh]jl)}(h6The actual code to be run when a matching PHY is foundh]h6The actual code to be run when a matching PHY is found}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjiubeh}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_phy_c45_ids (C function)c.get_phy_c45_idshNtauh1hhjdhhhNhNubh)}(hhh](j)}(hWint get_phy_c45_ids (struct mii_bus *bus, int addr, struct phy_c45_device_ids *c45_ids)h]j )}(hVint get_phy_c45_ids(struct mii_bus *bus, int addr, struct phy_c45_device_ids *c45_ids)h](jM )}(hinth]hint}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj jhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM~ubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj jhhhjjhM~ubj3)}(hget_phy_c45_idsh]j9)}(hget_phy_c45_idsh]hget_phy_c45_ids}(hj0jhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,jubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj jhhhjjhM~ubj )}(hC(struct mii_bus *bus, int addr, struct phy_c45_device_ids *c45_ids)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjLjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHjubj")}(h h]h }(hjYjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjljmodnameN classnameNj j )}j ]j )}j j2jsbc.get_phy_c45_idsasbuh1hhjHjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHjubj )}(hj h]h*}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHjubj9)}(hbush]hbus}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDjubj )}(hint addrh](jM )}(hinth]hint}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj9)}(haddrh]haddr}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDjubj )}(h"struct phy_c45_device_ids *c45_idsh](j)}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubh)}(hhh]j9)}(hphy_c45_device_idsh]hphy_c45_device_ids}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNj j )}j ]jjc.get_phy_c45_idsasbuh1hhjjubj")}(h h]h }(hj/khhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjubj )}(hj h]h*}(hj=khhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjjubj9)}(hc45_idsh]hc45_ids}(hjJkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj jhhhjjhM~ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjjhhhjjhM~ubah}(h]jjah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjjhM~hjjhhubjg)}(hhh]jl)}(h/reads the specified addr for its 802.3-c45 IDs.h]h/reads the specified addr for its 802.3-c45 IDs.}(hjtkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM~hjqkhhubah}(h]h ]h"]h$]h&]uh1jfhjjhhhjjhM~ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the target MII bus ``int addr`` PHY address on the MII bus ``struct phy_c45_device_ids *c45_ids`` where to store the c45 ID information. **Description** Read the PHY "devices in package". If this appears to be valid, read the PHY identifiers for each device. Return the "devices in package" and identifiers in **c45_ids**. Returns zero on success, ``-EIO`` on bus access error, or ``-ENODEV`` if the "devices in package" is invalid or no device responds.h](jl)}(h**Parameters**h]j)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjkubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjkh]hstruct mii_bus *bus}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjkubj)}(hhh]jl)}(hthe target MII bush]hthe target MII bus}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjkubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hjkh]hint addr}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjkubj)}(hhh]jl)}(hPHY address on the MII bush]hPHY address on the MII bus}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjkubj)}(hN``struct phy_c45_device_ids *c45_ids`` where to store the c45 ID information. h](j)}(h&``struct phy_c45_device_ids *c45_ids``h]j)}(hj'lh]h"struct phy_c45_device_ids *c45_ids}(hj)lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%lubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj!lubj)}(hhh]jl)}(h&where to store the c45 ID information.h]h&where to store the c45 ID information.}(hj@lhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjint get_phy_c22_id(struct mii_bus *bus, int addr, u32 *phy_id)h](jM )}(hinth]hint}(hjlhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjlhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjlhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlhhhjlhMubj3)}(hget_phy_c22_idh]j9)}(hget_phy_c22_idh]hget_phy_c22_id}(hj mhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj mubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlhhhjlhMubj )}(h,(struct mii_bus *bus, int addr, u32 *phy_id)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hj)mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%mubj")}(h h]h }(hj6mhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%mubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjGmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjDmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImmodnameN classnameNj j )}j ]j )}j jmsbc.get_phy_c22_idasbuh1hhj%mubj")}(h h]h }(hjgmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%mubj )}(hj h]h*}(hjumhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%mubj9)}(hbush]hbus}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%mubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!mubj )}(hint addrh](jM )}(hinth]hint}(hjmhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj9)}(haddrh]haddr}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!mubj )}(h u32 *phy_idh](h)}(hhh]j9)}(hu32h]hu32}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNj j )}j ]jcmc.get_phy_c22_idasbuh1hhjmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjmubj9)}(hphy_idh]hphy_id}(hj nhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj!mubeh}(h]h ]h"]h$]h&]jPjQuh1j hjlhhhjlhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjlhhhjlhMubah}(h]jlah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjlhMhjlhhubjg)}(hhh]jl)}(h.reads the specified addr for its clause 22 ID.h]h.reads the specified addr for its clause 22 ID.}(hj6nhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj3nhhubah}(h]h ]h"]h$]h&]uh1jfhjlhhhjlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNnjjNnjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the target MII bus ``int addr`` PHY address on the MII bus ``u32 *phy_id`` where to store the ID retrieved. **Description** Read the 802.3 clause 22 PHY ID from the PHY at **addr** on the **bus**, placing it in **phy_id**. Return zero on successful read and the ID is valid, ``-EIO`` on bus access error, or ``-ENODEV`` if no device responds or invalid ID.h](jl)}(h**Parameters**h]j)}(hjXnh]h Parameters}(hjZnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVnubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjRnubj)}(hhh](j)}(h+``struct mii_bus *bus`` the target MII bus h](j)}(h``struct mii_bus *bus``h]j)}(hjwnh]hstruct mii_bus *bus}(hjynhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjunubah}( h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjqnubj)}(hhh]jl)}(hthe target MII bush]hthe target MII bus}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjqnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjnnubj)}(h(``int addr`` PHY address on the MII bus h](j)}(h ``int addr``h]j)}(hjnh]hint addr}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjnubj)}(hhh]jl)}(hPHY address on the MII bush]hPHY address on the MII bus}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjnnubj)}(h1``u32 *phy_id`` where to store the ID retrieved. h](j)}(h``u32 *phy_id``h]j)}(hjnh]h u32 *phy_id}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjnubj)}(hhh]jl)}(h where to store the ID retrieved.h]h where to store the ID retrieved.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjnhMhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjnnubeh}(h]h ]h"]h$]h&]uh1jhjRnubjl)}(h**Description**h]j)}(hj$oh]h Description}(hj&ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"oubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjRnubjl)}(hRead the 802.3 clause 22 PHY ID from the PHY at **addr** on the **bus**, placing it in **phy_id**. Return zero on successful read and the ID is valid, ``-EIO`` on bus access error, or ``-ENODEV`` if no device responds or invalid ID.h](h0Read the 802.3 clause 22 PHY ID from the PHY at }(hj:ohhhNhNubj)}(h**addr**h]haddr}(hjBohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:oubh on the }(hj:ohhhNhNubj)}(h**bus**h]hbus}(hjTohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:oubh, placing it in }(hj:ohhhNhNubj)}(h **phy_id**h]hphy_id}(hjfohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:oubh6. Return zero on successful read and the ID is valid, }(hj:ohhhNhNubj)}(h``-EIO``h]h-EIO}(hjxohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:oubh on bus access error, or }(hj:ohhhNhNubj)}(h ``-ENODEV``h]h-ENODEV}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:oubh% if no device responds or invalid ID.}(hj:ohhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjRnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_prepare_link (C function)c.phy_prepare_linkhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hWvoid phy_prepare_link (struct phy_device *phydev, void (*handler)(struct net_device *))h]j )}(hUvoid phy_prepare_link(struct phy_device *phydev, void (*handler)(struct net_device*))h](jM )}(hvoidh]hvoid}(hjohhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjohhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjohhhjohMubj3)}(hphy_prepare_linkh]j9)}(hphy_prepare_linkh]hphy_prepare_link}(hjohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjohhhjohMubj )}(h@(struct phy_device *phydev, void (*handler)(struct net_device*))h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj")}(h h]h }(hj phhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj pmodnameN classnameNj j )}j ]j )}j josbc.phy_prepare_linkasbuh1hhjoubj")}(h h]h }(hj>phhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoubj )}(hj h]h*}(hjLphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjoubj9)}(hphydevh]hphydev}(hjYphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubj )}(h#void (*handler)(struct net_device*)h](jM )}(hvoidh]hvoid}(hjrphhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjnpubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnpubj )}(hjh]h(}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnpubj )}(hj h]h*}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnpubj9)}(hhandlerh]hhandler}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnpubj )}(hjh]h)}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnpubj )}(hjh]h(}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnpubj)}(hjh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnpubj")}(h h]h }(hjphhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnpubh)}(hhh]j9)}(h net_deviceh]h net_device}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j:pc.phy_prepare_linkasbuh1hhjnpubj )}(hj h]h*}(hj qhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnpubj )}(hjh]h)}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjoubeh}(h]h ]h"]h$]h&]jPjQuh1j hjohhhjohMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjohhhjohMubah}(h]joah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjohMhjohhubjg)}(hhh]jl)}(h-prepares the PHY layer to monitor link statush]h-prepares the PHY layer to monitor link status}(hjBqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj?qhhubah}(h]h ]h"]h$]h&]uh1jfhjohhhjohMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZqjjZqjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``void (*handler)(struct net_device *)`` callback function for link status change notifications **Description** Tells the PHY infrastructure to handle the gory details on monitoring link status (whether through polling or an interrupt), and to call back to the connected device driver when the link status changes. If you want to monitor your own link state, don't call this function.h](jl)}(h**Parameters**h]j)}(hjdqh]h Parameters}(hjfqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbqubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj^qubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjqh]hstruct phy_device *phydev}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj}qubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhMhjqubah}(h]h ]h"]h$]h&]uh1jhj}qubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjzqubj)}(h```void (*handler)(struct net_device *)`` callback function for link status change notifications h](j)}(h(``void (*handler)(struct net_device *)``h]j)}(hjqh]h$void (*handler)(struct net_device *)}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjqubj)}(hhh]jl)}(h6callback function for link status change notificationsh]h6callback function for link status change notifications}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhMhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjzqubeh}(h]h ]h"]h$]h&]uh1jhj^qubjl)}(h**Description**h]j)}(hjqh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj^qubj)}(hhh]j)}(hXTells the PHY infrastructure to handle the gory details on monitoring link status (whether through polling or an interrupt), and to call back to the connected device driver when the link status changes. If you want to monitor your own link state, don't call this function.h](j)}(h*Tells the PHY infrastructure to handle theh]h*Tells the PHY infrastructure to handle the}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjrubj)}(hhh]jl)}(hgory details on monitoring link status (whether through polling or an interrupt), and to call back to the connected device driver when the link status changes. If you want to monitor your own link state, don't call this function.h]hgory details on monitoring link status (whether through polling or an interrupt), and to call back to the connected device driver when the link status changes. If you want to monitor your own link state, don’t call this function.}(hj&rhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj#rubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhj"rhMhj rubah}(h]h ]h"]h$]h&]uh1jhj^qubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_poll_reset (C function)c.phy_poll_resethNtauh1hhjdhhhNhNubh)}(hhh](j)}(h.int phy_poll_reset (struct phy_device *phydev)h]j )}(h-int phy_poll_reset(struct phy_device *phydev)h](jM )}(hinth]hint}(hjgrhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcrhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjvrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcrhhhjurhMubj3)}(hphy_poll_reseth]j9)}(hphy_poll_reseth]hphy_poll_reset}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjcrhhhjurhMubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]j )}j jrsbc.phy_poll_resetasbuh1hhjrubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrubj )}(hj h]h*}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjrubj9)}(hphydevh]hphydev}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjrubah}(h]h ]h"]h$]h&]jPjQuh1j hjcrhhhjurhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj_rhhhjurhMubah}(h]jZrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjurhMhj\rhhubjg)}(hhh]jl)}(h4Safely wait until a PHY reset has properly completedh]h4Safely wait until a PHY reset has properly completed}(hj'shhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj$shhubah}(h]h ]h"]h$]h&]uh1jfhj\rhhhjurhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?sjj?sjjjuh1hhhhjdhNhNubj)}(hXM**Parameters** ``struct phy_device *phydev`` The PHY device to poll **Description** According to IEEE 802.3, Section 2, Subsection 22.2.4.1.1, as published in 2008, a PHY reset may take up to 0.5 seconds. The MII BMCR register must be polled until the BMCR_RESET bit clears. Furthermore, any attempts to write to PHY registers may have no effect or even generate MDIO bus errors until this is complete. Some PHYs (such as the Marvell 88E1111) don't entirely conform to the standard and do not fully reset after the BMCR_RESET bit is set, and may even *REQUIRE* a soft-reset to properly restart autonegotiation. In an effort to support such broken PHYs, this function is separate from the standard phy_init_hw() which will zero all the other bits in the BMCR and reapply all driver-specific and board-specific fixups.h](jl)}(h**Parameters**h]j)}(hjIsh]h Parameters}(hjKshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGsubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hjCsubj)}(hhh]j)}(h5``struct phy_device *phydev`` The PHY device to poll h](j)}(h``struct phy_device *phydev``h]j)}(hjhsh]hstruct phy_device *phydev}(hjjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfsubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjbsubj)}(hhh]jl)}(hThe PHY device to pollh]hThe PHY device to poll}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}shMhj~subah}(h]h ]h"]h$]h&]uh1jhjbsubeh}(h]h ]h"]h$]h&]uh1jhj}shMhj_subah}(h]h ]h"]h$]h&]uh1jhjCsubjl)}(h**Description**h]j)}(hjsh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjCsubj)}(hhh]j)}(hXAccording to IEEE 802.3, Section 2, Subsection 22.2.4.1.1, as published in 2008, a PHY reset may take up to 0.5 seconds. The MII BMCR register must be polled until the BMCR_RESET bit clears. Furthermore, any attempts to write to PHY registers may have no effect or even generate MDIO bus errors until this is complete. Some PHYs (such as the Marvell 88E1111) don't entirely conform to the standard and do not fully reset after the BMCR_RESET bit is set, and may even *REQUIRE* a soft-reset to properly restart autonegotiation. In an effort to support such broken PHYs, this function is separate from the standard phy_init_hw() which will zero all the other bits in the BMCR and reapply all driver-specific and board-specific fixups.h](j)}(h=According to IEEE 802.3, Section 2, Subsection 22.2.4.1.1, ash]h=According to IEEE 802.3, Section 2, Subsection 22.2.4.1.1, as}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM*hjsubj)}(hhh](jl)}(hpublished in 2008, a PHY reset may take up to 0.5 seconds. The MII BMCR register must be polled until the BMCR_RESET bit clears.h]hpublished in 2008, a PHY reset may take up to 0.5 seconds. The MII BMCR register must be polled until the BMCR_RESET bit clears.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM hjsubjl)}(hFurthermore, any attempts to write to PHY registers may have no effect or even generate MDIO bus errors until this is complete.h]hFurthermore, any attempts to write to PHY registers may have no effect or even generate MDIO bus errors until this is complete.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM#hjsubjl)}(hXSome PHYs (such as the Marvell 88E1111) don't entirely conform to the standard and do not fully reset after the BMCR_RESET bit is set, and may even *REQUIRE* a soft-reset to properly restart autonegotiation. In an effort to support such broken PHYs, this function is separate from the standard phy_init_hw() which will zero all the other bits in the BMCR and reapply all driver-specific and board-specific fixups.h](hSome PHYs (such as the Marvell 88E1111) don’t entirely conform to the standard and do not fully reset after the BMCR_RESET bit is set, and may even }(hjshhhNhNubj)}(h *REQUIRE*h]hREQUIRE}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubhX a soft-reset to properly restart autonegotiation. In an effort to support such broken PHYs, this function is separate from the standard phy_init_hw() which will zero all the other bits in the BMCR and reapply all driver-specific and board-specific fixups.}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM&hjsubeh}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshM*hjsubah}(h]h ]h"]h$]h&]uh1jhjCsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_sfp_connect_phy (C function)c.phy_sfp_connect_phyhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h@int phy_sfp_connect_phy (void *upstream, struct phy_device *phy)h]j )}(h?int phy_sfp_connect_phy(void *upstream, struct phy_device *phy)h](jM )}(hinth]hint}(hjCthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?thhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjRthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?thhhjQthMubj3)}(hphy_sfp_connect_phyh]j9)}(hphy_sfp_connect_phyh]hphy_sfp_connect_phy}(hjdthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`tubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj?thhhjQthMubj )}(h((void *upstream, struct phy_device *phy)h](j )}(hvoid *upstreamh](jM )}(hvoidh]hvoid}(hjthhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj|tubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|tubj )}(hj h]h*}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj|tubj9)}(hupstreamh]hupstream}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|tubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxtubj )}(hstruct phy_device *phyh](j)}(hjh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjthhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]j )}j jftsbc.phy_sfp_connect_phyasbuh1hhjtubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hphyh]hphy}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxtubeh}(h]h ]h"]h$]h&]jPjQuh1j hj?thhhjQthMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj;thhhjQthMubah}(h]j6tah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjQthMhj8thhubjg)}(hhh]jl)}(h0Connect the SFP module's PHY to the upstream PHYh]h2Connect the SFP module’s PHY to the upstream PHY}(hjEuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjBuhhubah}(h]h ]h"]h$]h&]uh1jfhj8thhhjQthMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]ujj]ujjjuh1hhhhjdhNhNubj)}(hX]**Parameters** ``void *upstream`` pointer to the upstream phy device ``struct phy_device *phy`` pointer to the SFP module's phy device **Description** This helper allows keeping track of PHY devices on the link. It adds the SFP module's phy to the phy namespace of the upstream phy **Return** 0 on success, otherwise a negative error code.h](jl)}(h**Parameters**h]j)}(hjguh]h Parameters}(hjiuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeuubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjauubj)}(hhh](j)}(h6``void *upstream`` pointer to the upstream phy device h](j)}(h``void *upstream``h]j)}(hjuh]hvoid *upstream}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjuubj)}(hhh]jl)}(h"pointer to the upstream phy deviceh]h"pointer to the upstream phy device}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhMhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhMhj}uubj)}(hB``struct phy_device *phy`` pointer to the SFP module's phy device h](j)}(h``struct phy_device *phy``h]j)}(hjuh]hstruct phy_device *phy}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjuubj)}(hhh]jl)}(h&pointer to the SFP module's phy deviceh]h(pointer to the SFP module’s phy device}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhMhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhMhj}uubeh}(h]h ]h"]h$]h&]uh1jhjauubjl)}(h**Description**h]j)}(hjuh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjauubjl)}(hThis helper allows keeping track of PHY devices on the link. It adds the SFP module's phy to the phy namespace of the upstream phyh]hThis helper allows keeping track of PHY devices on the link. It adds the SFP module’s phy to the phy namespace of the upstream phy}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjauubjl)}(h **Return**h]j)}(hj!vh]hReturn}(hj#vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjauubjl)}(h.0 on success, otherwise a negative error code.h]h.0 on success, otherwise a negative error code.}(hj7vhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjauubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phy_sfp_disconnect_phy (C function)c.phy_sfp_disconnect_phyhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hDvoid phy_sfp_disconnect_phy (void *upstream, struct phy_device *phy)h]j )}(hCvoid phy_sfp_disconnect_phy(void *upstream, struct phy_device *phy)h](jM )}(hvoidh]hvoid}(hjfvhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjbvhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjuvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbvhhhjtvhMubj3)}(hphy_sfp_disconnect_phyh]j9)}(hphy_sfp_disconnect_phyh]hphy_sfp_disconnect_phy}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjbvhhhjtvhMubj )}(h((void *upstream, struct phy_device *phy)h](j )}(hvoid *upstreamh](jM )}(hvoidh]hvoid}(hjvhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjvubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjvubj9)}(hupstreamh]hupstream}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubj )}(hstruct phy_device *phyh](j)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]j )}j jvsbc.phy_sfp_disconnect_phyasbuh1hhjvubj")}(h h]h }(hj#whhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj )}(hj h]h*}(hj1whhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjvubj9)}(hphyh]hphy}(hj>whhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubeh}(h]h ]h"]h$]h&]jPjQuh1j hjbvhhhjtvhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj^vhhhjtvhMubah}(h]jYvah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjtvhMhj[vhhubjg)}(hhh]jl)}(h5Disconnect the SFP module's PHY from the upstream PHYh]h7Disconnect the SFP module’s PHY from the upstream PHY}(hjhwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjewhhubah}(h]h ]h"]h$]h&]uh1jfhj[vhhhjtvhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwjjwjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``void *upstream`` pointer to the upstream phy device ``struct phy_device *phy`` pointer to the SFP module's phy device **Description** This helper allows keeping track of PHY devices on the link. It removes the SFP module's phy to the phy namespace of the upstream phy. As the module phy will be destroyed, re-inserting the same module will add a new phy with a new index.h](jl)}(h**Parameters**h]j)}(hjwh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjwubj)}(hhh](j)}(h6``void *upstream`` pointer to the upstream phy device h](j)}(h``void *upstream``h]j)}(hjwh]hvoid *upstream}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjwubj)}(hhh]jl)}(h"pointer to the upstream phy deviceh]h"pointer to the upstream phy device}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjwubj)}(hB``struct phy_device *phy`` pointer to the SFP module's phy device h](j)}(h``struct phy_device *phy``h]j)}(hjwh]hstruct phy_device *phy}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjwubj)}(hhh]jl)}(h&pointer to the SFP module's phy deviceh]h(pointer to the SFP module’s phy device}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjwubeh}(h]h ]h"]h$]h&]uh1jhjwubjl)}(h**Description**h]j)}(hjxh]h Description}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjwubjl)}(hThis helper allows keeping track of PHY devices on the link. It removes the SFP module's phy to the phy namespace of the upstream phy. As the module phy will be destroyed, re-inserting the same module will add a new phy with a new index.h]hThis helper allows keeping track of PHY devices on the link. It removes the SFP module’s phy to the phy namespace of the upstream phy. As the module phy will be destroyed, re-inserting the same module will add a new phy with a new index.}(hj3xhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_sfp_attach (C function)c.phy_sfp_attachhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h9void phy_sfp_attach (void *upstream, struct sfp_bus *bus)h]j )}(h8void phy_sfp_attach(void *upstream, struct sfp_bus *bus)h](jM )}(hvoidh]hvoid}(hjbxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^xhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjqxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^xhhhjpxhMubj3)}(hphy_sfp_attachh]j9)}(hphy_sfp_attachh]hphy_sfp_attach}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^xhhhjpxhMubj )}(h%(void *upstream, struct sfp_bus *bus)h](j )}(hvoid *upstreamh](jM )}(hvoidh]hvoid}(hjxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hupstreamh]hupstream}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubj )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubj")}(h h]h }(hjxhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]j )}j jxsbc.phy_sfp_attachasbuh1hhjxubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxubj )}(hj h]h*}(hj-yhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjxubj9)}(hbush]hbus}(hj:yhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxubeh}(h]h ]h"]h$]h&]jPjQuh1j hj^xhhhjpxhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjZxhhhjpxhMubah}(h]jUxah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjpxhMhjWxhhubjg)}(hhh]jl)}(h5attach the SFP bus to the PHY upstream network deviceh]h5attach the SFP bus to the PHY upstream network device}(hjdyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjayhhubah}(h]h ]h"]h$]h&]uh1jfhjWxhhhjpxhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|yjj|yjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``void *upstream`` pointer to the phy device ``struct sfp_bus *bus`` sfp bus representing cage being attached **Description** This is used to fill in the sfp_upstream_ops .attach member.h](jl)}(h**Parameters**h]j)}(hjyh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjyubj)}(hhh](j)}(h-``void *upstream`` pointer to the phy device h](j)}(h``void *upstream``h]j)}(hjyh]hvoid *upstream}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjyubj)}(hhh]jl)}(hpointer to the phy deviceh]hpointer to the phy device}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhMhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjyubj)}(hA``struct sfp_bus *bus`` sfp bus representing cage being attached h](j)}(h``struct sfp_bus *bus``h]j)}(hjyh]hstruct sfp_bus *bus}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjyubj)}(hhh]jl)}(h(sfp bus representing cage being attachedh]h(sfp bus representing cage being attached}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhMhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjyubeh}(h]h ]h"]h$]h&]uh1jhjyubjl)}(h**Description**h]j)}(hjzh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjyubjl)}(h}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:}ubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj6}ubj)}(hhh]j)}(h3``struct phy_device *phydev`` Pointer to phy_deviceh](j)}(h``struct phy_device *phydev``h]j)}(hj[}h]hstruct phy_device *phydev}(hj]}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY}ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjU}ubj)}(hhh]jl)}(hPointer to phy_deviceh]hPointer to phy_device}(hjt}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjq}ubah}(h]h ]h"]h$]h&]uh1jhjU}ubeh}(h]h ]h"]h$]h&]uh1jhjp}hMhjR}ubah}(h]h ]h"]h$]h&]uh1jhj6}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!genphy_config_advert (C function)c.genphy_config_adverthNtauh1hhjdhhhNhNubh)}(hhh](j)}(hQint genphy_config_advert (struct phy_device *phydev, const unsigned long *advert)h]j )}(hPint genphy_config_advert(struct phy_device *phydev, const unsigned long *advert)h](jM )}(hinth]hint}(hj}hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj}hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}hhhj}hMubj3)}(hgenphy_config_adverth]j9)}(hgenphy_config_adverth]hgenphy_config_advert}(hj}hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj}hhhj}hMubj )}(h8(struct phy_device *phydev, const unsigned long *advert)h](j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNj j )}j ]j )}j j}sbc.genphy_config_advertasbuh1hhj}ubj")}(h h]h }(hj0~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubj )}(hj h]h*}(hj>~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}ubj9)}(hphydevh]hphydev}(hjK~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubj )}(hconst unsigned long *adverth](j)}(hj h]hconst}(hjd~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`~ubj")}(h h]h }(hjq~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`~ubjM )}(hunsignedh]hunsigned}(hj~hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`~ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`~ubjM )}(hlongh]hlong}(hj~hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`~ubj")}(h h]h }(hj~hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`~ubj )}(hj h]h*}(hj~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj`~ubj9)}(hadverth]hadvert}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`~ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj}ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj}hhhj}hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}hhhj}hMubah}(h]j}ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj}hMhj}hhubjg)}(hhh]jl)}(h2sanitize and advertise auto-negotiation parametersh]h2sanitize and advertise auto-negotiation parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj~hhubah}(h]h ]h"]h$]h&]uh1jfhj}hhhj}hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct phy_device *phydev`` target phy_device struct ``const unsigned long *advert`` auto-negotiation parameters to advertise **Description** Writes MII_ADVERTISE with the appropriate values, after sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj ubj)}(hhh](j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hj/h]hstruct phy_device *phydev}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj)ubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhj&ubj)}(hI``const unsigned long *advert`` auto-negotiation parameters to advertise h](j)}(h``const unsigned long *advert``h]j)}(hjhh]hconst unsigned long *advert}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjbubj)}(hhh]jl)}(h(auto-negotiation parameters to advertiseh]h(auto-negotiation parameters to advertise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj&ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhj ubj)}(hhh]j)}(hWrites MII_ADVERTISE with the appropriate values, after sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed.h](j)}(h1Writes MII_ADVERTISE with the appropriate values,h]h1Writes MII_ADVERTISE with the appropriate values,}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(hafter sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed.h]hafter sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY’s advertisement hasn’t changed, and > 0 if it has changed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%genphy_c37_config_advert (C function)c.genphy_c37_config_adverthNtauh1hhjdhhhNhNubh)}(hhh](j)}(h8int genphy_c37_config_advert (struct phy_device *phydev)h]j )}(h7int genphy_c37_config_advert(struct phy_device *phydev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMLubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj!hMLubj3)}(hgenphy_c37_config_adverth]j9)}(hgenphy_c37_config_adverth]hgenphy_c37_config_advert}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj!hMLubj )}(h(struct phy_device *phydev)h]j )}(hstruct phy_device *phydevh](j)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNj j )}j ]j )}j j6sbc.genphy_c37_config_advertasbuh1hhjLubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjLubj9)}(hphydevh]hphydev}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj!hMLubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj!hMLubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj!hMLhjhhubjg)}(hhh]jl)}(h2sanitize and advertise auto-negotiation parametersh]h2sanitize and advertise auto-negotiation parameters}(hjӀhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMLhjЀhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj!hMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hXz**Parameters** ``struct phy_device *phydev`` target phy_device struct **Description** Writes MII_ADVERTISE with the appropriate values, after sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed. This function is intended for Clause 37 1000Base-X mode.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMPhjubj)}(hhh]j)}(h7``struct phy_device *phydev`` target phy_device struct h](j)}(h``struct phy_device *phydev``h]j)}(hjh]hstruct phy_device *phydev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMMhjubj)}(hhh]jl)}(htarget phy_device structh]htarget phy_device struct}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj)hMMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMMhj ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjOh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMOhjubj)}(hhh]j)}(hXWrites MII_ADVERTISE with the appropriate values, after sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed. This function is intended for Clause 37 1000Base-X mode.h](j)}(h1Writes MII_ADVERTISE with the appropriate values,h]h1Writes MII_ADVERTISE with the appropriate values,}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMRhjhubj)}(hhh]jl)}(hafter sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY's advertisement hasn't changed, and > 0 if it has changed. This function is intended for Clause 37 1000Base-X mode.h]hafter sanitizing the values to make sure we only advertise what is supported. Returns < 0 on error, 0 if the PHY’s advertisement hasn’t changed, and > 0 if it has changed. This function is intended for Clause 37 1000Base-X mode.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMPhj{ubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjzhMRhjeubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphy_probe (C function) c.phy_probehNtauh1hhjdhhhNhNubh)}(hhh](j)}(h"int phy_probe (struct device *dev)h]j )}(h!int phy_probe(struct device *dev)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM`ubj")}(h h]h }(hj΁hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj́hM`ubj3)}(h phy_probeh]j9)}(h phy_probeh]h phy_probe}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj܁ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj́hM`ubj )}(h(struct device *dev)h]j )}(hstruct device *devh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.phy_probeasbuh1hhjubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hdevh]hdev}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj́hM`ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj́hM`ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj́hM`hjhhubjg)}(hhh]jl)}(hprobe and init a PHY deviceh]hprobe and init a PHY device}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chM`hj|hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj́hM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct device *dev`` device to probe and init **Description** Take care of setting up the phy_device structure, set the state to READY.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMdhjubj)}(hhh]j)}(h0``struct device *dev`` device to probe and init h](j)}(h``struct device *dev``h]j)}(hjh]hstruct device *dev}(hj‚hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMahjubj)}(hhh]jl)}(hdevice to probe and inith]hdevice to probe and init}(hjقhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjՂhMahjւubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjՂhMahjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMchjubjl)}(hITake care of setting up the phy_device structure, set the state to READY.h]hITake care of setting up the phy_device structure, set the state to READY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMbhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phy_driver_register (C function)c.phy_driver_registerhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hMint phy_driver_register (struct phy_driver *new_driver, struct module *owner)h]j )}(hLint phy_driver_register(struct phy_driver *new_driver, struct module *owner)h](jM )}(hinth]hint}(hj@hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj<hhh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj<hhhjNhMubj3)}(hphy_driver_registerh]j9)}(hphy_driver_registerh]hphy_driver_register}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj<hhhjNhMubj )}(h5(struct phy_driver *new_driver, struct module *owner)h](j )}(hstruct phy_driver *new_driverh](j)}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubh)}(hhh]j9)}(h phy_driverh]h phy_driver}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jcsbc.phy_driver_registerasbuh1hhjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj )}(hj h]h*}(hjɃhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjyubj9)}(h new_driverh]h new_driver}(hjփhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubj )}(hstruct module *ownerh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmoduleh]hmodule}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phy_driver_registerasbuh1hhjubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hownerh]howner}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjuubeh}(h]h ]h"]h$]h&]jPjQuh1j hj<hhhjNhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj8hhhjNhMubah}(h]j3ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjNhMhj5hhubjg)}(hhh]jl)}(h(register a phy_driver with the PHY layerh]h(register a phy_driver with the PHY layer}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjmhhubah}(h]h ]h"]h$]h&]uh1jfhj5hhhjNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(h**Parameters** ``struct phy_driver *new_driver`` new phy_driver to register ``struct module *owner`` module owning this PHYh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjubj)}(hhh](j)}(h=``struct phy_driver *new_driver`` new phy_driver to register h](j)}(h!``struct phy_driver *new_driver``h]j)}(hjh]hstruct phy_driver *new_driver}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(hnew phy_driver to registerh]hnew phy_driver to register}(hjʄhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjƄhMhjDŽubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƄhMhjubj)}(h/``struct module *owner`` module owning this PHYh](j)}(h``struct module *owner``h]j)}(hjh]hstruct module *owner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjubj)}(hhh]jl)}(hmodule owning this PHYh]hmodule owning this PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh]/var/lib/git/docbuild/linux/Documentation/networking/kapi:131: ./drivers/net/phy/phy_device.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_read (C function)c.__mdiobus_readhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h>int __mdiobus_read (struct mii_bus *bus, int addr, u32 regnum)h]j )}(h=int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum)h](jM )}(hinth]hint}(hjDhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj@hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKRubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj@hhhjRhKRubj3)}(h__mdiobus_readh]j9)}(h__mdiobus_readh]h__mdiobus_read}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj@hhhjRhKRubj )}(h+(struct mii_bus *bus, int addr, u32 regnum)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jgsbc.__mdiobus_readasbuh1hhj}ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj}ubj )}(hj h]h*}(hjͅhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj}ubj9)}(hbush]hbus}(hjڅhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(hint addrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNj j )}j ]jc.__mdiobus_readasbuh1hhj$ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj9)}(hregnumh]hregnum}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjyubeh}(h]h ]h"]h$]h&]jPjQuh1j hj@hhhjRhKRubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj<hhhjRhKRubah}(h]j7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjRhKRhj9hhubjg)}(hhh]jl)}(h-Unlocked version of the mdiobus_read functionh]h-Unlocked version of the mdiobus_read function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKRhj~hhubah}(h]h ]h"]h$]h&]uh1jfhj9hhhjRhKRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hXZ**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to read **Return** The register value if successful, negative error code on failure **Description** Read a MDIO bus register. Caller must hold the mdio bus lock. **NOTE** MUST NOT be called from interrupt context.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKVhjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj†h]hstruct mii_bus *bus}(hjĆhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKShjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjۆhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj׆hKShj؆ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj׆hKShjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjh]hint addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKThjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKThjubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hj4h]h u32 regnum}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKUhj.ubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhKUhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhKUhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjoh]hReturn}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKWhjubjl)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKWhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKYhjubjl)}(h=Read a MDIO bus register. Caller must hold the mdio bus lock.h]h=Read a MDIO bus register. Caller must hold the mdio bus lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKXhjubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKZhjubjl)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjӇhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chK[hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_write (C function)c.__mdiobus_writehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hHint __mdiobus_write (struct mii_bus *bus, int addr, u32 regnum, u16 val)h]j )}(hGint __mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKsubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKsubj3)}(h__mdiobus_writeh]j9)}(h__mdiobus_writeh]h__mdiobus_write}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKsubj )}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]j )}j j%sbc.__mdiobus_writeasbuh1hhj;ubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj;ubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hint addrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hj͈hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jyc.__mdiobus_writeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNj j )}j ]jyc.__mdiobus_writeasbuh1hhj*ubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubj9)}(hvalh]hval}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKsubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKsubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKshjhhubjg)}(hhh]jl)}(h.Unlocked version of the mdiobus_write functionh]h.Unlocked version of the mdiobus_write function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKshjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKsubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hXz**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Return** Zero if successful, negative error code on failure **Description** Write a MDIO bus register. Caller must hold the mdio bus lock. **NOTE** MUST NOT be called from interrupt context.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKwhjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjȉh]hstruct mii_bus *bus}(hjʉhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƉubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKthj‰ubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj݉hKthjމubah}(h]h ]h"]h$]h&]uh1jhj‰ubeh}(h]h ]h"]h$]h&]uh1jhj݉hKthjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjh]hint addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKuhjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKuhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj:h]h u32 regnum}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKvhj4ubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjOhKvhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhKvhjubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjsh]hu16 val}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKwhjmubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhKwhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhKwhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKyhjubjl)}(h2Zero if successful, negative error code on failureh]h2Zero if successful, negative error code on failure}(hjҊhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKyhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chK{hjubjl)}(h>Write a MDIO bus register. Caller must hold the mdio bus lock.h]h>Write a MDIO bus register. Caller must hold the mdio bus lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKzhjubjl)}(h**NOTE**h]j)}(hj h]hNOTE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chK|hjubjl)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chK}hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__mdiobus_modify_changed (C function)c.__mdiobus_modify_changedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h[int __mdiobus_modify_changed (struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h]j )}(hZint __mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hjOhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKhhhj]hKubj3)}(h__mdiobus_modify_changedh]j9)}(h__mdiobus_modify_changedh]h__mdiobus_modify_changed}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjlubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjKhhhj]hKubj )}(h>(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jrsbc.__mdiobus_modify_changedasbuh1hhjubj")}(h h]h }(hjʋhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj؋hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNj j )}j ]jƋc.__mdiobus_modify_changedasbuh1hhj/ubj")}(h h]h }(hjThhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj9)}(hregnumh]hregnum}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hj~hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jƋc.__mdiobus_modify_changedasbuh1hhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjƌhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjÌubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjȌmodnameN classnameNj j )}j ]jƋc.__mdiobus_modify_changedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjKhhhj]hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjGhhhj]hKubah}(h]jBah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj]hKhjDhhubjg)}(hhh]jl)}(h/Unlocked version of the mdiobus_modify functionh]h/Unlocked version of the mdiobus_modify function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjDhhhj]hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Return** 1 if the register was modified, 0 if no change was needed, negative on any error condition **Description** Read, modify, and if any change, write the register value back to the device. **NOTE** MUST NOT be called from interrupt context.h](jl)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj8ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj]h]hstruct mii_bus *bus}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjWubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjrhKhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhKhjTubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjh]hint addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjTubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjύh]h u32 regnum}(hjэhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͍ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjɍubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjɍubeh}(h]h ]h"]h$]h&]uh1jhjhKhjTubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjTubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjAh]hu16 set}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj;ubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhKhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhKhjTubeh}(h]h ]h"]h$]h&]uh1jhj8ubjl)}(h **Return**h]j)}(hj|h]hReturn}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj8ubjl)}(hZ1 if the register was modified, 0 if no change was needed, negative on any error conditionh]hZ1 if the register was modified, 0 if no change was needed, negative on any error condition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj8ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj8ubjl)}(hMRead, modify, and if any change, write the register value back to the device.h]hMRead, modify, and if any change, write the register value back to the device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj8ubjl)}(h**NOTE**h]j)}(hjʎh]hNOTE}(hj̎hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȎubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj8ubjl)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mdiobus_c45_read (C function)c.__mdiobus_c45_readhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hMint __mdiobus_c45_read (struct mii_bus *bus, int addr, int devad, u32 regnum)h]j )}(hLint __mdiobus_c45_read(struct mii_bus *bus, int addr, int devad, u32 regnum)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhjhKubj3)}(h__mdiobus_c45_readh]j9)}(h__mdiobus_c45_readh]h__mdiobus_c45_read}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhjhKubj )}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNj j )}j ]j )}j j2sbc.__mdiobus_c45_readasbuh1hhjHubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubj )}(hint addrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj̏hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hjڏhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubj )}(h int devadh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNj j )}j ]jc.__mdiobus_c45_readasbuh1hhj$ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj9)}(hregnumh]hregnum}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjDubeh}(h]h ]h"]h$]h&]jPjQuh1j hj hhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h1Unlocked version of the mdiobus_c45_read functionh]h1Unlocked version of the mdiobus_c45_read function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj~hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to read **Return** The register value if successful, negative error code on failure **Description** Read a MDIO bus register. Caller must hold the mdio bus lock. **NOTE** MUST NOT be called from interrupt context.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjh]hstruct mii_bus *bus}(hjĐhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjېhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjאhKhjؐubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjאhKhjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjh]hint addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hj4h]h int devad}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj.ubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhKhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhKhjubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjmh]h u32 regnum}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjgubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(h**Description**h]j)}(hjϑh]h Description}(hjёhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͑ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(h=Read a MDIO bus register. Caller must hold the mdio bus lock.h]h=Read a MDIO bus register. Caller must hold the mdio bus lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __mdiobus_c45_write (C function)c.__mdiobus_c45_writehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hWint __mdiobus_c45_write (struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h]j )}(hVint __mdiobus_c45_write(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](jM )}(hinth]hint}(hj;hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7hhhjIhKubj3)}(h__mdiobus_c45_writeh]j9)}(h__mdiobus_c45_writeh]h__mdiobus_c45_write}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7hhhjIhKubj )}(h?(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j^sbc.__mdiobus_c45_writeasbuh1hhjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj )}(hj h]h*}(hjĒhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjtubj9)}(hbush]hbus}(hjђhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(hint addrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(h int devadh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdevadh]hdevad}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjWhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNj j )}j ]jc.__mdiobus_c45_writeasbuh1hhjPubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.__mdiobus_c45_writeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hj˓hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubeh}(h]h ]h"]h$]h&]jPjQuh1j hj7hhhjIhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3hhhjIhKubah}(h]j.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjIhKhj0hhubjg)}(hhh]jl)}(h.Unlocked version of the mdiobus_write functionh]h.Unlocked version of the mdiobus_write function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhj0hhhjIhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Return** Zero if successful, negative error code on failure **Description** Write a MDIO bus register. Caller must hold the mdio bus lock. **NOTE** MUST NOT be called from interrupt context.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj6h]hstruct mii_bus *bus}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj0ubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhKhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhKhj-ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjoh]hint addr}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjiubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhKhj-ubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj-ubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߔubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhj۔ubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj۔ubeh}(h]h ]h"]h$]h&]uh1jhjhKhj-ubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hj3hhhNhNubj)}(h **regnum**h]hregnum}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jkhj/hKhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hKhj-ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hjch]hReturn}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(h2Zero if successful, negative error code on failureh]h2Zero if successful, negative error code on failure}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(h>Write a MDIO bus register. Caller must hold the mdio bus lock.h]h>Write a MDIO bus register. Caller must hold the mdio bus lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubjl)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjǕhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h mdiobus_read_nested (C function)c.mdiobus_read_nestedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hCint mdiobus_read_nested (struct mii_bus *bus, int addr, u32 regnum)h]j )}(hBint mdiobus_read_nested(struct mii_bus *bus, int addr, u32 regnum)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM"ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM"ubj3)}(hmdiobus_read_nestedh]j9)}(hmdiobus_read_nestedh]hmdiobus_read_nested}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM"ubj )}(h+(struct mii_bus *bus, int addr, u32 regnum)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNj j )}j ]j )}j jsbc.mdiobus_read_nestedasbuh1hhj/ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj/ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj/ubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(hint addrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjݖhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjږubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjߖmodnameN classnameNj j )}j ]jmc.mdiobus_read_nestedasbuh1hhj֖ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj֖ubj9)}(hregnumh]hregnum}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj֖ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj+ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM"ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM"ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM"hjhhubjg)}(hhh]jl)}(h+Nested version of the mdiobus_read functionh]h+Nested version of the mdiobus_read function}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM"hj0hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKjjKjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to read **Return** The register value if successful, negative error code on failure **Description** In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested(). **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM&hjOubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjth]hstruct mii_bus *bus}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM#hjnubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjkubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjh]hint addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM$hjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjƗhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj—hM$hj×ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj—hM$hjkubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM%hjubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjkubeh}(h]h ]h"]h$]h&]uh1jhjOubjl)}(h **Return**h]j)}(hj!h]hReturn}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM'hjOubjl)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM'hjOubjl)}(h**Description**h]j)}(hjHh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM)hjOubjl)}(h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().h]h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM(hjOubjl)}(h**NOTE**h]j)}(hjoh]hNOTE}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM+hjOubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM,hjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_read (C function)c.mdiobus_readhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hhj,ubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjGhM>hjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhM>hj)ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjkh]hint addr}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM?hjeubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhM?hj)ubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM@hjubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hj)ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h **Return**h]j)}(hjߚh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݚubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMBhj ubjl)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMBhj ubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMDhj ubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMDhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_read (C function)c.mdiobus_c45_readhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hKint mdiobus_c45_read (struct mii_bus *bus, int addr, int devad, u32 regnum)h]j )}(hJint mdiobus_c45_read(struct mii_bus *bus, int addr, int devad, u32 regnum)h](jM )}(hinth]hint}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMUubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGhhhjYhMUubj3)}(hmdiobus_c45_readh]j9)}(hmdiobus_c45_readh]hmdiobus_c45_read}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjGhhhjYhMUubj )}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jnsbc.mdiobus_c45_readasbuh1hhjubj")}(h h]h }(hjƛhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjԛhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hj/hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj+ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubj9)}(hdevadh]hdevad}(hjKhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNj j )}j ]j›c.mdiobus_c45_readasbuh1hhj`ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjGhhhjYhMUubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjChhhjYhMUubah}(h]j>ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjYhMUhj@hhubjg)}(hhh]jl)}(h:Convenience function for reading a given MII mgmt registerh]h:Convenience function for reading a given MII mgmt register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMUhjhhubah}(h]h ]h"]h$]h&]uh1jfhj@hhhjYhMUubeh}(h]h ](jfunctioneh"]h$]h&]jjjj՜jj՜jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to read **Return** The register value if successful, negative error code on failure **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hjߜh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݜubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMYhjٜubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjh]hstruct mii_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMVhjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj7h]hint addr}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMWhj1ubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjLhMWhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMWhjubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjph]h int devad}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMXhjjubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMYhjubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubeh}(h]h ]h"]h$]h&]uh1jhjٜubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM[hjٜubjl)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM[hjٜubjl)}(h**NOTE**h]j)}(hj h]hNOTE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM]hjٜubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM]hjٜubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$mdiobus_c45_read_nested (C function)c.mdiobus_c45_read_nestedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hRint mdiobus_c45_read_nested (struct mii_bus *bus, int addr, int devad, u32 regnum)h]j )}(hQint mdiobus_c45_read_nested(struct mii_bus *bus, int addr, int devad, u32 regnum)h](jM )}(hinth]hint}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMnubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhj^hMnubj3)}(hmdiobus_c45_read_nestedh]j9)}(hmdiobus_c45_read_nestedh]hmdiobus_c45_read_nested}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjLhhhj^hMnubj )}(h6(struct mii_bus *bus, int addr, int devad, u32 regnum)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jssbc.mdiobus_c45_read_nestedasbuh1hhjubj")}(h h]h }(hj˞hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjٞhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0ubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubj9)}(hdevadh]hdevad}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNj j )}j ]jǞc.mdiobus_c45_read_nestedasbuh1hhjeubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjLhhhj^hMnubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHhhhj^hMnubah}(h]jCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj^hMnhjEhhubjg)}(hhh]jl)}(h/Nested version of the mdiobus_c45_read functionh]h/Nested version of the mdiobus_c45_read function}(hjŸhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMnhjhhubah}(h]h ]h"]h$]h&]uh1jfhjEhhhj^hMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjjڟjjڟjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to read **Return** The register value if successful, negative error code on failure **Description** In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested(). **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMrhjޟubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjh]hstruct mii_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMohjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj<h]hint addr}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMphj6ubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjQhMphjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMphjubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjuh]h int devad}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMqhjoubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMqhjubj)}(h'``u32 regnum`` register number to read h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMrhjubj)}(hhh]jl)}(hregister number to readh]hregister number to read}(hjǠhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjàhMrhjĠubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjàhMrhjubeh}(h]h ]h"]h$]h&]uh1jhjޟubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMthjޟubjl)}(h@The register value if successful, negative error code on failureh]h@The register value if successful, negative error code on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMthjޟubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMvhjޟubjl)}(h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().h]h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMuhjޟubjl)}(h**NOTE**h]j)}(hj7h]hNOTE}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMxhjޟubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMyhjޟubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!mdiobus_write_nested (C function)c.mdiobus_write_nestedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hMint mdiobus_write_nested (struct mii_bus *bus, int addr, u32 regnum, u16 val)h]j )}(hLint mdiobus_write_nested(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](jM )}(hinth]hint}(hj|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxhhhjhMubj3)}(hmdiobus_write_nestedh]j9)}(hmdiobus_write_nestedh]hmdiobus_write_nested}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjxhhhjhMubj )}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjơhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjסhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjԡubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj١modnameN classnameNj j )}j ]j )}j jsbc.mdiobus_write_nestedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](jM )}(hinth]hint}(hj+hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj9)}(haddrh]haddr}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]jc.mdiobus_write_nestedasbuh1hhj\ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.mdiobus_write_nestedasbuh1hhjubj")}(h h]h }(hjɢhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hjעhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjxhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjthhhjhMubah}(h]joah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjqhhubjg)}(hhh]jl)}(h,Nested version of the mdiobus_write functionh]h,Nested version of the mdiobus_write function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjqhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Return** Zero if successful, negative error code on failure **Description** In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested(). **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjBh]hstruct mii_bus *bus}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj<ubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhj9ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj{h]hint addr}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjuubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhj9ubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjͣhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjɣhMhjʣubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɣhMhj9ubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjh]hu16 val}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj9ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hj6h]hReturn}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubjl)}(h2Zero if successful, negative error code on failureh]h2Zero if successful, negative error code on failure}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubjl)}(h**Description**h]j)}(hj]h]h Description}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubjl)}(h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().h]h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_write (C function)c.mdiobus_writehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hFint mdiobus_write (struct mii_bus *bus, int addr, u32 regnum, u16 val)h]j )}(hEint mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjɤhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjŤhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj")}(h h]h }(hjؤhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjŤhhhjפhMubj3)}(h mdiobus_writeh]j9)}(h mdiobus_writeh]h mdiobus_write}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjŤhhhjפhMubj )}(h4(struct mii_bus *bus, int addr, u32 regnum, u16 val)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNj j )}j ]j )}j jsbc.mdiobus_writeasbuh1hhjubj")}(h h]h }(hjDhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](jM )}(hinth]hint}(hjxhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjtubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjtubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j@c.mdiobus_writeasbuh1hhjubj")}(h h]h }(hjΥhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjܥhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j@c.mdiobus_writeasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hj$hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjŤhhhjפhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjפhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjפhMhjhhubjg)}(hhh]jl)}(h:Convenience function for writing a given MII mgmt registerh]h:Convenience function for writing a given MII mgmt register}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjKhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjפhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Return** Zero if successful, negative error code on failure **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjh]hstruct mii_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjȦh]hint addr}(hjʦhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƦubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj¦ubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjݦhMhjަubah}(h]h ]h"]h$]h&]uh1jhj¦ubeh}(h]h ]h"]h$]h&]uh1jhjݦhMhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hj:h]hu16 val}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj4ubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hjShhhNhNubj)}(h **regnum**h]hregnum}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jkhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubeh}(h]h ]h"]h$]h&]uh1jhjjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjjubjl)}(h2Zero if successful, negative error code on failureh]h2Zero if successful, negative error code on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjjubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjjubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_write (C function)c.mdiobus_c45_writehNtauh1hhjdhhhNhNubh)}(hhh](j)}(hUint mdiobus_c45_write (struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h]j )}(hTint mdiobus_c45_write(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hmdiobus_c45_writeh]j9)}(hmdiobus_c45_writeh]hmdiobus_c45_write}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h?(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNj j )}j ]j )}j jsbc.mdiobus_c45_writeasbuh1hhj(ubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj(ubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj(ubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(hint addrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(h int devadh](jM )}(hinth]hint}(hjӨhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjϨubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjϨubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjϨubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jfc.mdiobus_c45_writeasbuh1hhjubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]jfc.mdiobus_c45_writeasbuh1hhjLubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj$ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h:Convenience function for writing a given MII mgmt registerh]h:Convenience function for writing a given MII mgmt register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Return** Zero if successful, negative error code on failure **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hj˩h]h Parameters}(hjͩhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɩubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjũubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjh]hstruct mii_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj#h]hint addr}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hj\h]h int devad}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjVubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjΪh]hu16 val}(hjЪhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̪ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjȪubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hjhhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjȪubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjũubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjũubjl)}(h2Zero if successful, negative error code on failureh]h2Zero if successful, negative error code on failure}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjũubjl)}(h**NOTE**h]j)}(hj>h]hNOTE}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjũubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjũubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%mdiobus_c45_write_nested (C function)c.mdiobus_c45_write_nestedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h\int mdiobus_c45_write_nested (struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h]j )}(h[int mdiobus_c45_write_nested(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hmdiobus_c45_write_nestedh]j9)}(hmdiobus_c45_write_nestedh]hmdiobus_c45_write_nested}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h?(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 val)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjͫhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjޫhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj۫ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.mdiobus_c45_write_nestedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](jM )}(hinth]hint}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.ubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj9)}(haddrh]haddr}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjcubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.mdiobus_c45_write_nestedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjˬhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 valh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.mdiobus_c45_write_nestedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hvalh]hval}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj{hhhjhMubah}(h]jvah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjxhhubjg)}(hhh]jl)}(h0Nested version of the mdiobus_c45_write functionh]h0Nested version of the mdiobus_c45_write function}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj:hhubah}(h]h ]h"]h$]h&]uh1jfhjxhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to write ``u16 val`` value to write to **regnum** **Return** Zero if successful, negative error code on failure **Description** In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested(). **NOTE** MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h](jl)}(h**Parameters**h]j)}(hj_h]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjYubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj~h]hstruct mii_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjxubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjh]hint addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjЭhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj̭hMhjͭubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̭hMhjuubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hj)h]h u32 regnum}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj#ubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjuubj)}(h)``u16 val`` value to write to **regnum** h](j)}(h ``u16 val``h]j)}(hjbh]hu16 val}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj\ubj)}(hhh]jl)}(hvalue to write to **regnum**h](hvalue to write to }(hj{hhhNhNubj)}(h **regnum**h]hregnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jkhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjuubeh}(h]h ]h"]h$]h&]uh1jhjYubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjYubjl)}(h2Zero if successful, negative error code on failureh]h2Zero if successful, negative error code on failure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjYubjl)}(h**Description**h]j)}(hjҮh]h Description}(hjԮhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjЮubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjYubjl)}(h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().h]h]In case of nested MDIO bus access avoid lockdep false positives by using mutex_lock_nested().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjYubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjYubjl)}(hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.h]hMUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_modify (C function)c.mdiobus_modifyhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hQint mdiobus_modify (struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h]j )}(hPint mdiobus_modify(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hj>hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj:hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:hhhjLhMubj3)}(hmdiobus_modifyh]j9)}(hmdiobus_modifyh]hmdiobus_modify}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj:hhhjLhMubj )}(h>(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jasbc.mdiobus_modifyasbuh1hhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj )}(hj h]h*}(hjǯhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj9)}(hbush]hbus}(hjԯhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(hint addrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNj j )}j ]jc.mdiobus_modifyasbuh1hhjubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNj j )}j ]jc.mdiobus_modifyasbuh1hhjfubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.mdiobus_modifyasbuh1hhjubj")}(h h]h }(hjӰhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubeh}(h]h ]h"]h$]h&]jPjQuh1j hj:hhhjLhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj6hhhjLhMubah}(h]j1ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjLhMhj3hhubjg)}(hhh]jl)}(h?Convenience function for modifying a given mdio device registerh]h?Convenience function for modifying a given mdio device register}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj3hhhjLhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhjdhNhNubj)}(hX**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to write ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Return** 0 on success, negative on any error conditionh](jl)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj'ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjLh]hstruct mii_bus *bus}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjFubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjCubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hjh]hint addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjCubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjױhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjӱhMhjԱubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӱhMhjCubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjh]hu16 mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjCubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hj0h]hu16 set}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj*ubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjCubeh}(h]h ]h"]h$]h&]uh1jhj'ubjl)}(h **Return**h]j)}(hjkh]hReturn}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj'ubjl)}(h-0 on success, negative on any error conditionh]h-0 on success, negative on any error condition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMhj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmdiobus_c45_modify (C function)c.mdiobus_c45_modifyhNtauh1hhjdhhhNhNubh)}(hhh](j)}(h`int mdiobus_c45_modify (struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h]j )}(h_int mdiobus_c45_modify(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM&ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM&ubj3)}(hmdiobus_c45_modifyh]j9)}(hmdiobus_c45_modifyh]hmdiobus_c45_modify}(hjѲhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjͲubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM&ubj )}(hI(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jӲsbc.mdiobus_c45_modifyasbuh1hhjubj")}(h h]h }(hj+hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](jM )}(hinth]hint}(hj_hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj[ubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj[ubj9)}(haddrh]haddr}(hj{hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hj̳hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjɳubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjγmodnameN classnameNj j )}j ]j'c.mdiobus_c45_modifyasbuh1hhjųubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjųubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjųubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j'c.mdiobus_c45_modifyasbuh1hhj ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hmaskh]hmask}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j'c.mdiobus_c45_modifyasbuh1hhjUubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj9)}(hseth]hset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM&ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM&ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM&hjhhubjg)}(hhh]jl)}(h?Convenience function for modifying a given mdio device registerh]h?Convenience function for modifying a given mdio device register}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM&hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjʴjjʴjjjuh1hhhhjdhNhNubj)}(hX;**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to write ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Return** 0 on success, negative on any error conditionh](jl)}(h**Parameters**h]j)}(hjԴh]h Parameters}(hjִhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҴubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM*hjδubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjh]hstruct mii_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM(hjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM(hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj,h]hint addr}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM)hj&ubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjAhM)hjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhM)hjubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjeh]h int devad}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM*hj_ubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhM*hj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhM*hjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM+hjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM+hjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj׵h]hu16 mask}(hjٵhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjյubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM,hjѵubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjѵubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM-hj ubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hM-hj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hM-hjubeh}(h]h ]h"]h$]h&]uh1jhjδubjl)}(h **Return**h]j)}(hjKh]hReturn}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM/hjδubjl)}(h-0 on success, negative on any error conditionh]h-0 on success, negative on any error condition}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM/hjδubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#mdiobus_modify_changed (C function)c.mdiobus_modify_changedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hYint mdiobus_modify_changed (struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h]j )}(hXint mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM@ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM@ubj3)}(hmdiobus_modify_changedh]j9)}(hmdiobus_modify_changedh]hmdiobus_modify_changed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM@ubj )}(h>(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjͶhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjɶubj")}(h h]h }(hjڶhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjɶubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.mdiobus_modify_changedasbuh1hhjɶubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjɶubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjɶubj9)}(hbush]hbus}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjɶubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjŶubj )}(hint addrh](jM )}(hinth]hint}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj;ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubj9)}(haddrh]haddr}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjŶubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]jc.mdiobus_modify_changedasbuh1hhjpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj9)}(hregnumh]hregnum}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjŶubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.mdiobus_modify_changedasbuh1hhjubj")}(h h]h }(hjݷhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjŶubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jc.mdiobus_modify_changedasbuh1hhjubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hj3hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjŶubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM@ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM@ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM@hjhhubjg)}(hhh]jl)}(h[Convenience function for modifying a given mdio device register and returning if it changedh]h[Convenience function for modifying a given mdio device register and returning if it changed}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM@hjZhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1hhhhjdhNhNubj)}(hX@**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``u32 regnum`` register number to write ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Return** 1 if the register was modified, 0 if no change was needed, negative on any error conditionh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMDhjyubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjh]hstruct mii_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMBhjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj׸h]hint addr}(hjٸhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjոubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMChjѸubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjѸubeh}(h]h ]h"]h$]h&]uh1jhjhMChjubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMDhj ubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%hMDhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMDhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hjIh]hu16 mask}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMEhjCubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^hMEhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMEhjubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjh]hu16 set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMFhj|ubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMFhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMFhjubeh}(h]h ]h"]h$]h&]uh1jhjyubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMHhjyubjl)}(hZ1 if the register was modified, 0 if no change was needed, negative on any error conditionh]hZ1 if the register was modified, 0 if no change was needed, negative on any error condition}(hjӹhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMHhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'mdiobus_c45_modify_changed (C function)c.mdiobus_c45_modify_changedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hhint mdiobus_c45_modify_changed (struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h]j )}(hgint mdiobus_c45_modify_changed(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMYubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMYubj3)}(hmdiobus_c45_modify_changedh]j9)}(hmdiobus_c45_modify_changedh]hmdiobus_c45_modify_changed}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMYubj )}(hI(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj")}(h h]h }(hjLhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hj]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNj j )}j ]j )}j j%sbc.mdiobus_c45_modify_changedasbuh1hhj;ubj")}(h h]h }(hj}hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj;ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj;ubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hint addrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hjͺhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(h int devadh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]jyc.mdiobus_c45_modify_changedasbuh1hhjubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjfhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNj j )}j ]jyc.mdiobus_c45_modify_changedasbuh1hhj_ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jyc.mdiobus_c45_modify_changedasbuh1hhjubj")}(h h]h }(hj̻hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hjڻhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj7ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMYubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMYubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMYhjhhubjg)}(hhh]jl)}(h[Convenience function for modifying a given mdio device register and returning if it changedh]h[Convenience function for modifying a given mdio device register and returning if it changed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMYhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hXh**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to write ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Return** 1 if the register was modified, 0 if no change was needed, negative on any error conditionh](jl)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM]hj ubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hjEh]hstruct mii_bus *bus}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM[hj?ubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjZhM[hj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhM[hj<ubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj~h]hint addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM\hjxubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhM\hj<ubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM]hjubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjмhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj̼hM]hjͼubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̼hM]hj<ubj)}(h(``u32 regnum`` register number to write h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM^hjubj)}(hhh]jl)}(hregister number to writeh]hregister number to write}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hj<ubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj)h]hu16 mask}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM_hj#ubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj>hM_hj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hM_hj<ubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjbh]hu16 set}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chM`hj\ubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwhM`hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM`hj<ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMbhj ubjl)}(hZ1 if the register was modified, 0 if no change was needed, negative on any error conditionh]hZ1 if the register was modified, 0 if no change was needed, negative on any error condition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:134: ./drivers/net/phy/mdio_bus.chMbhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)__mdiobus_c45_modify_changed (C function)c.__mdiobus_c45_modify_changedhNtauh1hhjdhhhNhNubh)}(hhh](j)}(hjint __mdiobus_c45_modify_changed (struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h]j )}(hiint __mdiobus_c45_modify_changed(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj޽hhh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj޽hhhjhKubj3)}(h__mdiobus_c45_modify_changedh]j9)}(h__mdiobus_c45_modify_changedh]h__mdiobus_c45_modify_changed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj޽hhhjhKubj )}(hI(struct mii_bus *bus, int addr, int devad, u32 regnum, u16 mask, u16 set)h](j )}(hstruct mii_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hmii_bush]hmii_bus}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNj j )}j ]j )}j jsbc.__mdiobus_c45_modify_changedasbuh1hhjubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjxhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint addrh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(haddrh]haddr}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int devadh](jM )}(hinth]hint}(hjƾhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj¾ubj")}(h h]h }(hjԾhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj¾ubj9)}(hdevadh]hdevad}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj¾ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 regnumh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jYc.__mdiobus_c45_modify_changedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hregnumh]hregnum}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 maskh](h)}(hhh]j9)}(hu16h]hu16}(hjFhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNj j )}j ]jYc.__mdiobus_c45_modify_changedasbuh1hhj?ubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubj9)}(hmaskh]hmask}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hu16 seth](h)}(hhh]j9)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jYc.__mdiobus_c45_modify_changedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hseth]hset}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj޽hhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjڽhhhjhKubah}(h]jսah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhj׽hhubjg)}(hhh]jl)}(h/Unlocked version of the mdiobus_modify functionh]h/Unlocked version of the mdiobus_modify function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhj׽hhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjdhNhNubj)}(hX$**Parameters** ``struct mii_bus *bus`` the mii_bus struct ``int addr`` the phy address ``int devad`` device address to read ``u32 regnum`` register number to modify ``u16 mask`` bit mask of bits to clear ``u16 set`` bit mask of bits to set **Return** 1 if the register was modified, 0 if no change was needed, negative on any error condition **Description** Read, modify, and if any change, write the register value back to the device. Any error returns a negative number. **NOTE** MUST NOT be called from interrupt context.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh](j)}(h+``struct mii_bus *bus`` the mii_bus struct h](j)}(h``struct mii_bus *bus``h]j)}(hj%h]hstruct mii_bus *bus}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chKhjubj)}(hhh]jl)}(hthe mii_bus structh]hthe mii_bus struct}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj:hKhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hKhjubj)}(h``int addr`` the phy address h](j)}(h ``int addr``h]j)}(hj^h]hint addr}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjXubj)}(hhh]jl)}(hthe phy addressh]hthe phy address}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubj)}(h%``int devad`` device address to read h](j)}(h ``int devad``h]j)}(hjh]h int devad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hdevice address to readh]hdevice address to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``u32 regnum`` register number to modify h](j)}(h``u32 regnum``h]j)}(hjh]h u32 regnum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hregister number to modifyh]hregister number to modify}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``u16 mask`` bit mask of bits to clear h](j)}(h ``u16 mask``h]j)}(hj h]hu16 mask}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjubj)}(hhh]jl)}(hbit mask of bits to clearh]hbit mask of bits to clear}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``u16 set`` bit mask of bits to set h](j)}(h ``u16 set``h]j)}(hjBh]hu16 set}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhj<ubj)}(hhh]jl)}(hbit mask of bits to seth]hbit mask of bits to set}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h **Return**h]j)}(hj}h]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjubjl)}(hZ1 if the register was modified, 0 if no change was needed, negative on any error conditionh]hZ1 if the register was modified, 0 if no change was needed, negative on any error condition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chM hjubjl)}(hrRead, modify, and if any change, write the register value back to the device. Any error returns a negative number.h]hrRead, modify, and if any change, write the register value back to the device. Any error returns a negative number.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chMhjubjl)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chM hjubjl)}(h*MUST NOT be called from interrupt context.h]h*MUST NOT be called from interrupt context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkh[/var/lib/git/docbuild/linux/Documentation/networking/kapi:137: ./drivers/net/phy/mdio_bus.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjdhhhNhNubeh}(h] phy-supportah ]h"] phy supportah$]h&]uh1hhjohhhhhKoubh)}(hhh](h)}(hPHYLINKh]hPHYLINK}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubj)}(hPHYLINK interfaces traditional network drivers with PHYLIB, fixed-links, and SFF modules (eg, hot-pluggable SFP) that may contain PHYs. PHYLINK provides management of the link state and link modes. h]jl)}(hPHYLINK interfaces traditional network drivers with PHYLIB, fixed-links, and SFF modules (eg, hot-pluggable SFP) that may contain PHYs. PHYLINK provides management of the link state and link modes.h]hPHYLINK interfaces traditional network drivers with PHYLIB, fixed-links, and SFF modules (eg, hot-pluggable SFP) that may contain PHYs. PHYLINK provides management of the link state and link modes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhhhKhjubah}(h]h ]h"]h$]h&]uh1jhhhKhjhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_link_state (C struct)c.phylink_link_statehNtauh1hhjhhhNhNubh)}(hhh](j)}(hphylink_link_stateh]j )}(hstruct phylink_link_stateh](j)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj")}(h h]h }(hjOhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=hhhjNhKubj3)}(hphylink_link_stateh]j9)}(hj;h]hphylink_link_state}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj]ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj=hhhjNhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj9hhhjNhKubah}(h]j4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjNhKhj6hhubjg)}(hhh]jl)}(hlink state structureh]hlink state structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKihjhhubah}(h]h ]h"]h$]h&]uh1jfhj6hhhjNhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Definition**:: struct phylink_link_state { unsigned long advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; phy_interface_t interface; int speed; int duplex; int pause; int rate_matching; unsigned int link:1; unsigned int an_complete:1; }; **Members** ``advertising`` ethtool bitmask containing advertised link modes ``lp_advertising`` ethtool bitmask containing link partner advertised link modes ``interface`` link :c:type:`typedef phy_interface_t ` mode ``speed`` link speed, one of the SPEED_* constants. ``duplex`` link duplex mode, one of DUPLEX_* constants. ``pause`` link pause state, described by MLO_PAUSE_* constants. ``rate_matching`` rate matching being performed, one of the RATE_MATCH_* constants. If rate matching is taking place, then the speed/duplex of the medium link mode (**speed** and **duplex**) and the speed/duplex of the phy interface mode (**interface**) are different. ``link`` true if the link is up. ``an_complete`` true if autonegotiation has completed.h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKmhjubj)}(hX\struct phylink_link_state { unsigned long advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; phy_interface_t interface; int speed; int duplex; int pause; int rate_matching; unsigned int link:1; unsigned int an_complete:1; };h]hX\struct phylink_link_state { unsigned long advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; unsigned long lp_advertising[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; phy_interface_t interface; int speed; int duplex; int pause; int rate_matching; unsigned int link:1; unsigned int an_complete:1; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKohjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhK{hjubj)}(hhh](j)}(hA``advertising`` ethtool bitmask containing advertised link modes h](j)}(h``advertising``h]j)}(hjh]h advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKkhjubj)}(hhh]jl)}(h0ethtool bitmask containing advertised link modesh]h0ethtool bitmask containing advertised link modes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKkhjubj)}(hQ``lp_advertising`` ethtool bitmask containing link partner advertised link modes h](j)}(h``lp_advertising``h]j)}(hj)h]hlp_advertising}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKmhj#ubj)}(hhh]jl)}(h=ethtool bitmask containing link partner advertised link modesh]h=ethtool bitmask containing link partner advertised link modes}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKlhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hKmhjubj)}(hL``interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h ``interface``h]j)}(hjch]h interface}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKnhj]ubj)}(hhh]jl)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hj|hhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjh]htypedef phy_interface_t}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhjxhKnhj|ubh mode}(hj|hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjxhKnhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhKnhjubj)}(h4``speed`` link speed, one of the SPEED_* constants. h](j)}(h ``speed``h]j)}(hjh]hspeed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKohjubj)}(hhh]jl)}(h)link speed, one of the SPEED_* constants.h]h)link speed, one of the SPEED_* constants.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKohjubj)}(h8``duplex`` link duplex mode, one of DUPLEX_* constants. h](j)}(h ``duplex``h]j)}(hjh]hduplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKphjubj)}(hhh]jl)}(h,link duplex mode, one of DUPLEX_* constants.h]h,link duplex mode, one of DUPLEX_* constants.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hKphjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKphjubj)}(h@``pause`` link pause state, described by MLO_PAUSE_* constants. h](j)}(h ``pause``h]j)}(hj1h]hpause}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKqhj+ubj)}(hhh]jl)}(h5link pause state, described by MLO_PAUSE_* constants.h]h5link pause state, described by MLO_PAUSE_* constants.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjFhKqhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhKqhjubj)}(hX ``rate_matching`` rate matching being performed, one of the RATE_MATCH_* constants. If rate matching is taking place, then the speed/duplex of the medium link mode (**speed** and **duplex**) and the speed/duplex of the phy interface mode (**interface**) are different. h](j)}(h``rate_matching``h]j)}(hjjh]h rate_matching}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKuhjdubj)}(hhh]jl)}(hrate matching being performed, one of the RATE_MATCH_* constants. If rate matching is taking place, then the speed/duplex of the medium link mode (**speed** and **duplex**) and the speed/duplex of the phy interface mode (**interface**) are different.h](hrate matching being performed, one of the RATE_MATCH_* constants. If rate matching is taking place, then the speed/duplex of the medium link mode (}(hjhhhNhNubj)}(h **speed**h]hspeed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **duplex**h]hduplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh2) and the speed/duplex of the phy interface mode (}(hjhhhNhNubj)}(h **interface**h]h interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) are different.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKrhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhKuhjubj)}(h!``link`` true if the link is up. h](j)}(h``link``h]j)}(hjh]hlink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKvhjubj)}(hhh]jl)}(htrue if the link is up.h]htrue if the link is up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKvhjubj)}(h6``an_complete`` true if autonegotiation has completed.h](j)}(h``an_complete``h]j)}(hjh]h an_complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKvhj ubj)}(hhh]jl)}(h&true if autonegotiation has completed.h]h&true if autonegotiation has completed.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKwhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hKvhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_config (C struct)c.phylink_confighNtauh1hhjhhhNhNubh)}(hhh](j)}(hphylink_configh]j )}(hstruct phylink_configh](j)}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhK}ubj")}(h h]h }(hj{hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjihhhjzhK}ubj3)}(hphylink_configh]j9)}(hjgh]hphylink_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjihhhjzhK}ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjehhhjzhK}ubah}(h]j`ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjzhK}hjbhhubjg)}(hhh]jl)}(hPHYLINK configuration structureh]hPHYLINK configuration structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjbhhhjzhK}ubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Definition**:: struct phylink_config { struct device *dev; enum phylink_op_type type; bool poll_fixed_state; bool mac_managed_pm; bool mac_requires_rxc; bool default_an_inband; bool eee_rx_clk_stop_enable; void (*get_fixed_state)(struct phylink_config *config, struct phylink_link_state *state); unsigned long supported_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; unsigned long lpi_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; unsigned long mac_capabilities; unsigned long lpi_capabilities; u32 lpi_timer_default; bool eee_enabled_default; bool wol_phy_legacy; bool wol_phy_speed_ctrl; u32 wol_mac_support; }; **Members** ``dev`` a pointer to a struct device associated with the MAC ``type`` operation type of PHYLINK instance ``poll_fixed_state`` if true, starts link_poll, if MAC link is at ``MLO_AN_FIXED`` mode. ``mac_managed_pm`` if true, indicate the MAC driver is responsible for PHY PM. ``mac_requires_rxc`` if true, the MAC always requires a receive clock from PHY. The PHY driver should start the clock signal as soon as possible and avoid stopping it during suspend events. ``default_an_inband`` if true, defaults to MLO_AN_INBAND rather than MLO_AN_PHY. A fixed-link specification will override. ``eee_rx_clk_stop_enable`` if true, PHY can stop the receive clock during LPI ``get_fixed_state`` callback to execute to determine the fixed link state, if MAC link is at ``MLO_AN_FIXED`` mode. ``supported_interfaces`` bitmap describing which PHY_INTERFACE_MODE_xxx are supported by the MAC/PCS. ``lpi_interfaces`` bitmap describing which PHY interface modes can support LPI signalling. ``mac_capabilities`` MAC pause/speed/duplex capabilities. ``lpi_capabilities`` MAC speeds which can support LPI signalling ``lpi_timer_default`` Default EEE LPI timer setting. ``eee_enabled_default`` If set, EEE will be enabled by phylink at creation time ``wol_phy_legacy`` Use Wake-on-Lan with PHY even if phy_can_wakeup() is false ``wol_phy_speed_ctrl`` Use phy speed control on suspend/resume ``wol_mac_support`` Bitmask of MAC supported ``WAKE_*`` optionsh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hXstruct phylink_config { struct device *dev; enum phylink_op_type type; bool poll_fixed_state; bool mac_managed_pm; bool mac_requires_rxc; bool default_an_inband; bool eee_rx_clk_stop_enable; void (*get_fixed_state)(struct phylink_config *config, struct phylink_link_state *state); unsigned long supported_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; unsigned long lpi_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; unsigned long mac_capabilities; unsigned long lpi_capabilities; u32 lpi_timer_default; bool eee_enabled_default; bool wol_phy_legacy; bool wol_phy_speed_ctrl; u32 wol_mac_support; };h]hXstruct phylink_config { struct device *dev; enum phylink_op_type type; bool poll_fixed_state; bool mac_managed_pm; bool mac_requires_rxc; bool default_an_inband; bool eee_rx_clk_stop_enable; void (*get_fixed_state)(struct phylink_config *config, struct phylink_link_state *state); unsigned long supported_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; unsigned long lpi_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; unsigned long mac_capabilities; unsigned long lpi_capabilities; u32 lpi_timer_default; bool eee_enabled_default; bool wol_phy_legacy; bool wol_phy_speed_ctrl; u32 wol_mac_support; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh](j)}(h=``dev`` a pointer to a struct device associated with the MAC h](j)}(h``dev``h]j)}(hjh]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h4a pointer to a struct device associated with the MACh]h4a pointer to a struct device associated with the MAC}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj1hKhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hKhjubj)}(h,``type`` operation type of PHYLINK instance h](j)}(h``type``h]j)}(hjUh]htype}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjOubj)}(hhh]jl)}(h"operation type of PHYLINK instanceh]h"operation type of PHYLINK instance}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjjhKhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhKhjubj)}(hY``poll_fixed_state`` if true, starts link_poll, if MAC link is at ``MLO_AN_FIXED`` mode. h](j)}(h``poll_fixed_state``h]j)}(hjh]hpoll_fixed_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(hCif true, starts link_poll, if MAC link is at ``MLO_AN_FIXED`` mode.h](h-if true, starts link_poll, if MAC link is at }(hjhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh mode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hO``mac_managed_pm`` if true, indicate the MAC driver is responsible for PHY PM. h](j)}(h``mac_managed_pm``h]j)}(hjh]hmac_managed_pm}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h;if true, indicate the MAC driver is responsible for PHY PM.h]h;if true, indicate the MAC driver is responsible for PHY PM.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``mac_requires_rxc`` if true, the MAC always requires a receive clock from PHY. The PHY driver should start the clock signal as soon as possible and avoid stopping it during suspend events. h](j)}(h``mac_requires_rxc``h]j)}(hjh]hmac_requires_rxc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj ubj)}(hhh]jl)}(hif true, the MAC always requires a receive clock from PHY. The PHY driver should start the clock signal as soon as possible and avoid stopping it during suspend events.h]hif true, the MAC always requires a receive clock from PHY. The PHY driver should start the clock signal as soon as possible and avoid stopping it during suspend events.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hKhjubj)}(h{``default_an_inband`` if true, defaults to MLO_AN_INBAND rather than MLO_AN_PHY. A fixed-link specification will override. h](j)}(h``default_an_inband``h]j)}(hjMh]hdefault_an_inband}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjGubj)}(hhh]jl)}(hdif true, defaults to MLO_AN_INBAND rather than MLO_AN_PHY. A fixed-link specification will override.h]hdif true, defaults to MLO_AN_INBAND rather than MLO_AN_PHY. A fixed-link specification will override.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhKhjubj)}(hN``eee_rx_clk_stop_enable`` if true, PHY can stop the receive clock during LPI h](j)}(h``eee_rx_clk_stop_enable``h]j)}(hjh]heee_rx_clk_stop_enable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h2if true, PHY can stop the receive clock during LPIh]h2if true, PHY can stop the receive clock during LPI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(ht``get_fixed_state`` callback to execute to determine the fixed link state, if MAC link is at ``MLO_AN_FIXED`` mode. h](j)}(h``get_fixed_state``h]j)}(hjh]hget_fixed_state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h_callback to execute to determine the fixed link state, if MAC link is at ``MLO_AN_FIXED`` mode.h](hIcallback to execute to determine the fixed link state, if MAC link is at }(hjhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh mode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hf``supported_interfaces`` bitmap describing which PHY_INTERFACE_MODE_xxx are supported by the MAC/PCS. h](j)}(h``supported_interfaces``h]j)}(hj h]hsupported_interfaces}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(hLbitmap describing which PHY_INTERFACE_MODE_xxx are supported by the MAC/PCS.h]hLbitmap describing which PHY_INTERFACE_MODE_xxx are supported by the MAC/PCS.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hKhjubj)}(h[``lpi_interfaces`` bitmap describing which PHY interface modes can support LPI signalling. h](j)}(h``lpi_interfaces``h]j)}(hjFh]hlpi_interfaces}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj@ubj)}(hhh]jl)}(hGbitmap describing which PHY interface modes can support LPI signalling.h]hGbitmap describing which PHY interface modes can support LPI signalling.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hKhjubj)}(h:``mac_capabilities`` MAC pause/speed/duplex capabilities. h](j)}(h``mac_capabilities``h]j)}(hjh]hmac_capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjzubj)}(hhh]jl)}(h$MAC pause/speed/duplex capabilities.h]h$MAC pause/speed/duplex capabilities.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hA``lpi_capabilities`` MAC speeds which can support LPI signalling h](j)}(h``lpi_capabilities``h]j)}(hjh]hlpi_capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h+MAC speeds which can support LPI signallingh]h+MAC speeds which can support LPI signalling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h5``lpi_timer_default`` Default EEE LPI timer setting. h](j)}(h``lpi_timer_default``h]j)}(hjh]hlpi_timer_default}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(hDefault EEE LPI timer setting.h]hDefault EEE LPI timer setting.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hP``eee_enabled_default`` If set, EEE will be enabled by phylink at creation time h](j)}(h``eee_enabled_default``h]j)}(hj+h]heee_enabled_default}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj%ubj)}(hhh]jl)}(h7If set, EEE will be enabled by phylink at creation timeh]h7If set, EEE will be enabled by phylink at creation time}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hKhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hKhjubj)}(hN``wol_phy_legacy`` Use Wake-on-Lan with PHY even if phy_can_wakeup() is false h](j)}(h``wol_phy_legacy``h]j)}(hjdh]hwol_phy_legacy}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj^ubj)}(hhh]jl)}(h:Use Wake-on-Lan with PHY even if phy_can_wakeup() is falseh]h:Use Wake-on-Lan with PHY even if phy_can_wakeup() is false}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhKhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhKhjubj)}(h?``wol_phy_speed_ctrl`` Use phy speed control on suspend/resume h](j)}(h``wol_phy_speed_ctrl``h]j)}(hjh]hwol_phy_speed_ctrl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h'Use phy speed control on suspend/resumeh]h'Use phy speed control on suspend/resume}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h?``wol_mac_support`` Bitmask of MAC supported ``WAKE_*`` optionsh](j)}(h``wol_mac_support``h]j)}(hjh]hwol_mac_support}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h+Bitmask of MAC supported ``WAKE_*`` optionsh](hBitmask of MAC supported }(hjhhhNhNubj)}(h ``WAKE_*``h]hWAKE_*}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh options}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mac_ops (C struct)c.phylink_mac_opshNtauh1hhjhhhNhNubh)}(hhh](j)}(hphylink_mac_opsh]j )}(hstruct phylink_mac_opsh](j)}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj>hhhjOhKubj3)}(hphylink_mac_opsh]j9)}(hj<h]hphylink_mac_ops}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj>hhhjOhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj:hhhjOhKubah}(h]j5ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjOhKhj7hhubjg)}(hhh]jl)}(hMAC operations structure.h]hMAC operations structure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhj7hhhjOhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Definition**:: struct phylink_mac_ops { unsigned long (*mac_get_caps)(struct phylink_config *config, phy_interface_t interface); struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, phy_interface_t interface); int (*mac_prepare)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_config)(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state); int (*mac_finish)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_link_down)(struct phylink_config *config, unsigned int mode, phy_interface_t interface); void (*mac_link_up)(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause); void (*mac_disable_tx_lpi)(struct phylink_config *config); int (*mac_enable_tx_lpi)(struct phylink_config *config, u32 timer, bool tx_clk_stop); int (*mac_wol_set)(struct phylink_config *config, u32 wolopts, const u8 *sopass); }; **Members** ``mac_get_caps`` Get MAC capabilities for interface mode. ``mac_select_pcs`` Select a PCS for the interface mode. ``mac_prepare`` prepare for a major reconfiguration of the interface. ``mac_config`` configure the MAC for the selected mode and state. ``mac_finish`` finish a major reconfiguration of the interface. ``mac_link_down`` take the link down. ``mac_link_up`` allow the link to come up. ``mac_disable_tx_lpi`` disable LPI. ``mac_enable_tx_lpi`` enable and configure LPI. ``mac_wol_set`` configure Wake-on-Lan settings at the MAC.h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hXstruct phylink_mac_ops { unsigned long (*mac_get_caps)(struct phylink_config *config, phy_interface_t interface); struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, phy_interface_t interface); int (*mac_prepare)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_config)(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state); int (*mac_finish)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_link_down)(struct phylink_config *config, unsigned int mode, phy_interface_t interface); void (*mac_link_up)(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause); void (*mac_disable_tx_lpi)(struct phylink_config *config); int (*mac_enable_tx_lpi)(struct phylink_config *config, u32 timer, bool tx_clk_stop); int (*mac_wol_set)(struct phylink_config *config, u32 wolopts, const u8 *sopass); };h]hXstruct phylink_mac_ops { unsigned long (*mac_get_caps)(struct phylink_config *config, phy_interface_t interface); struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, phy_interface_t interface); int (*mac_prepare)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_config)(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state); int (*mac_finish)(struct phylink_config *config, unsigned int mode, phy_interface_t iface); void (*mac_link_down)(struct phylink_config *config, unsigned int mode, phy_interface_t interface); void (*mac_link_up)(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause); void (*mac_disable_tx_lpi)(struct phylink_config *config); int (*mac_enable_tx_lpi)(struct phylink_config *config, u32 timer, bool tx_clk_stop); int (*mac_wol_set)(struct phylink_config *config, u32 wolopts, const u8 *sopass); };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh](j)}(h:``mac_get_caps`` Get MAC capabilities for interface mode. h](j)}(h``mac_get_caps``h]j)}(hjh]h mac_get_caps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h(Get MAC capabilities for interface mode.h]h(Get MAC capabilities for interface mode.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h8``mac_select_pcs`` Select a PCS for the interface mode. h](j)}(h``mac_select_pcs``h]j)}(hj*h]hmac_select_pcs}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj$ubj)}(hhh]jl)}(h$Select a PCS for the interface mode.h]h$Select a PCS for the interface mode.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj?hKhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hKhjubj)}(hF``mac_prepare`` prepare for a major reconfiguration of the interface. h](j)}(h``mac_prepare``h]j)}(hjch]h mac_prepare}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj]ubj)}(hhh]jl)}(h5prepare for a major reconfiguration of the interface.h]h5prepare for a major reconfiguration of the interface.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhKhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhKhjubj)}(hB``mac_config`` configure the MAC for the selected mode and state. h](j)}(h``mac_config``h]j)}(hjh]h mac_config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h2configure the MAC for the selected mode and state.h]h2configure the MAC for the selected mode and state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h@``mac_finish`` finish a major reconfiguration of the interface. h](j)}(h``mac_finish``h]j)}(hjh]h mac_finish}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h0finish a major reconfiguration of the interface.h]h0finish a major reconfiguration of the interface.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h&``mac_link_down`` take the link down. h](j)}(h``mac_link_down``h]j)}(hjh]h mac_link_down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(htake the link down.h]htake the link down.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hKhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hKhjubj)}(h+``mac_link_up`` allow the link to come up. h](j)}(h``mac_link_up``h]j)}(hjGh]h mac_link_up}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjAubj)}(hhh]jl)}(hallow the link to come up.h]hallow the link to come up.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj\hKhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hKhjubj)}(h$``mac_disable_tx_lpi`` disable LPI. h](j)}(h``mac_disable_tx_lpi``h]j)}(hjh]hmac_disable_tx_lpi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjzubj)}(hhh]jl)}(h disable LPI.h]h disable LPI.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h0``mac_enable_tx_lpi`` enable and configure LPI. h](j)}(h``mac_enable_tx_lpi``h]j)}(hjh]hmac_enable_tx_lpi}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(henable and configure LPI.h]henable and configure LPI.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h:``mac_wol_set`` configure Wake-on-Lan settings at the MAC.h](j)}(h``mac_wol_set``h]j)}(hjh]h mac_wol_set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h*configure Wake-on-Lan settings at the MAC.h]h*configure Wake-on-Lan settings at the MAC.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubjl)}(h**Description**h]j)}(hj5h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjhhubjl)}(h6The individual methods are described more fully below.h]h6The individual methods are described more fully below.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_get_caps (C function)c.mac_get_capshNtauh1hhjhhhNhNubh)}(hhh](j)}(hUunsigned long mac_get_caps (struct phylink_config *config, phy_interface_t interface)h]j )}(hTunsigned long mac_get_caps(struct phylink_config *config, phy_interface_t interface)h](jM )}(hunsignedh]hunsigned}(hjshhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjohhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjohhhjhKubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjohhhjhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjohhhjhKubj3)}(h mac_get_capsh]j9)}(h mac_get_capsh]h mac_get_caps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjohhhjhKubj )}(h:(struct phylink_config *config, phy_interface_t interface)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.mac_get_capsasbuh1hhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNj j )}j ]jc.mac_get_capsasbuh1hhj:ubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj9)}(h interfaceh]h interface}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjohhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjkhhhjhKubah}(h]jfah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhhubjg)}(hhh]jl)}(h(Get MAC capabilities for interface mode.h]h(Get MAC capabilities for interface mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``phy_interface_t interface`` PHY interface mode. **Description** Optional method. When not provided, config->mac_capabilities will be used. When implemented, this returns the MAC capabilities for the specified interface mode where there is some special handling required by the MAC driver (e.g. not supporting half-duplex in certain interface modes.)h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjhKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h2``phy_interface_t interface`` PHY interface mode. h](j)}(h``phy_interface_t interface``h]j)}(hj4h]hphy_interface_t interface}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj.ubj)}(hhh]jl)}(hPHY interface mode.h]hPHY interface mode.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjIhKhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjoh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubjl)}(hXOptional method. When not provided, config->mac_capabilities will be used. When implemented, this returns the MAC capabilities for the specified interface mode where there is some special handling required by the MAC driver (e.g. not supporting half-duplex in certain interface modes.)h]hXOptional method. When not provided, config->mac_capabilities will be used. When implemented, this returns the MAC capabilities for the specified interface mode where there is some special handling required by the MAC driver (e.g. not supporting half-duplex in certain interface modes.)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_select_pcs (C function)c.mac_select_pcshNtauh1hhjhhhNhNubh)}(hhh](j)}(h^struct phylink_pcs * mac_select_pcs (struct phylink_config *config, phy_interface_t interface)h]j )}(h\struct phylink_pcs *mac_select_pcs(struct phylink_config *config, phy_interface_t interface)h](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j mac_select_pcssbc.mac_select_pcsasbuh1hhjhhhjhKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjhKubj3)}(hmac_select_pcsh]j9)}(hjh]hmac_select_pcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h:(struct phylink_config *config, phy_interface_t interface)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hjLhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNj j )}j ]jc.mac_select_pcsasbuh1hhj*ubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj*ubj )}(hj h]h*}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj*ubj9)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj&ubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.mac_select_pcsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj&ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h$Select a PCS for the interface mode.h]h$Select a PCS for the interface mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXE**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``phy_interface_t interface`` PHY interface mode for PCS **Description** Return the :c:type:`struct phylink_pcs ` for the specified interface mode, or NULL if none is required, or an error pointer on error. This must not modify any state. It is used to query which PCS should be used. Phylink will use this during validation to ensure that the configuration is valid, and when setting a configuration to internally set the PCS that will be used.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hj8h]hstruct phylink_config *config}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhj2ubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjQhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hj[h]hstruct phylink_config}(hj]hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjMhKhjQubh.}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjMhKhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhKhj/ubj)}(h9``phy_interface_t interface`` PHY interface mode for PCS h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubj)}(hhh]jl)}(hPHY interface mode for PCSh]hPHY interface mode for PCS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj/ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubjl)}(hReturn the :c:type:`struct phylink_pcs ` for the specified interface mode, or NULL if none is required, or an error pointer on error.h](h Return the }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubh] for the specified interface mode, or NULL if none is required, or an error pointer on error.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj hKhjubjl)}(hThis must not modify any state. It is used to query which PCS should be used. Phylink will use this during validation to ensure that the configuration is valid, and when setting a configuration to internally set the PCS that will be used.h]hThis must not modify any state. It is used to query which PCS should be used. Phylink will use this during validation to ensure that the configuration is valid, and when setting a configuration to internally set the PCS that will be used.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_prepare (C function) c.mac_preparehNtauh1hhjhhhNhNubh)}(hhh](j)}(hYint mac_prepare (struct phylink_config *config, unsigned int mode, phy_interface_t iface)h]j )}(hXint mac_prepare(struct phylink_config *config, unsigned int mode, phy_interface_t iface)h](jM )}(hinth]hint}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBhhhjThMubj3)}(h mac_prepareh]j9)}(h mac_prepareh]h mac_prepare}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjBhhhjThMubj )}(hI(struct phylink_config *config, unsigned int mode, phy_interface_t iface)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jisb c.mac_prepareasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hunsigned int modeh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmodeh]hmode}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubj )}(hphy_interface_t ifaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNj j )}j ]j c.mac_prepareasbuh1hhjBubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj9)}(hifaceh]hiface}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj{ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjBhhhjThMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj>hhhjThMubah}(h]j9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjThMhj;hhubjg)}(hhh]jl)}(h(prepare to change the PHY interface modeh]h(prepare to change the PHY interface mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj;hhhjThMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. ``phy_interface_t iface`` interface mode to switch to **Description** phylink will call this method at the beginning of a full initialisation of the link, which includes changing the interface mode or at initial startup time. It may be called for the current mode. The MAC driver should perform whatever actions are required, e.g. disabling the Serdes PHY. This will be the first call in the sequence: - mac_prepare() - mac_config() - pcs_config() - possible pcs_an_restart() - mac_finish() Returns zero on success, or negative errno on failure which will be reported to the kernel log.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hR``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. h](j)}(h``unsigned int mode``h]j)}(hj<h]hunsigned int mode}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj6ubj)}(hhh]jl)}(h;one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``.h](hone of }(hjUhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh, }(hjUhhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh, }hjUsbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh.}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjQhMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjubj)}(h6``phy_interface_t iface`` interface mode to switch to h](j)}(h``phy_interface_t iface``h]j)}(hjh]hphy_interface_t iface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(hinterface mode to switch toh]hinterface mode to switch to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(hXphylink will call this method at the beginning of a full initialisation of the link, which includes changing the interface mode or at initial startup time. It may be called for the current mode. The MAC driver should perform whatever actions are required, e.g. disabling the Serdes PHY.h]hXphylink will call this method at the beginning of a full initialisation of the link, which includes changing the interface mode or at initial startup time. It may be called for the current mode. The MAC driver should perform whatever actions are required, e.g. disabling the Serdes PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(hThis will be the first call in the sequence: - mac_prepare() - mac_config() - pcs_config() - possible pcs_an_restart() - mac_finish()h]hThis will be the first call in the sequence: - mac_prepare() - mac_config() - pcs_config() - possible pcs_an_restart() - mac_finish()}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjubjl)}(h_Returns zero on success, or negative errno on failure which will be reported to the kernel log.h]h_Returns zero on success, or negative errno on failure which will be reported to the kernel log.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_config (C function) c.mac_confighNtauh1hhjhhhNhNubh)}(hhh](j)}(hjvoid mac_config (struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state)h]j )}(hivoid mac_config(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state)h](jM )}(hvoidh]hvoid}(hjIhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjEhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEhhhjWhMubj3)}(h mac_configh]j9)}(h mac_configh]h mac_config}(hjjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjfubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjEhhhjWhMubj )}(hZ(struct phylink_config *config, unsigned int mode, const struct phylink_link_state *state)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jlsb c.mac_configasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~ubj )}(hunsigned int modeh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmodeh]hmode}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~ubj )}(h&const struct phylink_link_state *stateh](j)}(hj h]hconst}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.mac_configasbuh1hhjEubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjEubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjEubj9)}(hstateh]hstate}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj~ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjEhhhjWhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjAhhhjWhMubah}(h]j<ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjWhMhj>hhubjg)}(hhh]jl)}(h1configure the MAC for the selected mode and stateh]h1configure the MAC for the selected mode and state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj>hhhjWhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX] **Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. ``const struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. **Description** Note - not all members of **state** are valid. In particular, **state->lp_advertising**, **state->link**, **state->an_complete** are never guaranteed to be correct, and so any mac_config() implementation must never reference these fields. This will only be called to reconfigure the MAC for a "major" change in e.g. interface mode. It will not be called for changes in speed, duplex or pause modes or to change the in-band advertisement. In all negotiation modes, as defined by **mode**, **state->pause** indicates the pause settings which should be applied as follows. If ``MLO_PAUSE_AN`` is not set, ``MLO_PAUSE_TX`` and ``MLO_PAUSE_RX`` indicate whether the MAC should send pause frames and/or act on received pause frames respectively. Otherwise, the results of in-band negotiation/status from the MAC PCS should be used to control the MAC pause mode settings. The action performed depends on the currently selected mode: ``MLO_AN_FIXED``, ``MLO_AN_PHY``: Configure for non-inband negotiation mode, where the link settings are completely communicated via mac_link_up(). The physical link protocol from the MAC is specified by **state->interface**. **state->advertising** may be used, but is not required. Older drivers (prior to the mac_link_up() change) may use **state->speed**, **state->duplex** and **state->pause** to configure the MAC, but this is deprecated; such drivers should be converted to use mac_link_up(). Other members of **state** must be ignored. Valid state members: interface, advertising. Deprecated state members: speed, duplex, pause. ``MLO_AN_INBAND``: place the link in an inband negotiation mode (such as 802.3z 1000base-X or Cisco SGMII mode depending on the **state->interface** mode). In both cases, link state management (whether the link is up or not) is performed by the MAC, and reported via the pcs_get_state() callback. Changes in link state must be made by calling phylink_mac_change(). Interface mode specific details are mentioned below. If in 802.3z mode, the link speed is fixed, dependent on the **state->interface**. Duplex and pause modes are negotiated via the in-band configuration word. Advertised pause modes are set according to **state->advertising**. Beware of MACs which only support full duplex at gigabit and higher speeds. If in Cisco SGMII mode, the link speed and duplex mode are passed in the serial bitstream 16-bit configuration word, and the MAC should be configured to read these bits and acknowledge the configuration word. Nothing is advertised by the MAC. The MAC is responsible for reading the configuration word and configuring itself accordingly. Valid state members: interface, pause, advertising. Implementations are expected to update the MAC to reflect the requested settings - i.o.w., if nothing has changed between two calls, no action is expected. If only flow control settings have changed, flow control should be updated *without* taking the link down. This "update" behaviour is critical to avoid bouncing the link up status.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hj&h]hstruct phylink_config *config}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hj?hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjIh]hstruct phylink_config}(hjKhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhj;hMhj?ubh.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjubj)}(hR``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. h](j)}(h``unsigned int mode``h]j)}(hjh]hunsigned int mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj|ubj)}(hhh]jl)}(h;one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``.h](hone of }(hjhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(ht``const struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. h](j)}(h*``const struct phylink_link_state *state``h]j)}(hjh]h&const struct phylink_link_state *state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hj hhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjh]hstruct phylink_link_state}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_link_stateuh1hhjhMhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjOh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM!hjubjl)}(hNote - not all members of **state** are valid. In particular, **state->lp_advertising**, **state->link**, **state->an_complete** are never guaranteed to be correct, and so any mac_config() implementation must never reference these fields.h](hNote - not all members of }(hjehhhNhNubj)}(h **state**h]hstate}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh are valid. In particular, }(hjehhhNhNubj)}(h**state->lp_advertising**h]hstate->lp_advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh, }(hjehhhNhNubj)}(h**state->link**h]h state->link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh, }hjesbj)}(h**state->an_complete**h]hstate->an_complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubhn are never guaranteed to be correct, and so any mac_config() implementation must never reference these fields.}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjubjl)}(hThis will only be called to reconfigure the MAC for a "major" change in e.g. interface mode. It will not be called for changes in speed, duplex or pause modes or to change the in-band advertisement.h]hThis will only be called to reconfigure the MAC for a “major” change in e.g. interface mode. It will not be called for changes in speed, duplex or pause modes or to change the in-band advertisement.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM%hjubjl)}(hXIn all negotiation modes, as defined by **mode**, **state->pause** indicates the pause settings which should be applied as follows. If ``MLO_PAUSE_AN`` is not set, ``MLO_PAUSE_TX`` and ``MLO_PAUSE_RX`` indicate whether the MAC should send pause frames and/or act on received pause frames respectively. Otherwise, the results of in-band negotiation/status from the MAC PCS should be used to control the MAC pause mode settings.h](h(In all negotiation modes, as defined by }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**state->pause**h]h state->pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhE indicates the pause settings which should be applied as follows. If }(hjhhhNhNubj)}(h``MLO_PAUSE_AN``h]h MLO_PAUSE_AN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is not set, }(hjhhhNhNubj)}(h``MLO_PAUSE_TX``h]h MLO_PAUSE_TX}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``MLO_PAUSE_RX``h]h MLO_PAUSE_RX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh indicate whether the MAC should send pause frames and/or act on received pause frames respectively. Otherwise, the results of in-band negotiation/status from the MAC PCS should be used to control the MAC pause mode settings.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM)hjubjl)}(hinterface**. **state->advertising** may be used, but is not required. Older drivers (prior to the mac_link_up() change) may use **state->speed**, **state->duplex** and **state->pause** to configure the MAC, but this is deprecated; such drivers should be converted to use mac_link_up(). Other members of **state** must be ignored. Valid state members: interface, advertising. Deprecated state members: speed, duplex, pause. h](j)}(h!``MLO_AN_FIXED``, ``MLO_AN_PHY``:h](j)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubh, }(hjJhhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubh:}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM@hjFubj)}(hhh](jl)}(hConfigure for non-inband negotiation mode, where the link settings are completely communicated via mac_link_up(). The physical link protocol from the MAC is specified by **state->interface**.h](hConfigure for non-inband negotiation mode, where the link settings are completely communicated via mac_link_up(). The physical link protocol from the MAC is specified by }(hj|hhhNhNubj)}(h**state->interface**h]hstate->interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubh.}(hj|hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM3hjyubjl)}(h8**state->advertising** may be used, but is not required.h](j)}(h**state->advertising**h]hstate->advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" may be used, but is not required.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM7hjyubjl)}(hOlder drivers (prior to the mac_link_up() change) may use **state->speed**, **state->duplex** and **state->pause** to configure the MAC, but this is deprecated; such drivers should be converted to use mac_link_up().h](h:Older drivers (prior to the mac_link_up() change) may use }(hjhhhNhNubj)}(h**state->speed**h]h state->speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**state->duplex**h]h state->duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**state->pause**h]h state->pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhe to configure the MAC, but this is deprecated; such drivers should be converted to use mac_link_up().}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM9hjyubjl)}(h+Other members of **state** must be ignored.h](hOther members of }(hjhhhNhNubj)}(h **state**h]hstate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh must be ignored.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM=hjyubjl)}(h\Valid state members: interface, advertising. Deprecated state members: speed, duplex, pause.h]h\Valid state members: interface, advertising. Deprecated state members: speed, duplex, pause.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM?hjyubeh}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjxhM@hjCubj)}(hXX``MLO_AN_INBAND``: place the link in an inband negotiation mode (such as 802.3z 1000base-X or Cisco SGMII mode depending on the **state->interface** mode). In both cases, link state management (whether the link is up or not) is performed by the MAC, and reported via the pcs_get_state() callback. Changes in link state must be made by calling phylink_mac_change(). Interface mode specific details are mentioned below. If in 802.3z mode, the link speed is fixed, dependent on the **state->interface**. Duplex and pause modes are negotiated via the in-band configuration word. Advertised pause modes are set according to **state->advertising**. Beware of MACs which only support full duplex at gigabit and higher speeds. If in Cisco SGMII mode, the link speed and duplex mode are passed in the serial bitstream 16-bit configuration word, and the MAC should be configured to read these bits and acknowledge the configuration word. Nothing is advertised by the MAC. The MAC is responsible for reading the configuration word and configuring itself accordingly. Valid state members: interface, pause, advertising. h](j)}(h``MLO_AN_INBAND``:h](j)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh:}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMYhj;ubj)}(hhh](jl)}(hXYplace the link in an inband negotiation mode (such as 802.3z 1000base-X or Cisco SGMII mode depending on the **state->interface** mode). In both cases, link state management (whether the link is up or not) is performed by the MAC, and reported via the pcs_get_state() callback. Changes in link state must be made by calling phylink_mac_change().h](hmplace the link in an inband negotiation mode (such as 802.3z 1000base-X or Cisco SGMII mode depending on the }(hj_hhhNhNubj)}(h**state->interface**h]hstate->interface}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh mode). In both cases, link state management (whether the link is up or not) is performed by the MAC, and reported via the pcs_get_state() callback. Changes in link state must be made by calling phylink_mac_change().}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMChj\ubjl)}(h4Interface mode specific details are mentioned below.h]h4Interface mode specific details are mentioned below.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMJhj\ubjl)}(hX,If in 802.3z mode, the link speed is fixed, dependent on the **state->interface**. Duplex and pause modes are negotiated via the in-band configuration word. Advertised pause modes are set according to **state->advertising**. Beware of MACs which only support full duplex at gigabit and higher speeds.h](h=If in 802.3z mode, the link speed is fixed, dependent on the }(hjhhhNhNubj)}(h**state->interface**h]hstate->interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhx. Duplex and pause modes are negotiated via the in-band configuration word. Advertised pause modes are set according to }(hjhhhNhNubj)}(h**state->advertising**h]hstate->advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhM. Beware of MACs which only support full duplex at gigabit and higher speeds.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMLhj\ubjl)}(hXPIf in Cisco SGMII mode, the link speed and duplex mode are passed in the serial bitstream 16-bit configuration word, and the MAC should be configured to read these bits and acknowledge the configuration word. Nothing is advertised by the MAC. The MAC is responsible for reading the configuration word and configuring itself accordingly.h]hXPIf in Cisco SGMII mode, the link speed and duplex mode are passed in the serial bitstream 16-bit configuration word, and the MAC should be configured to read these bits and acknowledge the configuration word. Nothing is advertised by the MAC. The MAC is responsible for reading the configuration word and configuring itself accordingly.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMRhj\ubjl)}(h3Valid state members: interface, pause, advertising.h]h3Valid state members: interface, pause, advertising.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj[hMYhj\ubeh}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj[hMYhjCubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(hXRImplementations are expected to update the MAC to reflect the requested settings - i.o.w., if nothing has changed between two calls, no action is expected. If only flow control settings have changed, flow control should be updated *without* taking the link down. This "update" behaviour is critical to avoid bouncing the link up status.h](hImplementations are expected to update the MAC to reflect the requested settings - i.o.w., if nothing has changed between two calls, no action is expected. If only flow control settings have changed, flow control should be updated }(hjhhhNhNubj)}(h *without*h]hwithout}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhe taking the link down. This “update” behaviour is critical to avoid bouncing the link up status.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM[hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_finish (C function) c.mac_finishhNtauh1hhjhhhNhNubh)}(hhh](j)}(hXint mac_finish (struct phylink_config *config, unsigned int mode, phy_interface_t iface)h]j )}(hWint mac_finish(struct phylink_config *config, unsigned int mode, phy_interface_t iface)h](jM )}(hinth]hint}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMgubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.hhhj@hMgubj3)}(h mac_finishh]j9)}(h mac_finishh]h mac_finish}(hjShhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.hhhj@hMgubj )}(hI(struct phylink_config *config, unsigned int mode, phy_interface_t iface)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hj|hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jUsb c.mac_finishasbuh1hhjkubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(hunsigned int modeh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubj )}(hphy_interface_t ifaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hj5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]j c.mac_finishasbuh1hhj.ubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.ubj9)}(hifaceh]hiface}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjgubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.hhhj@hMgubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*hhhj@hMgubah}(h]j%ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@hMghj'hhubjg)}(hhh]jl)}(h)finish a to change the PHY interface modeh]h)finish a to change the PHY interface mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMghjhhubah}(h]h ]h"]h$]h&]uh1jfhj'hhhj@hMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. ``phy_interface_t iface`` interface mode to switch to **Description** phylink will call this if it called mac_prepare() to allow the MAC to complete any necessary steps after the MAC and PCS have been configured for the **mode** and **iface**. E.g. a MAC driver may wish to re-enable the Serdes PHY here if it was previously disabled by mac_prepare(). Returns zero on success, or negative errno on failure which will be reported to the kernel log.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMkhjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhhjubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjhMhhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjubj)}(hR``unsigned int mode`` one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``. h](j)}(h``unsigned int mode``h]j)}(hj(h]hunsigned int mode}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMihj"ubj)}(hhh]jl)}(h;one of ``MLO_AN_FIXED``, ``MLO_AN_PHY``, ``MLO_AN_INBAND``.h](hone of }(hjAhhhNhNubj)}(h``MLO_AN_FIXED``h]h MLO_AN_FIXED}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh, }(hjAhhhNhNubj)}(h``MLO_AN_PHY``h]h MLO_AN_PHY}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh, }hjAsbj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj=hMihj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMihjubj)}(h6``phy_interface_t iface`` interface mode to switch to h](j)}(h``phy_interface_t iface``h]j)}(hjh]hphy_interface_t iface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMjhjubj)}(hhh]jl)}(hinterface mode to switch toh]hinterface mode to switch to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMlhjubjl)}(hXphylink will call this if it called mac_prepare() to allow the MAC to complete any necessary steps after the MAC and PCS have been configured for the **mode** and **iface**. E.g. a MAC driver may wish to re-enable the Serdes PHY here if it was previously disabled by mac_prepare().h](hphylink will call this if it called mac_prepare() to allow the MAC to complete any necessary steps after the MAC and PCS have been configured for the }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h **iface**h]hiface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhm. E.g. a MAC driver may wish to re-enable the Serdes PHY here if it was previously disabled by mac_prepare().}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMkhjubjl)}(h_Returns zero on success, or negative errno on failure which will be reported to the kernel log.h]h_Returns zero on success, or negative errno on failure which will be reported to the kernel log.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMphjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_link_down (C function)c.mac_link_downhNtauh1hhjhhhNhNubh)}(hhh](j)}(h`void mac_link_down (struct phylink_config *config, unsigned int mode, phy_interface_t interface)h]j )}(h_void mac_link_down(struct phylink_config *config, unsigned int mode, phy_interface_t interface)h](jM )}(hvoidh]hvoid}(hjJhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMxubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFhhhjXhMxubj3)}(h mac_link_downh]j9)}(h mac_link_downh]h mac_link_down}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjFhhhjXhMxubj )}(hM(struct phylink_config *config, unsigned int mode, phy_interface_t interface)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jmsbc.mac_link_downasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int modeh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hmodeh]hmode}(hj1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]jc.mac_link_downasbuh1hhjFubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFubj9)}(h interfaceh]h interface}(hjyhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjFhhhjXhMxubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjBhhhjXhMxubah}(h]j=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXhMxhj?hhubjg)}(hhh]jl)}(h(notification that the link has gone downh]h(notification that the link has gone down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMxhjhhubah}(h]h ]h"]h$]h&]uh1jfhj?hhhjXhMxubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``unsigned int mode`` link autonegotiation mode ``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode **Description** Notifies the MAC that the link has gone down. This will not be called unless mac_link_up() has been previously called. The MAC should stop processing packets for transmission and reception. phylink will have called netif_carrier_off() to notify the networking stack that the link has gone down, so MAC drivers should not make this call. If **mode** is ``MLO_AN_INBAND``, then this function must not prevent the link coming up.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM|hjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjh]hstruct phylink_config *config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMyhjubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hj hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjhMyhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMyhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMyhjubj)}(h0``unsigned int mode`` link autonegotiation mode h](j)}(h``unsigned int mode``h]j)}(hj@h]hunsigned int mode}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMzhj:ubj)}(hhh]jl)}(hlink autonegotiation modeh]hlink autonegotiation mode}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMzhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMzhjubj)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h``phy_interface_t interface``h]j)}(hjyh]hphy_interface_t interface}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM{hjsubj)}(hhh]jl)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hjhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjh]htypedef phy_interface_t}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhjhM{hjubh mode}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhM{hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM}hjubjl)}(hvNotifies the MAC that the link has gone down. This will not be called unless mac_link_up() has been previously called.h]hvNotifies the MAC that the link has gone down. This will not be called unless mac_link_up() has been previously called.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM|hjubjl)}(hThe MAC should stop processing packets for transmission and reception. phylink will have called netif_carrier_off() to notify the networking stack that the link has gone down, so MAC drivers should not make this call.h]hThe MAC should stop processing packets for transmission and reception. phylink will have called netif_carrier_off() to notify the networking stack that the link has gone down, so MAC drivers should not make this call.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(hYIf **mode** is ``MLO_AN_INBAND``, then this function must not prevent the link coming up.h](hIf }(hj hhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh is }(hj hhhNhNubj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh9, then this function must not prevent the link coming up.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_link_up (C function) c.mac_link_uphNtauh1hhjhhhNhNubh)}(hhh](j)}(hvoid mac_link_up (struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause)h]j )}(hvoid mac_link_up(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause)h](jM )}(hvoidh]hvoid}(hj^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjZhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZhhhjlhMubj3)}(h mac_link_uph]j9)}(h mac_link_uph]h mac_link_up}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj{ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjZhhhjlhMubj )}(h(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.mac_link_upasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct phy_device *phyh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNj j )}j ]j c.mac_link_upasbuh1hhj ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hphyh]hphy}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int modeh](jM )}(hunsignedh]hunsigned}(hj}hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjyubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjyubj9)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.mac_link_upasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int speedh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hspeedh]hspeed}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int duplexh](jM )}(hinth]hint}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjGubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjGubj9)}(hduplexh]hduplex}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool tx_pauseh](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj|ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|ubj9)}(htx_pauseh]htx_pause}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h bool rx_pauseh](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hrx_pauseh]hrx_pause}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjZhhhjlhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjVhhhjlhMubah}(h]jQah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjlhMhjShhubjg)}(hhh]jl)}(h¬ification that the link has come uph]h¬ification that the link has come up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjShhhjlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``struct phy_device *phy`` any attached phy (deprecated - please use LPI interfaces) ``unsigned int mode`` link autonegotiation mode ``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode ``int speed`` link speed ``int duplex`` link duplex ``bool tx_pause`` link transmit pause enablement status ``bool rx_pause`` link receive pause enablement status **Description** Notifies the MAC that the link has come up, and the parameters of the link as seen from the MACs point of view. If mac_link_up() has been called previously, there will be an intervening call to mac_link_down() before this method will be subsequently called. **speed**, **duplex**, **tx_pause** and **rx_pause** indicate the finalised link settings, and should be used to configure the MAC block appropriately where these settings are not automatically conveyed from the PCS block, or if in-band negotiation (as defined by phylink_autoneg_inband(**mode**)) is disabled. Note that when 802.3z in-band negotiation is in use, it is possible that the user wishes to override the pause settings, and this should be allowed when considering the implementation of this method. Once configured, the MAC may begin to process packets for transmission and reception. Interface type selection must be done in mac_config().h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hj:h]hstruct phylink_config *config}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj4ubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hjShhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hj]h]hstruct phylink_config}(hj_hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjOhMhjSubh.}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj1ubj)}(hU``struct phy_device *phy`` any attached phy (deprecated - please use LPI interfaces) h](j)}(h``struct phy_device *phy``h]j)}(hjh]hstruct phy_device *phy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h9any attached phy (deprecated - please use LPI interfaces)h]h9any attached phy (deprecated - please use LPI interfaces)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj1ubj)}(h0``unsigned int mode`` link autonegotiation mode h](j)}(h``unsigned int mode``h]j)}(hjh]hunsigned int mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(hlink autonegotiation modeh]hlink autonegotiation mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj1ubj)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hj!hhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hj+h]htypedef phy_interface_t}(hj-hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhjhMhj!ubh mode}(hj!hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj1ubj)}(h``int speed`` link speed h](j)}(h ``int speed``h]j)}(hjdh]h int speed}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj^ubj)}(hhh]jl)}(h link speedh]h link speed}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhj1ubj)}(h``int duplex`` link duplex h](j)}(h``int duplex``h]j)}(hjh]h int duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h link duplexh]h link duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj1ubj)}(h8``bool tx_pause`` link transmit pause enablement status h](j)}(h``bool tx_pause``h]j)}(hjh]h bool tx_pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h%link transmit pause enablement statush]h%link transmit pause enablement status}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj1ubj)}(h7``bool rx_pause`` link receive pause enablement status h](j)}(h``bool rx_pause``h]j)}(hjh]h bool rx_pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubj)}(hhh]jl)}(h$link receive pause enablement statush]h$link receive pause enablement status}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhj1ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjJh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(hXNotifies the MAC that the link has come up, and the parameters of the link as seen from the MACs point of view. If mac_link_up() has been called previously, there will be an intervening call to mac_link_down() before this method will be subsequently called.h]hXNotifies the MAC that the link has come up, and the parameters of the link as seen from the MACs point of view. If mac_link_up() has been called previously, there will be an intervening call to mac_link_down() before this method will be subsequently called.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(hX6**speed**, **duplex**, **tx_pause** and **rx_pause** indicate the finalised link settings, and should be used to configure the MAC block appropriately where these settings are not automatically conveyed from the PCS block, or if in-band negotiation (as defined by phylink_autoneg_inband(**mode**)) is disabled.h](j)}(h **speed**h]hspeed}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh, }(hjohhhNhNubj)}(h **duplex**h]hduplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh, }hjosbj)}(h **tx_pause**h]htx_pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh and }(hjohhhNhNubj)}(h **rx_pause**h]hrx_pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh indicate the finalised link settings, and should be used to configure the MAC block appropriately where these settings are not automatically conveyed from the PCS block, or if in-band negotiation (as defined by phylink_autoneg_inband(}(hjohhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh)) is disabled.}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(hNote that when 802.3z in-band negotiation is in use, it is possible that the user wishes to override the pause settings, and this should be allowed when considering the implementation of this method.h]hNote that when 802.3z in-band negotiation is in use, it is possible that the user wishes to override the pause settings, and this should be allowed when considering the implementation of this method.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(hUOnce configured, the MAC may begin to process packets for transmission and reception.h]hUOnce configured, the MAC may begin to process packets for transmission and reception.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(h6Interface type selection must be done in mac_config().h]h6Interface type selection must be done in mac_config().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_disable_tx_lpi (C function)c.mac_disable_tx_lpihNtauh1hhjhhhNhNubh)}(hhh](j)}(h7void mac_disable_tx_lpi (struct phylink_config *config)h]j )}(h6void mac_disable_tx_lpi(struct phylink_config *config)h](jM )}(hvoidh]hvoid}(hj!hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj/hMubj3)}(hmac_disable_tx_lpih]j9)}(hmac_disable_tx_lpih]hmac_disable_tx_lpi}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj/hMubj )}(h(struct phylink_config *config)h]j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNj j )}j ]j )}j jDsbc.mac_disable_tx_lpiasbuh1hhjZubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj9)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjVubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj/hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj/hMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj/hMhjhhubjg)}(hhh]jl)}(h!disable LPI generation at the MACh]h!disable LPI generation at the MAC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj/hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. **Description** Disable generation of LPI at the MAC, effectively preventing the MAC from indicating that it is idle.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hj"h]hstruct phylink_config *config}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hj;hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjEh]hstruct phylink_config}(hjGhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhj7hMhj;ubh.}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(heDisable generation of LPI at the MAC, effectively preventing the MAC from indicating that it is idle.h]heDisable generation of LPI at the MAC, effectively preventing the MAC from indicating that it is idle.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_enable_tx_lpi (C function)c.mac_enable_tx_lpihNtauh1hhjhhhNhNubh)}(hhh](j)}(hRint mac_enable_tx_lpi (struct phylink_config *config, u32 timer, bool tx_clk_stop)h]j )}(hQint mac_enable_tx_lpi(struct phylink_config *config, u32 timer, bool tx_clk_stop)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hmac_enable_tx_lpih]j9)}(hmac_enable_tx_lpih]hmac_enable_tx_lpi}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h<(struct phylink_config *config, u32 timer, bool tx_clk_stop)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j )}j jsbc.mac_enable_tx_lpiasbuh1hhjubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 timerh](h)}(hhh]j9)}(hu32h]hu32}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNj j )}j ]j<c.mac_enable_tx_lpiasbuh1hhjpubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjpubj9)}(htimerh]htimer}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjpubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hbool tx_clk_stoph](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h tx_clk_stoph]h tx_clk_stop}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h.configure and enable LPI generation at the MACh]h.configure and enable LPI generation at the MAC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXj**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``u32 timer`` LPI timeout in microseconds. ``bool tx_clk_stop`` allow xMII transmit clock to be stopped during LPI **Description** Configure the LPI timeout accordingly. This will only be called when the link is already up, to cater for situations where the hardware needs to be programmed according to the link speed. Enable LPI generation at the MAC, and configure whether the xMII transmit clock may be stopped. **Return** 0 on success. Please consult with rmk before returning an error.h](jl)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjBh]hstruct phylink_config *config}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj<ubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hj[hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjeh]hstruct phylink_config}(hjghhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjWhMhj[ubh.}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhj9ubj)}(h+``u32 timer`` LPI timeout in microseconds. h](j)}(h ``u32 timer``h]j)}(hjh]h u32 timer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(hLPI timeout in microseconds.h]hLPI timeout in microseconds.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj9ubj)}(hH``bool tx_clk_stop`` allow xMII transmit clock to be stopped during LPI h](j)}(h``bool tx_clk_stop``h]j)}(hjh]hbool tx_clk_stop}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h2allow xMII transmit clock to be stopped during LPIh]h2allow xMII transmit clock to be stopped during LPI}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj9ubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(hConfigure the LPI timeout accordingly. This will only be called when the link is already up, to cater for situations where the hardware needs to be programmed according to the link speed.h]hConfigure the LPI timeout accordingly. This will only be called when the link is already up, to cater for situations where the hardware needs to be programmed according to the link speed.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(h_Enable LPI generation at the MAC, and configure whether the xMII transmit clock may be stopped.h]h_Enable LPI generation at the MAC, and configure whether the xMII transmit clock may be stopped.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(h **Return**h]j)}(hjHh]hReturn}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(h@0 on success. Please consult with rmk before returning an error.h]h@0 on success. Please consult with rmk before returning an error.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmac_wol_set (C function) c.mac_wol_sethNtauh1hhjhhhNhNubh)}(hhh](j)}(hNint mac_wol_set (struct phylink_config *config, u32 wolopts, const u8 *sopass)h]j )}(hMint mac_wol_set(struct phylink_config *config, u32 wolopts, const u8 *sopass)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h mac_wol_seth]j9)}(h mac_wol_seth]h mac_wol_set}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h>(struct phylink_config *config, u32 wolopts, const u8 *sopass)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.mac_wol_setasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hconfigh]hconfig}(hj#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h u32 woloptsh](h)}(hhh]j9)}(hu32h]hu32}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNj j )}j ]j c.mac_wol_setasbuh1hhj8ubj")}(h h]h }(hj]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8ubj9)}(hwoloptsh]hwolopts}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hconst u8 *sopassh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.mac_wol_setasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hsopassh]hsopass}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h$configure the Wake-on-Lan parametersh]h$configure the Wake-on-Lan parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. ``u32 wolopts`` Bitmask of ``WAKE_*`` flags for enabled Wake-On-Lan modes. ``const u8 *sopass`` SecureOn(tm) password; meaningful only for ``WAKE_MAGICSECURE`` **Description** Enable the specified Wake-on-Lan options at the MAC. Options that the PHY can handle will have been removed from **wolopts**. The presence of this method enables phylink-managed WoL support. **Return** 0 on success.h](jl)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj!ubj)}(hhh](j)}(hc``struct phylink_config *config`` a pointer to a :c:type:`struct phylink_config `. h](j)}(h!``struct phylink_config *config``h]j)}(hjFh]hstruct phylink_config *config}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj@ubj)}(hhh]jl)}(h@a pointer to a :c:type:`struct phylink_config `.h](ha pointer to a }(hj_hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjih]hstruct phylink_config}(hjkhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhj[hMhj_ubh.}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj=ubj)}(hK``u32 wolopts`` Bitmask of ``WAKE_*`` flags for enabled Wake-On-Lan modes. h](j)}(h``u32 wolopts``h]j)}(hjh]h u32 wolopts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h:Bitmask of ``WAKE_*`` flags for enabled Wake-On-Lan modes.h](h Bitmask of }(hjhhhNhNubj)}(h ``WAKE_*``h]hWAKE_*}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh% flags for enabled Wake-On-Lan modes.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj=ubj)}(hU``const u8 *sopass`` SecureOn(tm) password; meaningful only for ``WAKE_MAGICSECURE`` h](j)}(h``const u8 *sopass``h]j)}(hjh]hconst u8 *sopass}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h?SecureOn(tm) password; meaningful only for ``WAKE_MAGICSECURE``h](h+SecureOn(tm) password; meaningful only for }(hjhhhNhNubj)}(h``WAKE_MAGICSECURE``h]hWAKE_MAGICSECURE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj=ubeh}(h]h ]h"]h$]h&]uh1jhj!ubjl)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj!ubjl)}(h}Enable the specified Wake-on-Lan options at the MAC. Options that the PHY can handle will have been removed from **wolopts**.h](hqEnable the specified Wake-on-Lan options at the MAC. Options that the PHY can handle will have been removed from }(hjLhhhNhNubj)}(h **wolopts**h]hwolopts}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj!ubjl)}(h@The presence of this method enables phylink-managed WoL support.h]h@The presence of this method enables phylink-managed WoL support.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj!ubjl)}(h **Return**h]j)}(hj~h]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj!ubjl)}(h 0 on success.h]h 0 on success.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs (C struct) c.phylink_pcshNtauh1hhjhhhNhNubh)}(hhh](j)}(h phylink_pcsh]j )}(hstruct phylink_pcsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h phylink_pcsh]j9)}(hjh]h phylink_pcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hPHYLINK PCS instanceh]hPHYLINK PCS instance}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Definition**:: struct phylink_pcs { unsigned long supported_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; const struct phylink_pcs_ops *ops; struct phylink *phylink; bool poll; bool rxc_always_on; }; **Members** ``supported_interfaces`` describing which PHY_INTERFACE_MODE_xxx are supported by this PCS. ``ops`` a pointer to the :c:type:`struct phylink_pcs_ops ` structure ``phylink`` pointer to :c:type:`struct phylink_config ` ``poll`` poll the PCS for link changes ``rxc_always_on`` The MAC driver requires the reference clock to always be on. Standalone PCS drivers which do not have access to a PHY device can check this instead of PHY_F_RXC_ALWAYS_ON.h](jl)}(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&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj!ubj)}(hstruct phylink_pcs { unsigned long supported_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; const struct phylink_pcs_ops *ops; struct phylink *phylink; bool poll; bool rxc_always_on; };h]hstruct phylink_pcs { unsigned long supported_interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; const struct phylink_pcs_ops *ops; struct phylink *phylink; bool poll; bool rxc_always_on; };}hjBsbah}(h]h ]h"]h$]h&]jPjQuh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj!ubjl)}(h **Members**h]j)}(hjSh]hMembers}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj!ubj)}(hhh](j)}(h\``supported_interfaces`` describing which PHY_INTERFACE_MODE_xxx are supported by this PCS. h](j)}(h``supported_interfaces``h]j)}(hjrh]hsupported_interfaces}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjlubj)}(hhh]jl)}(hBdescribing which PHY_INTERFACE_MODE_xxx are supported by this PCS.h]hBdescribing which PHY_INTERFACE_MODE_xxx are supported by this PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(hV``ops`` a pointer to the :c:type:`struct phylink_pcs_ops ` structure h](j)}(h``ops``h]j)}(hjh]hops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(hMa pointer to the :c:type:`struct phylink_pcs_ops ` structureh](ha pointer to the }(hjhhhNhNubh)}(h2:c:type:`struct phylink_pcs_ops `h]j)}(hjh]hstruct phylink_pcs_ops}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_pcs_opsuh1hhjhMhjubh structure}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(hH``phylink`` pointer to :c:type:`struct phylink_config ` h](j)}(h ``phylink``h]j)}(hjh]hphylink}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h;pointer to :c:type:`struct phylink_config `h](h pointer to }(hj!hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hj+h]hstruct phylink_config}(hj-hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjhMhj!ubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubj)}(h'``poll`` poll the PCS for link changes h](j)}(h``poll``h]j)}(hj`h]hpoll}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjZubj)}(hhh]jl)}(hpoll the PCS for link changesh]hpoll the PCS for link changes}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjiubj)}(h``rxc_always_on`` The MAC driver requires the reference clock to always be on. Standalone PCS drivers which do not have access to a PHY device can check this instead of PHY_F_RXC_ALWAYS_ON.h](j)}(h``rxc_always_on``h]j)}(hjh]h rxc_always_on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(hThe MAC driver requires the reference clock to always be on. Standalone PCS drivers which do not have access to a PHY device can check this instead of PHY_F_RXC_ALWAYS_ON.h]hThe MAC driver requires the reference clock to always be on. Standalone PCS drivers which do not have access to a PHY device can check this instead of PHY_F_RXC_ALWAYS_ON.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjiubeh}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubjl)}(hvThis structure is designed to be embedded within the PCS private data, and will be passed between phylink and the PCS.h]hvThis structure is designed to be embedded within the PCS private data, and will be passed between phylink and the PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubjl)}(hWThe **phylink** member is private to phylink and must not be touched by the PCS driver.h](hThe }(hjhhhNhNubj)}(h **phylink**h]hphylink}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhH member is private to phylink and must not be touched by the PCS driver.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs_ops (C struct)c.phylink_pcs_opshNtauh1hhjhhhNhNubh)}(hhh](j)}(hphylink_pcs_opsh]j )}(hstruct phylink_pcs_opsh](j)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7hhhjHhMubj3)}(hphylink_pcs_opsh]j9)}(hj5h]hphylink_pcs_ops}(hj[hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjWubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7hhhjHhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj3hhhjHhMubah}(h]j.ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHhMhj0hhubjg)}(hhh]jl)}(hMAC PCS operations structure.h]hMAC PCS operations structure.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjzhhubah}(h]h ]h"]h$]h&]uh1jfhj0hhhjHhMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Definition**:: struct phylink_pcs_ops { int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state); unsigned int (*pcs_inband_caps)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_enable)(struct phylink_pcs *pcs); void (*pcs_disable)(struct phylink_pcs *pcs); void (*pcs_pre_config)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_post_config)(struct phylink_pcs *pcs, phy_interface_t interface); void (*pcs_get_state)(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state); int (*pcs_config)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac); void (*pcs_an_restart)(struct phylink_pcs *pcs); void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex); void (*pcs_disable_eee)(struct phylink_pcs *pcs); void (*pcs_enable_eee)(struct phylink_pcs *pcs); int (*pcs_pre_init)(struct phylink_pcs *pcs); }; **Members** ``pcs_validate`` validate the link configuration. ``pcs_inband_caps`` query inband support for interface mode. ``pcs_enable`` enable the PCS. ``pcs_disable`` disable the PCS. ``pcs_pre_config`` pre-mac_config method (for errata) ``pcs_post_config`` post-mac_config method (for arrata) ``pcs_get_state`` read the current MAC PCS link state from the hardware. ``pcs_config`` configure the MAC PCS for the selected mode and state. ``pcs_an_restart`` restart 802.3z BaseX autonegotiation. ``pcs_link_up`` program the PCS for the resolved link configuration (where necessary). ``pcs_disable_eee`` optional notification to PCS that EEE has been disabled at the MAC. ``pcs_enable_eee`` optional notification to PCS that EEE will be enabled at the MAC. ``pcs_pre_init`` configure PCS components necessary for MAC hardware initialization e.g. RX clock for stmmac.h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hXBstruct phylink_pcs_ops { int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state); unsigned int (*pcs_inband_caps)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_enable)(struct phylink_pcs *pcs); void (*pcs_disable)(struct phylink_pcs *pcs); void (*pcs_pre_config)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_post_config)(struct phylink_pcs *pcs, phy_interface_t interface); void (*pcs_get_state)(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state); int (*pcs_config)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac); void (*pcs_an_restart)(struct phylink_pcs *pcs); void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex); void (*pcs_disable_eee)(struct phylink_pcs *pcs); void (*pcs_enable_eee)(struct phylink_pcs *pcs); int (*pcs_pre_init)(struct phylink_pcs *pcs); };h]hXBstruct phylink_pcs_ops { int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state); unsigned int (*pcs_inband_caps)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_enable)(struct phylink_pcs *pcs); void (*pcs_disable)(struct phylink_pcs *pcs); void (*pcs_pre_config)(struct phylink_pcs *pcs, phy_interface_t interface); int (*pcs_post_config)(struct phylink_pcs *pcs, phy_interface_t interface); void (*pcs_get_state)(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state); int (*pcs_config)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac); void (*pcs_an_restart)(struct phylink_pcs *pcs); void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex); void (*pcs_disable_eee)(struct phylink_pcs *pcs); void (*pcs_enable_eee)(struct phylink_pcs *pcs); int (*pcs_pre_init)(struct phylink_pcs *pcs); };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM hjubj)}(hhh](j)}(h2``pcs_validate`` validate the link configuration. h](j)}(h``pcs_validate``h]j)}(hjh]h pcs_validate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h validate the link configuration.h]h validate the link configuration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``pcs_inband_caps`` query inband support for interface mode. h](j)}(h``pcs_inband_caps``h]j)}(hj#h]hpcs_inband_caps}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h(query inband support for interface mode.h]h(query inband support for interface mode.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjubj)}(h``pcs_enable`` enable the PCS. h](j)}(h``pcs_enable``h]j)}(hj\h]h pcs_enable}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjVubj)}(hhh]jl)}(henable the PCS.h]henable the PCS.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjubj)}(h!``pcs_disable`` disable the PCS. h](j)}(h``pcs_disable``h]j)}(hjh]h pcs_disable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(hdisable the PCS.h]hdisable the PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h6``pcs_pre_config`` pre-mac_config method (for errata) h](j)}(h``pcs_pre_config``h]j)}(hjh]hpcs_pre_config}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h"pre-mac_config method (for errata)h]h"pre-mac_config method (for errata)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``pcs_post_config`` post-mac_config method (for arrata) h](j)}(h``pcs_post_config``h]j)}(hjh]hpcs_post_config}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h#post-mac_config method (for arrata)h]h#post-mac_config method (for arrata)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hI``pcs_get_state`` read the current MAC PCS link state from the hardware. h](j)}(h``pcs_get_state``h]j)}(hj@h]h pcs_get_state}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj:ubj)}(hhh]jl)}(h6read the current MAC PCS link state from the hardware.h]h6read the current MAC PCS link state from the hardware.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjubj)}(hF``pcs_config`` configure the MAC PCS for the selected mode and state. h](j)}(h``pcs_config``h]j)}(hjyh]h pcs_config}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjsubj)}(hhh]jl)}(h6configure the MAC PCS for the selected mode and state.h]h6configure the MAC PCS for the selected mode and state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h9``pcs_an_restart`` restart 802.3z BaseX autonegotiation. h](j)}(h``pcs_an_restart``h]j)}(hjh]hpcs_an_restart}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h%restart 802.3z BaseX autonegotiation.h]h%restart 802.3z BaseX autonegotiation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hW``pcs_link_up`` program the PCS for the resolved link configuration (where necessary). h](j)}(h``pcs_link_up``h]j)}(hjh]h pcs_link_up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(hFprogram the PCS for the resolved link configuration (where necessary).h]hFprogram the PCS for the resolved link configuration (where necessary).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hX``pcs_disable_eee`` optional notification to PCS that EEE has been disabled at the MAC. h](j)}(h``pcs_disable_eee``h]j)}(hj%h]hpcs_disable_eee}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(hCoptional notification to PCS that EEE has been disabled at the MAC.h]hCoptional notification to PCS that EEE has been disabled at the MAC.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(hU``pcs_enable_eee`` optional notification to PCS that EEE will be enabled at the MAC. h](j)}(h``pcs_enable_eee``h]j)}(hj_h]hpcs_enable_eee}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjYubj)}(hhh]jl)}(hAoptional notification to PCS that EEE will be enabled at the MAC.h]hAoptional notification to PCS that EEE will be enabled at the MAC.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjubj)}(hm``pcs_pre_init`` configure PCS components necessary for MAC hardware initialization e.g. RX clock for stmmac.h](j)}(h``pcs_pre_init``h]j)}(hjh]h pcs_pre_init}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h\configure PCS components necessary for MAC hardware initialization e.g. RX clock for stmmac.h]h\configure PCS components necessary for MAC hardware initialization e.g. RX clock for stmmac.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_validate (C function)c.pcs_validatehNtauh1hhjhhhNhNubh)}(hhh](j)}(hlint pcs_validate (struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state)h]j )}(hkint pcs_validate(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM%ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM%ubj3)}(h pcs_validateh]j9)}(h pcs_validateh]h pcs_validate}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM%ubj )}(h[(struct phylink_pcs *pcs, unsigned long *supported, const struct phylink_link_state *state)h](j )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j jsbc.pcs_validateasbuh1hhj+ubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubj )}(hj h]h*}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+ubj9)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(hunsigned long *supportedh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h supportedh]h supported}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubj )}(h&const struct phylink_link_state *stateh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj'hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]jic.pcs_validateasbuh1hhjubj")}(h h]h }(hjVhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hstateh]hstate}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM%ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM%ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM%hjhhubjg)}(hhh]jl)}(h validate the link configuration.h]h validate the link configuration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM%hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. ``unsigned long *supported`` ethtool bitmask for supported link modes. ``const struct phylink_link_state *state`` a const pointer to a :c:type:`struct phylink_link_state `. **Description** Validate the interface mode, and advertising's autoneg bit, removing any media ethtool link modes that would not be supportable from the supported mask. Phylink will propagate the changes to the advertising mask. See the :c:type:`struct phylink_mac_ops ` validate() method. Returns -EINVAL if the interface mode/autoneg mode is not supported. Returns non-zero positive if the link state can be supported.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM)hjubj)}(hhh](j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM&hjubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhjhM&hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjubj)}(hG``unsigned long *supported`` ethtool bitmask for supported link modes. h](j)}(h``unsigned long *supported``h]j)}(hj8h]hunsigned long *supported}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM'hj2ubj)}(hhh]jl)}(h)ethtool bitmask for supported link modes.h]h)ethtool bitmask for supported link modes.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjMhM'hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhM'hjubj)}(hz``const struct phylink_link_state *state`` a const pointer to a :c:type:`struct phylink_link_state `. h](j)}(h*``const struct phylink_link_state *state``h]j)}(hjqh]h&const struct phylink_link_state *state}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM(hjkubj)}(hhh]jl)}(hNa const pointer to a :c:type:`struct phylink_link_state `.h](ha const pointer to a }(hjhhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjh]hstruct phylink_link_state}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_link_stateuh1hhjhM(hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM*hjubjl)}(hX"Validate the interface mode, and advertising's autoneg bit, removing any media ethtool link modes that would not be supportable from the supported mask. Phylink will propagate the changes to the advertising mask. See the :c:type:`struct phylink_mac_ops ` validate() method.h](hValidate the interface mode, and advertising’s autoneg bit, removing any media ethtool link modes that would not be supportable from the supported mask. Phylink will propagate the changes to the advertising mask. See the }(hjhhhNhNubh)}(h2:c:type:`struct phylink_mac_ops `h]j)}(hjh]hstruct phylink_mac_ops}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_mac_opsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM)hjubh validate() method.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj hM)hjubjl)}(hReturns -EINVAL if the interface mode/autoneg mode is not supported. Returns non-zero positive if the link state can be supported.h]hReturns -EINVAL if the interface mode/autoneg mode is not supported. Returns non-zero positive if the link state can be supported.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM.hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_inband_caps (C function)c.pcs_inband_capshNtauh1hhjhhhNhNubh)}(hhh](j)}(hQunsigned int pcs_inband_caps (struct phylink_pcs *pcs, phy_interface_t interface)h]j )}(hPunsigned int pcs_inband_caps(struct phylink_pcs *pcs, phy_interface_t interface)h](jM )}(hunsignedh]hunsigned}(hjFhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM6ubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBhhhjThM6ubjM )}(hinth]hint}(hjchhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjBhhhjThM6ubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBhhhjThM6ubj3)}(hpcs_inband_capsh]j9)}(hpcs_inband_capsh]hpcs_inband_caps}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjBhhhjThM6ubj )}(h4(struct phylink_pcs *pcs, phy_interface_t interface)h](j )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.pcs_inband_capsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.pcs_inband_capsasbuh1hhj ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(h interfaceh]h interface}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjBhhhjThM6ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj>hhhjThM6ubah}(h]j9ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjThM6hj;hhubjg)}(hhh]jl)}(h2query PCS in-band capabilities for interface mode.h]h2query PCS in-band capabilities for interface mode.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM6hjghhubah}(h]h ]h"]h$]h&]uh1jfhj;hhhjThM6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. ``phy_interface_t interface`` interface mode to be queried **Description** Returns zero if it is unknown what in-band signalling is supported by the PHY (e.g. because the PHY driver doesn't implement the method.) Otherwise, returns a bit mask of the LINK_INBAND_* values from :c:type:`enum link_inband_signalling ` to describe which inband modes are supported for this interface mode.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM:hjubj)}(hhh](j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM7hjubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhjhM7hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjubj)}(h;``phy_interface_t interface`` interface mode to be queried h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM8hjubj)}(hhh]jl)}(hinterface mode to be queriedh]hinterface mode to be queried}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjBh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM:hjubjl)}(hXMReturns zero if it is unknown what in-band signalling is supported by the PHY (e.g. because the PHY driver doesn't implement the method.) Otherwise, returns a bit mask of the LINK_INBAND_* values from :c:type:`enum link_inband_signalling ` to describe which inband modes are supported for this interface mode.h](hReturns zero if it is unknown what in-band signalling is supported by the PHY (e.g. because the PHY driver doesn’t implement the method.) Otherwise, returns a bit mask of the LINK_INBAND_* values from }(hjXhhhNhNubh)}(h>:c:type:`enum link_inband_signalling `h]j)}(hjbh]henum link_inband_signalling}(hjdhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjlink_inband_signallinguh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM9hjXubhF to describe which inband modes are supported for this interface mode.}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM9hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_enable (C function) c.pcs_enablehNtauh1hhjhhhNhNubh)}(hhh](j)}(h(int pcs_enable (struct phylink_pcs *pcs)h]j )}(h'int pcs_enable(struct phylink_pcs *pcs)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMDubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMDubj3)}(h pcs_enableh]j9)}(h pcs_enableh]h pcs_enable}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMDubj )}(h(struct phylink_pcs *pcs)h]j )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.pcs_enableasbuh1hhjubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpcsh]hpcs}(hj@hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMDubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMDubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMDhjhhubjg)}(hhh]jl)}(henable the PCS.h]henable the PCS.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMDhjghhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hh**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMHhjubj)}(hhh]j)}(hV``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `.h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMJhjubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMEhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_disable (C function) c.pcs_disablehNtauh1hhjhhhNhNubh)}(hhh](j)}(h*void pcs_disable (struct phylink_pcs *pcs)h]j )}(h)void pcs_disable(struct phylink_pcs *pcs)h](jM )}(hvoidh]hvoid}(hj(hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj$hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMJubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$hhhj6hMJubj3)}(h pcs_disableh]j9)}(h pcs_disableh]h pcs_disable}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj$hhhj6hMJubj )}(h(struct phylink_pcs *pcs)h]j )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jKsb c.pcs_disableasbuh1hhjaubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjaubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjaubj9)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj]ubah}(h]h ]h"]h$]h&]jPjQuh1j hj$hhhj6hMJubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj6hMJubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj6hMJhjhhubjg)}(hhh]jl)}(hdisable the PCS.h]hdisable the PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMJhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhj6hMJubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hh**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMNhjubj)}(hhh]j)}(hV``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `.h](j)}(h``struct phylink_pcs *pcs``h]j)}(hj)h]hstruct phylink_pcs *pcs}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMPhj#ubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjBhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjLh]hstruct phylink_pcs}(hjNhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMKhjBubh.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjihMKhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMPhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_get_state (C function)c.pcs_get_statehNtauh1hhjhhhNhNubh)}(hhh](j)}(hevoid pcs_get_state (struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state)h]j )}(hdvoid pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMPubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMPubj3)}(h pcs_get_stateh]j9)}(h pcs_get_stateh]h pcs_get_state}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMPubj )}(hR(struct phylink_pcs *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](j )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.pcs_get_stateasbuh1hhjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpcsh]hpcs}(hj<hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int neg_modeh](jM )}(hunsignedh]hunsigned}(hjUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubjM )}(hinth]hint}(hjqhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQubj9)}(hneg_modeh]hneg_mode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h struct phylink_link_state *stateh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.pcs_get_stateasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hstateh]hstate}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMPubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMPubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMPhjhhubjg)}(hhh]jl)}(h4Read the current inband link state from the hardwareh]h4Read the current inband link state from the hardware}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMPhj$hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMPubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. ``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) ``struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. **Description** Read the current inband link state from the MAC PCS, reporting the current speed in **state->speed**, duplex mode in **state->duplex**, pause mode in **state->pause** using the ``MLO_PAUSE_RX`` and ``MLO_PAUSE_TX`` bits, negotiation completion state in **state->an_complete**, and link up state in **state->link**. If possible, **state->lp_advertising** should also be populated. Note that the **neg_mode** parameter is always the PHYLINK_PCS_NEG_xxx state, not MLO_AN_xxx.h](jl)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMThjCubj)}(hhh](j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjhh]hstruct phylink_pcs *pcs}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMQhjbubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhj}hMQhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj}hMQhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMQhj_ubj)}(hF``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) h](j)}(h``unsigned int neg_mode``h]j)}(hjh]hunsigned int neg_mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMRhjubj)}(hhh]jl)}(h+link negotiation mode (PHYLINK_PCS_NEG_xxx)h]h+link negotiation mode (PHYLINK_PCS_NEG_xxx)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhj_ubj)}(hn``struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. h](j)}(h$``struct phylink_link_state *state``h]j)}(hjh]h struct phylink_link_state *state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMShjubj)}(hhh]jl)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hjhhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hj h]hstruct phylink_link_state}(hj"hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_link_stateuh1hhjhMShjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShj_ubeh}(h]h ]h"]h$]h&]uh1jhjCubjl)}(h**Description**h]j)}(hj[h]h Description}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMUhjCubjl)}(hX{Read the current inband link state from the MAC PCS, reporting the current speed in **state->speed**, duplex mode in **state->duplex**, pause mode in **state->pause** using the ``MLO_PAUSE_RX`` and ``MLO_PAUSE_TX`` bits, negotiation completion state in **state->an_complete**, and link up state in **state->link**. If possible, **state->lp_advertising** should also be populated.h](hTRead the current inband link state from the MAC PCS, reporting the current speed in }(hjqhhhNhNubj)}(h**state->speed**h]h state->speed}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh, duplex mode in }(hjqhhhNhNubj)}(h**state->duplex**h]h state->duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh, pause mode in }(hjqhhhNhNubj)}(h**state->pause**h]h state->pause}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh using the }(hjqhhhNhNubj)}(h``MLO_PAUSE_RX``h]h MLO_PAUSE_RX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh and }(hjqhhhNhNubj)}(h``MLO_PAUSE_TX``h]h MLO_PAUSE_TX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh' bits, negotiation completion state in }(hjqhhhNhNubj)}(h**state->an_complete**h]hstate->an_complete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh, and link up state in }(hjqhhhNhNubj)}(h**state->link**h]h state->link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh. If possible, }(hjqhhhNhNubj)}(h**state->lp_advertising**h]hstate->lp_advertising}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh should also be populated.}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMThjCubjl)}(h]Note that the **neg_mode** parameter is always the PHYLINK_PCS_NEG_xxx state, not MLO_AN_xxx.h](hNote that the }(hjhhhNhNubj)}(h **neg_mode**h]hneg_mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhC parameter is always the PHYLINK_PCS_NEG_xxx state, not MLO_AN_xxx.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM[hjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_config (C function) c.pcs_confighNtauh1hhjhhhNhNubh)}(hhh](j)}(hint pcs_config (struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac)h]j )}(hint pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac)h](jM )}(hinth]hint}(hjQhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjMhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMcubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMhhhj_hMcubj3)}(h pcs_configh]j9)}(h pcs_configh]h pcs_config}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjMhhhj_hMcubj )}(h(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac)h](j )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jtsb c.pcs_configasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int neg_modeh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hneg_modeh]hneg_mode}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNj j )}j ]j c.pcs_configasbuh1hhjMubj")}(h h]h }(hjrhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjMubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h const unsigned long *advertisingh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(h advertisingh]h advertising}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hbool permit_pause_to_mach](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hpermit_pause_to_mach]hpermit_pause_to_mac}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjMhhhj_hMcubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjIhhhj_hMcubah}(h]jDah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj_hMchjFhhubjg)}(hhh]jl)}(h(Configure the PCS mode and advertisementh]h(Configure the PCS mode and advertisement}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMchjThhubah}(h]h ]h"]h$]h&]uh1jfhjFhhhj_hMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. ``unsigned int neg_mode`` link negotiation mode (see below) ``phy_interface_t interface`` interface mode to be used ``const unsigned long *advertising`` adertisement ethtool link mode mask ``bool permit_pause_to_mac`` permit forwarding pause resolution to MAC **Description** Configure the PCS for the operating mode, the interface mode, and set the advertisement mask. **permit_pause_to_mac** indicates whether the hardware may forward the pause mode resolution to the MAC. When operating in ``MLO_AN_INBAND``, inband should always be enabled, otherwise inband should be disabled. For SGMII, there is no advertisement from the MAC side, the PCS should be programmed to acknowledge the inband word from the PHY. For 1000BASE-X, the advertisement should be programmed into the PCS. For most 10GBASE-R, there is no advertisement. The ``neg_mode`` argument should be tested via the phylink_mode_*() family of functions, or for PCS that set pcs->neg_mode true, should be tested against the PHYLINK_PCS_NEG_* definitions. pcs_config() will be called when configuration of the PCS is required or when the advertisement is possibly updated. It must not unnecessarily disrupt an established link. When an autonegotiation restart is required for 802.3z modes, .pcs_config() should return a positive non-zero integer (e.g. 1) to indicate to phylink to call the pcs_an_restart() method.h](jl)}(h**Parameters**h]j)}(hjyh]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMghjsubj)}(hhh](j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMdhjubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhjhMdhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubj)}(h<``unsigned int neg_mode`` link negotiation mode (see below) h](j)}(h``unsigned int neg_mode``h]j)}(hjh]hunsigned int neg_mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMehjubj)}(hhh]jl)}(h!link negotiation mode (see below)h]h!link negotiation mode (see below)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMehj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMehjubj)}(h8``phy_interface_t interface`` interface mode to be used h](j)}(h``phy_interface_t interface``h]j)}(hj-h]hphy_interface_t interface}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMfhj'ubj)}(hhh]jl)}(hinterface mode to be usedh]hinterface mode to be used}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMfhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMfhjubj)}(hI``const unsigned long *advertising`` adertisement ethtool link mode mask h](j)}(h$``const unsigned long *advertising``h]j)}(hjfh]h const unsigned long *advertising}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMghj`ubj)}(hhh]jl)}(h#adertisement ethtool link mode maskh]h#adertisement ethtool link mode mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj{hMghj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMghjubj)}(hG``bool permit_pause_to_mac`` permit forwarding pause resolution to MAC h](j)}(h``bool permit_pause_to_mac``h]j)}(hjh]hbool permit_pause_to_mac}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhhjubj)}(hhh]jl)}(h)permit forwarding pause resolution to MACh]h)permit forwarding pause resolution to MAC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjubeh}(h]h ]h"]h$]h&]uh1jhjsubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMjhjsubjl)}(hConfigure the PCS for the operating mode, the interface mode, and set the advertisement mask. **permit_pause_to_mac** indicates whether the hardware may forward the pause mode resolution to the MAC.h](h^Configure the PCS for the operating mode, the interface mode, and set the advertisement mask. }(hjhhhNhNubj)}(h**permit_pause_to_mac**h]hpermit_pause_to_mac}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhQ indicates whether the hardware may forward the pause mode resolution to the MAC.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMihjsubjl)}(hjWhen operating in ``MLO_AN_INBAND``, inband should always be enabled, otherwise inband should be disabled.h](hWhen operating in }(hjhhhNhNubj)}(h``MLO_AN_INBAND``h]h MLO_AN_INBAND}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhG, inband should always be enabled, otherwise inband should be disabled.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMmhjsubjl)}(hFor SGMII, there is no advertisement from the MAC side, the PCS should be programmed to acknowledge the inband word from the PHY.h]hFor SGMII, there is no advertisement from the MAC side, the PCS should be programmed to acknowledge the inband word from the PHY.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMphjsubjl)}(hDFor 1000BASE-X, the advertisement should be programmed into the PCS.h]hDFor 1000BASE-X, the advertisement should be programmed into the PCS.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMshjsubjl)}(h.For most 10GBASE-R, there is no advertisement.h]h.For most 10GBASE-R, there is no advertisement.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMuhjsubjl)}(hThe ``neg_mode`` argument should be tested via the phylink_mode_*() family of functions, or for PCS that set pcs->neg_mode true, should be tested against the PHYLINK_PCS_NEG_* definitions.h](hThe }(hj_hhhNhNubj)}(h ``neg_mode``h]hneg_mode}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh argument should be tested via the phylink_mode_*() family of functions, or for PCS that set pcs->neg_mode true, should be tested against the PHYLINK_PCS_NEG_* definitions.}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMwhjsubjl)}(hpcs_config() will be called when configuration of the PCS is required or when the advertisement is possibly updated. It must not unnecessarily disrupt an established link.h]hpcs_config() will be called when configuration of the PCS is required or when the advertisement is possibly updated. It must not unnecessarily disrupt an established link.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM{hjsubjl)}(hWhen an autonegotiation restart is required for 802.3z modes, .pcs_config() should return a positive non-zero integer (e.g. 1) to indicate to phylink to call the pcs_an_restart() method.h]hWhen an autonegotiation restart is required for 802.3z modes, .pcs_config() should return a positive non-zero integer (e.g. 1) to indicate to phylink to call the pcs_an_restart() method.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_an_restart (C function)c.pcs_an_restarthNtauh1hhjhhhNhNubh)}(hhh](j)}(h-void pcs_an_restart (struct phylink_pcs *pcs)h]j )}(h,void pcs_an_restart(struct phylink_pcs *pcs)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hpcs_an_restarth]j9)}(hpcs_an_restarth]hpcs_an_restart}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phylink_pcs *pcs)h]j )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.pcs_an_restartasbuh1hhjubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpcsh]hpcs}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h$restart 802.3z BaseX autonegotiationh]h$restart 802.3z BaseX autonegotiation}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj{hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. **Description** When PCS ops are present, this overrides mac_an_restart() in :c:type:`struct phylink_mac_ops `.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(hpWhen PCS ops are present, this overrides mac_an_restart() in :c:type:`struct phylink_mac_ops `.h](h=When PCS ops are present, this overrides mac_an_restart() in }(hj3hhhNhNubh)}(h2:c:type:`struct phylink_mac_ops `h]j)}(hj=h]hstruct phylink_mac_ops}(hj?hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_mac_opsuh1hhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj3ubh.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjZhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_link_up (C function) c.pcs_link_uphNtauh1hhjhhhNhNubh)}(hhh](j)}(hsvoid pcs_link_up (struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex)h]j )}(hrvoid pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h pcs_link_uph]j9)}(h pcs_link_uph]h pcs_link_up}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(hb(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex)h](j )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsb c.pcs_link_upasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpcsh]hpcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int neg_modeh](jM )}(hunsignedh]hunsigned}(hj4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0ubj")}(h h]h }(hjBhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubjM )}(hinth]hint}(hjPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0ubj9)}(hneg_modeh]hneg_mode}(hjlhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j c.pcs_link_upasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int speedh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hspeedh]hspeed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h int duplexh](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hduplexh]hduplex}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj}hhhjhMubah}(h]jxah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjzhhubjg)}(hhh]jl)}(h3program the PCS for the resolved link configurationh]h3program the PCS for the resolved link configuration}(hjH hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjE hhubah}(h]h ]h"]h$]h&]uh1jfhjzhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj` jj` jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. ``unsigned int neg_mode`` link negotiation mode (see below) ``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode ``int speed`` link speed ``int duplex`` link duplex **Description** This call will be made just before mac_link_up() to inform the PCS of the resolved link parameters. For example, a PCS operating in SGMII mode without in-band AN needs to be manually configured for the link and duplex setting. Otherwise, this should be a no-op. The ``mode`` argument should be tested via the phylink_mode_*() family of functions, or for PCS that set pcs->neg_mode true, should be tested against the PHYLINK_PCS_NEG_* definitions.h](jl)}(h**Parameters**h]j)}(hjj h]h Parameters}(hjl hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjd ubj)}(hhh](j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hj h]hstruct phylink_pcs *pcs}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hj hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hj h]hstruct phylink_pcs}(hj hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhj hMhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h<``unsigned int neg_mode`` link negotiation mode (see below) h](j)}(h``unsigned int neg_mode``h]j)}(hj h]hunsigned int neg_mode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubj)}(hhh]jl)}(h!link negotiation mode (see below)h]h!link negotiation mode (see below)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h``phy_interface_t interface``h]j)}(hj h]hphy_interface_t interface}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubj)}(hhh]jl)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hj7 hhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjA h]htypedef phy_interface_t}(hjC hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj? ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhj3 hMhj7 ubh mode}(hj7 hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj3 hMhj4 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj3 hMhj ubj)}(h``int speed`` link speed h](j)}(h ``int speed``h]j)}(hjz h]h int speed}(hj| hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjt ubj)}(hhh]jl)}(h link speedh]h link speed}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjt ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h``int duplex`` link duplex h](j)}(h``int duplex``h]j)}(hj h]h int duplex}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubj)}(hhh]jl)}(h link duplexh]h link duplex}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubeh}(h]h ]h"]h$]h&]uh1jhjd ubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjd ubjl)}(hXThis call will be made just before mac_link_up() to inform the PCS of the resolved link parameters. For example, a PCS operating in SGMII mode without in-band AN needs to be manually configured for the link and duplex setting. Otherwise, this should be a no-op.h]hXThis call will be made just before mac_link_up() to inform the PCS of the resolved link parameters. For example, a PCS operating in SGMII mode without in-band AN needs to be manually configured for the link and duplex setting. Otherwise, this should be a no-op.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjd ubjl)}(hThe ``mode`` argument should be tested via the phylink_mode_*() family of functions, or for PCS that set pcs->neg_mode true, should be tested against the PHYLINK_PCS_NEG_* definitions.h](hThe }(hj hhhNhNubj)}(h``mode``h]hmode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh argument should be tested via the phylink_mode_*() family of functions, or for PCS that set pcs->neg_mode true, should be tested against the PHYLINK_PCS_NEG_* definitions.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjd ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_disable_eee (C function)c.pcs_disable_eeehNtauh1hhjhhhNhNubh)}(hhh](j)}(h.void pcs_disable_eee (struct phylink_pcs *pcs)h]j )}(h-void pcs_disable_eee(struct phylink_pcs *pcs)h](jM )}(hvoidh]hvoid}(hjT hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjP hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjc hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjP hhhjb hMubj3)}(hpcs_disable_eeeh]j9)}(hpcs_disable_eeeh]hpcs_disable_eee}(hju hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjq ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjP hhhjb hMubj )}(h(struct phylink_pcs *pcs)h]j )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNj j )}j ]j )}j jw sbc.pcs_disable_eeeasbuh1hhj ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj )}(hj h]h*}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj ubj9)}(hpcsh]hpcs}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj ubah}(h]h ]h"]h$]h&]jPjQuh1j hjP hhhjb hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjL hhhjb hMubah}(h]jG ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjb hMhjI hhubjg)}(hhh]jl)}(hDisable EEE at the PCSh]hDisable EEE at the PCS}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjI hhhjb hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj, jj, jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs ` **Description** Optional method informing the PCS that EEE has been disabled at the MAC.h](jl)}(h**Parameters**h]j)}(hj6 h]h Parameters}(hj8 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4 ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj0 ubj)}(hhh]j)}(hV``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs ` h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjU h]hstruct phylink_pcs *pcs}(hjW hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjO ubj)}(hhh]jl)}(h9a pointer to a :c:type:`struct phylink_pcs `h](ha pointer to a }(hjn hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjx h]hstruct phylink_pcs}(hjz hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjv ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhjj hMhjn ubeh}(h]h ]h"]h$]h&]uh1jkhjj hMhjk ubah}(h]h ]h"]h$]h&]uh1jhjO ubeh}(h]h ]h"]h$]h&]uh1jhjj hMhjL ubah}(h]h ]h"]h$]h&]uh1jhj0 ubjl)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj0 ubjl)}(hHOptional method informing the PCS that EEE has been disabled at the MAC.h]hHOptional method informing the PCS that EEE has been disabled at the MAC.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj0 ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_enable_eee (C function)c.pcs_enable_eeehNtauh1hhjhhhNhNubh)}(hhh](j)}(h-void pcs_enable_eee (struct phylink_pcs *pcs)h]j )}(h,void pcs_enable_eee(struct phylink_pcs *pcs)h](jM )}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj hhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj hhhj hMubj3)}(hpcs_enable_eeeh]j9)}(hpcs_enable_eeeh]hpcs_enable_eee}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj hhhj hMubj )}(h(struct phylink_pcs *pcs)h]j )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hj1 hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj- ubj")}(h h]h }(hj> hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj- ubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjO hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjL ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQ modnameN classnameNj j )}j ]j )}j j sbc.pcs_enable_eeeasbuh1hhj- ubj")}(h h]h }(hjo hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj- ubj )}(hj h]h*}(hj} hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj- ubj9)}(hpcsh]hpcs}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj- ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj) ubah}(h]h ]h"]h$]h&]jPjQuh1j hj hhhj hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj hMhj hhubjg)}(hhh]jl)}(hEnable EEE at the PCSh]hEnable EEE at the PCS}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs ` **Description** Optional method informing the PCS that EEE is about to be enabled at the MAC.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubj)}(hhh]j)}(hV``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs ` h](j)}(h``struct phylink_pcs *pcs``h]j)}(hj h]hstruct phylink_pcs *pcs}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubj)}(hhh]jl)}(h9a pointer to a :c:type:`struct phylink_pcs `h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhj hMhjubeh}(h]h ]h"]h$]h&]uh1jkhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hjOh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubjl)}(hMOptional method informing the PCS that EEE is about to be enabled at the MAC.h]hMOptional method informing the PCS that EEE is about to be enabled at the MAC.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpcs_pre_init (C function)c.pcs_pre_inithNtauh1hhjhhhNhNubh)}(hhh](j)}(h*int pcs_pre_init (struct phylink_pcs *pcs)h]j )}(h)int pcs_pre_init(struct phylink_pcs *pcs)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(h pcs_pre_inith]j9)}(h pcs_pre_inith]h pcs_pre_init}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h(struct phylink_pcs *pcs)h]j )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.pcs_pre_initasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpcsh]hpcs}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(h9Configure PCS components necessary for MAC initializationh]h9Configure PCS components necessary for MAC initialization}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjQhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. **Description** This function can be called by MAC drivers through the phylink_pcs_pre_init() wrapper, before their hardware is initialized. It should not be called after the link is brought up, as reconfiguring the PCS at this point could break the link. Some MAC devices require specific hardware initialization to be performed by their associated PCS device before they can properly initialize their own hardware. An example of this is the initialization of stmmac controllers, which requires an active REF_CLK signal to be provided by the PHY/PCS. By calling phylink_pcs_pre_init(), MAC drivers can ensure that the PCS is setup in a way that allows for successful hardware initialization. The specific configuration performed by pcs_pre_init() is dependent on the model of PCS and the requirements of the MAC device attached to it. PCS driver authors should consider whether their target device is to be used in conjunction with a MAC device whose driver calls phylink_pcs_pre_init(). MAC driver authors should document their requirements for the PCS pre-initialization.h](jl)}(h**Parameters**h]j)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjpubj)}(hhh]j)}(hW``struct phylink_pcs *pcs`` a pointer to a :c:type:`struct phylink_pcs `. h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjh]hstruct phylink_pcs *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct phylink_pcs `.h](ha pointer to a }(hjhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjh]hstruct phylink_pcs}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhjhMhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjpubjl)}(hThis function can be called by MAC drivers through the phylink_pcs_pre_init() wrapper, before their hardware is initialized. It should not be called after the link is brought up, as reconfiguring the PCS at this point could break the link.h]hThis function can be called by MAC drivers through the phylink_pcs_pre_init() wrapper, before their hardware is initialized. It should not be called after the link is brought up, as reconfiguring the PCS at this point could break the link.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjpubjl)}(hX'Some MAC devices require specific hardware initialization to be performed by their associated PCS device before they can properly initialize their own hardware. An example of this is the initialization of stmmac controllers, which requires an active REF_CLK signal to be provided by the PHY/PCS.h]hX'Some MAC devices require specific hardware initialization to be performed by their associated PCS device before they can properly initialize their own hardware. An example of this is the initialization of stmmac controllers, which requires an active REF_CLK signal to be provided by the PHY/PCS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjpubjl)}(hBy calling phylink_pcs_pre_init(), MAC drivers can ensure that the PCS is setup in a way that allows for successful hardware initialization.h]hBy calling phylink_pcs_pre_init(), MAC drivers can ensure that the PCS is setup in a way that allows for successful hardware initialization.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjpubjl)}(hX}The specific configuration performed by pcs_pre_init() is dependent on the model of PCS and the requirements of the MAC device attached to it. PCS driver authors should consider whether their target device is to be used in conjunction with a MAC device whose driver calls phylink_pcs_pre_init(). MAC driver authors should document their requirements for the PCS pre-initialization.h]hX}The specific configuration performed by pcs_pre_init() is dependent on the model of PCS and the requirements of the MAC device attached to it. PCS driver authors should consider whether their target device is to be used in conjunction with a MAC device whose driver calls phylink_pcs_pre_init(). MAC driver authors should document their requirements for the PCS pre-initialization.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_get_link_timer_ns (C function)c.phylink_get_link_timer_nshNtauh1hhjhhhNhNubh)}(hhh](j)}(h9int phylink_get_link_timer_ns (phy_interface_t interface)h]j )}(h8int phylink_get_link_timer_ns(phy_interface_t interface)h](jM )}(hinth]hint}(hjehhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjahhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMubj")}(h h]h }(hjthhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjahhhjshMubj3)}(hphylink_get_link_timer_nsh]j9)}(hphylink_get_link_timer_nsh]hphylink_get_link_timer_ns}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjahhhjshMubj )}(h(phy_interface_t interface)h]j )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phylink_get_link_timer_nsasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjahhhjshMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj]hhhjshMubah}(h]jXah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjshMhjZhhubjg)}(hhh]jl)}(hreturn the PCS link timer valueh]hreturn the PCS link timer value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjZhhhjshMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode **Description** Return the PCS link timer setting in nanoseconds for the PHY **interface** mode, or -EINVAL if not appropriate.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubj)}(hhh]j)}(h\``phy_interface_t interface`` link :c:type:`typedef phy_interface_t ` mode h](j)}(h``phy_interface_t interface``h]j)}(hj>h]hphy_interface_t interface}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhj8ubj)}(hhh]jl)}(h=link :c:type:`typedef phy_interface_t ` modeh](hlink }(hjWhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjah]htypedef phy_interface_t}(hjchhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhjShMhjWubh mode}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubjl)}(hoReturn the PCS link timer setting in nanoseconds for the PHY **interface** mode, or -EINVAL if not appropriate.h](h=Return the PCS link timer setting in nanoseconds for the PHY }(hjhhhNhNubj)}(h **interface**h]h interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh% mode, or -EINVAL if not appropriate.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_mac_implements_lpi (C function)c.phylink_mac_implements_lpi;hNtauh1hhjhhhNhNubh)}(hhh](j)}(hCbool phylink_mac_implements_lpi (const struct phylink_mac_ops *ops)h]j )}(hBbool phylink_mac_implements_lpi(const struct phylink_mac_ops *ops)h](jM )}(hjh]hbool}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM*ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM*ubj3)}(hphylink_mac_implements_lpih]j9)}(hphylink_mac_implements_lpih]hphylink_mac_implements_lpi}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM*ubj )}(h#(const struct phylink_mac_ops *ops)h]j )}(h!const struct phylink_mac_ops *opsh](j)}(hj h]hconst}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj")}(h h]h }(hj<hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubj)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj")}(h h]h }(hjWhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubh)}(hhh]j9)}(hphylink_mac_opsh]hphylink_mac_ops}(hjhhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNj j )}j ]j )}j jsbc.phylink_mac_implements_lpiasbuh1hhj+ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj+ubj9)}(hopsh]hops}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj+ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj'ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM*ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM*ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM*hjhhubjg)}(hhh]jl)}(h#determine if MAC implements LPI opsh]h#determine if MAC implements LPI ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM*hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM*ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``const struct phylink_mac_ops *ops`` phylink_mac_ops structure **Description** Returns true if the phylink MAC operations structure indicates that the LPI operations have been implemented, false otherwise.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM.hjubj)}(hhh]j)}(h@``const struct phylink_mac_ops *ops`` phylink_mac_ops structure h](j)}(h%``const struct phylink_mac_ops *ops``h]j)}(hjh]h!const struct phylink_mac_ops *ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM+hjubj)}(hhh]jl)}(hphylink_mac_ops structureh]hphylink_mac_ops structure}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hM+hj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hM+hjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjIh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM-hjubjl)}(h~Returns true if the phylink MAC operations structure indicates that the LPI operations have been implemented, false otherwise.h]h~Returns true if the phylink MAC operations structure indicates that the LPI operations have been implemented, false otherwise.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhX/var/lib/git/docbuild/linux/Documentation/networking/kapi:147: ./include/linux/phylink.hhM,hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink (C struct) c.phylinkhNtauh1hhjhhhNhNubh)}(hhh](j)}(hphylinkh]j )}(hstruct phylinkh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphylinkh]j9)}(hjh]hphylink}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(hinternal data type for phylinkh]hinternal data type for phylink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK'hjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h6**Definition**:: struct phylink { }; **Members**h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK+hjubj)}(hstruct phylink { };h]hstruct phylink { };}hj sbah}(h]h ]h"]h$]h&]jPjQuh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK-hjubjl)}(h **Members**h]j)}(hjh]hMembers}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chK0hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_set_port_modes (C function)c.phylink_set_port_modeshNtauh1hhjhhhNhNubh)}(hhh](j)}(h1void phylink_set_port_modes (unsigned long *mask)h]j )}(h0void phylink_set_port_modes(unsigned long *mask)h](jM )}(hvoidh]hvoid}(hjThhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjPhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKubj")}(h h]h }(hjchhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPhhhjbhKubj3)}(hphylink_set_port_modesh]j9)}(hphylink_set_port_modesh]hphylink_set_port_modes}(hjuhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjqubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjPhhhjbhKubj )}(h(unsigned long *mask)h]j )}(hunsigned long *maskh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hmaskh]hmask}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjPhhhjbhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjLhhhjbhKubah}(h]jGah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjbhKhjIhhubjg)}(hhh]jl)}(h+set the port type modes in the ethtool maskh]h+set the port type modes in the ethtool mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjIhhhjbhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``unsigned long *mask`` ethtool link mode mask **Description** Sets all the port type modes in the ethtool mask.h](jl)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubj)}(hhh]j)}(h/``unsigned long *mask`` ethtool link mode mask h](j)}(h``unsigned long *mask``h]j)}(hjAh]hunsigned long *mask}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhj;ubj)}(hhh]jl)}(hethtool link mode maskh]hethtool link mode mask}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjVhKhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhKhj8ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj|h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubjl)}(h1Sets all the port type modes in the ethtool mask.h]h1Sets all the port type modes in the ethtool mask.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_interface_max_speed (C function)c.phylink_interface_max_speedhNtauh1hhjhhhNhNubh)}(hhh](j)}(h;int phylink_interface_max_speed (phy_interface_t interface)h]j )}(h:int phylink_interface_max_speed(phy_interface_t interface)h](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hphylink_interface_max_speedh]j9)}(hphylink_interface_max_speedh]hphylink_interface_max_speed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubj )}(h(phy_interface_t interface)h]j )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phylink_interface_max_speedasbuh1hhjubj")}(h h]h }(hj!hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hj/hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h(get the maximum speed of a phy interfaceh]h(get the maximum speed of a phy interface}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjVhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhjhNhNubj)}(hXe**Parameters** ``phy_interface_t interface`` phy interface mode defined by :c:type:`typedef phy_interface_t ` **Description** Determine the maximum speed of a phy interface. This is intended to help determine the correct speed to pass to the MAC when the phy is performing rate matching. **Return** The maximum speed of **interface**h](jl)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjuubj)}(hhh]j)}(hp``phy_interface_t interface`` phy interface mode defined by :c:type:`typedef phy_interface_t ` h](j)}(h``phy_interface_t interface``h]j)}(hjh]hphy_interface_t interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjubj)}(hhh]jl)}(hQphy interface mode defined by :c:type:`typedef phy_interface_t `h](hphy interface mode defined by }(hjhhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hjh]htypedef phy_interface_t}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhjhKhjubeh}(h]h ]h"]h$]h&]uh1jkhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjuubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjuubjl)}(hDetermine the maximum speed of a phy interface. This is intended to help determine the correct speed to pass to the MAC when the phy is performing rate matching.h]hDetermine the maximum speed of a phy interface. This is intended to help determine the correct speed to pass to the MAC when the phy is performing rate matching.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjuubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjuubjl)}(h"The maximum speed of **interface**h](hThe maximum speed of }(hj1hhhNhNubj)}(h **interface**h]h interface}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chKhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_caps_to_link_caps (C function)c.phylink_caps_to_link_capshNtauh1hhjhhhNhNubh)}(hhh](j)}(hubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMlhjubj)}(h3``unsigned long caps`` bitmask of MAC capabilities h](j)}(h``unsigned long caps``h]j)}(hjah]hunsigned long caps}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMmhj[ubj)}(hhh]jl)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjvhMmhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMmhjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMohjubjl)}(hSet all possible pause, speed and duplex linkmodes in **linkmodes** that are supported by the **caps**. **linkmodes** must have been initialised previously.h](h6Set all possible pause, speed and duplex linkmodes in }(hjhhhNhNubj)}(h **linkmodes**h]h linkmodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh that are supported by the }(hjhhhNhNubj)}(h**caps**h]hcaps}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubj)}(h **linkmodes**h]h linkmodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' must have been initialised previously.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMnhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_limit_mac_speed (C function)c.phylink_limit_mac_speedhNtauh1hhjhhhNhNubh)}(hhh](j)}(hKvoid phylink_limit_mac_speed (struct phylink_config *config, u32 max_speed)h]j )}(hJvoid phylink_limit_mac_speed(struct phylink_config *config, u32 max_speed)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj%hMubj3)}(hphylink_limit_mac_speedh]j9)}(hphylink_limit_mac_speedh]hphylink_limit_mac_speed}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj%hMubj )}(h.(struct phylink_config *config, u32 max_speed)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hjrhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNj j )}j ]j )}j j:sbc.phylink_limit_mac_speedasbuh1hhjPubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hconfigh]hconfig}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubj )}(h u32 max_speedh](h)}(hhh]j9)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.phylink_limit_mac_speedasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h max_speedh]h max_speed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjLubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj%hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj%hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj%hMhj hhubjg)}(hhh]jl)}(h+limit the phylink_config to a maximum speedh]h+limit the phylink_config to a maximum speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj%hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhjhNhNubj)}(hX=**Parameters** ``struct phylink_config *config`` pointer to a :c:type:`struct phylink_config ` ``u32 max_speed`` maximum speed **Description** Mask off MAC capabilities for speeds higher than the **max_speed** parameter. Any further motifications of config.mac_capabilities will override this.h](jl)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj;ubj)}(hhh](j)}(h```struct phylink_config *config`` pointer to a :c:type:`struct phylink_config ` h](j)}(h!``struct phylink_config *config``h]j)}(hj`h]hstruct phylink_config *config}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjZubj)}(hhh]jl)}(h=pointer to a :c:type:`struct phylink_config `h](h pointer to a }(hjyhhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hjh]hstruct phylink_config}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhjuhMhjyubeh}(h]h ]h"]h$]h&]uh1jkhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjWubj)}(h ``u32 max_speed`` maximum speed h](j)}(h``u32 max_speed``h]j)}(hjh]h u32 max_speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jl)}(h maximum speedh]h maximum speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjWubeh}(h]h ]h"]h$]h&]uh1jhj;ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj;ubjl)}(hMask off MAC capabilities for speeds higher than the **max_speed** parameter. Any further motifications of config.mac_capabilities will override this.h](h5Mask off MAC capabilities for speeds higher than the }(hj hhhNhNubj)}(h **max_speed**h]h max_speed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhT parameter. Any further motifications of config.mac_capabilities will override this.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_cap_from_speed_duplex (C function)c.phylink_cap_from_speed_duplexhNtauh1hhjhhhNhNubh)}(hhh](j)}(hLunsigned long phylink_cap_from_speed_duplex (int speed, unsigned int duplex)h]j )}(hKunsigned long phylink_cap_from_speed_duplex(int speed, unsigned int duplex)h](jM )}(hunsignedh]hunsigned}(hjJhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjYhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFhhhjXhMubjM )}(hlongh]hlong}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjFhhhjXhMubj")}(h h]h }(hjuhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjFhhhjXhMubj3)}(hphylink_cap_from_speed_duplexh]j9)}(hphylink_cap_from_speed_duplexh]hphylink_cap_from_speed_duplex}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjFhhhjXhMubj )}(h (int speed, unsigned int duplex)h](j )}(h int speedh](jM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hspeedh]hspeed}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int duplexh](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hduplexh]hduplex}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjFhhhjXhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjBhhhjXhMubah}(h]j=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXhMhj?hhubjg)}(hhh]jl)}(h$Get mac capability from speed/duplexh]h$Get mac capability from speed/duplex}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jfhj?hhhjXhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhjhNhNubj)}(hX!**Parameters** ``int speed`` the speed to search for ``unsigned int duplex`` the duplex to search for **Description** Find the mac capability for a given speed and duplex. **Return** A mask with the mac capability patching **speed** and **duplex**, or 0 if there were no matches.h](jl)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjVubj)}(hhh](j)}(h&``int speed`` the speed to search for h](j)}(h ``int speed``h]j)}(hj{h]h int speed}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjuubj)}(hhh]jl)}(hthe speed to search forh]hthe speed to search for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubj)}(h1``unsigned int duplex`` the duplex to search for h](j)}(h``unsigned int duplex``h]j)}(hjh]hunsigned int duplex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jl)}(hthe duplex to search forh]hthe duplex to search for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubeh}(h]h ]h"]h$]h&]uh1jhjVubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjVubjl)}(h5Find the mac capability for a given speed and duplex.h]h5Find the mac capability for a given speed and duplex.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjVubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjVubjl)}(h`A mask with the mac capability patching **speed** and **duplex**, or 0 if there were no matches.h](h(A mask with the mac capability patching }(hj,hhhNhNubj)}(h **speed**h]hspeed}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubh and }(hj,hhhNhNubj)}(h **duplex**h]hduplex}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubh , or 0 if there were no matches.}(hj,hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%phylink_get_capabilities (C function)c.phylink_get_capabilitieshNtauh1hhjhhhNhNubh)}(hhh](j)}(huunsigned long phylink_get_capabilities (phy_interface_t interface, unsigned long mac_capabilities, int rate_matching)h]j )}(htunsigned long phylink_get_capabilities(phy_interface_t interface, unsigned long mac_capabilities, int rate_matching)h](jM )}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhjhMubjM )}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{hhhjhMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhjhMubj3)}(hphylink_get_capabilitiesh]j9)}(hphylink_get_capabilitiesh]hphylink_get_capabilities}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{hhhjhMubj )}(hN(phy_interface_t interface, unsigned long mac_capabilities, int rate_matching)h](j )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phylink_get_capabilitiesasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(h interfaceh]h interface}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned long mac_capabilitiesh](jM )}(hunsignedh]hunsigned}(hj" hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hj0 hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubjM )}(hlongh]hlong}(hj> hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj ubj")}(h h]h }(hjL hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj ubj9)}(hmac_capabilitiesh]hmac_capabilities}(hjZ hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hint rate_matchingh](jM )}(hinth]hint}(hjs hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjo ubj")}(h h]h }(hj hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjo ubj9)}(h rate_matchingh]h rate_matching}(hj hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjo ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hj{hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwhhhjhMubah}(h]jrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjthhubjg)}(hhh]jl)}(h get capabilities for a given MACh]h get capabilities for a given MAC}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj hhubah}(h]h ]h"]h$]h&]uh1jfhjthhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(hXt**Parameters** ``phy_interface_t interface`` phy interface mode defined by :c:type:`typedef phy_interface_t ` ``unsigned long mac_capabilities`` bitmask of MAC capabilities ``int rate_matching`` type of rate matching being performed **Description** Get the MAC capabilities that are supported by the **interface** mode and **mac_capabilities**.h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj ubj)}(hhh](j)}(hp``phy_interface_t interface`` phy interface mode defined by :c:type:`typedef phy_interface_t ` h](j)}(h``phy_interface_t interface``h]j)}(hj h]hphy_interface_t interface}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj ubj)}(hhh]jl)}(hQphy interface mode defined by :c:type:`typedef phy_interface_t `h](hphy interface mode defined by }(hj!hhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hj!h]htypedef phy_interface_t}(hj!hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhj!hMhj!ubeh}(h]h ]h"]h$]h&]uh1jkhj!hMhj!ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj!hMhj ubj)}(h?``unsigned long mac_capabilities`` bitmask of MAC capabilities h](j)}(h"``unsigned long mac_capabilities``h]j)}(hjR!h]hunsigned long mac_capabilities}(hjT!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjL!ubj)}(hhh]jl)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(hjk!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjg!hMhjh!ubah}(h]h ]h"]h$]h&]uh1jhjL!ubeh}(h]h ]h"]h$]h&]uh1jhjg!hMhj ubj)}(h<``int rate_matching`` type of rate matching being performed h](j)}(h``int rate_matching``h]j)}(hj!h]hint rate_matching}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj!ubj)}(hhh]jl)}(h%type of rate matching being performedh]h%type of rate matching being performed}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj!hMhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubjl)}(h**Description**h]j)}(hj!h]h Description}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj ubjl)}(h_Get the MAC capabilities that are supported by the **interface** mode and **mac_capabilities**.h](h3Get the MAC capabilities that are supported by the }(hj!hhhNhNubj)}(h **interface**h]h interface}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh mode and }(hj!hhhNhNubj)}(h**mac_capabilities**h]hmac_capabilities}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh.}(hj!hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_validate_mask_caps (C function)c.phylink_validate_mask_capshNtauh1hhjhhhNhNubh)}(hhh](j)}(h|void phylink_validate_mask_caps (unsigned long *supported, struct phylink_link_state *state, unsigned long mac_capabilities)h]j )}(h{void phylink_validate_mask_caps(unsigned long *supported, struct phylink_link_state *state, unsigned long mac_capabilities)h](jM )}(hvoidh]hvoid}(hj/"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj+"hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hj>"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj+"hhhj="hMubj3)}(hphylink_validate_mask_capsh]j9)}(hphylink_validate_mask_capsh]hphylink_validate_mask_caps}(hjP"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjL"ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj+"hhhj="hMubj )}(h\(unsigned long *supported, struct phylink_link_state *state, unsigned long mac_capabilities)h](j )}(hunsigned long *supportedh](jM )}(hunsignedh]hunsigned}(hjl"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjh"ubj")}(h h]h }(hjz"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjh"ubjM )}(hlongh]hlong}(hj"hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjh"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjh"ubj )}(hj h]h*}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjh"ubj9)}(h supportedh]h supported}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjh"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjd"ubj )}(h struct phylink_link_state *stateh](j)}(hjh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj")}(h h]h }(hj"hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNj j )}j ]j )}j jR"sbc.phylink_validate_mask_capsasbuh1hhj"ubj")}(h h]h }(hj#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj"ubj )}(hj h]h*}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj"ubj9)}(hstateh]hstate}(hj##hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj"ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjd"ubj )}(hunsigned long mac_capabilitiesh](jM )}(hunsignedh]hunsigned}(hj<#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8#ubj")}(h h]h }(hjJ#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8#ubjM )}(hlongh]hlong}(hjX#hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj8#ubj")}(h h]h }(hjf#hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj8#ubj9)}(hmac_capabilitiesh]hmac_capabilities}(hjt#hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8#ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjd"ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj+"hhhj="hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj'"hhhj="hMubah}(h]j""ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj="hMhj$"hhubjg)}(hhh]jl)}(h!Restrict link modes based on capsh]h!Restrict link modes based on caps}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj#hhubah}(h]h ]h"]h$]h&]uh1jfhj$"hhhj="hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``unsigned long *supported`` ethtool bitmask for supported link modes. ``struct phylink_link_state *state`` pointer to a :c:type:`struct phylink_link_state `. ``unsigned long mac_capabilities`` bitmask of MAC capabilities **Description** Calculate the supported link modes based on **mac_capabilities**, and restrict **supported** and **state** based on that. Use this function if your capabiliies aren't constant, such as if they vary depending on the interface.h](jl)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj#ubj)}(hhh](j)}(hG``unsigned long *supported`` ethtool bitmask for supported link modes. h](j)}(h``unsigned long *supported``h]j)}(hj#h]hunsigned long *supported}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj#ubj)}(hhh]jl)}(h)ethtool bitmask for supported link modes.h]h)ethtool bitmask for supported link modes.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj#ubj)}(hl``struct phylink_link_state *state`` pointer to a :c:type:`struct phylink_link_state `. h](j)}(h$``struct phylink_link_state *state``h]j)}(hj$h]h struct phylink_link_state *state}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj$ubj)}(hhh]jl)}(hFpointer to a :c:type:`struct phylink_link_state `.h](h pointer to a }(hj1$hhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hj;$h]hstruct phylink_link_state}(hj=$hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj9$ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_link_stateuh1hhj-$hMhj1$ubh.}(hj1$hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj-$hMhj.$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj-$hMhj#ubj)}(h?``unsigned long mac_capabilities`` bitmask of MAC capabilities h](j)}(h"``unsigned long mac_capabilities``h]j)}(hjt$h]hunsigned long mac_capabilities}(hjv$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjn$ubj)}(hhh]jl)}(hbitmask of MAC capabilitiesh]hbitmask of MAC capabilities}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj$hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjn$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#ubjl)}(h**Description**h]j)}(hj$h]h Description}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj#ubjl)}(hCalculate the supported link modes based on **mac_capabilities**, and restrict **supported** and **state** based on that. Use this function if your capabiliies aren't constant, such as if they vary depending on the interface.h](h,Calculate the supported link modes based on }(hj$hhhNhNubj)}(h**mac_capabilities**h]hmac_capabilities}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubh, and restrict }(hj$hhhNhNubj)}(h **supported**h]h supported}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubh and }(hj$hhhNhNubj)}(h **state**h]hstate}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubhy based on that. Use this function if your capabiliies aren’t constant, such as if they vary depending on the interface.}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!phylink_pcs_neg_mode (C function)c.phylink_pcs_neg_modehNtauh1hhjhhhNhNubh)}(hhh](j)}(hvoid phylink_pcs_neg_mode (struct phylink *pl, struct phylink_pcs *pcs, phy_interface_t interface, const unsigned long *advertising)h]j )}(hvoid phylink_pcs_neg_mode(struct phylink *pl, struct phylink_pcs *pcs, phy_interface_t interface, const unsigned long *advertising)h](jM )}(hvoidh]hvoid}(hj*%hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&%hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM.ubj")}(h h]h }(hj9%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&%hhhj8%hM.ubj3)}(hphylink_pcs_neg_modeh]j9)}(hphylink_pcs_neg_modeh]hphylink_pcs_neg_mode}(hjK%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjG%ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj&%hhhj8%hM.ubj )}(hj(struct phylink *pl, struct phylink_pcs *pcs, phy_interface_t interface, const unsigned long *advertising)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjg%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjc%ubj")}(h h]h }(hjt%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc%ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j )}j jM%sbc.phylink_pcs_neg_modeasbuh1hhjc%ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjc%ubj )}(hj h]h*}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjc%ubj9)}(hplh]hpl}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjc%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_%ubj )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj")}(h h]h }(hj%hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hj%hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNj j )}j ]j%c.phylink_pcs_neg_modeasbuh1hhj%ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%ubj )}(hj h]h*}(hj#&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj%ubj9)}(hpcsh]hpcs}(hj0&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_%ubj )}(hphy_interface_t interfaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hjL&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjI&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjN&modnameN classnameNj j )}j ]j%c.phylink_pcs_neg_modeasbuh1hhjE&ubj")}(h h]h }(hjj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjE&ubj9)}(h interfaceh]h interface}(hjx&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjE&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_%ubj )}(h const unsigned long *advertisingh](j)}(hj h]hconst}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubjM )}(hunsignedh]hunsigned}(hj&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubjM )}(hlongh]hlong}(hj&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj&ubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj&ubj )}(hj h]h*}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj&ubj9)}(h advertisingh]h advertising}(hj&hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj_%ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj&%hhhj8%hM.ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj"%hhhj8%hM.ubah}(h]j%ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj8%hM.hj%hhubjg)}(hhh]jl)}(h#helper to determine PCS inband modeh]h#helper to determine PCS inband mode}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM.hj'hhubah}(h]h ]h"]h$]h&]uh1jfhj%hhhj8%hM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3'jj3'jjjuh1hhhhjhNhNubj)}(hXt**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct phylink_pcs *pcs`` a pointer to :c:type:`struct phylink_pcs ` ``phy_interface_t interface`` interface mode to be used ``const unsigned long *advertising`` adertisement ethtool link mode mask **Description** Determines the negotiation mode to be used by the PCS, and returns one of: - ``PHYLINK_PCS_NEG_NONE``: interface mode does not support inband - ``PHYLINK_PCS_NEG_OUTBAND``: an out of band mode (e.g. reading the PHY) will be used. - ``PHYLINK_PCS_NEG_INBAND_DISABLED``: inband mode selected but autoneg disabled - ``PHYLINK_PCS_NEG_INBAND_ENABLED``: inband mode selected and autoneg enabled **Note** this is for cases where the PCS itself is involved in negotiation (e.g. Clause 37, SGMII and similar) not Clause 73.h](jl)}(h**Parameters**h]j)}(hj='h]h Parameters}(hj?'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;'ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM2hj7'ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj\'h]hstruct phylink *pl}(hj^'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM/hjV'ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hju'hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj'h]hstruct phylink}(hj'hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj}'ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjq'hM/hju'ubh returned from phylink_create()}(hju'hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjq'hM/hjr'ubah}(h]h ]h"]h$]h&]uh1jhjV'ubeh}(h]h ]h"]h$]h&]uh1jhjq'hM/hjS'ubj)}(hT``struct phylink_pcs *pcs`` a pointer to :c:type:`struct phylink_pcs ` h](j)}(h``struct phylink_pcs *pcs``h]j)}(hj'h]hstruct phylink_pcs *pcs}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM0hj'ubj)}(hhh]jl)}(h7a pointer to :c:type:`struct phylink_pcs `h](h a pointer to }(hj'hhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hj'h]hstruct phylink_pcs}(hj'hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhj'hM0hj'ubeh}(h]h ]h"]h$]h&]uh1jkhj'hM0hj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM0hjS'ubj)}(h8``phy_interface_t interface`` interface mode to be used h](j)}(h``phy_interface_t interface``h]j)}(hj(h]hphy_interface_t interface}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM1hj (ubj)}(hhh]jl)}(hinterface mode to be usedh]hinterface mode to be used}(hj)(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%(hM1hj&(ubah}(h]h ]h"]h$]h&]uh1jhj (ubeh}(h]h ]h"]h$]h&]uh1jhj%(hM1hjS'ubj)}(hI``const unsigned long *advertising`` adertisement ethtool link mode mask h](j)}(h$``const unsigned long *advertising``h]j)}(hjI(h]h const unsigned long *advertising}(hjK(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG(ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM2hjC(ubj)}(hhh]jl)}(h#adertisement ethtool link mode maskh]h#adertisement ethtool link mode mask}(hjb(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj^(hM2hj_(ubah}(h]h ]h"]h$]h&]uh1jhjC(ubeh}(h]h ]h"]h$]h&]uh1jhj^(hM2hjS'ubeh}(h]h ]h"]h$]h&]uh1jhj7'ubjl)}(h**Description**h]j)}(hj(h]h Description}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM4hj7'ubjl)}(hJDetermines the negotiation mode to be used by the PCS, and returns one of:h]hJDetermines the negotiation mode to be used by the PCS, and returns one of:}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM3hj7'ubjUQ)}(hhh](jZQ)}(h@``PHYLINK_PCS_NEG_NONE``: interface mode does not support inbandh]jl)}(hj(h](j)}(h``PHYLINK_PCS_NEG_NONE``h]hPHYLINK_PCS_NEG_NONE}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh(: interface mode does not support inband}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM6hj(ubah}(h]h ]h"]h$]h&]uh1jYQhj(ubjZQ)}(hU``PHYLINK_PCS_NEG_OUTBAND``: an out of band mode (e.g. reading the PHY) will be used.h]jl)}(hU``PHYLINK_PCS_NEG_OUTBAND``: an out of band mode (e.g. reading the PHY) will be used.h](j)}(h``PHYLINK_PCS_NEG_OUTBAND``h]hPHYLINK_PCS_NEG_OUTBAND}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh:: an out of band mode (e.g. reading the PHY) will be used.}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM7hj(ubah}(h]h ]h"]h$]h&]uh1jYQhj(ubjZQ)}(hN``PHYLINK_PCS_NEG_INBAND_DISABLED``: inband mode selected but autoneg disabledh]jl)}(hN``PHYLINK_PCS_NEG_INBAND_DISABLED``: inband mode selected but autoneg disabledh](j)}(h#``PHYLINK_PCS_NEG_INBAND_DISABLED``h]hPHYLINK_PCS_NEG_INBAND_DISABLED}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh+: inband mode selected but autoneg disabled}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM9hj(ubah}(h]h ]h"]h$]h&]uh1jYQhj(ubjZQ)}(hM``PHYLINK_PCS_NEG_INBAND_ENABLED``: inband mode selected and autoneg enabled h]jl)}(hL``PHYLINK_PCS_NEG_INBAND_ENABLED``: inband mode selected and autoneg enabledh](j)}(h"``PHYLINK_PCS_NEG_INBAND_ENABLED``h]hPHYLINK_PCS_NEG_INBAND_ENABLED}(hj()hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$)ubh*: inband mode selected and autoneg enabled}(hj$)hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM;hj )ubah}(h]h ]h"]h$]h&]uh1jYQhj(ubeh}(h]h ]h"]h$]h&]j$Rj@uh1jTQhj(hM6hj7'ubjl)}(h**Note**h]j)}(hjO)h]hNote}(hjQ)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM)ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM=hj7'ubjl)}(htthis is for cases where the PCS itself is involved in negotiation (e.g. Clause 37, SGMII and similar) not Clause 73.h]htthis is for cases where the PCS itself is involved in negotiation (e.g. Clause 37, SGMII and similar) not Clause 73.}(hje)hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM>hj7'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_set_fixed_link (C function)c.phylink_set_fixed_linkhNtauh1hhjhhhNhNubh)}(hhh](j)}(hWint phylink_set_fixed_link (struct phylink *pl, const struct phylink_link_state *state)h]j )}(hVint phylink_set_fixed_link(struct phylink *pl, const struct phylink_link_state *state)h](jM )}(hinth]hint}(hj)hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj)hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)hhhj)hMubj3)}(hphylink_set_fixed_linkh]j9)}(hphylink_set_fixed_linkh]hphylink_set_fixed_link}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj)hhhj)hMubj )}(h<(struct phylink *pl, const struct phylink_link_state *state)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubj")}(h h]h }(hj)hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj)hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNj j )}j ]j )}j j)sbc.phylink_set_fixed_linkasbuh1hhj)ubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj)ubj )}(hj h]h*}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj)ubj9)}(hplh]hpl}(hj**hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj)ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubj )}(h&const struct phylink_link_state *stateh](j)}(hj h]hconst}(hjC*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?*ubj")}(h h]h }(hjP*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?*ubj)}(hjh]hstruct}(hj^*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?*ubj")}(h h]h }(hjk*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?*ubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hj|*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjy*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~*modnameN classnameNj j )}j ]j *c.phylink_set_fixed_linkasbuh1hhj?*ubj")}(h h]h }(hj*hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?*ubj )}(hj h]h*}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj?*ubj9)}(hstateh]hstate}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?*ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj)ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj)hhhj)hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj)hhhj)hMubah}(h]j)ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj)hMhj)hhubjg)}(hhh]jl)}(hset the fixed linkh]hset the fixed link}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj*hhubah}(h]h ]h"]h$]h&]uh1jfhj)hhhj)hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``const struct phylink_link_state *state`` a pointer to a struct phylink_link_state. **Description** This function is used when the link parameters are known and do not change, making it suitable for certain types of network connections. **Return** zero on success or negative error code.h](jl)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj*ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj +h]hstruct phylink *pl}(hj"+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj+ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj9+hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjC+h]hstruct phylink}(hjE+hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjA+ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj5+hMhj9+ubh returned from phylink_create()}(hj9+hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj5+hMhj6+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj5+hMhj+ubj)}(hU``const struct phylink_link_state *state`` a pointer to a struct phylink_link_state. h](j)}(h*``const struct phylink_link_state *state``h]j)}(hj|+h]h&const struct phylink_link_state *state}(hj~+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz+ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjv+ubj)}(hhh]jl)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj+hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjv+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMhj+ubeh}(h]h ]h"]h$]h&]uh1jhj*ubjl)}(h**Description**h]j)}(hj+h]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj*ubjl)}(hThis function is used when the link parameters are known and do not change, making it suitable for certain types of network connections.h]hThis function is used when the link parameters are known and do not change, making it suitable for certain types of network connections.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj*ubjl)}(h **Return**h]j)}(hj+h]hReturn}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj*ubjl)}(h'zero on success or negative error code.h]h'zero on success or negative error code.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_create (C function)c.phylink_createhNtauh1hhjhhhNhNubh)}(hhh](j)}(hstruct phylink * phylink_create (struct phylink_config *config, const struct fwnode_handle *fwnode, phy_interface_t iface, const struct phylink_mac_ops *mac_ops)h]j )}(hstruct phylink *phylink_create(struct phylink_config *config, const struct fwnode_handle *fwnode, phy_interface_t iface, const struct phylink_mac_ops *mac_ops)h](j)}(hjh]hstruct}(hj#,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM)ubj")}(h h]h }(hj1,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,hhhj0,hM)ubh)}(hhh]j9)}(hphylinkh]hphylink}(hjB,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjD,modnameN classnameNj j )}j ]j )}j phylink_createsbc.phylink_createasbuh1hhj,hhhj0,hM)ubj")}(h h]h }(hjc,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,hhhj0,hM)ubj )}(hj h]h*}(hjq,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,hhhj0,hM)ubj3)}(hphylink_createh]j9)}(hj`,h]hphylink_create}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj~,ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,hhhj0,hM)ubj )}(h(struct phylink_config *config, const struct fwnode_handle *fwnode, phy_interface_t iface, const struct phylink_mac_ops *mac_ops)h](j )}(hstruct phylink_config *configh](j)}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubh)}(hhh]j9)}(hphylink_configh]hphylink_config}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNj j )}j ]j^,c.phylink_createasbuh1hhj,ubj")}(h h]h }(hj,hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,ubj )}(hj h]h*}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj,ubj9)}(hconfigh]hconfig}(hj,hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj,ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubj )}(h"const struct fwnode_handle *fwnodeh](j)}(hj h]hconst}(hj -hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj -ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj -ubj)}(hjh]hstruct}(hj(-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj -ubj")}(h h]h }(hj5-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj -ubh)}(hhh]j9)}(h fwnode_handleh]h fwnode_handle}(hjF-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjC-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjH-modnameN classnameNj j )}j ]j^,c.phylink_createasbuh1hhj -ubj")}(h h]h }(hjd-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj -ubj )}(hj h]h*}(hjr-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj -ubj9)}(hfwnodeh]hfwnode}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj -ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubj )}(hphy_interface_t ifaceh](h)}(hhh]j9)}(hphy_interface_th]hphy_interface_t}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNj j )}j ]j^,c.phylink_createasbuh1hhj-ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubj9)}(hifaceh]hiface}(hj-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubj )}(h%const struct phylink_mac_ops *mac_opsh](j)}(hj h]hconst}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj")}(h h]h }(hj-hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubj)}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubj")}(h h]h }(hj.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubh)}(hhh]j9)}(hphylink_mac_opsh]hphylink_mac_ops}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNj j )}j ]j^,c.phylink_createasbuh1hhj-ubj")}(h h]h }(hj7.hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj-ubj )}(hj h]h*}(hjE.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj-ubj9)}(hmac_opsh]hmac_ops}(hjR.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj-ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj,hhhj0,hM)ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj,hhhj0,hM)ubah}(h]j,ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0,hM)hj,hhubjg)}(hhh]jl)}(hcreate a phylink instanceh]hcreate a phylink instance}(hj|.hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM)hjy.hhubah}(h]h ]h"]h$]h&]uh1jfhj,hhhj0,hM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhjhNhNubj)}(hXr**Parameters** ``struct phylink_config *config`` a pointer to the target :c:type:`struct phylink_config ` ``const struct fwnode_handle *fwnode`` a pointer to a :c:type:`struct fwnode_handle ` describing the network interface ``phy_interface_t iface`` the desired link mode defined by :c:type:`typedef phy_interface_t ` ``const struct phylink_mac_ops *mac_ops`` a pointer to a :c:type:`struct phylink_mac_ops ` for the MAC. **Description** Create a new phylink instance, and parse the link parameters found in **np**. This will parse in-band modes, fixed-link or SFP configuration. **Note** the rtnl lock must not be held when calling this function. Returns a pointer to a :c:type:`struct phylink `, or an error-pointer value. Users must use IS_ERR() to check for errors from this function.h](jl)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM-hj.ubj)}(hhh](j)}(hk``struct phylink_config *config`` a pointer to the target :c:type:`struct phylink_config ` h](j)}(h!``struct phylink_config *config``h]j)}(hj.h]hstruct phylink_config *config}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM*hj.ubj)}(hhh]jl)}(hHa pointer to the target :c:type:`struct phylink_config `h](ha pointer to the target }(hj.hhhNhNubh)}(h0:c:type:`struct phylink_config `h]j)}(hj.h]hstruct phylink_config}(hj.hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_configuh1hhj.hM*hj.ubeh}(h]h ]h"]h$]h&]uh1jkhj.hM*hj.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj.hM*hj.ubj)}(h``const struct fwnode_handle *fwnode`` a pointer to a :c:type:`struct fwnode_handle ` describing the network interface h](j)}(h&``const struct fwnode_handle *fwnode``h]j)}(hj/h]h"const struct fwnode_handle *fwnode}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM,hj/ubj)}(hhh]jl)}(h^a pointer to a :c:type:`struct fwnode_handle ` describing the network interfaceh](ha pointer to a }(hj./hhhNhNubh)}(h.:c:type:`struct fwnode_handle `h]j)}(hj8/h]hstruct fwnode_handle}(hj:/hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj6/ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj fwnode_handleuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+hj./ubh! describing the network interface}(hj./hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjU/hM+hj+/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj*/hM,hj.ubj)}(ho``phy_interface_t iface`` the desired link mode defined by :c:type:`typedef phy_interface_t ` h](j)}(h``phy_interface_t iface``h]j)}(hjr/h]hphy_interface_t iface}(hjt/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp/ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM-hjl/ubj)}(hhh]jl)}(hTthe desired link mode defined by :c:type:`typedef phy_interface_t `h](h!the desired link mode defined by }(hj/hhhNhNubh)}(h3:c:type:`typedef phy_interface_t `h]j)}(hj/h]htypedef phy_interface_t}(hj/hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphy_interface_tuh1hhj/hM-hj/ubeh}(h]h ]h"]h$]h&]uh1jkhj/hM-hj/ubah}(h]h ]h"]h$]h&]uh1jhjl/ubeh}(h]h ]h"]h$]h&]uh1jhj/hM-hj.ubj)}(hy``const struct phylink_mac_ops *mac_ops`` a pointer to a :c:type:`struct phylink_mac_ops ` for the MAC. h](j)}(h)``const struct phylink_mac_ops *mac_ops``h]j)}(hj/h]h%const struct phylink_mac_ops *mac_ops}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM.hj/ubj)}(hhh]jl)}(hNa pointer to a :c:type:`struct phylink_mac_ops ` for the MAC.h](ha pointer to a }(hj/hhhNhNubh)}(h2:c:type:`struct phylink_mac_ops `h]j)}(hj/h]hstruct phylink_mac_ops}(hj/hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_mac_opsuh1hhj/hM.hj/ubh for the MAC.}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj/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.ubjl)}(h**Description**h]j)}(hj(0h]h Description}(hj*0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&0ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM0hj.ubjl)}(hCreate a new phylink instance, and parse the link parameters found in **np**. This will parse in-band modes, fixed-link or SFP configuration.h](hFCreate a new phylink instance, and parse the link parameters found in }(hj>0hhhNhNubj)}(h**np**h]hnp}(hjF0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>0ubhA. This will parse in-band modes, fixed-link or SFP configuration.}(hj>0hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM/hj.ubjl)}(h**Note**h]j)}(hja0h]hNote}(hjc0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_0ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM2hj.ubjl)}(h:the rtnl lock must not be held when calling this function.h]h:the rtnl lock must not be held when calling this function.}(hjw0hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM3hj.ubjl)}(hReturns a pointer to a :c:type:`struct phylink `, or an error-pointer value. Users must use IS_ERR() to check for errors from this function.h](hReturns a pointer to a }(hj0hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj0h]hstruct phylink}(hj0hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM5hj0ubh\, or an error-pointer value. Users must use IS_ERR() to check for errors from this function.}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj0hM5hj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_destroy (C function)c.phylink_destroyhNtauh1hhjhhhNhNubh)}(hhh](j)}(h)void phylink_destroy (struct phylink *pl)h]j )}(h(void phylink_destroy(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hj0hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj0hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0hhhj0hMubj3)}(hphylink_destroyh]j9)}(hphylink_destroyh]hphylink_destroy}(hj0hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj0hhhj0hMubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj")}(h h]h }(hj"1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj31hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj01ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj51modnameN classnameNj j )}j ]j )}j j0sbc.phylink_destroyasbuh1hhj1ubj")}(h h]h }(hjS1hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj1ubj )}(hj h]h*}(hja1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj1ubj9)}(hplh]hpl}(hjn1hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj1ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj 1ubah}(h]h ]h"]h$]h&]jPjQuh1j hj0hhhj0hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj0hhhj0hMubah}(h]j0ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj0hMhj0hhubjg)}(hhh]jl)}(h(cleanup and destroy the phylink instanceh]h(cleanup and destroy the phylink instance}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1hhubah}(h]h ]h"]h$]h&]uh1jfhj0hhhj0hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhjhNhNubj)}(hXc**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Destroy a phylink instance. Any PHY that has been attached must have been cleaned up via phylink_disconnect_phy() prior to calling this function. **Note** the rtnl lock must not be held when calling this function.h](jl)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1ubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj1h]hstruct phylink *pl}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj1hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj1h]hstruct phylink}(hj1hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj1hMhj1ubh returned from phylink_create()}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubjl)}(h**Description**h]j)}(hj72h]h Description}(hj92hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj52ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1ubjl)}(hDestroy a phylink instance. Any PHY that has been attached must have been cleaned up via phylink_disconnect_phy() prior to calling this function.h]hDestroy a phylink instance. Any PHY that has been attached must have been cleaned up via phylink_disconnect_phy() prior to calling this function.}(hjM2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1ubjl)}(h**Note**h]j)}(hj^2h]hNote}(hj`2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\2ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1ubjl)}(h:the rtnl lock must not be held when calling this function.h]h:the rtnl lock must not be held when calling this function.}(hjt2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_expects_phy (C function)c.phylink_expects_phyhNtauh1hhjhhhNhNubh)}(hhh](j)}(h-bool phylink_expects_phy (struct phylink *pl)h]j )}(h,bool phylink_expects_phy(struct phylink *pl)h](jM )}(hjh]hbool}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj2hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2hhhj2hMubj3)}(hphylink_expects_phyh]j9)}(hphylink_expects_phyh]hphylink_expects_phy}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj2hhhj2hMubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj")}(h h]h }(hj2hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNj j )}j ]j )}j j2sbc.phylink_expects_phyasbuh1hhj2ubj")}(h h]h }(hj3hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj2ubj )}(hj h]h*}(hj+3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj2ubj9)}(hplh]hpl}(hj83hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj2ubah}(h]h ]h"]h$]h&]jPjQuh1j hj2hhhj2hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj2hhhj2hMubah}(h]j2ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj2hMhj2hhubjg)}(hhh]jl)}(h1Determine if phylink expects a phy to be attachedh]h1Determine if phylink expects a phy to be attached}(hjb3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj_3hhubah}(h]h ]h"]h$]h&]uh1jfhj2hhhj2hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjz3jjz3jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** When using fixed-link mode, or in-band mode with 1000base-X or 2500base-X, no PHY is needed. Returns true if phylink will be expecting a PHY.h](jl)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj~3ubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj3h]hstruct phylink *pl}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj3ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj3hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj3h]hstruct phylink}(hj3hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj3hMhj3ubh returned from phylink_create()}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj~3ubjl)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj~3ubjl)}(h\When using fixed-link mode, or in-band mode with 1000base-X or 2500base-X, no PHY is needed.h]h\When using fixed-link mode, or in-band mode with 1000base-X or 2500base-X, no PHY is needed.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj~3ubjl)}(h0Returns true if phylink will be expecting a PHY.h]h0Returns true if phylink will be expecting a PHY.}(hj&4hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj~3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_connect_phy (C function)c.phylink_connect_phyhNtauh1hhjhhhNhNubh)}(hhh](j)}(hDint phylink_connect_phy (struct phylink *pl, struct phy_device *phy)h]j )}(hCint phylink_connect_phy(struct phylink *pl, struct phy_device *phy)h](jM )}(hinth]hint}(hjU4hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjQ4hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjd4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjQ4hhhjc4hMubj3)}(hphylink_connect_phyh]j9)}(hphylink_connect_phyh]hphylink_connect_phy}(hjv4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjr4ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjQ4hhhjc4hMubj )}(h,(struct phylink *pl, struct phy_device *phy)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNj j )}j ]j )}j jx4sbc.phylink_connect_phyasbuh1hhj4ubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj4ubj )}(hj h]h*}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj4ubj9)}(hplh]hpl}(hj4hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubj )}(hstruct phy_device *phyh](j)}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj")}(h h]h }(hj5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubh)}(hhh]j9)}(h phy_deviceh]h phy_device}(hj"5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$5modnameN classnameNj j )}j ]j4c.phylink_connect_phyasbuh1hhj5ubj")}(h h]h }(hj@5hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj5ubj )}(hj h]h*}(hjN5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj5ubj9)}(hphyh]hphy}(hj[5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj5ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj4ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjQ4hhhjc4hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjM4hhhjc4hMubah}(h]jH4ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjc4hMhjJ4hhubjg)}(hhh]jl)}(h%connect a PHY to the phylink instanceh]h%connect a PHY to the phylink instance}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj5hhubah}(h]h ]h"]h$]h&]uh1jfhjJ4hhhjc4hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhjhNhNubj)}(hXJ**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct phy_device *phy`` a pointer to a :c:type:`struct phy_device `. **Description** Connect **phy** to the phylink instance specified by **pl** by calling phy_attach_direct(). Configure the **phy** according to the MAC driver's capabilities, start the PHYLIB state machine and enable any interrupts that the PHY supports. This updates the phylink's ethtool supported and advertising link mode masks. Returns 0 on success or a negative errno.h](jl)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj5ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj5h]hstruct phylink *pl}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj5ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj5hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj5h]hstruct phylink}(hj5hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj5hMhj5ubh returned from phylink_create()}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj5ubj)}(hT``struct phy_device *phy`` a pointer to a :c:type:`struct phy_device `. h](j)}(h``struct phy_device *phy``h]j)}(hj"6h]hstruct phy_device *phy}(hj$6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj6ubj)}(hhh]jl)}(h8a pointer to a :c:type:`struct phy_device `.h](ha pointer to a }(hj;6hhhNhNubh)}(h(:c:type:`struct phy_device `h]j)}(hjE6h]hstruct phy_device}(hjG6hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjC6ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phy_deviceuh1hhj76hMhj;6ubh.}(hj;6hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj76hMhj86ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj76hMhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5ubjl)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~6ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj5ubjl)}(hConnect **phy** to the phylink instance specified by **pl** by calling phy_attach_direct(). Configure the **phy** according to the MAC driver's capabilities, start the PHYLIB state machine and enable any interrupts that the PHY supports.h](hConnect }(hj6hhhNhNubj)}(h**phy**h]hphy}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh& to the phylink instance specified by }(hj6hhhNhNubj)}(h**pl**h]hpl}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh/ by calling phy_attach_direct(). Configure the }(hj6hhhNhNubj)}(h**phy**h]hphy}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh~ according to the MAC driver’s capabilities, start the PHYLIB state machine and enable any interrupts that the PHY supports.}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj5ubjl)}(hMThis updates the phylink's ethtool supported and advertising link mode masks.h]hOThis updates the phylink’s ethtool supported and advertising link mode masks.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj5ubjl)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_of_phy_connect (C function)c.phylink_of_phy_connecthNtauh1hhjhhhNhNubh)}(hhh](j)}(hRint phylink_of_phy_connect (struct phylink *pl, struct device_node *dn, u32 flags)h]j )}(hQint phylink_of_phy_connect(struct phylink *pl, struct device_node *dn, u32 flags)h](jM )}(hinth]hint}(hj7hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj7hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hj(7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7hhhj'7hMubj3)}(hphylink_of_phy_connecth]j9)}(hphylink_of_phy_connecth]hphylink_of_phy_connect}(hj:7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj67ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj7hhhj'7hMubj )}(h7(struct phylink *pl, struct device_node *dn, u32 flags)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjV7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjR7ubj")}(h h]h }(hjc7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjR7ubh)}(hhh]j9)}(hphylinkh]hphylink}(hjt7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjq7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjv7modnameN classnameNj j )}j ]j )}j j<7sbc.phylink_of_phy_connectasbuh1hhjR7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjR7ubj )}(hj h]h*}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjR7ubj9)}(hplh]hpl}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjR7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjN7ubj )}(hstruct device_node *dnh](j)}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubj")}(h h]h }(hj7hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubh)}(hhh]j9)}(h device_nodeh]h device_node}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNj j )}j ]j7c.phylink_of_phy_connectasbuh1hhj7ubj")}(h h]h }(hj8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj7ubj )}(hj h]h*}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj7ubj9)}(hdnh]hdn}(hj8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj7ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjN7ubj )}(h u32 flagsh](h)}(hhh]j9)}(hu32h]hu32}(hj;8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj88ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=8modnameN classnameNj j )}j ]j7c.phylink_of_phy_connectasbuh1hhj48ubj")}(h h]h }(hjY8hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj48ubj9)}(hflagsh]hflags}(hjg8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj48ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjN7ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj7hhhj'7hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj7hhhj'7hMubah}(h]j 7ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj'7hMhj7hhubjg)}(hhh]jl)}(h)connect the PHY specified in the DT mode.h]h)connect the PHY specified in the DT mode.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj8hhubah}(h]h ]h"]h$]h&]uh1jfhj7hhhj'7hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct device_node *dn`` a pointer to a :c:type:`struct device_node `. ``u32 flags`` PHY-specific flags to communicate to the PHY device driver **Description** Connect the phy specified in the device node **dn** to the phylink instance specified by **pl**. Actions specified in phylink_connect_phy() will be performed. Returns 0 on success or a negative errno.h](jl)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj8ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj8h]hstruct phylink *pl}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj8ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj8hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj8h]hstruct phylink}(hj8hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj8hMhj8ubh returned from phylink_create()}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMhj8ubj)}(hV``struct device_node *dn`` a pointer to a :c:type:`struct device_node `. h](j)}(h``struct device_node *dn``h]j)}(hj.9h]hstruct device_node *dn}(hj09hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj(9ubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct device_node `.h](ha pointer to a }(hjG9hhhNhNubh)}(h*:c:type:`struct device_node `h]j)}(hjQ9h]hstruct device_node}(hjS9hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjO9ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj device_nodeuh1hhjC9hMhjG9ubh.}(hjG9hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjC9hMhjD9ubah}(h]h ]h"]h$]h&]uh1jhj(9ubeh}(h]h ]h"]h$]h&]uh1jhjC9hMhj8ubj)}(hI``u32 flags`` PHY-specific flags to communicate to the PHY device driver h](j)}(h ``u32 flags``h]j)}(hj9h]h u32 flags}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj9ubj)}(hhh]jl)}(h:PHY-specific flags to communicate to the PHY device driverh]h:PHY-specific flags to communicate to the PHY device driver}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8ubjl)}(h**Description**h]j)}(hj9h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj8ubjl)}(hConnect the phy specified in the device node **dn** to the phylink instance specified by **pl**. Actions specified in phylink_connect_phy() will be performed.h](h-Connect the phy specified in the device node }(hj9hhhNhNubj)}(h**dn**h]hdn}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh& to the phylink instance specified by }(hj9hhhNhNubj)}(h**pl**h]hpl}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh?. Actions specified in phylink_connect_phy() will be performed.}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj8ubjl)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_fwnode_phy_connect (C function)c.phylink_fwnode_phy_connecthNtauh1hhjhhhNhNubh)}(hhh](j)}(hbint phylink_fwnode_phy_connect (struct phylink *pl, const struct fwnode_handle *fwnode, u32 flags)h]j )}(haint phylink_fwnode_phy_connect(struct phylink *pl, const struct fwnode_handle *fwnode, u32 flags)h](jM )}(hinth]hint}(hj=:hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj9:hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjL:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9:hhhjK:hMubj3)}(hphylink_fwnode_phy_connecth]j9)}(hphylink_fwnode_phy_connecth]hphylink_fwnode_phy_connect}(hj^:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZ:ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj9:hhhjK:hMubj )}(hC(struct phylink *pl, const struct fwnode_handle *fwnode, u32 flags)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjz:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjv:ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjv:ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNj j )}j ]j )}j j`:sbc.phylink_fwnode_phy_connectasbuh1hhjv:ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjv:ubj )}(hj h]h*}(hj:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjv:ubj9)}(hplh]hpl}(hj:hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjv:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjr:ubj )}(h"const struct fwnode_handle *fwnodeh](j)}(hj h]hconst}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj")}(h h]h }(hj:hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj)}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubh)}(hhh]j9)}(h fwnode_handleh]h fwnode_handle}(hj%;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj";ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj';modnameN classnameNj j )}j ]j:c.phylink_fwnode_phy_connectasbuh1hhj:ubj")}(h h]h }(hjC;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj:ubj )}(hj h]h*}(hjQ;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj:ubj9)}(hfwnodeh]hfwnode}(hj^;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjr:ubj )}(h u32 flagsh](h)}(hhh]j9)}(hu32h]hu32}(hjz;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjw;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|;modnameN classnameNj j )}j ]j:c.phylink_fwnode_phy_connectasbuh1hhjs;ubj")}(h h]h }(hj;hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjs;ubj9)}(hflagsh]hflags}(hj;hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjs;ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjr:ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj9:hhhjK:hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj5:hhhjK:hMubah}(h]j0:ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjK:hMhj2:hhubjg)}(hhh]jl)}(h(connect the PHY specified in the fwnode.h]h(connect the PHY specified in the fwnode.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj;hhubah}(h]h ]h"]h$]h&]uh1jfhj2:hhhjK:hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``const struct fwnode_handle *fwnode`` a pointer to a :c:type:`struct fwnode_handle `. ``u32 flags`` PHY-specific flags to communicate to the PHY device driver **Description** Connect the phy specified **fwnode** to the phylink instance specified by **pl**. Returns 0 on success or a negative errno.h](jl)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj;ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj<h]hstruct phylink *pl}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj <ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj*<hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj4<h]hstruct phylink}(hj6<hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj2<ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj&<hMhj*<ubh returned from phylink_create()}(hj*<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj&<hMhj'<ubah}(h]h ]h"]h$]h&]uh1jhj <ubeh}(h]h ]h"]h$]h&]uh1jhj&<hMhj<ubj)}(hf``const struct fwnode_handle *fwnode`` a pointer to a :c:type:`struct fwnode_handle `. h](j)}(h&``const struct fwnode_handle *fwnode``h]j)}(hjm<h]h"const struct fwnode_handle *fwnode}(hjo<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjg<ubj)}(hhh]jl)}(h>a pointer to a :c:type:`struct fwnode_handle `.h](ha pointer to a }(hj<hhhNhNubh)}(h.:c:type:`struct fwnode_handle `h]j)}(hj<h]hstruct fwnode_handle}(hj<hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj fwnode_handleuh1hhj<hMhj<ubh.}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj<hMhj<ubah}(h]h ]h"]h$]h&]uh1jhjg<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhj<ubj)}(hI``u32 flags`` PHY-specific flags to communicate to the PHY device driver h](j)}(h ``u32 flags``h]j)}(hj<h]h u32 flags}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj<ubj)}(hhh]jl)}(h:PHY-specific flags to communicate to the PHY device driverh]h:PHY-specific flags to communicate to the PHY device driver}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj<hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhj<ubeh}(h]h ]h"]h$]h&]uh1jhj;ubjl)}(h**Description**h]j)}(hj=h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj;ubjl)}(hQConnect the phy specified **fwnode** to the phylink instance specified by **pl**.h](hConnect the phy specified }(hj=hhhNhNubj)}(h **fwnode**h]hfwnode}(hj"=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh& to the phylink instance specified by }(hj=hhhNhNubj)}(h**pl**h]hpl}(hj4=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj;ubjl)}(h)Returns 0 on success or a negative errno.h]h)Returns 0 on success or a negative errno.}(hjM=hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_disconnect_phy (C function)c.phylink_disconnect_phyhNtauh1hhjhhhNhNubh)}(hhh](j)}(h0void phylink_disconnect_phy (struct phylink *pl)h]j )}(h/void phylink_disconnect_phy(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hj|=hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjx=hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjx=hhhj=hM ubj3)}(hphylink_disconnect_phyh]j9)}(hphylink_disconnect_phyh]hphylink_disconnect_phy}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjx=hhhj=hM ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj=hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNj j )}j ]j )}j j=sbc.phylink_disconnect_phyasbuh1hhj=ubj")}(h h]h }(hj=hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=ubj )}(hj h]h*}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=ubj9)}(hplh]hpl}(hj>hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj=ubah}(h]h ]h"]h$]h&]jPjQuh1j hjx=hhhj=hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjt=hhhj=hM ubah}(h]jo=ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj=hM hjq=hhubjg)}(hhh]jl)}(h4disconnect any PHY attached to the phylink instance.h]h4disconnect any PHY attached to the phylink instance.}(hj<>hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj9>hhubah}(h]h ]h"]h$]h&]uh1jfhjq=hhhj=hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjT>jjT>jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Disconnect any current PHY from the phylink instance described by **pl**.h](jl)}(h**Parameters**h]j)}(hj^>h]h Parameters}(hj`>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\>ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM$ hjX>ubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj}>h]hstruct phylink *pl}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM" hjw>ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj>hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj>h]hstruct phylink}(hj>hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj>hM" hj>ubh returned from phylink_create()}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj>hM" hj>ubah}(h]h ]h"]h$]h&]uh1jhjw>ubeh}(h]h ]h"]h$]h&]uh1jhj>hM" hjt>ubah}(h]h ]h"]h$]h&]uh1jhjX>ubjl)}(h**Description**h]j)}(hj>h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM$ hjX>ubjl)}(hIDisconnect any current PHY from the phylink instance described by **pl**.h](hBDisconnect any current PHY from the phylink instance described by }(hj>hhhNhNubj)}(h**pl**h]hpl}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh.}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM# hjX>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mac_change (C function)c.phylink_mac_changehNtauh1hhjhhhNhNubh)}(hhh](j)}(h5void phylink_mac_change (struct phylink *pl, bool up)h]j )}(h4void phylink_mac_change(struct phylink *pl, bool up)h](jM )}(hvoidh]hvoid}(hj2?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj.?hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMI ubj")}(h h]h }(hjA?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.?hhhj@?hMI ubj3)}(hphylink_mac_changeh]j9)}(hphylink_mac_changeh]hphylink_mac_change}(hjS?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjO?ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj.?hhhj@?hMI ubj )}(h(struct phylink *pl, bool up)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjo?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjk?ubj")}(h h]h }(hj|?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjk?ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNj j )}j ]j )}j jU?sbc.phylink_mac_changeasbuh1hhjk?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjk?ubj )}(hj h]h*}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjk?ubj9)}(hplh]hpl}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjk?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjg?ubj )}(hbool uph](jM )}(hjh]hbool}(hj?hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?ubj")}(h h]h }(hj?hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?ubj9)}(huph]hup}(hj?hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj?ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjg?ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj.?hhhj@?hMI ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj*?hhhj@?hMI ubah}(h]j%?ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj@?hMI hj'?hhubjg)}(hhh]jl)}(h'notify phylink of a change in MAC stateh]h'notify phylink of a change in MAC state}(hj&@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMI hj#@hhubah}(h]h ]h"]h$]h&]uh1jfhj'?hhhj@?hMI ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>@jj>@jjjuh1hhhhjhNhNubj)}(hXB**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``bool up`` indicates whether the link is currently up. **Description** The MAC driver should call this driver when the state of its link changes (eg, link failure, new negotiation results, etc.)h](jl)}(h**Parameters**h]j)}(hjH@h]h Parameters}(hjJ@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF@ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMM hjB@ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjg@h]hstruct phylink *pl}(hji@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMJ hja@ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj@hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj@h]hstruct phylink}(hj@hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj|@hMJ hj@ubh returned from phylink_create()}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj|@hMJ hj}@ubah}(h]h ]h"]h$]h&]uh1jhja@ubeh}(h]h ]h"]h$]h&]uh1jhj|@hMJ hj^@ubj)}(h8``bool up`` indicates whether the link is currently up. h](j)}(h ``bool up``h]j)}(hj@h]hbool up}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMK hj@ubj)}(hhh]jl)}(h+indicates whether the link is currently up.h]h+indicates whether the link is currently up.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj@hMK hj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMK hj^@ubeh}(h]h ]h"]h$]h&]uh1jhjB@ubjl)}(h**Description**h]j)}(hj@h]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMM hjB@ubjl)}(h{The MAC driver should call this driver when the state of its link changes (eg, link failure, new negotiation results, etc.)h]h{The MAC driver should call this driver when the state of its link changes (eg, link failure, new negotiation results, etc.)}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chML hjB@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_pcs_change (C function)c.phylink_pcs_changehNtauh1hhjhhhNhNubh)}(hhh](j)}(h:void phylink_pcs_change (struct phylink_pcs *pcs, bool up)h]j )}(h9void phylink_pcs_change(struct phylink_pcs *pcs, bool up)h](jM )}(hvoidh]hvoid}(hjCAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj?AhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMW ubj")}(h h]h }(hjRAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj?AhhhjQAhMW ubj3)}(hphylink_pcs_changeh]j9)}(hphylink_pcs_changeh]hphylink_pcs_change}(hjdAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`Aubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj?AhhhjQAhMW ubj )}(h"(struct phylink_pcs *pcs, bool up)h](j )}(hstruct phylink_pcs *pcsh](j)}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|Aubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|Aubh)}(hhh]j9)}(h phylink_pcsh]h phylink_pcs}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNj j )}j ]j )}j jfAsbc.phylink_pcs_changeasbuh1hhj|Aubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj|Aubj )}(hj h]h*}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj|Aubj9)}(hpcsh]hpcs}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj|Aubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxAubj )}(hbool uph](jM )}(hjh]hbool}(hjAhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjAubj")}(h h]h }(hjAhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjAubj9)}(huph]hup}(hj BhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjAubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjxAubeh}(h]h ]h"]h$]h&]jPjQuh1j hj?AhhhjQAhMW ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj;AhhhjQAhMW ubah}(h]j6Aah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjQAhMW hj8Ahhubjg)}(hhh]jl)}(h,notify phylink of a change to PCS link stateh]h,notify phylink of a change to PCS link state}(hj7BhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMW hj4Bhhubah}(h]h ]h"]h$]h&]uh1jfhj8AhhhjQAhMW ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOBjjOBjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink_pcs *pcs`` pointer to :c:type:`struct phylink_pcs ` ``bool up`` indicates whether the link is currently up. **Description** The PCS driver should call this when the state of its link changes (e.g. link failure, new negotiation results, etc.) Note: it should not determine "up" by reading the BMSR. If in doubt about the link state at interrupt time, then pass true if pcs_get_state() returns the latched link-down state, otherwise pass false.h](jl)}(h**Parameters**h]j)}(hjYBh]h Parameters}(hj[BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWBubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM[ hjSBubj)}(hhh](j)}(hR``struct phylink_pcs *pcs`` pointer to :c:type:`struct phylink_pcs ` h](j)}(h``struct phylink_pcs *pcs``h]j)}(hjxBh]hstruct phylink_pcs *pcs}(hjzBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMX hjrBubj)}(hhh]jl)}(h5pointer to :c:type:`struct phylink_pcs `h](h pointer to }(hjBhhhNhNubh)}(h*:c:type:`struct phylink_pcs `h]j)}(hjBh]hstruct phylink_pcs}(hjBhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj phylink_pcsuh1hhjBhMX hjBubeh}(h]h ]h"]h$]h&]uh1jkhjBhMX hjBubah}(h]h ]h"]h$]h&]uh1jhjrBubeh}(h]h ]h"]h$]h&]uh1jhjBhMX hjoBubj)}(h8``bool up`` indicates whether the link is currently up. h](j)}(h ``bool up``h]j)}(hjBh]hbool up}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMY hjBubj)}(hhh]jl)}(h+indicates whether the link is currently up.h]h+indicates whether the link is currently up.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjBhMY hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMY hjoBubeh}(h]h ]h"]h$]h&]uh1jhjSBubjl)}(h**Description**h]j)}(hj Ch]h Description}(hj ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Cubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM[ hjSBubjl)}(hX>The PCS driver should call this when the state of its link changes (e.g. link failure, new negotiation results, etc.) Note: it should not determine "up" by reading the BMSR. If in doubt about the link state at interrupt time, then pass true if pcs_get_state() returns the latched link-down state, otherwise pass false.h]hXBThe PCS driver should call this when the state of its link changes (e.g. link failure, new negotiation results, etc.) Note: it should not determine “up” by reading the BMSR. If in doubt about the link state at interrupt time, then pass true if pcs_get_state() returns the latched link-down state, otherwise pass false.}(hj!ChhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMZ hjSBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_start (C function)c.phylink_starthNtauh1hhjhhhNhNubh)}(hhh](j)}(h'void phylink_start (struct phylink *pl)h]j )}(h&void phylink_start(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hjPChhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLChhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMt ubj")}(h h]h }(hj_ChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLChhhj^ChMt ubj3)}(h phylink_starth]j9)}(h phylink_starth]h phylink_start}(hjqChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmCubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjLChhhj^ChMt ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubh)}(hhh]j9)}(hphylinkh]hphylink}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNj j )}j ]j )}j jsCsbc.phylink_startasbuh1hhjCubj")}(h h]h }(hjChhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjCubj )}(hj h]h*}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjCubj9)}(hplh]hpl}(hjChhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjCubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjCubah}(h]h ]h"]h$]h&]jPjQuh1j hjLChhhj^ChMt ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHChhhj^ChMt ubah}(h]jCCah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj^ChMt hjEChhubjg)}(hhh]jl)}(hstart a phylink instanceh]hstart a phylink instance}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMt hj Dhhubah}(h]h ]h"]h$]h&]uh1jfhjEChhhj^ChMt ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(Djj(Djjjuh1hhhhjhNhNubj)}(hX~**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Start the phylink instance specified by **pl**, configuring the MAC for the desired link mode(s) and negotiation style. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_open() method.h](jl)}(h**Parameters**h]j)}(hj2Dh]h Parameters}(hj4DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0Dubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMx hj,Dubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjQDh]hstruct phylink *pl}(hjSDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjODubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMu hjKDubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjjDhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjtDh]hstruct phylink}(hjvDhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjrDubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjfDhMu hjjDubh returned from phylink_create()}(hjjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjfDhMu hjgDubah}(h]h ]h"]h$]h&]uh1jhjKDubeh}(h]h ]h"]h$]h&]uh1jhjfDhMu hjHDubah}(h]h ]h"]h$]h&]uh1jhj,Dubjl)}(h**Description**h]j)}(hjDh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMw hj,Dubjl)}(hStart the phylink instance specified by **pl**, configuring the MAC for the desired link mode(s) and negotiation style. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_open() method.h](h(Start the phylink instance specified by }(hjDhhhNhNubj)}(h**pl**h]hpl}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh, configuring the MAC for the desired link mode(s) and negotiation style. This should be called from the network device driver’s }(hjDhhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hjDh]hstruct net_device_ops}(hjDhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjnet_device_opsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMv hjDubh ndo_open() method.}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjDhMv hj,Dubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_stop (C function)c.phylink_stophNtauh1hhjhhhNhNubh)}(hhh](j)}(h&void phylink_stop (struct phylink *pl)h]j )}(h%void phylink_stop(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hj)EhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj%EhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hj8EhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj%Ehhhj7EhM ubj3)}(h phylink_stoph]j9)}(h phylink_stoph]h phylink_stop}(hjJEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjFEubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj%Ehhhj7EhM ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjfEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbEubj")}(h h]h }(hjsEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbEubh)}(hhh]j9)}(hphylinkh]hphylink}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNj j )}j ]j )}j jLEsbc.phylink_stopasbuh1hhjbEubj")}(h h]h }(hjEhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbEubj )}(hj h]h*}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbEubj9)}(hplh]hpl}(hjEhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbEubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj^Eubah}(h]h ]h"]h$]h&]jPjQuh1j hj%Ehhhj7EhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj!Ehhhj7EhM ubah}(h]jEah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj7EhM hjEhhubjg)}(hhh]jl)}(hstop a phylink instanceh]hstop a phylink instance}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjEhhubah}(h]h ]h"]h$]h&]uh1jfhjEhhhj7EhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Stop the phylink instance specified by **pl**. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_stop() method. The network device's carrier state should not be changed prior to calling this function. This will synchronously bring down the link if the link is not already down (in other words, it will trigger a mac_link_down() method call.)h](jl)}(h**Parameters**h]j)}(hj Fh]h Parameters}(hj FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Fubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjFubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj*Fh]hstruct phylink *pl}(hj,FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(Fubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj$Fubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjCFhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjMFh]hstruct phylink}(hjOFhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjKFubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj?FhM hjCFubh returned from phylink_create()}(hjCFhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj?FhM hj@Fubah}(h]h ]h"]h$]h&]uh1jhj$Fubeh}(h]h ]h"]h$]h&]uh1jhj?FhM hj!Fubah}(h]h ]h"]h$]h&]uh1jhjFubjl)}(h**Description**h]j)}(hjFh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjFubjl)}(hXStop the phylink instance specified by **pl**. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_stop() method. The network device's carrier state should not be changed prior to calling this function.h](h'Stop the phylink instance specified by }(hjFhhhNhNubj)}(h**pl**h]hpl}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh;. This should be called from the network device driver’s }(hjFhhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hjFh]hstruct net_device_ops}(hjFhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjnet_device_opsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjFubho ndo_stop() method. The network device’s carrier state should not be changed prior to calling this function.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjFhM hjFubjl)}(hThis will synchronously bring down the link if the link is not already down (in other words, it will trigger a mac_link_down() method call.)h]hThis will synchronously bring down the link if the link is not already down (in other words, it will trigger a mac_link_down() method call.)}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_rx_clk_stop_block (C function)c.phylink_rx_clk_stop_blockhNtauh1hhjhhhNhNubh)}(hhh](j)}(h3void phylink_rx_clk_stop_block (struct phylink *pl)h]j )}(h2void phylink_rx_clk_stop_block(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hjGhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj GhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hj GhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj GhhhjGhM ubj3)}(hphylink_rx_clk_stop_blockh]j9)}(hphylink_rx_clk_stop_blockh]hphylink_rx_clk_stop_block}(hj2GhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.Gubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj GhhhjGhM ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjNGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJGubj")}(h h]h }(hj[GhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJGubh)}(hhh]j9)}(hphylinkh]hphylink}(hjlGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnGmodnameN classnameNj j )}j ]j )}j j4Gsbc.phylink_rx_clk_stop_blockasbuh1hhjJGubj")}(h h]h }(hjGhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJGubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJGubj9)}(hplh]hpl}(hjGhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJGubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjFGubah}(h]h ]h"]h$]h&]jPjQuh1j hj GhhhjGhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj GhhhjGhM ubah}(h]jGah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjGhM hjGhhubjg)}(hhh]jl)}(h.block PHY ability to stop receive clock in LPIh]h.block PHY ability to stop receive clock in LPI}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjGhhubah}(h]h ]h"]h$]h&]uh1jfhjGhhhjGhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1hhhhjhNhNubj)}(hX\**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Disable the PHY's ability to stop the receive clock while the receive path is in EEE LPI state, until the number of calls to phylink_rx_clk_stop_block() are balanced by calls to phylink_rx_clk_stop_unblock().h](jl)}(h**Parameters**h]j)}(hjGh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjGubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjHh]hstruct phylink *pl}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj Hubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj+HhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj5Hh]hstruct phylink}(hj7HhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj3Hubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj'HhM hj+Hubh returned from phylink_create()}(hj+HhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj'HhM hj(Hubah}(h]h ]h"]h$]h&]uh1jhj Hubeh}(h]h ]h"]h$]h&]uh1jhj'HhM hj Hubah}(h]h ]h"]h$]h&]uh1jhjGubjl)}(h**Description**h]j)}(hjpHh]h Description}(hjrHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnHubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjGubjl)}(hDisable the PHY's ability to stop the receive clock while the receive path is in EEE LPI state, until the number of calls to phylink_rx_clk_stop_block() are balanced by calls to phylink_rx_clk_stop_unblock().h]hDisable the PHY’s ability to stop the receive clock while the receive path is in EEE LPI state, until the number of calls to phylink_rx_clk_stop_block() are balanced by calls to phylink_rx_clk_stop_unblock().}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_rx_clk_stop_unblock (C function)c.phylink_rx_clk_stop_unblockhNtauh1hhjhhhNhNubh)}(hhh](j)}(h5void phylink_rx_clk_stop_unblock (struct phylink *pl)h]j )}(h4void phylink_rx_clk_stop_unblock(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hjHhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjHhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHhhhjHhM ubj3)}(hphylink_rx_clk_stop_unblockh]j9)}(hphylink_rx_clk_stop_unblockh]hphylink_rx_clk_stop_unblock}(hjHhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjHhhhjHhM ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubh)}(hhh]j9)}(hphylinkh]hphylink}(hjIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj Iubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNj j )}j ]j )}j jHsbc.phylink_rx_clk_stop_unblockasbuh1hhjHubj")}(h h]h }(hj0IhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjHubj )}(hj h]h*}(hj>IhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjHubj9)}(hplh]hpl}(hjKIhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjHubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjHubah}(h]h ]h"]h$]h&]jPjQuh1j hjHhhhjHhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjHhhhjHhM ubah}(h]jHah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjHhM hjHhhubjg)}(hhh]jl)}(h)unblock PHY ability to stop receive clockh]h)unblock PHY ability to stop receive clock}(hjuIhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjrIhhubah}(h]h ]h"]h$]h&]uh1jfhjHhhhjHhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhjhNhNubj)}(hX`**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** All calls to phylink_rx_clk_stop_block() must be balanced with a corresponding call to phylink_rx_clk_stop_unblock() to restore the PHYs ability to stop the receive clock when the receive path is in EEE LPI mode.h](jl)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjIubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjIh]hstruct phylink *pl}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjIubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjIhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjIh]hstruct phylink}(hjIhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjIhM hjIubh returned from phylink_create()}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjIhM hjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhM hjIubah}(h]h ]h"]h$]h&]uh1jhjIubjl)}(h**Description**h]j)}(hjJh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjIubjl)}(hAll calls to phylink_rx_clk_stop_block() must be balanced with a corresponding call to phylink_rx_clk_stop_unblock() to restore the PHYs ability to stop the receive clock when the receive path is in EEE LPI mode.h]hAll calls to phylink_rx_clk_stop_block() must be balanced with a corresponding call to phylink_rx_clk_stop_unblock() to restore the PHYs ability to stop the receive clock when the receive path is in EEE LPI mode.}(hj*JhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_suspend (C function)c.phylink_suspendhNtauh1hhjhhhNhNubh)}(hhh](j)}(h7void phylink_suspend (struct phylink *pl, bool mac_wol)h]j )}(h6void phylink_suspend(struct phylink *pl, bool mac_wol)h](jM )}(hvoidh]hvoid}(hjYJhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUJhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM# ubj")}(h h]h }(hjhJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUJhhhjgJhM# ubj3)}(hphylink_suspendh]j9)}(hphylink_suspendh]hphylink_suspend}(hjzJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvJubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjUJhhhjgJhM# ubj )}(h"(struct phylink *pl, bool mac_wol)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubh)}(hhh]j9)}(hphylinkh]hphylink}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNj j )}j ]j )}j j|Jsbc.phylink_suspendasbuh1hhjJubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJubj )}(hj h]h*}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjJubj9)}(hplh]hpl}(hjJhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjJubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubj )}(h bool mac_wolh](jM )}(hjh]hbool}(hjKhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjKubj")}(h h]h }(hjKhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKubj9)}(hmac_wolh]hmac_wol}(hj#KhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubeh}(h]h ]h"]h$]h&]jPjQuh1j hjUJhhhjgJhM# ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjQJhhhjgJhM# ubah}(h]jLJah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjgJhM# hjNJhhubjg)}(hhh]jl)}(h%handle a network device suspend eventh]h%handle a network device suspend event}(hjMKhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM# hjJKhhubah}(h]h ]h"]h$]h&]uh1jfhjNJhhhjgJhM# ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjeKjjeKjjjuh1hhhhjhNhNubj)}(hX **Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``bool mac_wol`` true if the MAC needs to receive packets for Wake-on-Lan **Description** Handle a network device suspend event. There are several cases: - If Wake-on-Lan is not active, we can bring down the link between the MAC and PHY by calling phylink_stop(). - If Wake-on-Lan is active, and being handled only by the PHY, we can also bring down the link between the MAC and PHY. - If Wake-on-Lan is active, but being handled by the MAC, the MAC still needs to receive packets, so we can not bring the link down. **Note** when phylink managed Wake-on-Lan is in use, **mac_wol** is ignored. (struct phylink_mac_ops.mac_set_wol populated.)h](jl)}(h**Parameters**h]j)}(hjoKh]h Parameters}(hjqKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmKubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM' hjiKubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjKh]hstruct phylink *pl}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM$ hjKubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjKhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjKh]hstruct phylink}(hjKhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjKhM$ hjKubh returned from phylink_create()}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjKhM$ hjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhM$ hjKubj)}(hJ``bool mac_wol`` true if the MAC needs to receive packets for Wake-on-Lan h](j)}(h``bool mac_wol``h]j)}(hjKh]h bool mac_wol}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM% hjKubj)}(hhh]jl)}(h8true if the MAC needs to receive packets for Wake-on-Lanh]h8true if the MAC needs to receive packets for Wake-on-Lan}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjKhM% hjLubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhM% hjKubeh}(h]h ]h"]h$]h&]uh1jhjiKubjl)}(h**Description**h]j)}(hj%Lh]h Description}(hj'LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Lubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM' hjiKubjl)}(h?Handle a network device suspend event. There are several cases:h]h?Handle a network device suspend event. There are several cases:}(hj;LhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM& hjiKubjUQ)}(hhh](jZQ)}(hkIf Wake-on-Lan is not active, we can bring down the link between the MAC and PHY by calling phylink_stop().h]jl)}(hkIf Wake-on-Lan is not active, we can bring down the link between the MAC and PHY by calling phylink_stop().h]hkIf Wake-on-Lan is not active, we can bring down the link between the MAC and PHY by calling phylink_stop().}(hjQLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM( hjMLubah}(h]h ]h"]h$]h&]uh1jYQhjJLubjZQ)}(huIf Wake-on-Lan is active, and being handled only by the PHY, we can also bring down the link between the MAC and PHY.h]jl)}(huIf Wake-on-Lan is active, and being handled only by the PHY, we can also bring down the link between the MAC and PHY.h]huIf Wake-on-Lan is active, and being handled only by the PHY, we can also bring down the link between the MAC and PHY.}(hjjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM* hjfLubah}(h]h ]h"]h$]h&]uh1jYQhjJLubjZQ)}(hIf Wake-on-Lan is active, but being handled by the MAC, the MAC still needs to receive packets, so we can not bring the link down. h]jl)}(hIf Wake-on-Lan is active, but being handled by the MAC, the MAC still needs to receive packets, so we can not bring the link down.h]hIf Wake-on-Lan is active, but being handled by the MAC, the MAC still needs to receive packets, so we can not bring the link down.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM, hjLubah}(h]h ]h"]h$]h&]uh1jYQhjJLubeh}(h]h ]h"]h$]h&]j$Rj@uh1jTQhj_LhM( hjiKubjl)}(h**Note**h]j)}(hjLh]hNote}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM/ hjiKubjl)}(hswhen phylink managed Wake-on-Lan is in use, **mac_wol** is ignored. (struct phylink_mac_ops.mac_set_wol populated.)h](h,when phylink managed Wake-on-Lan is in use, }(hjLhhhNhNubj)}(h **mac_wol**h]hmac_wol}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh< is ignored. (struct phylink_mac_ops.mac_set_wol populated.)}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM0 hjiKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#phylink_prepare_resume (C function)c.phylink_prepare_resumehNtauh1hhjhhhNhNubh)}(hhh](j)}(h0void phylink_prepare_resume (struct phylink *pl)h]j )}(h/void phylink_prepare_resume(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hjLhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjLhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMZ ubj")}(h h]h }(hjMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjLhhhjMhMZ ubj3)}(hphylink_prepare_resumeh]j9)}(hphylink_prepare_resumeh]hphylink_prepare_resume}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjLhhhjMhMZ ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj4MhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0Mubj")}(h h]h }(hjAMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0Mubh)}(hhh]j9)}(hphylinkh]hphylink}(hjRMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTMmodnameN classnameNj j )}j ]j )}j jMsbc.phylink_prepare_resumeasbuh1hhj0Mubj")}(h h]h }(hjrMhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj0Mubj )}(hj h]h*}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj0Mubj9)}(hplh]hpl}(hjMhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj0Mubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj,Mubah}(h]h ]h"]h$]h&]jPjQuh1j hjLhhhjMhMZ ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjLhhhjMhMZ ubah}(h]jLah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjMhMZ hjLhhubjg)}(hhh]jl)}(h"prepare to resume a network deviceh]h"prepare to resume a network device}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMZ hjMhhubah}(h]h ]h"]h$]h&]uh1jfhjLhhhjMhMZ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMjjMjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Optional, but if called must be called prior to phylink_resume(). Prepare to resume a network device, preparing the PHY as necessary.h](jl)}(h**Parameters**h]j)}(hjMh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM^ hjMubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjMh]hstruct phylink *pl}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM[ hjMubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjNhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjNh]hstruct phylink}(hjNhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj NhM[ hjNubh returned from phylink_create()}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj NhM[ hjNubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhj NhM[ hjMubah}(h]h ]h"]h$]h&]uh1jhjMubjl)}(h**Description**h]j)}(hjVNh]h Description}(hjXNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM] hjMubjl)}(hAOptional, but if called must be called prior to phylink_resume().h]hAOptional, but if called must be called prior to phylink_resume().}(hjlNhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM\ hjMubjl)}(hCPrepare to resume a network device, preparing the PHY as necessary.h]hCPrepare to resume a network device, preparing the PHY as necessary.}(hj{NhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM^ hjMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_resume (C function)c.phylink_resumehNtauh1hhjhhhNhNubh)}(hhh](j)}(h(void phylink_resume (struct phylink *pl)h]j )}(h'void phylink_resume(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hjNhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjNhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMs ubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNhhhjNhMs ubj3)}(hphylink_resumeh]j9)}(hphylink_resumeh]hphylink_resume}(hjNhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjNhhhjNhMs ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj")}(h h]h }(hjNhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubh)}(hhh]j9)}(hphylinkh]hphylink}(hjOhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNj j )}j ]j )}j jNsbc.phylink_resumeasbuh1hhjNubj")}(h h]h }(hj%OhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj )}(hj h]h*}(hj3OhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNubj9)}(hplh]hpl}(hj@OhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjNubah}(h]h ]h"]h$]h&]jPjQuh1j hjNhhhjNhMs ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjNhhhjNhMs ubah}(h]jNah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjNhMs hjNhhubjg)}(hhh]jl)}(h$handle a network device resume eventh]h$handle a network device resume event}(hjjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMs hjgOhhubah}(h]h ]h"]h$]h&]uh1jfhjNhhhjNhMs ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Undo the effects of phylink_suspend(), returning the link to an operational state.h](jl)}(h**Parameters**h]j)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMw hjOubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjOh]hstruct phylink *pl}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMt hjOubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjOhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjOh]hstruct phylink}(hjOhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjOhMt hjOubh returned from phylink_create()}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjOhMt hjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMt hjOubah}(h]h ]h"]h$]h&]uh1jhjOubjl)}(h**Description**h]j)}(hj Ph]h Description}(hj PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMv hjOubjl)}(hRUndo the effects of phylink_suspend(), returning the link to an operational state.h]hRUndo the effects of phylink_suspend(), returning the link to an operational state.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMu hjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_get_wol (C function)c.phylink_ethtool_get_wolhNtauh1hhjhhhNhNubh)}(hhh](j)}(hNvoid phylink_ethtool_get_wol (struct phylink *pl, struct ethtool_wolinfo *wol)h]j )}(hMvoid phylink_ethtool_get_wol(struct phylink *pl, struct ethtool_wolinfo *wol)h](jM )}(hvoidh]hvoid}(hjNPhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjJPhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hj]PhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjJPhhhj\PhM ubj3)}(hphylink_ethtool_get_wolh]j9)}(hphylink_ethtool_get_wolh]hphylink_ethtool_get_wol}(+hjoPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkPubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjJPhhhj\PhM ubj )}(h1(struct phylink *pl, struct ethtool_wolinfo *wol)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(hphylinkh]hphylink}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNj j )}j ]j )}j jqPsbc.phylink_ethtool_get_wolasbuh1hhjPubj")}(h h]h }(hjPhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hplh]hpl}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubj )}(hstruct ethtool_wolinfo *wolh](j)}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubj")}(h h]h }(hj QhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubh)}(hhh]j9)}(hethtool_wolinfoh]hethtool_wolinfo}(hjQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNj j )}j ]jPc.phylink_ethtool_get_wolasbuh1hhjPubj")}(h h]h }(hj9QhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjPubj )}(hj h]h*}(hjGQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjPubj9)}(hwolh]hwol}(hjTQhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjPubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjPubeh}(h]h ]h"]h$]h&]jPjQuh1j hjJPhhhj\PhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjFPhhhj\PhM ubah}(h]jAPah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj\PhM hjCPhhubjg)}(hhh]jl)}(h*get the wake on lan parameters for the PHYh]h*get the wake on lan parameters for the PHY}(hj~QhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj{Qhhubah}(h]h ]h"]h$]h&]uh1jfhjCPhhhj\PhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_wolinfo *wol`` a pointer to :c:type:`struct ethtool_wolinfo ` to hold the read parameters **Description** Read the wake on lan parameters from the PHY attached to the phylink instance specified by **pl**. If no PHY is currently attached, report no support for wake on lan.h](jl)}(h**Parameters**h]j)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjQubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjQh]hstruct phylink *pl}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjQubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjQhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjQh]hstruct phylink}(hjQhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjQhM hjQubh returned from phylink_create()}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjQhM hjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhM hjQubj)}(h|``struct ethtool_wolinfo *wol`` a pointer to :c:type:`struct ethtool_wolinfo ` to hold the read parameters h](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hjRh]hstruct ethtool_wolinfo *wol}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjRubj)}(hhh]jl)}(h[a pointer to :c:type:`struct ethtool_wolinfo ` to hold the read parametersh](h a pointer to }(hj4RhhhNhNubh)}(h2:c:type:`struct ethtool_wolinfo `h]j)}(hj>Rh]hstruct ethtool_wolinfo}(hj@RhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj` returned from phylink_create() ``struct ethtool_wolinfo *wol`` a pointer to :c:type:`struct ethtool_wolinfo ` for the desired parameters **Description** Set the wake on lan parameters for the PHY attached to the phylink instance specified by **pl**. If no PHY is attached, returns ``EOPNOTSUPP`` error. Returns zero on success or negative errno code.h](jl)}(h**Parameters**h]j)}(hj"Th]h Parameters}(hj$ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Tubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjTubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjATh]hstruct phylink *pl}(hjCThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?Tubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj;Tubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjZThhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjdTh]hstruct phylink}(hjfThhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjbTubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjVThM hjZTubh returned from phylink_create()}(hjZThhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjVThM hjWTubah}(h]h ]h"]h$]h&]uh1jhj;Tubeh}(h]h ]h"]h$]h&]uh1jhjVThM hj8Tubj)}(h{``struct ethtool_wolinfo *wol`` a pointer to :c:type:`struct ethtool_wolinfo ` for the desired parameters h](j)}(h``struct ethtool_wolinfo *wol``h]j)}(hjTh]hstruct ethtool_wolinfo *wol}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjTubj)}(hhh]jl)}(hZa pointer to :c:type:`struct ethtool_wolinfo ` for the desired parametersh](h a pointer to }(hjThhhNhNubh)}(h2:c:type:`struct ethtool_wolinfo `h]j)}(hjTh]hstruct ethtool_wolinfo}(hjThhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_wolinfouh1hhjThM hjTubh for the desired parameters}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjThM hjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThM hj8Tubeh}(h]h ]h"]h$]h&]uh1jhjTubjl)}(h**Description**h]j)}(hjTh]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjTubjl)}(hSet the wake on lan parameters for the PHY attached to the phylink instance specified by **pl**. If no PHY is attached, returns ``EOPNOTSUPP`` error.h](hYSet the wake on lan parameters for the PHY attached to the phylink instance specified by }(hjUhhhNhNubj)}(h**pl**h]hpl}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh!. If no PHY is attached, returns }(hjUhhhNhNubj)}(h``EOPNOTSUPP``h]h EOPNOTSUPP}(hj+UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh error.}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjTubjl)}(h/Returns zero on success or negative errno code.h]h/Returns zero on success or negative errno code.}(hjDUhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_ethtool_ksettings_get (C function)c.phylink_ethtool_ksettings_gethNtauh1hhjhhhNhNubh)}(hhh](j)}(h[int phylink_ethtool_ksettings_get (struct phylink *pl, struct ethtool_link_ksettings *kset)h]j )}(hZint phylink_ethtool_ksettings_get(struct phylink *pl, struct ethtool_link_ksettings *kset)h](jM )}(hinth]hint}(hjsUhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjoUhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMS ubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjoUhhhjUhMS ubj3)}(hphylink_ethtool_ksettings_geth]j9)}(hphylink_ethtool_ksettings_geth]hphylink_ethtool_ksettings_get}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjoUhhhjUhMS ubj )}(h9(struct phylink *pl, struct ethtool_link_ksettings *kset)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubh)}(hhh]j9)}(hphylinkh]hphylink}(hjUhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNj j )}j ]j )}j jUsbc.phylink_ethtool_ksettings_getasbuh1hhjUubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUubj )}(hj h]h*}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjUubj9)}(hplh]hpl}(hj VhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjUubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubj )}(h#struct ethtool_link_ksettings *kseth](j)}(hjh]hstruct}(hj"VhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj")}(h h]h }(hj/VhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubh)}(hhh]j9)}(hethtool_link_ksettingsh]hethtool_link_ksettings}(hj@VhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=Vubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBVmodnameN classnameNj j )}j ]jUc.phylink_ethtool_ksettings_getasbuh1hhjVubj")}(h h]h }(hj^VhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVubj )}(hj h]h*}(hjlVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjVubj9)}(hkseth]hkset}(hjyVhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjVubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjUubeh}(h]h ]h"]h$]h&]jPjQuh1j hjoUhhhjUhMS ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjkUhhhjUhMS ubah}(h]jfUah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjUhMS hjhUhhubjg)}(hhh]jl)}(hget the current link settingsh]hget the current link settings}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMS hjVhhubah}(h]h ]h"]h$]h&]uh1jfhjhUhhhjUhMS ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_link_ksettings *kset`` a pointer to a :c:type:`struct ethtool_link_ksettings ` to hold link settings **Description** Read the current link settings for the phylink instance specified by **pl**. This will be the link settings read from the MAC, PHY or fixed link settings depending on the current negotiation mode.h](jl)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMW hjVubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjVh]hstruct phylink *pl}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMT hjVubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjVhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjWh]hstruct phylink}(hj WhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjVhMT hjVubh returned from phylink_create()}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjVhMT hjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMT hjVubj)}(h``struct ethtool_link_ksettings *kset`` a pointer to a :c:type:`struct ethtool_link_ksettings ` to hold link settings h](j)}(h'``struct ethtool_link_ksettings *kset``h]j)}(hj@Wh]h#struct ethtool_link_ksettings *kset}(hjBWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>Wubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMU hj:Wubj)}(hhh]jl)}(hea pointer to a :c:type:`struct ethtool_link_ksettings ` to hold link settingsh](ha pointer to a }(hjYWhhhNhNubh)}(h@:c:type:`struct ethtool_link_ksettings `h]j)}(hjcWh]hstruct ethtool_link_ksettings}(hjeWhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjaWubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_link_ksettingsuh1hhjUWhMU hjYWubh to hold link settings}(hjYWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjUWhMU hjVWubah}(h]h ]h"]h$]h&]uh1jhj:Wubeh}(h]h ]h"]h$]h&]uh1jhjUWhMU hjVubeh}(h]h ]h"]h$]h&]uh1jhjVubjl)}(h**Description**h]j)}(hjWh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMW hjVubjl)}(hRead the current link settings for the phylink instance specified by **pl**. This will be the link settings read from the MAC, PHY or fixed link settings depending on the current negotiation mode.h](hERead the current link settings for the phylink instance specified by }(hjWhhhNhNubj)}(h**pl**h]hpl}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubhy. This will be the link settings read from the MAC, PHY or fixed link settings depending on the current negotiation mode.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMV hjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_ethtool_ksettings_set (C function)c.phylink_ethtool_ksettings_sethNtauh1hhjhhhNhNubh)}(hhh](j)}(haint phylink_ethtool_ksettings_set (struct phylink *pl, const struct ethtool_link_ksettings *kset)h]j )}(h`int phylink_ethtool_ksettings_set(struct phylink *pl, const struct ethtool_link_ksettings *kset)h](jM )}(hinth]hint}(hjWhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjWhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWhhhjXhM ubj3)}(hphylink_ethtool_ksettings_seth]j9)}(hphylink_ethtool_ksettings_seth]hphylink_ethtool_ksettings_set}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjWhhhjXhM ubj )}(h?(struct phylink *pl, const struct ethtool_link_ksettings *kset)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj2XhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.Xubj")}(h h]h }(hj?XhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.Xubh)}(hhh]j9)}(hphylinkh]hphylink}(hjPXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjMXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRXmodnameN classnameNj j )}j ]j )}j jXsbc.phylink_ethtool_ksettings_setasbuh1hhj.Xubj")}(h h]h }(hjpXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj.Xubj )}(hj h]h*}(hj~XhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj.Xubj9)}(hplh]hpl}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj.Xubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*Xubj )}(h)const struct ethtool_link_ksettings *kseth](j)}(hj h]hconst}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubh)}(hhh]j9)}(hethtool_link_ksettingsh]hethtool_link_ksettings}(hjXhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNj j )}j ]jlXc.phylink_ethtool_ksettings_setasbuh1hhjXubj")}(h h]h }(hjXhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjXubj )}(hj h]h*}(hj YhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjXubj9)}(hkseth]hkset}(hjYhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjXubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj*Xubeh}(h]h ]h"]h$]h&]jPjQuh1j hjWhhhjXhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjWhhhjXhM ubah}(h]jWah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjXhM hjWhhubjg)}(hhh]jl)}(hset the link settingsh]hset the link settings}(hj@YhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj=Yhhubah}(h]h ]h"]h$]h&]uh1jfhjWhhhjXhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXYjjXYjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``const struct ethtool_link_ksettings *kset`` a pointer to a :c:type:`struct ethtool_link_ksettings ` for the desired modesh](jl)}(h**Parameters**h]j)}(hjbYh]h Parameters}(hjdYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Yubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj\Yubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjYh]hstruct phylink *pl}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj{Yubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjYhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjYh]hstruct phylink}(hjYhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjYhM hjYubh returned from phylink_create()}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjYhM hjYubah}(h]h ]h"]h$]h&]uh1jhj{Yubeh}(h]h ]h"]h$]h&]uh1jhjYhM hjxYubj)}(h``const struct ethtool_link_ksettings *kset`` a pointer to a :c:type:`struct ethtool_link_ksettings ` for the desired modesh](j)}(h-``const struct ethtool_link_ksettings *kset``h]j)}(hjYh]h)const struct ethtool_link_ksettings *kset}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjYubj)}(hhh]jl)}(hea pointer to a :c:type:`struct ethtool_link_ksettings ` for the desired modesh](ha pointer to a }(hjYhhhNhNubh)}(h@:c:type:`struct ethtool_link_ksettings `h]j)}(hjZh]hstruct ethtool_link_ksettings}(hjZhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_link_ksettingsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjYubh for the desired modes}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjZhM hjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhM hjxYubeh}(h]h ]h"]h$]h&]uh1jhj\Yubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'phylink_ethtool_nway_reset (C function)c.phylink_ethtool_nway_resethNtauh1hhjhhhNhNubh)}(hhh](j)}(h3int phylink_ethtool_nway_reset (struct phylink *pl)h]j )}(h2int phylink_ethtool_nway_reset(struct phylink *pl)h](jM )}(hinth]hint}(hjZZhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjVZhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMG ubj")}(h h]h }(hjiZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjVZhhhjhZhMG ubj3)}(hphylink_ethtool_nway_reseth]j9)}(hphylink_ethtool_nway_reseth]hphylink_ethtool_nway_reset}(hj{ZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwZubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjVZhhhjhZhMG ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubh)}(hhh]j9)}(hphylinkh]hphylink}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNj j )}j ]j )}j j}Zsbc.phylink_ethtool_nway_resetasbuh1hhjZubj")}(h h]h }(hjZhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjZubj )}(hj h]h*}(hjZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjZubj9)}(hplh]hpl}(hjZhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjZubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjZubah}(h]h ]h"]h$]h&]jPjQuh1j hjVZhhhjhZhMG ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjRZhhhjhZhMG ubah}(h]jMZah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhZhMG hjOZhhubjg)}(hhh]jl)}(hrestart negotiationh]hrestart negotiation}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMG hj[hhubah}(h]h ]h"]h$]h&]uh1jfhjOZhhhjhZhMG ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2[jj2[jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Restart negotiation for the phylink instance specified by **pl**. This will cause any attached phy to restart negotiation with the link partner, and if the MAC is in a BaseX mode, the MAC will also be requested to restart negotiation. Returns zero on success, or negative error code.h](jl)}(h**Parameters**h]j)}(hj<[h]h Parameters}(hj>[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:[ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMK hj6[ubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj[[h]hstruct phylink *pl}(hj][hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY[ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMH hjU[ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjt[hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj~[h]hstruct phylink}(hj[hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj|[ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjp[hMH hjt[ubh returned from phylink_create()}(hjt[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjp[hMH hjq[ubah}(h]h ]h"]h$]h&]uh1jhjU[ubeh}(h]h ]h"]h$]h&]uh1jhjp[hMH hjR[ubah}(h]h ]h"]h$]h&]uh1jhj6[ubjl)}(h**Description**h]j)}(hj[h]h Description}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMJ hj6[ubjl)}(hRestart negotiation for the phylink instance specified by **pl**. This will cause any attached phy to restart negotiation with the link partner, and if the MAC is in a BaseX mode, the MAC will also be requested to restart negotiation.h](h:Restart negotiation for the phylink instance specified by }(hj[hhhNhNubj)}(h**pl**h]hpl}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh. This will cause any attached phy to restart negotiation with the link partner, and if the MAC is in a BaseX mode, the MAC will also be requested to restart negotiation.}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMI hj6[ubjl)}(h0Returns zero on success, or negative error code.h]h0Returns zero on success, or negative error code.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMN hj6[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_ethtool_get_pauseparam (C function) c.phylink_ethtool_get_pauseparamhNtauh1hhjhhhNhNubh)}(hhh](j)}(hZvoid phylink_ethtool_get_pauseparam (struct phylink *pl, struct ethtool_pauseparam *pause)h]j )}(hYvoid phylink_ethtool_get_pauseparam(struct phylink *pl, struct ethtool_pauseparam *pause)h](jM )}(hvoidh]hvoid}(hj\hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM` ubj")}(h h]h }(hj.\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\hhhj-\hM` ubj3)}(hphylink_ethtool_get_pauseparamh]j9)}(hphylink_ethtool_get_pauseparamh]hphylink_ethtool_get_pauseparam}(hj@\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj<\ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj\hhhj-\hM` ubj )}(h6(struct phylink *pl, struct ethtool_pauseparam *pause)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj\\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjX\ubj")}(h h]h }(hji\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjX\ubh)}(hhh]j9)}(hphylinkh]hphylink}(hjz\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjw\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|\modnameN classnameNj j )}j ]j )}j jB\sb c.phylink_ethtool_get_pauseparamasbuh1hhjX\ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjX\ubj )}(hj h]h*}(hj\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjX\ubj9)}(hplh]hpl}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjX\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjT\ubj )}(h struct ethtool_pauseparam *pauseh](j)}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj")}(h h]h }(hj\hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubh)}(hhh]j9)}(hethtool_pauseparamh]hethtool_pauseparam}(hj\hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNj j )}j ]j\ c.phylink_ethtool_get_pauseparamasbuh1hhj\ubj")}(h h]h }(hj ]hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\ubj )}(hj h]h*}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj\ubj9)}(hpauseh]hpause}(hj%]hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjT\ubeh}(h]h ]h"]h$]h&]jPjQuh1j hj\hhhj-\hM` ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj\hhhj-\hM` ubah}(h]j\ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj-\hM` hj\hhubjg)}(hhh]jl)}(h get the current pause parametersh]h get the current pause parameters}(hjO]hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM` hjL]hhubah}(h]h ]h"]h$]h&]uh1jfhj\hhhj-\hM` ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjg]jjg]jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](jl)}(h**Parameters**h]j)}(hjq]h]h Parameters}(hjs]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo]ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMd hjk]ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj]h]hstruct phylink *pl}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMa hj]ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj]hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj]h]hstruct phylink}(hj]hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj]hMa hj]ubh returned from phylink_create()}(hj]hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj]hMa hj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMa hj]ubj)}(hl``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](j)}(h$``struct ethtool_pauseparam *pause``h]j)}(hj]h]h struct ethtool_pauseparam *pause}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMc hj]ubj)}(hhh]jl)}(hGa pointer to a :c:type:`struct ethtool_pauseparam `h](ha pointer to a }(hj^hhhNhNubh)}(h8:c:type:`struct ethtool_pauseparam `h]j)}(hj^h]hstruct ethtool_pauseparam}(hj^hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ^ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_pauseparamuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMb hj^ubeh}(h]h ]h"]h$]h&]uh1jkhj,^hMb hj^ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj^hMc hj]ubeh}(h]h ]h"]h$]h&]uh1jhjk]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_ethtool_set_pauseparam (C function) c.phylink_ethtool_set_pauseparamhNtauh1hhjhhhNhNubh)}(hhh](j)}(hYint phylink_ethtool_set_pauseparam (struct phylink *pl, struct ethtool_pauseparam *pause)h]j )}(hXint phylink_ethtool_set_pauseparam(struct phylink *pl, struct ethtool_pauseparam *pause)h](jM )}(hinth]hint}(hje^hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hja^hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMp ubj")}(h h]h }(hjt^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hja^hhhjs^hMp ubj3)}(hphylink_ethtool_set_pauseparamh]j9)}(hphylink_ethtool_set_pauseparamh]hphylink_ethtool_set_pauseparam}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hja^hhhjs^hMp ubj )}(h6(struct phylink *pl, struct ethtool_pauseparam *pause)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubh)}(hhh]j9)}(hphylinkh]hphylink}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNj j )}j ]j )}j j^sb c.phylink_ethtool_set_pauseparamasbuh1hhj^ubj")}(h h]h }(hj^hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^ubj )}(hj h]h*}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj^ubj9)}(hplh]hpl}(hj^hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj^ubj )}(h struct ethtool_pauseparam *pauseh](j)}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj")}(h h]h }(hj!_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubh)}(hhh]j9)}(hethtool_pauseparamh]hethtool_pauseparam}(hj2_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4_modnameN classnameNj j )}j ]j^ c.phylink_ethtool_set_pauseparamasbuh1hhj_ubj")}(h h]h }(hjP_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj_ubj )}(hj h]h*}(hj^_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj_ubj9)}(hpauseh]hpause}(hjk_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj_ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj^ubeh}(h]h ]h"]h$]h&]jPjQuh1j hja^hhhjs^hMp ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj]^hhhjs^hMp ubah}(h]jX^ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjs^hMp hjZ^hhubjg)}(hhh]jl)}(h set the current pause parametersh]h set the current pause parameters}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMp hj_hhubah}(h]h ]h"]h$]h&]uh1jfhjZ^hhhjs^hMp ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](jl)}(h**Parameters**h]j)}(hj_h]h Parameters}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMt hj_ubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj_h]hstruct phylink *pl}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMq hj_ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj_hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj_h]hstruct phylink}(hj_hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj_hMq hj_ubh returned from phylink_create()}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj_hMq hj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMq hj_ubj)}(hl``struct ethtool_pauseparam *pause`` a pointer to a :c:type:`struct ethtool_pauseparam `h](j)}(h$``struct ethtool_pauseparam *pause``h]j)}(hj2`h]h struct ethtool_pauseparam *pause}(hj4`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0`ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMs hj,`ubj)}(hhh]jl)}(hGa pointer to a :c:type:`struct ethtool_pauseparam `h](ha pointer to a }(hjK`hhhNhNubh)}(h8:c:type:`struct ethtool_pauseparam `h]j)}(hjU`h]hstruct ethtool_pauseparam}(hjW`hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjS`ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_pauseparamuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMr hjK`ubeh}(h]h ]h"]h$]h&]uh1jkhjr`hMr hjH`ubah}(h]h ]h"]h$]h&]uh1jhj,`ubeh}(h]h ]h"]h$]h&]uh1jhjG`hMs hj_ubeh}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h phylink_get_eee_err (C function)c.phylink_get_eee_errhNtauh1hhjhhhNhNubh)}(hhh](j)}(h,int phylink_get_eee_err (struct phylink *pl)h]j )}(h+int phylink_get_eee_err(struct phylink *pl)h](jM )}(hinth]hint}(hj`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj`hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`hhhj`hM ubj3)}(hphylink_get_eee_errh]j9)}(hphylink_get_eee_errh]hphylink_get_eee_err}(hj`hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj`hhhj`hM ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj")}(h h]h }(hj`hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubh)}(hhh]j9)}(hphylinkh]hphylink}(hjahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNj j )}j ]j )}j j`sbc.phylink_get_eee_errasbuh1hhj`ubj")}(h h]h }(hj&ahhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj`ubj )}(hj h]h*}(hj4ahhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj`ubj9)}(hplh]hpl}(hjAahhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj`ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj`ubah}(h]h ]h"]h$]h&]jPjQuh1j hj`hhhj`hM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj`hhhj`hM ubah}(h]j`ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj`hM hj`hhubjg)}(hhh]jl)}(h0read the energy efficient ethernet error counterh]h0read the energy efficient ethernet error counter}(hjkahhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhahhubah}(h]h ]h"]h$]h&]uh1jfhj`hhhj`hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjhNhNubj)}(hXC**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create(). **Description** Read the Energy Efficient Ethernet error counter from the PHY associated with the phylink instance specified by **pl**. Returns positive error counter value, or negative error code.h](jl)}(h**Parameters**h]j)}(hjah]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjaubj)}(hhh]j)}(hi``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create(). h](j)}(h``struct phylink *pl``h]j)}(hjah]hstruct phylink *pl}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjaubj)}(hhh]jl)}(hQa pointer to a :c:type:`struct phylink ` returned from phylink_create().h](ha pointer to a }(hjahhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjah]hstruct phylink}(hjahhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjahM hjaubh returned from phylink_create().}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjahM hjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahM hjaubah}(h]h ]h"]h$]h&]uh1jhjaubjl)}(h**Description**h]j)}(hj bh]h Description}(hj bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjaubjl)}(hwRead the Energy Efficient Ethernet error counter from the PHY associated with the phylink instance specified by **pl**.h](hpRead the Energy Efficient Ethernet error counter from the PHY associated with the phylink instance specified by }(hj bhhhNhNubj)}(h**pl**h]hpl}(hj(bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj bubh.}(hj bhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjaubjl)}(h=Returns positive error counter value, or negative error code.h]h=Returns positive error counter value, or negative error code.}(hjAbhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_get_eee (C function)c.phylink_ethtool_get_eeehNtauh1hhjhhhNhNubh)}(hhh](j)}(hJint phylink_ethtool_get_eee (struct phylink *pl, struct ethtool_keee *eee)h]j )}(hIint phylink_ethtool_get_eee(struct phylink *pl, struct ethtool_keee *eee)h](jM )}(hinth]hint}(hjpbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjlbhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjlbhhhj~bhM ubj3)}(hphylink_ethtool_get_eeeh]j9)}(hphylink_ethtool_get_eeeh]hphylink_ethtool_get_eee}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjlbhhhj~bhM ubj )}(h.(struct phylink *pl, struct ethtool_keee *eee)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubh)}(hhh]j9)}(hphylinkh]hphylink}(hjbhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNj j )}j ]j )}j jbsbc.phylink_ethtool_get_eeeasbuh1hhjbubj")}(h h]h }(hjbhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjbubj )}(hj h]h*}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjbubj9)}(hplh]hpl}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjbubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubj )}(hstruct ethtool_keee *eeeh](j)}(hjh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj")}(h h]h }(hj,chhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubh)}(hhh]j9)}(h ethtool_keeeh]h ethtool_keee}(hj=chhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj:cubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?cmodnameN classnameNj j )}j ]jbc.phylink_ethtool_get_eeeasbuh1hhjcubj")}(h h]h }(hj[chhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjcubj )}(hj h]h*}(hjichhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjcubj9)}(heeeh]heee}(hjvchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjcubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjbubeh}(h]h ]h"]h$]h&]jPjQuh1j hjlbhhhj~bhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhbhhhj~bhM ubah}(h]jcbah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj~bhM hjebhhubjg)}(hhh]jl)}(h-read the energy efficient ethernet parametersh]h-read the energy efficient ethernet parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjchhubah}(h]h ]h"]h$]h&]uh1jfhjebhhhj~bhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_keee *eee`` a pointer to a :c:type:`struct ethtool_keee ` for the read parametersh](jl)}(h**Parameters**h]j)}(hjch]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjcubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjch]hstruct phylink *pl}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjcubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjchhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjdh]hstruct phylink}(hjdhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjchM hjcubh returned from phylink_create()}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjchM hjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchM hjcubj)}(hp``struct ethtool_keee *eee`` a pointer to a :c:type:`struct ethtool_keee ` for the read parametersh](j)}(h``struct ethtool_keee *eee``h]j)}(hj=dh]hstruct ethtool_keee *eee}(hj?dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;dubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj7dubj)}(hhh]jl)}(hSa pointer to a :c:type:`struct ethtool_keee ` for the read parametersh](ha pointer to a }(hjVdhhhNhNubh)}(h,:c:type:`struct ethtool_keee `h]j)}(hj`dh]hstruct ethtool_keee}(hjbdhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj^dubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj ethtool_keeeuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjVdubh for the read parameters}(hjVdhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj}dhM hjSdubah}(h]h ]h"]h$]h&]uh1jhj7dubeh}(h]h ]h"]h$]h&]uh1jhjRdhM hjcubeh}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_ethtool_set_eee (C function)c.phylink_ethtool_set_eeehNtauh1hhjhhhNhNubh)}(hhh](j)}(hJint phylink_ethtool_set_eee (struct phylink *pl, struct ethtool_keee *eee)h]j )}(hIint phylink_ethtool_set_eee(struct phylink *pl, struct ethtool_keee *eee)h](jM )}(hinth]hint}(hjdhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjdhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hjdhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdhhhjdhM ubj3)}(hphylink_ethtool_set_eeeh]j9)}(hphylink_ethtool_set_eeeh]hphylink_ethtool_set_eee}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjdhhhjdhM ubj )}(h.(struct phylink *pl, struct ethtool_keee *eee)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubh)}(hhh]j9)}(hphylinkh]hphylink}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]j )}j jdsbc.phylink_ethtool_set_eeeasbuh1hhjdubj")}(h h]h }(hj5ehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjdubj )}(hj h]h*}(hjCehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjdubj9)}(hplh]hpl}(hjPehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjdubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubj )}(hstruct ethtool_keee *eeeh](j)}(hjh]hstruct}(hjiehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeeubj")}(h h]h }(hjvehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeeubh)}(hhh]j9)}(h ethtool_keeeh]h ethtool_keee}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNj j )}j ]j1ec.phylink_ethtool_set_eeeasbuh1hhjeeubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjeeubj )}(hj h]h*}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjeeubj9)}(heeeh]heee}(hjehhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjeeubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjdubeh}(h]h ]h"]h$]h&]jPjQuh1j hjdhhhjdhM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjdhhhjdhM ubah}(h]jdah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjdhM hjdhhubjg)}(hhh]jl)}(h,set the energy efficient ethernet parametersh]h,set the energy efficient ethernet parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjehhubah}(h]h ]h"]h$]h&]uh1jfhjdhhhjdhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ethtool_keee *eee`` a pointer to a :c:type:`struct ethtool_keee ` for the desired parametersh](jl)}(h**Parameters**h]j)}(hj fh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj fubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjfubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hj+fh]hstruct phylink *pl}(hj-fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)fubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj%fubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjDfhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjNfh]hstruct phylink}(hjPfhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjLfubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj@fhM hjDfubh returned from phylink_create()}(hjDfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj@fhM hjAfubah}(h]h ]h"]h$]h&]uh1jhj%fubeh}(h]h ]h"]h$]h&]uh1jhj@fhM hj"fubj)}(hs``struct ethtool_keee *eee`` a pointer to a :c:type:`struct ethtool_keee ` for the desired parametersh](j)}(h``struct ethtool_keee *eee``h]j)}(hjfh]hstruct ethtool_keee *eee}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjfubj)}(hhh]jl)}(hVa pointer to a :c:type:`struct ethtool_keee ` for the desired parametersh](ha pointer to a }(hjfhhhNhNubh)}(h,:c:type:`struct ethtool_keee `h]j)}(hjfh]hstruct ethtool_keee}(hjfhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj ethtool_keeeuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjfubh for the desired parameters}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjfhM hjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhM hj"fubeh}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_mii_ioctl (C function)c.phylink_mii_ioctlhNtauh1hhjhhhNhNubh)}(hhh](j)}(hFint phylink_mii_ioctl (struct phylink *pl, struct ifreq *ifr, int cmd)h]j )}(hEint phylink_mii_ioctl(struct phylink *pl, struct ifreq *ifr, int cmd)h](jM )}(hinth]hint}(hjghhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjghhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM ubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjghhhjghM ubj3)}(hphylink_mii_ioctlh]j9)}(hphylink_mii_ioctlh]hphylink_mii_ioctl}(hj%ghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj!gubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjghhhjghM ubj )}(h0(struct phylink *pl, struct ifreq *ifr, int cmd)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjAghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=gubj")}(h h]h }(hjNghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=gubh)}(hhh]j9)}(hphylinkh]hphylink}(hj_ghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj\gubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjagmodnameN classnameNj j )}j ]j )}j j'gsbc.phylink_mii_ioctlasbuh1hhj=gubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj=gubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj=gubj9)}(hplh]hpl}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj=gubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9gubj )}(hstruct ifreq *ifrh](j)}(hjh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubh)}(hhh]j9)}(hifreqh]hifreq}(hjghhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNj j )}j ]j{gc.phylink_mii_ioctlasbuh1hhjgubj")}(h h]h }(hjghhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjgubj )}(hj h]h*}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjgubj9)}(hifrh]hifr}(hj hhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjgubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9gubj )}(hint cmdh](jM )}(hinth]hint}(hj#hhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhubj")}(h h]h }(hj1hhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhubj9)}(hcmdh]hcmd}(hj?hhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjhubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj9gubeh}(h]h ]h"]h$]h&]jPjQuh1j hjghhhjghM ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjfhhhjghM ubah}(h]jfah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjghM hjfhhubjg)}(hhh]jl)}(hgeneric mii ioctl interfaceh]hgeneric mii ioctl interface}(hjihhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjfhhhubah}(h]h ]h"]h$]h&]uh1jfhjfhhhjghM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1hhhhjhNhNubj)}(hX}**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``struct ifreq *ifr`` a pointer to a :c:type:`struct ifreq ` for socket ioctls ``int cmd`` ioctl cmd to execute **Description** Perform the specified MII ioctl on the PHY attached to the phylink instance specified by **pl**. If no PHY is attached, emulate the presence of the PHY. ``SIOCGMIIPHY``: read register from the current PHY. ``SIOCGMIIREG``: read register from the specified PHY. ``SIOCSMIIREG``: set a register on the specified PHY. **Return** zero on success or negative error code.h](jl)}(h**Parameters**h]j)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjhh]hstruct phylink *pl}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hjhhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjhh]hstruct phylink}(hjhhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjhhM hjhubh returned from phylink_create()}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhhM hjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhM hjhubj)}(hV``struct ifreq *ifr`` a pointer to a :c:type:`struct ifreq ` for socket ioctls h](j)}(h``struct ifreq *ifr``h]j)}(hjih]hstruct ifreq *ifr}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjiubj)}(hhh]jl)}(h?a pointer to a :c:type:`struct ifreq ` for socket ioctlsh](ha pointer to a }(hjihhhNhNubh)}(h:c:type:`struct ifreq `h]j)}(hj)ih]h struct ifreq}(hj+ihhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj'iubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjifrequh1hhjihM hjiubh for socket ioctls}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjihM hjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihM hjhubj)}(h!``int cmd`` ioctl cmd to execute h](j)}(h ``int cmd``h]j)}(hjbih]hint cmd}(hjdihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`iubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj\iubj)}(hhh]jl)}(hioctl cmd to executeh]hioctl cmd to execute}(hj{ihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjwihM hjxiubah}(h]h ]h"]h$]h&]uh1jhj\iubeh}(h]h ]h"]h$]h&]uh1jhjwihM hjhubeh}(h]h ]h"]h$]h&]uh1jhjhubjl)}(h**Description**h]j)}(hjih]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhubjl)}(hPerform the specified MII ioctl on the PHY attached to the phylink instance specified by **pl**. If no PHY is attached, emulate the presence of the PHY.h](hYPerform the specified MII ioctl on the PHY attached to the phylink instance specified by }(hjihhhNhNubj)}(h**pl**h]hpl}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh9. If no PHY is attached, emulate the presence of the PHY.}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhubj)}(hhh](j)}(h4``SIOCGMIIPHY``: read register from the current PHY.h](j)}(h``SIOCGMIIPHY``:h](j)}(h``SIOCGMIIPHY``h]h SIOCGMIIPHY}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh:}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjiubj)}(hhh]jl)}(h#read register from the current PHY.h]h#read register from the current PHY.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihM hjiubj)}(h6``SIOCGMIIREG``: read register from the specified PHY.h](j)}(h``SIOCGMIIREG``:h](j)}(h``SIOCGMIIREG``h]h SIOCGMIIREG}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh:}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjjubj)}(hhh]jl)}(h%read register from the specified PHY.h]h%read register from the specified PHY.}(hj:jhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hj7jubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhj6jhM hjiubj)}(h6``SIOCSMIIREG``: set a register on the specified PHY. h](j)}(h``SIOCSMIIREG``:h](j)}(h``SIOCSMIIREG``h]h SIOCSMIIREG}(hj]jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYjubh:}(hjYjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjUjubj)}(hhh]jl)}(h$set a register on the specified PHY.h]h$set a register on the specified PHY.}(hjyjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjujhM hjvjubah}(h]h ]h"]h$]h&]uh1jhjUjubeh}(h]h ]h"]h$]h&]uh1jhjujhM hjiubeh}(h]h ]h"]h$]h&]uh1jhjhubjl)}(h **Return**h]j)}(hjjh]hReturn}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhubjl)}(h'zero on success or negative error code.h]h'zero on success or negative error code.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_speed_down (C function)c.phylink_speed_downhNtauh1hhjhhhNhNubh)}(hhh](j)}(h6int phylink_speed_down (struct phylink *pl, bool sync)h]j )}(h5int phylink_speed_down(struct phylink *pl, bool sync)h](jM )}(hinth]hint}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjjhhhjjhMubj3)}(hphylink_speed_downh]j9)}(hphylink_speed_downh]hphylink_speed_down}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjjhhhjjhMubj )}(h(struct phylink *pl, bool sync)h](j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj")}(h h]h }(hj*khhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubh)}(hhh]j9)}(hphylinkh]hphylink}(hj;khhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj8kubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=kmodnameN classnameNj j )}j ]j )}j jksbc.phylink_speed_downasbuh1hhjkubj")}(h h]h }(hj[khhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj )}(hj h]h*}(hjikhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjkubj9)}(hplh]hpl}(hjvkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubj )}(h bool synch](jM )}(hjh]hbool}(hjkhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjkubj")}(h h]h }(hjkhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjkubj9)}(hsynch]hsync}(hjkhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjkubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjkubeh}(h]h ]h"]h$]h&]jPjQuh1j hjjhhhjjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjjhhhjjhMubah}(h]jjah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjjhMhjjhhubjg)}(hhh]jl)}(hCset the non-SFP PHY to lowest speed supported by both link partnersh]hCset the non-SFP PHY to lowest speed supported by both link partners}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjkhhubah}(h]h ]h"]h$]h&]uh1jfhjjhhhjjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() ``bool sync`` perform action synchronously **Description** If we have a PHY that is not part of a SFP module, then set the speed as described in the phy_speed_down() function. Please see this function for a description of the **sync** parameter. Returns zero if there is no PHY, otherwise as per phy_speed_down().h](jl)}(h**Parameters**h]j)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjkubj)}(hhh](j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjlh]hstruct phylink *pl}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjlubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj.lhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj8lh]hstruct phylink}(hj:lhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj6lubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj*lhMhj.lubh returned from phylink_create()}(hj.lhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj*lhMhj+lubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhj*lhMhj lubj)}(h+``bool sync`` perform action synchronously h](j)}(h ``bool sync``h]j)}(hjqlh]h bool sync}(hjslhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjolubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjklubj)}(hhh]jl)}(hperform action synchronouslyh]hperform action synchronously}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjlhMhjlubah}(h]h ]h"]h$]h&]uh1jhjklubeh}(h]h ]h"]h$]h&]uh1jhjlhMhj lubeh}(h]h ]h"]h$]h&]uh1jhjkubjl)}(h**Description**h]j)}(hjlh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjkubjl)}(hIf we have a PHY that is not part of a SFP module, then set the speed as described in the phy_speed_down() function. Please see this function for a description of the **sync** parameter.h](hIf we have a PHY that is not part of a SFP module, then set the speed as described in the phy_speed_down() function. Please see this function for a description of the }(hjlhhhNhNubj)}(h**sync**h]hsync}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh parameter.}(hjlhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjkubjl)}(hCReturns zero if there is no PHY, otherwise as per phy_speed_down().h]hCReturns zero if there is no PHY, otherwise as per phy_speed_down().}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hphylink_speed_up (C function)c.phylink_speed_uphNtauh1hhjhhhNhNubh)}(hhh](j)}(h)int phylink_speed_up (struct phylink *pl)h]j )}(h(int phylink_speed_up(struct phylink *pl)h](jM )}(hinth]hint}(hjmhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjmhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hj!mhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjmhhhj mhMubj3)}(hphylink_speed_uph]j9)}(hphylink_speed_uph]hphylink_speed_up}(hj3mhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj/mubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjmhhhj mhMubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjOmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKmubj")}(h h]h }(hj\mhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKmubh)}(hhh]j9)}(hphylinkh]hphylink}(hjmmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjommodnameN classnameNj j )}j ]j )}j j5msbc.phylink_speed_upasbuh1hhjKmubj")}(h h]h }(hjmhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjKmubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjKmubj9)}(hplh]hpl}(hjmhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjKmubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjGmubah}(h]h ]h"]h$]h&]jPjQuh1j hjmhhhj mhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj mhhhj mhMubah}(h]jmah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj mhMhjmhhubjg)}(hhh]jl)}(hGrestore the advertised speeds prior to the call to phylink_speed_down()h]hGrestore the advertised speeds prior to the call to phylink_speed_down()}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjmhhubah}(h]h ]h"]h$]h&]uh1jfhjmhhhj mhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1hhhhjhNhNubj)}(hX4**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** If we have a PHY that is not part of a SFP module, then restore the PHY speeds as per phy_speed_up(). Returns zero if there is no PHY, otherwise as per phy_speed_up().h](jl)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjmubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjnh]hstruct phylink *pl}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj nubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj,nhhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj6nh]hstruct phylink}(hj8nhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj4nubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj(nhMhj,nubh returned from phylink_create()}(hj,nhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj(nhMhj)nubah}(h]h ]h"]h$]h&]uh1jhj nubeh}(h]h ]h"]h$]h&]uh1jhj(nhMhj nubah}(h]h ]h"]h$]h&]uh1jhjmubjl)}(h**Description**h]j)}(hjqnh]h Description}(hjsnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjonubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjmubjl)}(heIf we have a PHY that is not part of a SFP module, then restore the PHY speeds as per phy_speed_up().h]heIf we have a PHY that is not part of a SFP module, then restore the PHY speeds as per phy_speed_up().}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjmubjl)}(hAReturns zero if there is no PHY, otherwise as per phy_speed_up().h]hAReturns zero if there is no PHY, otherwise as per phy_speed_up().}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM!hjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(phylink_decode_usxgmii_word (C function)c.phylink_decode_usxgmii_wordhNtauh1hhjhhhNhNubh)}(hhh](j)}(hQvoid phylink_decode_usxgmii_word (struct phylink_link_state *state, uint16_t lpa)h]j )}(hPvoid phylink_decode_usxgmii_word(struct phylink_link_state *state, uint16_t lpa)h](jM )}(hvoidh]hvoid}(hjnhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjnhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjnhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnhhhjnhMubj3)}(hphylink_decode_usxgmii_wordh]j9)}(hphylink_decode_usxgmii_wordh]hphylink_decode_usxgmii_word}(hjnhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjnhhhjnhMubj )}(h0(struct phylink_link_state *state, uint16_t lpa)h](j )}(h struct phylink_link_state *stateh](j)}(hjh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hj ohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"omodnameN classnameNj j )}j ]j )}j jnsbc.phylink_decode_usxgmii_wordasbuh1hhjnubj")}(h h]h }(hj@ohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjnubj )}(hj h]h*}(hjNohhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjnubj9)}(hstateh]hstate}(hj[ohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjnubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjnubj )}(h uint16_t lpah](h)}(hhh]j9)}(huint16_th]huint16_t}(hjwohhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjtoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjyomodnameN classnameNj j )}j ]jqc.phylink_decode_usgmii_wordasbuh1hhjrqubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjrqubj9)}(hlpah]hlpa}(hjqhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjrqubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjpubeh}(h]h ]h"]h$]h&]jPjQuh1j hjphhhjphMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjphhhjphMubah}(h]jpah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjphMhjphhubjg)}(hhh]jl)}(h%decode the USGMII word from a MAC PCSh]h%decode the USGMII word from a MAC PCS}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjqhhubah}(h]h ]h"]h$]h&]uh1jfhjphhhjphMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink_link_state *state`` a pointer to a struct phylink_link_state. ``uint16_t lpa`` a 16 bit value which stores the USGMII auto-negotiation word **Description** Helper for MAC PCS supporting the USGMII protocol and the auto-negotiation code word. Decode the USGMII code word and populate the corresponding fields (speed, duplex) into the phylink_link_state structure. The structure for this word is the same as the USXGMII word, except it only supports speeds up to 1Gbps.h](jl)}(h**Parameters**h]j)}(hjqh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM hjqubj)}(hhh](j)}(hO``struct phylink_link_state *state`` a pointer to a struct phylink_link_state. h](j)}(h$``struct phylink_link_state *state``h]j)}(hjrh]h struct phylink_link_state *state}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj rubj)}(hhh]jl)}(h)a pointer to a struct phylink_link_state.h]h)a pointer to a struct phylink_link_state.}(hj)rhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj%rhMhj&rubah}(h]h ]h"]h$]h&]uh1jhj rubeh}(h]h ]h"]h$]h&]uh1jhj%rhMhjrubj)}(hN``uint16_t lpa`` a 16 bit value which stores the USGMII auto-negotiation word h](j)}(h``uint16_t lpa``h]j)}(hjIrh]h uint16_t lpa}(hjKrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGrubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjCrubj)}(hhh]jl)}(h`. ``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) ``u16 bmsr`` The value of the ``MII_BMSR`` register ``u16 lpa`` The value of the ``MII_LPA`` register **Description** Helper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation and/or SGMII control. Parse the Clause 37 or Cisco SGMII link partner negotiation word into the phylink **state** structure. This is suitable to be used for implementing the pcs_get_state() member of the struct phylink_pcs_ops structure if accessing **bmsr** and **lpa** cannot be done with MDIO directly.h](jl)}(h**Parameters**h]j)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM,hjtubj)}(hhh](j)}(hn``struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. h](j)}(h$``struct phylink_link_state *state``h]j)}(hjth]h struct phylink_link_state *state}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM)hjtubj)}(hhh]jl)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hjthhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjth]hstruct phylink_link_state}(hjthhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_link_stateuh1hhjthM)hjtubh.}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjthM)hjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthM)hjtubj)}(hF``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) h](j)}(h``unsigned int neg_mode``h]j)}(hjuh]hunsigned int neg_mode}(hj uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM*hjuubj)}(hhh]jl)}(h+link negotiation mode (PHYLINK_PCS_NEG_xxx)h]h+link negotiation mode (PHYLINK_PCS_NEG_xxx)}(hj uhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjuhM*hjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhM*hjtubj)}(h4``u16 bmsr`` The value of the ``MII_BMSR`` register h](j)}(h ``u16 bmsr``h]j)}(hj@uh]hu16 bmsr}(hjBuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>uubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+hj:uubj)}(hhh]jl)}(h&The value of the ``MII_BMSR`` registerh](hThe value of the }(hjYuhhhNhNubj)}(h ``MII_BMSR``h]hMII_BMSR}(hjauhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYuubh register}(hjYuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjUuhM+hjVuubah}(h]h ]h"]h$]h&]uh1jhj:uubeh}(h]h ]h"]h$]h&]uh1jhjUuhM+hjtubj)}(h2``u16 lpa`` The value of the ``MII_LPA`` register h](j)}(h ``u16 lpa``h]j)}(hjuh]hu16 lpa}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM,hjuubj)}(hhh]jl)}(h%The value of the ``MII_LPA`` registerh](hThe value of the }(hjuhhhNhNubj)}(h ``MII_LPA``h]hMII_LPA}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh register}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjuhM,hjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhM,hjtubeh}(h]h ]h"]h$]h&]uh1jhjtubjl)}(h**Description**h]j)}(hjuh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM.hjtubjl)}(hnHelper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation and/or SGMII control.h]hnHelper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation and/or SGMII control.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM-hjtubjl)}(hXParse the Clause 37 or Cisco SGMII link partner negotiation word into the phylink **state** structure. This is suitable to be used for implementing the pcs_get_state() member of the struct phylink_pcs_ops structure if accessing **bmsr** and **lpa** cannot be done with MDIO directly.h](hRParse the Clause 37 or Cisco SGMII link partner negotiation word into the phylink }(hjuhhhNhNubj)}(h **state**h]hstate}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh structure. This is suitable to be used for implementing the pcs_get_state() member of the struct phylink_pcs_ops structure if accessing }(hjuhhhNhNubj)}(h**bmsr**h]hbmsr}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh and }(hjuhhhNhNubj)}(h**lpa**h]hlpa}(hj)vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh# cannot be done with MDIO directly.}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM0hjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*phylink_mii_c22_pcs_get_state (C function)c.phylink_mii_c22_pcs_get_statehNtauh1hhjhhhNhNubh)}(hhh](j)}(huvoid phylink_mii_c22_pcs_get_state (struct mdio_device *pcs, unsigned int neg_mode, struct phylink_link_state *state)h]j )}(htvoid phylink_mii_c22_pcs_get_state(struct mdio_device *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](jM )}(hvoidh]hvoid}(hjbvhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^vhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMiubj")}(h h]h }(hjqvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^vhhhjpvhMiubj3)}(hphylink_mii_c22_pcs_get_stateh]j9)}(hphylink_mii_c22_pcs_get_stateh]hphylink_mii_c22_pcs_get_state}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^vhhhjpvhMiubj )}(hR(struct mdio_device *pcs, unsigned int neg_mode, struct phylink_link_state *state)h](j )}(hstruct mdio_device *pcsh](j)}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubh)}(hhh]j9)}(h mdio_deviceh]h mdio_device}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNj j )}j ]j )}j jvsbc.phylink_mii_c22_pcs_get_stateasbuh1hhjvubj")}(h h]h }(hjvhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjvubj )}(hj h]h*}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjvubj9)}(hpcsh]hpcs}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubj )}(hunsigned int neg_modeh](jM )}(hunsignedh]hunsigned}(hjwhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj wubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj wubjM )}(hinth]hint}(hj-whhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj wubj")}(h h]h }(hj;whhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj wubj9)}(hneg_modeh]hneg_mode}(hjIwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj wubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubj )}(h struct phylink_link_state *stateh](j)}(hjh]hstruct}(hjbwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^wubj")}(h h]h }(hjowhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^wubh)}(hhh]j9)}(hphylink_link_stateh]hphylink_link_state}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}wubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNj j )}j ]jvc.phylink_mii_c22_pcs_get_stateasbuh1hhj^wubj")}(h h]h }(hjwhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^wubj )}(hj h]h*}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj^wubj9)}(hstateh]hstate}(hjwhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj^wubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjvubeh}(h]h ]h"]h$]h&]jPjQuh1j hj^vhhhjpvhMiubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjZvhhhjpvhMiubah}(h]jUvah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjpvhMihjWvhhubjg)}(hhh]jl)}(hread the MAC PCS stateh]hread the MAC PCS state}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMihjwhhubah}(h]h ]h"]h$]h&]uh1jfhjWvhhhjpvhMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwjjwjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct mdio_device *pcs`` a pointer to a :c:type:`struct mdio_device `. ``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) ``struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. **Description** Helper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation and/or SGMII control. Read the MAC PCS state from the MII device configured in **config** and parse the Clause 37 or Cisco SGMII link partner negotiation word into the phylink **state** structure. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.h](jl)}(h**Parameters**h]j)}(hjxh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMmhjwubj)}(hhh](j)}(hW``struct mdio_device *pcs`` a pointer to a :c:type:`struct mdio_device `. h](j)}(h``struct mdio_device *pcs``h]j)}(hj$xh]hstruct mdio_device *pcs}(hj&xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"xubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMjhjxubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hj=xhhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hjGxh]hstruct mdio_device}(hjIxhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjExubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj mdio_deviceuh1hhj9xhMjhj=xubh.}(hj=xhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj9xhMjhj:xubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhj9xhMjhjxubj)}(hF``unsigned int neg_mode`` link negotiation mode (PHYLINK_PCS_NEG_xxx) h](j)}(h``unsigned int neg_mode``h]j)}(hjxh]hunsigned int neg_mode}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~xubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMkhjzxubj)}(hhh]jl)}(h+link negotiation mode (PHYLINK_PCS_NEG_xxx)h]h+link negotiation mode (PHYLINK_PCS_NEG_xxx)}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjxhMkhjxubah}(h]h ]h"]h$]h&]uh1jhjzxubeh}(h]h ]h"]h$]h&]uh1jhjxhMkhjxubj)}(hn``struct phylink_link_state *state`` a pointer to a :c:type:`struct phylink_link_state `. h](j)}(h$``struct phylink_link_state *state``h]j)}(hjxh]h struct phylink_link_state *state}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMlhjxubj)}(hhh]jl)}(hHa pointer to a :c:type:`struct phylink_link_state `.h](ha pointer to a }(hjxhhhNhNubh)}(h8:c:type:`struct phylink_link_state `h]j)}(hjxh]hstruct phylink_link_state}(hjxhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylink_link_stateuh1hhjxhMlhjxubh.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjxhMlhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhMlhjxubeh}(h]h ]h"]h$]h&]uh1jhjwubjl)}(h**Description**h]j)}(hjyh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMnhjwubjl)}(hnHelper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation and/or SGMII control.h]hnHelper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation and/or SGMII control.}(hj-yhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMmhjwubjl)}(hXRead the MAC PCS state from the MII device configured in **config** and parse the Clause 37 or Cisco SGMII link partner negotiation word into the phylink **state** structure. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.h](h9Read the MAC PCS state from the MII device configured in }(hj`. ``phy_interface_t interface`` the PHY interface mode being configured ``const unsigned long *advertising`` the ethtool advertisement mask ``unsigned int neg_mode`` PCS negotiation mode **Description** Configure a Clause 22 PCS PHY with the appropriate negotiation parameters for the **mode**, **interface** and **advertising** parameters. Returns negative error number on failure, zero if the advertisement has not changed, or positive if there is a change.h](jl)}(h**Parameters**h]j)}(hj ~h]h Parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ~ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj~ubj)}(hhh](j)}(hW``struct mdio_device *pcs`` a pointer to a :c:type:`struct mdio_device `. h](j)}(h``struct mdio_device *pcs``h]j)}(hj+~h]hstruct mdio_device *pcs}(hj-~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)~ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj%~ubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hjD~hhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hjN~h]hstruct mdio_device}(hjP~hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjL~ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj mdio_deviceuh1hhj@~hMhjD~ubh.}(hjD~hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj@~hMhjA~ubah}(h]h ]h"]h$]h&]uh1jhj%~ubeh}(h]h ]h"]h$]h&]uh1jhj@~hMhj"~ubj)}(hF``phy_interface_t interface`` the PHY interface mode being configured h](j)}(h``phy_interface_t interface``h]j)}(hj~h]hphy_interface_t interface}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj~ubj)}(hhh]jl)}(h'the PHY interface mode being configuredh]h'the PHY interface mode being configured}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj"~ubj)}(hD``const unsigned long *advertising`` the ethtool advertisement mask h](j)}(h$``const unsigned long *advertising``h]j)}(hj~h]h const unsigned long *advertising}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj~ubj)}(hhh]jl)}(hthe ethtool advertisement maskh]hthe ethtool advertisement mask}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj~hMhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj"~ubj)}(h/``unsigned int neg_mode`` PCS negotiation mode h](j)}(h``unsigned int neg_mode``h]j)}(hj~h]hunsigned int neg_mode}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj~ubj)}(hhh]jl)}(hPCS negotiation modeh]hPCS negotiation mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj"~ubeh}(h]h ]h"]h$]h&]uh1jhj~ubjl)}(h**Description**h]j)}(hj4h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj~ubjl)}(hXConfigure a Clause 22 PCS PHY with the appropriate negotiation parameters for the **mode**, **interface** and **advertising** parameters. Returns negative error number on failure, zero if the advertisement has not changed, or positive if there is a change.h](hRConfigure a Clause 22 PCS PHY with the appropriate negotiation parameters for the }(hjJhhhNhNubj)}(h**mode**h]hmode}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubh, }(hjJhhhNhNubj)}(h **interface**h]h interface}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubh and }(hjJhhhNhNubj)}(h**advertising**h]h advertising}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubh parameters. Returns negative error number on failure, zero if the advertisement has not changed, or positive if there is a change.}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h+phylink_mii_c22_pcs_an_restart (C function) c.phylink_mii_c22_pcs_an_restarthNtauh1hhjhhhNhNubh)}(hhh](j)}(h=void phylink_mii_c22_pcs_an_restart (struct mdio_device *pcs)h]j )}(h`. **Description** Helper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation. Restart the clause 37 negotiation with the link partner. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]j)}(hW``struct mdio_device *pcs`` a pointer to a :c:type:`struct mdio_device `. h](j)}(h``struct mdio_device *pcs``h]j)}(hjh]hstruct mdio_device *pcs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubj)}(hhh]jl)}(h:a pointer to a :c:type:`struct mdio_device `.h](ha pointer to a }(hjɀhhhNhNubh)}(h*:c:type:`struct mdio_device `h]j)}(hjӀh]hstruct mdio_device}(hjՀhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjрubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jj mdio_deviceuh1hhjŀhMhjɀubh.}(hjɀhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjŀhMhjƀubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjŀhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjl)}(hYHelper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation.h]hYHelper for MAC PCS supporting the 802.3 clause 22 register set for clause 37 negotiation.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubjl)}(hRestart the clause 37 negotiation with the link partner. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.h]hRestart the clause 37 negotiation with the link partner. This is suitable to be directly plugged into the pcs_get_state() member of the struct phylink_pcs_ops structure.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&phylink_replay_link_begin (C function)c.phylink_replay_link_beginhNtauh1hhjhhhNhNubh)}(hhh](j)}(h3void phylink_replay_link_begin (struct phylink *pl)h]j )}(h2void phylink_replay_link_begin(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hjbhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj^hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMubj")}(h h]h }(hjqhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj^hhhjphMubj3)}(hphylink_replay_link_beginh]j9)}(hphylink_replay_link_beginh]hphylink_replay_link_begin}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj^hhhjphMubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hphylinkh]hphylink}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.phylink_replay_link_beginasbuh1hhjubj")}(h h]h }(hj݁hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hplh]hpl}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj^hhhjphMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjZhhhjphMubah}(h]jUah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjphMhjWhhubjg)}(hhh]jl)}(h;begin replay of link callbacks for driver which loses stateh]h;begin replay of link callbacks for driver which loses state}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjWhhhjphMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Helper for MAC drivers which may perform a destructive reset at runtime. Both the own driver's mac_link_down() method is called, as well as the pcs_link_down() method of the split PCS (if any). This is similar to phylink_stop(), except it does not alter the state of the phylib PHY (it is assumed that it is not affected by the MAC destructive reset).h](jl)}(h**Parameters**h]j)}(hjDh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj>ubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjch]hstruct phylink *pl}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj]ubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj|hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hjh]hstruct phylink}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhjxhMhj|ubh returned from phylink_create()}(hj|hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubjl)}(h**Description**h]j)}(hjh]h Description}(hjÂhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj>ubjl)}(hHelper for MAC drivers which may perform a destructive reset at runtime. Both the own driver's mac_link_down() method is called, as well as the pcs_link_down() method of the split PCS (if any).h]hHelper for MAC drivers which may perform a destructive reset at runtime. Both the own driver’s mac_link_down() method is called, as well as the pcs_link_down() method of the split PCS (if any).}(hjׂhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj>ubjl)}(hThis is similar to phylink_stop(), except it does not alter the state of the phylib PHY (it is assumed that it is not affected by the MAC destructive reset).h]hThis is similar to phylink_stop(), except it does not alter the state of the phylib PHY (it is assumed that it is not affected by the MAC destructive reset).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chMhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$phylink_replay_link_end (C function)c.phylink_replay_link_endhNtauh1hhjhhhNhNubh)}(hhh](j)}(h1void phylink_replay_link_end (struct phylink *pl)h]j )}(h0void phylink_replay_link_end(struct phylink *pl)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM'ubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj#hM'ubj3)}(hphylink_replay_link_endh]j9)}(hphylink_replay_link_endh]hphylink_replay_link_end}(hj6hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj2ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj#hM'ubj )}(h(struct phylink *pl)h]j )}(hstruct phylink *plh](j)}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubh)}(hhh]j9)}(hphylinkh]hphylink}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNj j )}j ]j )}j j8sbc.phylink_replay_link_endasbuh1hhjNubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjNubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjNubj9)}(hplh]hpl}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjNubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjJubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj#hM'ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj hhhj#hM'ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj#hM'hj hhubjg)}(hhh]jl)}(h8end replay of link callbacks for driver which lost stateh]h8end replay of link callbacks for driver which lost state}(hjՃhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM'hj҃hhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj#hM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXA**Parameters** ``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() **Description** Helper for MAC drivers which may perform a destructive reset at runtime. Both the own driver's mac_config() and mac_link_up() methods, as well as the pcs_config() and pcs_link_up() method of the split PCS (if any), are called. This is similar to phylink_start(), except it does not alter the state of the phylib PHY. One must call this method only within the same rtnl_lock() critical section as a previous phylink_replay_link_start().h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+hjubj)}(hhh]j)}(hh``struct phylink *pl`` a pointer to a :c:type:`struct phylink ` returned from phylink_create() h](j)}(h``struct phylink *pl``h]j)}(hjh]hstruct phylink *pl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM)hjubj)}(hhh]jl)}(hPa pointer to a :c:type:`struct phylink ` returned from phylink_create()h](ha pointer to a }(hj/hhhNhNubh)}(h":c:type:`struct phylink `h]j)}(hj9h]hstruct phylink}(hj;hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjphylinkuh1hhj+hM)hj/ubh returned from phylink_create()}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj+hM)hj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hM)hj ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjth]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM+hjubjl)}(hHelper for MAC drivers which may perform a destructive reset at runtime. Both the own driver's mac_config() and mac_link_up() methods, as well as the pcs_config() and pcs_link_up() method of the split PCS (if any), are called.h]hHelper for MAC drivers which may perform a destructive reset at runtime. Both the own driver’s mac_config() and mac_link_up() methods, as well as the pcs_config() and pcs_link_up() method of the split PCS (if any), are called.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM*hjubjl)}(hYThis is similar to phylink_start(), except it does not alter the state of the phylib PHY.h]hYThis is similar to phylink_start(), except it does not alter the state of the phylib PHY.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM.hjubjl)}(hvOne must call this method only within the same rtnl_lock() critical section as a previous phylink_replay_link_start().h]hvOne must call this method only within the same rtnl_lock() critical section as a previous phylink_replay_link_start().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:150: ./drivers/net/phy/phylink.chM1hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h]phylinkah ]h"]phylinkah$]h&]uh1hhjohhhhhKubh)}(hhh](h)}(h SFP supporth]h SFP support}(hjɄhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjƄhhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_bus (C struct) c.sfp_bushNtauh1hhjƄhhhNhNubh)}(hhh](j)}(hsfp_bush]j )}(hstruct sfp_bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhKubj3)}(hsfp_bush]j9)}(hjh]hsfp_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhKhjhhubjg)}(hhh]jl)}(h$internal representation of a sfp bush]h$internal representation of a sfp bus}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhj/hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhKubeh}(h]h ](jstructeh"]h$]h&]jjjjJjjJjjjuh1hhhhjƄhNhNubj)}(h6**Definition**:: struct sfp_bus { }; **Members**h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh:}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhjNubj)}(hstruct sfp_bus { };h]hstruct sfp_bus { };}hjosbah}(h]h ]h"]h$]h&]jPjQuh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhjNubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:155: ./drivers/net/phy/sfp-bus.chKhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjƄhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_eeprom_id (C struct)c.sfp_eeprom_idhNtauh1hhjƄhhhNhNubh)}(hhh](j)}(h sfp_eeprom_idh]j )}(hstruct sfp_eeprom_idh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKubj")}(h h]h }(hjąhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjÅhKubj3)}(h sfp_eeprom_idh]j9)}(hjh]h sfp_eeprom_id}(hjօhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj҅ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjÅhKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjÅhKubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjÅhKhjhhubjg)}(hhh]jl)}(h)raw SFP module identification informationh]h)raw SFP module identification information}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjÅhKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjƄhNhNubj)}(h**Definition**:: struct sfp_eeprom_id { struct sfp_eeprom_base base; struct sfp_eeprom_ext ext; }; **Members** ``base`` base SFP module identification structure ``ext`` extended SFP module identification structureh](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjubj)}(hYstruct sfp_eeprom_id { struct sfp_eeprom_base base; struct sfp_eeprom_ext ext; };h]hYstruct sfp_eeprom_id { struct sfp_eeprom_base base; struct sfp_eeprom_ext ext; };}hj5sbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjubjl)}(h **Members**h]j)}(hjFh]hMembers}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjubj)}(hhh](j)}(h2``base`` base SFP module identification structure h](j)}(h``base``h]j)}(hjeh]hbase}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhj_ubj)}(hhh]jl)}(h(base SFP module identification structureh]h(base SFP module identification structure}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhKhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhKhj\ubj)}(h4``ext`` extended SFP module identification structureh](j)}(h``ext``h]j)}(hjh]hext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjubj)}(hhh]jl)}(h,extended SFP module identification structureh]h,extended SFP module identification structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj\ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjƄhhhNhNubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߆ubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjƄhhubjl)}(hSee the SFF-8472 specification and related documents for the definition of these structure members. This can be obtained from https://www.snia.org/technology-communities/sff/specificationsh](h~See the SFF-8472 specification and related documents for the definition of these structure members. This can be obtained from }(hjhhhNhNubh reference)}(h>https://www.snia.org/technology-communities/sff/specificationsh]h>https://www.snia.org/technology-communities/sff/specifications}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1jhjubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKhjƄhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_module_caps (C struct)c.sfp_module_capshNtauh1hhjƄhhhNhNubh)}(hhh](j)}(hsfp_module_capsh]j )}(hstruct sfp_module_capsh](j)}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,hhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhKubj")}(h h]h }(hj>hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj,hhhj=hKubj3)}(hsfp_module_capsh]j9)}(hj*h]hsfp_module_caps}(hjPhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjLubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj,hhhj=hKubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhj(hhhj=hKubah}(h]j#ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj=hKhj%hhubjg)}(hhh]jl)}(hsfp module capabilitiesh]hsfp module capabilities}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM hjohhubah}(h]h ]h"]h$]h&]uh1jfhj%hhhj=hKubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhjƄhNhNubj)}(hX**Definition**:: struct sfp_module_caps { unsigned long interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; unsigned long link_modes[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; bool may_have_phy; u8 port; }; **Members** ``interfaces`` bitmap of interfaces that the module may support ``link_modes`` bitmap of ethtool link modes that the module may support ``may_have_phy`` indicate whether the module may have an ethernet PHY There is no way to be sure that a module has a PHY as the EEPROM doesn't contain this information. When set, this does not mean that the module definitely has a PHY. ``port`` one of ethtool ``PORT_*`` definitions, parsed from the module EEPROM, or ``PORT_OTHER`` if the port type is not known.h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjubj)}(hstruct sfp_module_caps { unsigned long interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; unsigned long link_modes[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; bool may_have_phy; u8 port; };h]hstruct sfp_module_caps { unsigned long interfaces[BITS_TO_LONGS( PHY_INTERFACE_MODE_MAX)]; unsigned long link_modes[BITS_TO_LONGS( __ETHTOOL_LINK_MODE_MASK_NBITS)]; bool may_have_phy; u8 port; };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjubjl)}(h **Members**h]j)}(hjh]hMembers}(hj‡hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjubj)}(hhh](j)}(h@``interfaces`` bitmap of interfaces that the module may support h](j)}(h``interfaces``h]j)}(hj߇h]h interfaces}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj݇ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjهubj)}(hhh]jl)}(h0bitmap of interfaces that the module may supporth]h0bitmap of interfaces that the module may support}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjهubeh}(h]h ]h"]h$]h&]uh1jhjhMhjևubj)}(hH``link_modes`` bitmap of ethtool link modes that the module may support h](j)}(h``link_modes``h]j)}(hjh]h link_modes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjubj)}(hhh]jl)}(h8bitmap of ethtool link modes that the module may supporth]h8bitmap of ethtool link modes that the module may support}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjևubj)}(h``may_have_phy`` indicate whether the module may have an ethernet PHY There is no way to be sure that a module has a PHY as the EEPROM doesn't contain this information. When set, this does not mean that the module definitely has a PHY. h](j)}(h``may_have_phy``h]j)}(hjQh]h may_have_phy}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjKubj)}(hhh]jl)}(hindicate whether the module may have an ethernet PHY There is no way to be sure that a module has a PHY as the EEPROM doesn't contain this information. When set, this does not mean that the module definitely has a PHY.h]hindicate whether the module may have an ethernet PHY There is no way to be sure that a module has a PHY as the EEPROM doesn’t contain this information. When set, this does not mean that the module definitely has a PHY.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjևubj)}(h``port`` one of ethtool ``PORT_*`` definitions, parsed from the module EEPROM, or ``PORT_OTHER`` if the port type is not known.h](j)}(h``port``h]j)}(hjh]hport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhMhjubj)}(hhh]jl)}(hvone of ethtool ``PORT_*`` definitions, parsed from the module EEPROM, or ``PORT_OTHER`` if the port type is not known.h](hone of ethtool }(hjhhhNhNubj)}(h ``PORT_*``h]hPORT_*}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh0 definitions, parsed from the module EEPROM, or }(hjhhhNhNubj)}(h``PORT_OTHER``h]h PORT_OTHER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if the port type is not known.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(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ƄhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_ops (C struct)c.sfp_upstream_opshNtauh1hhjƄhhhNhNubh)}(hhh](j)}(hsfp_upstream_opsh]j )}(hstruct sfp_upstream_opsh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM$ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM$ubj3)}(hsfp_upstream_opsh]j9)}(hjh]hsfp_upstream_ops}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM$ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM$ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM$hjhhubjg)}(hhh]jl)}(hupstream operations structureh]hupstream operations structure}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM#hjGhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM$ubeh}(h]h ](jstructeh"]h$]h&]jjjjbjjbjjjuh1hhhhjƄhNhNubj)}(hXD**Definition**:: struct sfp_upstream_ops { void (*attach)(void *priv, struct sfp_bus *bus); void (*detach)(void *priv, struct sfp_bus *bus); int (*module_insert)(void *priv, const struct sfp_eeprom_id *id); void (*module_remove)(void *priv); int (*module_start)(void *priv); void (*module_stop)(void *priv); void (*link_down)(void *priv); void (*link_up)(void *priv); int (*connect_phy)(void *priv, struct phy_device *); void (*disconnect_phy)(void *priv, struct phy_device *); }; **Members** ``attach`` called when the sfp socket driver is bound to the upstream (mandatory). ``detach`` called when the sfp socket driver is unbound from the upstream (mandatory). ``module_insert`` called after a module has been detected to determine whether the module is supported for the upstream device. ``module_remove`` called after the module has been removed. ``module_start`` called after the PHY probe step ``module_stop`` called before the PHY is removed ``link_down`` called when the link is non-operational for whatever reason. ``link_up`` called when the link is operational. ``connect_phy`` called when an I2C accessible PHY has been detected on the module. ``disconnect_phy`` called when a module with an I2C accessible PHY has been removed.h](jl)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh:}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM'hjfubj)}(hXstruct sfp_upstream_ops { void (*attach)(void *priv, struct sfp_bus *bus); void (*detach)(void *priv, struct sfp_bus *bus); int (*module_insert)(void *priv, const struct sfp_eeprom_id *id); void (*module_remove)(void *priv); int (*module_start)(void *priv); void (*module_stop)(void *priv); void (*link_down)(void *priv); void (*link_up)(void *priv); int (*connect_phy)(void *priv, struct phy_device *); void (*disconnect_phy)(void *priv, struct phy_device *); };h]hXstruct sfp_upstream_ops { void (*attach)(void *priv, struct sfp_bus *bus); void (*detach)(void *priv, struct sfp_bus *bus); int (*module_insert)(void *priv, const struct sfp_eeprom_id *id); void (*module_remove)(void *priv); int (*module_start)(void *priv); void (*module_stop)(void *priv); void (*link_down)(void *priv); void (*link_up)(void *priv); int (*connect_phy)(void *priv, struct phy_device *); void (*disconnect_phy)(void *priv, struct phy_device *); };}hjsbah}(h]h ]h"]h$]h&]jPjQuh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM)hjfubjl)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM6hjfubj)}(hhh](j)}(hS``attach`` called when the sfp socket driver is bound to the upstream (mandatory). h](j)}(h ``attach``h]j)}(hjh]hattach}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM&hjubj)}(hhh]jl)}(hGcalled when the sfp socket driver is bound to the upstream (mandatory).h]hGcalled when the sfp socket driver is bound to the upstream (mandatory).}(hjЉhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM%hj͉ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̉hM&hjubj)}(hW``detach`` called when the sfp socket driver is unbound from the upstream (mandatory). h](j)}(h ``detach``h]j)}(hjh]hdetach}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM(hjubj)}(hhh]jl)}(hKcalled when the sfp socket driver is unbound from the upstream (mandatory).h]hKcalled when the sfp socket driver is unbound from the upstream (mandatory).}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubj)}(h``module_insert`` called after a module has been detected to determine whether the module is supported for the upstream device. h](j)}(h``module_insert``h]j)}(hj+h]h module_insert}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM*hj%ubj)}(hhh]jl)}(hmcalled after a module has been detected to determine whether the module is supported for the upstream device.h]hmcalled after a module has been detected to determine whether the module is supported for the upstream device.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM)hjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hM*hjubj)}(h<``module_remove`` called after the module has been removed. h](j)}(h``module_remove``h]j)}(hjeh]h module_remove}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM+hj_ubj)}(hhh]jl)}(h)called after the module has been removed.h]h)called after the module has been removed.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjzhM+hj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhM+hjubj)}(h1``module_start`` called after the PHY probe step h](j)}(h``module_start``h]j)}(hjh]h module_start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM,hjubj)}(hhh]jl)}(hcalled after the PHY probe steph]hcalled after the PHY probe step}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjubj)}(h1``module_stop`` called before the PHY is removed h](j)}(h``module_stop``h]j)}(hj׊h]h module_stop}(hjيhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjՊubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM-hjъubj)}(hhh]jl)}(h called before the PHY is removedh]h called before the PHY is removed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjъubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjubj)}(hK``link_down`` called when the link is non-operational for whatever reason. h](j)}(h ``link_down``h]j)}(hjh]h link_down}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhT/var/lib/git/docbuild/linux/Documentation/networking/kapi:158: ./include/linux/sfp.hhM/hj ubj)}(hhh]jl)}(h` structure for the sfp module ``const unsigned long *link_modes`` ethtool link modes mask **Description** Derive the phy_interface_t mode for the SFP module from the link modes mask.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMQhj~ubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjh]hstruct sfp_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMNhjubj)}(hhh]jl)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjƍh]hstruct sfp_bus}(hjȍhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjčubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjhMNhjubh structure for the sfp module}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubj)}(h<``const unsigned long *link_modes`` ethtool link modes mask h](j)}(h#``const unsigned long *link_modes``h]j)}(hjh]hconst unsigned long *link_modes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMOhjubj)}(hhh]jl)}(hethtool link modes maskh]hethtool link modes mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubeh}(h]h ]h"]h$]h&]uh1jhj~ubjl)}(h**Description**h]j)}(hj:h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMQhj~ubjl)}(hLDerive the phy_interface_t mode for the SFP module from the link modes mask.h]hLDerive the phy_interface_t mode for the SFP module from the link modes mask.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMPhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjƄhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_bus_put (C function) c.sfp_bus_puthNtauh1hhjƄhhhNhNubh)}(hhh](j)}(h&void sfp_bus_put (struct sfp_bus *bus)h]j )}(h%void sfp_bus_put(struct sfp_bus *bus)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj{hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj{hhhjhMubj3)}(h sfp_bus_puth]j9)}(h sfp_bus_puth]h sfp_bus_put}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj{hhhjhMubj )}(h(struct sfp_bus *bus)h]j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjɎhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjڎhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj׎ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj܎modnameN classnameNj j )}j ]j )}j jsb c.sfp_bus_putasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj{hhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjwhhhjhMubah}(h]jrah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjthhubjg)}(hhh]jl)}(h9put a reference on the :c:type:`struct sfp_bus `h](hput a reference on the }(hj?hhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjIh]hstruct sfp_bus}(hjKhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj j )}j ]j c.sfp_bus_putasbjsfp_busuh1hhj:hMMhj?ubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj<hhubah}(h]h ]h"]h$]h&]uh1jfhjthhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1hhhhjƄhNhNubj)}(h**Parameters** ``struct sfp_bus *bus`` the :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode() **Description** Put a reference on the :c:type:`struct sfp_bus ` and free the underlying structure if this was the last reference.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]j)}(h_``struct sfp_bus *bus`` the :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode() h](j)}(h``struct sfp_bus *bus``h]j)}(hjh]hstruct sfp_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]jl)}(hFthe :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode()h](hthe }(hjhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjǏh]hstruct sfp_bus}(hjɏhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjŏubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjhMhjubh found via sfp_bus_find_fwnode()}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjl)}(h{Put a reference on the :c:type:`struct sfp_bus ` and free the underlying structure if this was the last reference.h](hPut a reference on the }(hjhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hj"h]hstruct sfp_bus}(hj$hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubhB and free the underlying structure if this was the last reference.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj?hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjƄhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sfp_get_module_info (C function)c.sfp_get_module_infohNtauh1hhjƄhhhNhNubh)}(hhh](j)}(hNint sfp_get_module_info (struct sfp_bus *bus, struct ethtool_modinfo *modinfo)h]j )}(hMint sfp_get_module_info(struct sfp_bus *bus, struct ethtool_modinfo *modinfo)h](jM )}(hinth]hint}(hjjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjfhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hjyhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjfhhhjxhMubj3)}(hsfp_get_module_infoh]j9)}(hsfp_get_module_infoh]hsfp_get_module_info}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjfhhhjxhMubj )}(h6(struct sfp_bus *bus, struct ethtool_modinfo *modinfo)h](j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjŐhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjǐmodnameN classnameNj j )}j ]j )}j jsbc.sfp_get_module_infoasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct ethtool_modinfo *modinfoh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj&hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hethtool_modinfoh]hethtool_modinfo}(hj7hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNj j )}j ]jc.sfp_get_module_infoasbuh1hhjubj")}(h h]h }(hjUhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hmodinfoh]hmodinfo}(hjphhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjfhhhjxhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjbhhhjxhMubah}(h]j]ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjxhMhj_hhubjg)}(hhh]jl)}(h(Get the ethtool_modinfo for a SFP moduleh]h(Get the ethtool_modinfo for a SFP module}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj_hhhjxhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjƄhNhNubj)}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``struct ethtool_modinfo *modinfo`` a :c:type:`struct ethtool_modinfo ` **Description** Fill in the type and eeprom_len parameters in **modinfo** for a module on the sfp bus specified by **bus**. Returns 0 on success or a negative errno number.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjۑh]hstruct sfp_bus *bus}(hjݑhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjّubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjՑubj)}(hhh]jl)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjh]hstruct sfp_bus}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjhMhjubh structure for the sfp module}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjՑubeh}(h]h ]h"]h$]h&]uh1jhjhMhjґubj)}(hY``struct ethtool_modinfo *modinfo`` a :c:type:`struct ethtool_modinfo ` h](j)}(h#``struct ethtool_modinfo *modinfo``h]j)}(hj7h]hstruct ethtool_modinfo *modinfo}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj1ubj)}(hhh]jl)}(h4a :c:type:`struct ethtool_modinfo `h](ha }(hjPhhhNhNubh)}(h2:c:type:`struct ethtool_modinfo `h]j)}(hjZh]hstruct ethtool_modinfo}(hj\hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_modinfouh1hhjLhMhjPubeh}(h]h ]h"]h$]h&]uh1jkhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjґubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjl)}(hkFill in the type and eeprom_len parameters in **modinfo** for a module on the sfp bus specified by **bus**.h](h.Fill in the type and eeprom_len parameters in }(hjhhhNhNubj)}(h **modinfo**h]hmodinfo}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh* for a module on the sfp bus specified by }(hjhhhNhNubj)}(h**bus**h]hbus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjl)}(h0Returns 0 on success or a negative errno number.h]h0Returns 0 on success or a negative errno number.}(hjڒhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjƄhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sfp_get_module_eeprom (C function)c.sfp_get_module_eepromhNtauh1hhjƄhhhNhNubh)}(hhh](j)}(hTint sfp_get_module_eeprom (struct sfp_bus *bus, struct ethtool_eeprom *ee, u8 *data)h]j )}(hSint sfp_get_module_eeprom(struct sfp_bus *bus, struct ethtool_eeprom *ee, u8 *data)h](jM )}(hinth]hint}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhMubj3)}(hsfp_get_module_eepromh]j9)}(hsfp_get_module_eepromh]hsfp_get_module_eeprom}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj&ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhMubj )}(h:(struct sfp_bus *bus, struct ethtool_eeprom *ee, u8 *data)h](j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj")}(h h]h }(hjShhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNj j )}j ]j )}j j,sbc.sfp_get_module_eepromasbuh1hhjBubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjBubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjBubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjBubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubj )}(hstruct ethtool_eeprom *eeh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjœhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hethtool_eepromh]hethtool_eeprom}(hj֓hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjӓubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjؓmodnameN classnameNj j )}j ]jc.sfp_get_module_eepromasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(heeh]hee}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubj )}(hu8 *datah](h)}(hhh]j9)}(hu8h]hu8}(hj+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNj j )}j ]jc.sfp_get_module_eepromasbuh1hhj$ubj")}(h h]h }(hjIhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj$ubj )}(hj h]h*}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj$ubj9)}(hdatah]hdata}(hjdhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj$ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj>ubeh}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhMhjhhubjg)}(hhh]jl)}(hRead the SFP module EEPROMh]hRead the SFP module EEPROM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjƄhNhNubj)}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``struct ethtool_eeprom *ee`` a :c:type:`struct ethtool_eeprom ` ``u8 *data`` buffer to contain the EEPROM data (must be at least **ee->len** bytes) **Description** Read the EEPROM as specified by the supplied **ee**. See the documentation for :c:type:`struct ethtool_eeprom ` for the region to be read. Returns 0 on success or a negative errno number.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjϔh]hstruct sfp_bus *bus}(hjєhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͔ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjɔubj)}(hhh]jl)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjh]hstruct sfp_bus}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjhMhjubh structure for the sfp module}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjɔubeh}(h]h ]h"]h$]h&]uh1jhjhMhjƔubj)}(hQ``struct ethtool_eeprom *ee`` a :c:type:`struct ethtool_eeprom ` h](j)}(h``struct ethtool_eeprom *ee``h]j)}(hj+h]hstruct ethtool_eeprom *ee}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj%ubj)}(hhh]jl)}(h2a :c:type:`struct ethtool_eeprom `h](ha }(hjDhhhNhNubh)}(h0:c:type:`struct ethtool_eeprom `h]j)}(hjNh]hstruct ethtool_eeprom}(hjPhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_eepromuh1hhj@hMhjDubeh}(h]h ]h"]h$]h&]uh1jkhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjƔubj)}(hT``u8 *data`` buffer to contain the EEPROM data (must be at least **ee->len** bytes) h](j)}(h ``u8 *data``h]j)}(hjh]hu8 *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj}ubj)}(hhh]jl)}(hFbuffer to contain the EEPROM data (must be at least **ee->len** bytes)h](h4buffer to contain the EEPROM data (must be at least }(hjhhhNhNubj)}(h **ee->len**h]hee->len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjƔubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjЕh]h Description}(hjҕhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjΕubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjl)}(hRead the EEPROM as specified by the supplied **ee**. See the documentation for :c:type:`struct ethtool_eeprom ` for the region to be read.h](h-Read the EEPROM as specified by the supplied }(hjhhhNhNubj)}(h**ee**h]hee}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. See the documentation for }(hjhhhNhNubh)}(h0:c:type:`struct ethtool_eeprom `h]j)}(hjh]hstruct ethtool_eeprom}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_eepromuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubh for the region to be read.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubjl)}(h0Returns 0 on success or a negative errno number.h]h0Returns 0 on success or a negative errno number.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjƄhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*sfp_get_module_eeprom_by_page (C function)c.sfp_get_module_eeprom_by_pagehNtauh1hhjƄhhhNhNubh)}(hhh](j)}(hint sfp_get_module_eeprom_by_page (struct sfp_bus *bus, const struct ethtool_module_eeprom *page, struct netlink_ext_ack *extack)h]j )}(hint sfp_get_module_eeprom_by_page(struct sfp_bus *bus, const struct ethtool_module_eeprom *page, struct netlink_ext_ack *extack)h](jM )}(hinth]hint}(hjYhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjUhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hjhhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjUhhhjghMubj3)}(hsfp_get_module_eeprom_by_pageh]j9)}(hsfp_get_module_eeprom_by_pageh]hsfp_get_module_eeprom_by_page}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjvubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjUhhhjghMubj )}(h_(struct sfp_bus *bus, const struct ethtool_module_eeprom *page, struct netlink_ext_ack *extack)h](j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j|sbc.sfp_get_module_eeprom_by_pageasbuh1hhjubj")}(h h]h }(hjԖhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h(const struct ethtool_module_eeprom *pageh](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj)}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hj0hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hethtool_module_eepromh]hethtool_module_eeprom}(hjAhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNj j )}j ]jЖc.sfp_get_module_eeprom_by_pageasbuh1hhjubj")}(h h]h }(hj_hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hpageh]hpage}(hjzhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hstruct netlink_ext_ack *extackh](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hnetlink_ext_ackh]hnetlink_ext_ack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jЖc.sfp_get_module_eeprom_by_pageasbuh1hhjubj")}(h h]h }(hjϗhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjݗhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hextackh]hextack}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjUhhhjghMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjQhhhjghMubah}(h]jLah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjghMhjNhhubjg)}(hhh]jl)}(h&Read a page from the SFP module EEPROMh]h&Read a page from the SFP module EEPROM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjNhhhjghMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhjƄhNhNubj)}(hXT**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``const struct ethtool_module_eeprom *page`` a :c:type:`struct ethtool_module_eeprom ` ``struct netlink_ext_ack *extack`` extack for reporting problems **Description** Read an EEPROM page as specified by the supplied **page**. See the documentation for :c:type:`struct ethtool_module_eeprom ` for the page to be read. Returns 0 on success or a negative errno number. More error information might be provided via extackh](jl)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj0ubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjUh]hstruct sfp_bus *bus}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjOubj)}(hhh]jl)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjnhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjxh]hstruct sfp_bus}(hjzhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjjhMhjnubh structure for the sfp module}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjLubj)}(hn``const struct ethtool_module_eeprom *page`` a :c:type:`struct ethtool_module_eeprom ` h](j)}(h,``const struct ethtool_module_eeprom *page``h]j)}(hjh]h(const struct ethtool_module_eeprom *page}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]jl)}(h@a :c:type:`struct ethtool_module_eeprom `h](ha }(hjʘhhhNhNubh)}(h>:c:type:`struct ethtool_module_eeprom `h]j)}(hjԘh]hstruct ethtool_module_eeprom}(hj֘hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjҘubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_module_eepromuh1hhjƘhMhjʘubeh}(h]h ]h"]h$]h&]uh1jkhjƘhMhjǘubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƘhMhjLubj)}(hA``struct netlink_ext_ack *extack`` extack for reporting problems h](j)}(h"``struct netlink_ext_ack *extack``h]j)}(hj h]hstruct netlink_ext_ack *extack}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]jl)}(hextack for reporting problemsh]hextack for reporting problems}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjLubeh}(h]h ]h"]h$]h&]uh1jhj0ubjl)}(h**Description**h]j)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj0ubjl)}(hRead an EEPROM page as specified by the supplied **page**. See the documentation for :c:type:`struct ethtool_module_eeprom ` for the page to be read.h](h1Read an EEPROM page as specified by the supplied }(hjZhhhNhNubj)}(h**page**h]hpage}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh. See the documentation for }(hjZhhhNhNubh)}(h>:c:type:`struct ethtool_module_eeprom `h]j)}(hjvh]hstruct ethtool_module_eeprom}(hjxhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjethtool_module_eepromuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjZubh for the page to be read.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhj0ubjl)}(hdReturns 0 on success or a negative errno number. More error information might be provided via extackh]hdReturns 0 on success or a negative errno number. More error information might be provided via extack}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjƄhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_start (C function)c.sfp_upstream_starthNtauh1hhjƄhhhNhNubh)}(hhh](j)}(h-void sfp_upstream_start (struct sfp_bus *bus)h]j )}(h,void sfp_upstream_start(struct sfp_bus *bus)h](jM )}(hvoidh]hvoid}(hj͙hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjəhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hjܙhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjəhhhjۙhMubj3)}(hsfp_upstream_starth]j9)}(hsfp_upstream_starth]hsfp_upstream_start}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjəhhhjۙhMubj )}(h(struct sfp_bus *bus)h]j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hj(hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNj j )}j ]j )}j jsbc.sfp_upstream_startasbuh1hhjubj")}(h h]h }(hjHhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjchhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hjəhhhjۙhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjřhhhjۙhMubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjۙhMhj™hhubjg)}(hhh]jl)}(h,Inform the SFP that the network device is uph]h,Inform the SFP that the network device is up}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj™hhhjۙhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjƄhNhNubj)}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module **Description** Inform the SFP socket that the network device is now up, so that the module can be enabled by allowing TX_DISABLE to be deasserted. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_open() method.h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjΚh]hstruct sfp_bus *bus}(hjКhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̚ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjȚubj)}(hhh]jl)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjh]hstruct sfp_bus}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjhMhjubh structure for the sfp module}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjȚubeh}(h]h ]h"]h$]h&]uh1jhjhMhjŚubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hj,h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjl)}(hInform the SFP socket that the network device is now up, so that the module can be enabled by allowing TX_DISABLE to be deasserted. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_open() method.h](hInform the SFP socket that the network device is now up, so that the module can be enabled by allowing TX_DISABLE to be deasserted. This should be called from the network device driver’s }(hjBhhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hjLh]hstruct net_device_ops}(hjNhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjnet_device_opsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjBubh ndo_open() method.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjihMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjƄhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_upstream_stop (C function)c.sfp_upstream_stophNtauh1hhjƄhhhNhNubh)}(hhh](j)}(h,void sfp_upstream_stop (struct sfp_bus *bus)h]j )}(h+void sfp_upstream_stop(struct sfp_bus *bus)h](jM )}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM&ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjhM&ubj3)}(hsfp_upstream_stoph]j9)}(hsfp_upstream_stoph]hsfp_upstream_stop}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjhM&ubj )}(h(struct sfp_bus *bus)h]j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hjћhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj͛ubj")}(h h]h }(hjޛhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj͛ubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.sfp_upstream_stopasbuh1hhj͛ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj͛ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj͛ubj9)}(hbush]hbus}(hj*hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj͛ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjɛubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjhM&ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjhM&ubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM&hjhhubjg)}(hhh]jl)}(h.Inform the SFP that the network device is downh]h.Inform the SFP that the network device is down}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM&hjQhhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhjƄhNhNubj)}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module **Description** Inform the SFP socket that the network device is now up, so that the module can be disabled by asserting TX_DISABLE, disabling the laser in optical modules. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_stop() method.h](jl)}(h**Parameters**h]j)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM*hjpubj)}(hhh]j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjh]hstruct sfp_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM'hjubj)}(hhh]jl)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjh]hstruct sfp_bus}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjhM'hjubh structure for the sfp module}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjpubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM)hjpubjl)}(hXInform the SFP socket that the network device is now up, so that the module can be disabled by asserting TX_DISABLE, disabling the laser in optical modules. This should be called from the network device driver's :c:type:`struct net_device_ops ` ndo_stop() method.h](hInform the SFP socket that the network device is now up, so that the module can be disabled by asserting TX_DISABLE, disabling the laser in optical modules. This should be called from the network device driver’s }(hj hhhNhNubh)}(h0:c:type:`struct net_device_ops `h]j)}(hjh]hstruct net_device_ops}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjnet_device_opsuh1hhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM(hj ubh ndo_stop() method.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj0hM(hjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjƄhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)sfp_upstream_set_signal_rate (C function)c.sfp_upstream_set_signal_ratehNtauh1hhjƄhhhNhNubh)}(hhh](j)}(hNvoid sfp_upstream_set_signal_rate (struct sfp_bus *bus, unsigned int rate_kbd)h]j )}(hMvoid sfp_upstream_set_signal_rate(struct sfp_bus *bus, unsigned int rate_kbd)h](jM )}(hvoidh]hvoid}(hj[hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjWhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM=ubj")}(h h]h }(hjjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjWhhhjihM=ubj3)}(hsfp_upstream_set_signal_rateh]j9)}(hsfp_upstream_set_signal_rateh]hsfp_upstream_set_signal_rate}(hj|hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjxubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjWhhhjihM=ubj )}(h,(struct sfp_bus *bus, unsigned int rate_kbd)h](j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j j~sbc.sfp_upstream_set_signal_rateasbuh1hhjubj")}(h h]h }(hj֝hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hunsigned int rate_kbdh](jM )}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubjM )}(hinth]hint}(hj&hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjubj")}(h h]h }(hj4hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj9)}(hrate_kbdh]hrate_kbd}(hjBhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjWhhhjihM=ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjShhhjihM=ubah}(h]jNah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjihM=hjPhhubjg)}(hhh]jl)}(hset data signalling rateh]hset data signalling rate}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM=hjihhubah}(h]h ]h"]h$]h&]uh1jfhjPhhhjihM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjƄhNhNubj)}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module ``unsigned int rate_kbd`` signalling rate in units of 1000 baud **Description** Configure the rate select settings on the SFP module for the signalling rate (not the same as the data rate). Locks that may be held: Phylink's state_mutex rtnl lock SFP's sm_mutexh](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMAhjubj)}(hhh](j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjh]hstruct sfp_bus *bus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM>hjubj)}(hhh]jl)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjƞhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjОh]hstruct sfp_bus}(hjҞhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjΞubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjžhM>hjƞubh structure for the sfp module}(hjƞhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjžhM>hjÞubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjžhM>hjubj)}(h@``unsigned int rate_kbd`` signalling rate in units of 1000 baud h](j)}(h``unsigned int rate_kbd``h]j)}(hj h]hunsigned int rate_kbd}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM?hjubj)}(hhh]jl)}(h%signalling rate in units of 1000 baudh]h%signalling rate in units of 1000 baud}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubeh}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMAhjubjl)}(hmConfigure the rate select settings on the SFP module for the signalling rate (not the same as the data rate).h]hmConfigure the rate select settings on the SFP module for the signalling rate (not the same as the data rate).}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM@hjubj)}(hhh]j)}(hFLocks that may be held: Phylink's state_mutex rtnl lock SFP's sm_mutexh](j)}(hLocks that may be held:h]hLocks that may be held:}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMEhjlubj)}(hhh]jl)}(h.Phylink's state_mutex rtnl lock SFP's sm_mutexh]h2Phylink’s state_mutex rtnl lock SFP’s sm_mutex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMDhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhj~hMEhjiubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjƄhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sfp_bus_find_fwnode (C function)c.sfp_bus_find_fwnodehNtauh1hhjƄhhhNhNubh)}(hhh](j)}(hIstruct sfp_bus * sfp_bus_find_fwnode (const struct fwnode_handle *fwnode)h]j )}(hGstruct sfp_bus *sfp_bus_find_fwnode(const struct fwnode_handle *fwnode)h](j)}(hjh]hstruct}(hjßhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMQubj")}(h h]h }(hjџhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjПhMQubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjߟubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j sfp_bus_find_fwnodesbc.sfp_bus_find_fwnodeasbuh1hhjhhhjПhMQubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhjПhMQubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhjПhMQubj3)}(hsfp_bus_find_fwnodeh]j9)}(hjh]hsfp_bus_find_fwnode}(hj"hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhjПhMQubj )}(h$(const struct fwnode_handle *fwnode)h]j )}(h"const struct fwnode_handle *fwnodeh](j)}(hj h]hconst}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj")}(h h]h }(hjJhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj)}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubj")}(h h]h }(hjehhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubh)}(hhh]j9)}(h fwnode_handleh]h fwnode_handle}(hjvhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNj j )}j ]jc.sfp_bus_find_fwnodeasbuh1hhj9ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj9ubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj9ubj9)}(hfwnodeh]hfwnode}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj9ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hj5ubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhjПhMQubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhjПhMQubah}(h]jah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjПhMQhjhhubjg)}(hhh]jl)}(h(parse and locate the SFP bus from fwnodeh]h(parse and locate the SFP bus from fwnode}(hj٠hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMQhj֠hhubah}(h]h ]h"]h$]h&]uh1jfhjhhhjПhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjƄhNhNubj)}(hX{**Parameters** ``const struct fwnode_handle *fwnode`` firmware node for the parent device (MAC or PHY) **Description** Parse the parent device's firmware node for a SFP bus, and locate the sfp_bus structure, incrementing its reference count. This must be put via sfp_bus_put() when done. - corresponding to the errors detailed for fwnode_property_get_reference_args(). - ``-ENOMEM`` if we failed to allocate the bus. - an error from the upstream's connect_phy() method. **Return** - on success, a pointer to the sfp_bus structure, - ``NULL`` if no SFP is specified, - on failure, an error pointer value:h](jl)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMUhjubj)}(hhh]j)}(hX``const struct fwnode_handle *fwnode`` firmware node for the parent device (MAC or PHY) h](j)}(h&``const struct fwnode_handle *fwnode``h]j)}(hjh]h"const struct fwnode_handle *fwnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMRhjubj)}(hhh]jl)}(h0firmware node for the parent device (MAC or PHY)h]h0firmware node for the parent device (MAC or PHY)}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhj/hMRhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMRhjubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjUh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMThjubjl)}(hParse the parent device's firmware node for a SFP bus, and locate the sfp_bus structure, incrementing its reference count. This must be put via sfp_bus_put() when done.h]hParse the parent device’s firmware node for a SFP bus, and locate the sfp_bus structure, incrementing its reference count. This must be put via sfp_bus_put() when done.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMShjubj)}(h- corresponding to the errors detailed for fwnode_property_get_reference_args(). - ``-ENOMEM`` if we failed to allocate the bus. - an error from the upstream's connect_phy() method. h]jUQ)}(hhh](jZQ)}(hNcorresponding to the errors detailed for fwnode_property_get_reference_args().h]jl)}(hNcorresponding to the errors detailed for fwnode_property_get_reference_args().h]hNcorresponding to the errors detailed for fwnode_property_get_reference_args().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMXhjubah}(h]h ]h"]h$]h&]uh1jYQhj~ubjZQ)}(h-``-ENOMEM`` if we failed to allocate the bus.h]jl)}(hjh](j)}(h ``-ENOMEM``h]h-ENOMEM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" if we failed to allocate the bus.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMZhjubah}(h]h ]h"]h$]h&]uh1jYQhj~ubjZQ)}(h3an error from the upstream's connect_phy() method. h]jl)}(h2an error from the upstream's connect_phy() method.h]h4an error from the upstream’s connect_phy() method.}(hjġhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM[hjubah}(h]h ]h"]h$]h&]uh1jYQhj~ubeh}(h]h ]h"]h$]h&]j$Rj@uh1jTQhjhMXhjzubah}(h]h ]h"]h$]h&]uh1jhjhMXhjubjl)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM]hjubjUQ)}(hhh](jZQ)}(h/on success, a pointer to the sfp_bus structure,h]jl)}(hjh]h/on success, a pointer to the sfp_bus structure,}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMXhjubah}(h]h ]h"]h$]h&]uh1jYQhjubjZQ)}(h ``NULL`` if no SFP is specified,h]jl)}(hjh](j)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if no SFP is specified,}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMYhjubah}(h]h ]h"]h$]h&]uh1jYQhjubjZQ)}(h#on failure, an error pointer value:h]jl)}(hj@h]h#on failure, an error pointer value:}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMZhj>ubah}(h]h ]h"]h$]h&]uh1jYQhjubeh}(h]h ]h"]h$]h&]j$Rj@uh1jTQhjhMXhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjƄhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_bus_add_upstream (C function)c.sfp_bus_add_upstreamhNtauh1hhjƄhhhNhNubh)}(hhh](j)}(hbint sfp_bus_add_upstream (struct sfp_bus *bus, void *upstream, const struct sfp_upstream_ops *ops)h]j )}(haint sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream, const struct sfp_upstream_ops *ops)h](jM )}(hinth]hint}(hj|hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjxhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM~ubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjxhhhjhM~ubj3)}(hsfp_bus_add_upstreamh]j9)}(hsfp_bus_add_upstreamh]hsfp_bus_add_upstream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjxhhhjhM~ubj )}(hI(struct sfp_bus *bus, void *upstream, const struct sfp_upstream_ops *ops)h](j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjƢhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjעhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjԢubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj٢modnameN classnameNj j )}j ]j )}j jsbc.sfp_bus_add_upstreamasbuh1hhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(hvoid *upstreamh](jM )}(hvoidh]hvoid}(hj+hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj'ubj")}(h h]h }(hj9hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj'ubj )}(hj h]h*}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hj'ubj9)}(hupstreamh]hupstream}(hjThhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj'ubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubj )}(h"const struct sfp_upstream_ops *opsh](j)}(hj h]hconst}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj")}(h h]h }(hjzhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubh)}(hhh]j9)}(hsfp_upstream_opsh]hsfp_upstream_ops}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]jc.sfp_bus_add_upstreamasbuh1hhjiubj")}(h h]h }(hjģhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjiubj )}(hj h]h*}(hjңhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjiubj9)}(hopsh]hops}(hjߣhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjiubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubeh}(h]h ]h"]h$]h&]jPjQuh1j hjxhhhjhM~ubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjthhhjhM~ubah}(h]joah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjhM~hjqhhubjg)}(hhh]jl)}(h*parse and register the neighbouring deviceh]h*parse and register the neighbouring device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chM~hjhhubah}(h]h ]h"]h$]h&]uh1jfhjqhhhjhM~ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhjƄhNhNubj)}(hX=**Parameters** ``struct sfp_bus *bus`` the :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode() ``void *upstream`` the upstream private data ``const struct sfp_upstream_ops *ops`` the upstream's :c:type:`struct sfp_upstream_ops ` **Description** Add upstream driver for the SFP bus, and if the bus is complete, register the SFP bus using sfp_register_upstream(). This takes a reference on the bus, so it is safe to put the bus after this call. - corresponding to the errors detailed for fwnode_property_get_reference_args(). - ``-ENOMEM`` if we failed to allocate the bus. - an error from the upstream's connect_phy() method. **Return** - on success, a pointer to the sfp_bus structure, - ``NULL`` if no SFP is specified, - on failure, an error pointer value:h](jl)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj%ubj)}(hhh](j)}(h_``struct sfp_bus *bus`` the :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode() h](j)}(h``struct sfp_bus *bus``h]j)}(hjJh]hstruct sfp_bus *bus}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjDubj)}(hhh]jl)}(hFthe :c:type:`struct sfp_bus ` found via sfp_bus_find_fwnode()h](hthe }(hjchhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjmh]hstruct sfp_bus}(hjohhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhj_hMhjcubh found via sfp_bus_find_fwnode()}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjAubj)}(h-``void *upstream`` the upstream private data h](j)}(h``void *upstream``h]j)}(hjh]hvoid *upstream}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]jl)}(hthe upstream private datah]hthe upstream private data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubj)}(hk``const struct sfp_upstream_ops *ops`` the upstream's :c:type:`struct sfp_upstream_ops ` h](j)}(h&``const struct sfp_upstream_ops *ops``h]j)}(hjߤh]h"const struct sfp_upstream_ops *ops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݤubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj٤ubj)}(hhh]jl)}(hCthe upstream's :c:type:`struct sfp_upstream_ops `h](hthe upstream’s }(hjhhhNhNubh)}(h4:c:type:`struct sfp_upstream_ops `h]j)}(hjh]hstruct sfp_upstream_ops}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_upstream_opsuh1hhjhMhjubeh}(h]h ]h"]h$]h&]uh1jkhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj٤ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubeh}(h]h ]h"]h$]h&]uh1jhj%ubjl)}(h**Description**h]j)}(hj9h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj%ubjl)}(hAdd upstream driver for the SFP bus, and if the bus is complete, register the SFP bus using sfp_register_upstream(). This takes a reference on the bus, so it is safe to put the bus after this call.h]hAdd upstream driver for the SFP bus, and if the bus is complete, register the SFP bus using sfp_register_upstream(). This takes a reference on the bus, so it is safe to put the bus after this call.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj%ubj)}(h- corresponding to the errors detailed for fwnode_property_get_reference_args(). - ``-ENOMEM`` if we failed to allocate the bus. - an error from the upstream's connect_phy() method. h]jUQ)}(hhh](jZQ)}(hNcorresponding to the errors detailed for fwnode_property_get_reference_args().h]jl)}(hNcorresponding to the errors detailed for fwnode_property_get_reference_args().h]hNcorresponding to the errors detailed for fwnode_property_get_reference_args().}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjeubah}(h]h ]h"]h$]h&]uh1jYQhjbubjZQ)}(h-``-ENOMEM`` if we failed to allocate the bus.h]jl)}(hjh](j)}(h ``-ENOMEM``h]h-ENOMEM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" if we failed to allocate the bus.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj~ubah}(h]h ]h"]h$]h&]uh1jYQhjbubjZQ)}(h3an error from the upstream's connect_phy() method. h]jl)}(h2an error from the upstream's connect_phy() method.h]h4an error from the upstream’s connect_phy() method.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubah}(h]h ]h"]h$]h&]uh1jYQhjbubeh}(h]h ]h"]h$]h&]j$Rj@uh1jTQhjwhMhj^ubah}(h]h ]h"]h$]h&]uh1jhjwhMhj%ubjl)}(h **Return**h]j)}(hj˥h]hReturn}(hjͥhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɥubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj%ubjUQ)}(hhh](jZQ)}(h/on success, a pointer to the sfp_bus structure,h]jl)}(hjh]h/on success, a pointer to the sfp_bus structure,}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubah}(h]h ]h"]h$]h&]uh1jYQhjubjZQ)}(h ``NULL`` if no SFP is specified,h]jl)}(hjh](j)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if no SFP is specified,}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubah}(h]h ]h"]h$]h&]uh1jYQhjubjZQ)}(h#on failure, an error pointer value:h]jl)}(hj$h]h#on failure, an error pointer value:}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj"ubah}(h]h ]h"]h$]h&]uh1jYQhjubeh}(h]h ]h"]h$]h&]j$Rj@uh1jTQhjhMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjƄhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sfp_bus_del_upstream (C function)c.sfp_bus_del_upstreamhNtauh1hhjƄhhhNhNubh)}(hhh](j)}(h/void sfp_bus_del_upstream (struct sfp_bus *bus)h]j )}(h.void sfp_bus_del_upstream(struct sfp_bus *bus)h](jM )}(hvoidh]hvoid}(hj`hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hj\hhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hjohhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hj\hhhjnhMubj3)}(hsfp_bus_del_upstreamh]j9)}(hsfp_bus_del_upstreamh]hsfp_bus_del_upstream}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj}ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hj\hhhjnhMubj )}(h(struct sfp_bus *bus)h]j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jsbc.sfp_bus_del_upstreamasbuh1hhjubj")}(h h]h }(hjۦhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjubj )}(hj h]h*}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjubj9)}(hbush]hbus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjubah}(h]h ]h"]h$]h&]jPjQuh1j hj\hhhjnhMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjXhhhjnhMubah}(h]jSah ](j^j_eh"]h$]h&]jcjd)jehuh1jhjnhMhjUhhubjg)}(hhh]jl)}(hDelete a sfp bush]hDelete a sfp bus}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhjUhhhjnhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhjƄhNhNubj)}(hX **Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module **Description** Delete a previously registered upstream connection for the SFP module. **bus** should have been added by sfp_bus_add_upstream().h](jl)}(h**Parameters**h]j)}(hjBh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj<ubj)}(hhh]j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hjah]hstruct sfp_bus *bus}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj[ubj)}(hhh]jl)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjzhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjh]hstruct sfp_bus}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjvhMhjzubh structure for the sfp module}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj<ubjl)}(hDelete a previously registered upstream connection for the SFP module. **bus** should have been added by sfp_bus_add_upstream().h](hGDelete a previously registered upstream connection for the SFP module. }(hjէhhhNhNubj)}(h**bus**h]hbus}(hjݧhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjէubh2 should have been added by sfp_bus_add_upstream().}(hjէhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjƄhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsfp_get_name (C function)c.sfp_get_namehNtauh1hhjƄhhhNhNubh)}(hhh](j)}(h/const char * sfp_get_name (struct sfp_bus *bus)h]j )}(h-const char *sfp_get_name(struct sfp_bus *bus)h](j)}(hj h]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMubj")}(h h]h }(hj$hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj#hMubjM )}(hcharh]hchar}(hj2hhhNhNubah}(h]h ]jY ah"]h$]h&]uh1jL hjhhhj#hMubj")}(h h]h }(hj@hhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhj#hMubj )}(hj h]h*}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjhhhj#hMubj3)}(h sfp_get_nameh]j9)}(h sfp_get_nameh]h sfp_get_name}(hj_hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hj[ubah}(h]h ](jKjLeh"]h$]h&]jPjQuh1j2hjhhhj#hMubj )}(h(struct sfp_bus *bus)h]j )}(hstruct sfp_bus *bush](j)}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubh)}(hhh]j9)}(hsfp_bush]hsfp_bus}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNj j )}j ]j )}j jasbc.sfp_get_nameasbuh1hhjwubj")}(h h]h }(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjwubj )}(hj h]h*}(hjǨhhhNhNubah}(h]h ]j ah"]h$]h&]uh1j hjwubj9)}(hbush]hbus}(hjԨhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j8hjwubeh}(h]h ]h"]h$]h&]noemphjPjQuh1j hjsubah}(h]h ]h"]h$]h&]jPjQuh1j hjhhhj#hMubeh}(h]h ]h"]h$]h&]jPjQjXuh1j jYjZhjhhhj#hMubah}(h]j ah ](j^j_eh"]h$]h&]jcjd)jehuh1jhj#hMhj hhubjg)}(hhh]jl)}(hGet the SFP device nameh]hGet the SFP device name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjhhubah}(h]h ]h"]h$]h&]uh1jfhj hhhj#hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjƄhNhNubj)}(hX**Parameters** ``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module **Description** Gets the SFP device's name, if **bus** has a registered socket. Callers must hold RTNL, and the returned name is only valid until RTNL is released. **Return** - The name of the SFP device registered with sfp_register_socket() - ``NULL`` if no device was registered on **bus**h](jl)}(h**Parameters**h]j)}(hj h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubj)}(hhh]j)}(hi``struct sfp_bus *bus`` a pointer to the :c:type:`struct sfp_bus ` structure for the sfp module h](j)}(h``struct sfp_bus *bus``h]j)}(hj?h]hstruct sfp_bus *bus}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhj9ubj)}(hhh]jl)}(hPa pointer to the :c:type:`struct sfp_bus ` structure for the sfp moduleh](ha pointer to the }(hjXhhhNhNubh)}(h":c:type:`struct sfp_bus `h]j)}(hjbh]hstruct sfp_bus}(hjdhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj jjsfp_busuh1hhjThMhjXubh structure for the sfp module}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubjl)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjl)}(hGets the SFP device's name, if **bus** has a registered socket. Callers must hold RTNL, and the returned name is only valid until RTNL is released.h](h!Gets the SFP device’s name, if }(hjhhhNhNubj)}(h**bus**h]hbus}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhm has a registered socket. Callers must hold RTNL, and the returned name is only valid until RTNL is released.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjl)}(h **Return**h]j)}(hj֩h]hReturn}(hjةhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԩubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubjUQ)}(hhh](jZQ)}(h@The name of the SFP device registered with sfp_register_socket()h]jl)}(hjh]h@The name of the SFP device registered with sfp_register_socket()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubah}(h]h ]h"]h$]h&]uh1jYQhjubjZQ)}(h/``NULL`` if no device was registered on **bus**h]jl)}(hj h](j)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh if no device was registered on }(hj hhhNhNubj)}(h**bus**h]hbus}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jkhZ/var/lib/git/docbuild/linux/Documentation/networking/kapi:161: ./drivers/net/phy/sfp-bus.chMhjubah}(h]h ]h"]h$]h&]uh1jYQhjubeh}(h]h ]h"]h$]h&]j$Rj@uh1jTQhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjƄhhhNhNubeh}(h] sfp-supportah ]h"] sfp supportah$]h&]uh1hhjohhhhhKubeh}(h]network-device-supportah ]h"]network device supportah$]h&]uh1hhhhhhhhKWubeh}(h])linux-networking-and-network-devices-apisah ]h"])linux networking and network devices apisah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourcehʌ _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(j]jZjljij j jnjnjmyjjyjAj>jdjajUjRjaj^jjjÄjjMjJu nametypes}(j]jlj jnjmyjAjdjUjajjÄjMuh}(jZhjihj hhjjjjBjGjjjnj" j? jD j j j j jPjUj jjxj}jjjjj{/j/j0j0j2j2j4j4j6j6j8j8j:j:jH<jM<j=j=jZ?j_?j@j@jBjBj2Ej7EjPGjUGjXIj]IjJjKjLjLjOj!OjQjQj_TjdTj(Wj-WjXjXjZjZj:\j?\j]j]ja_jf_jajaj;dj@djfjfjhjhj$kj)kjmmjrmjHojMoj$qj)qjrjrjtjtjwjwj2yj7yjx{j}{jd~ji~jjjjj„jDŽjjjcjhj7j<jEjJjƓj˓jjjOjTjjjjjjjWj\jjjjj9j>jEjJjjjjjjjǯj̯jxj}j:j?jYj^jжjնjjjVj[j?jDj0j5j!j&jjjjj<jAjjjjjjj jjCjHjXj]jmjrjjjjjjj<jAjjjrjwjj"j?jDjTjYj_jdjjjjjjjjj'j,jQjVjjjjjVj[jnjsj jjjj_jdj-j -jz.j.j0j0j2j2jZ4j_4j4j4j6j6j8j8jA:jF:j;j;jx=j}=jL?jQ?jBjBjDj DjzGjGjIjIj,Mj1Mj=OjBOjRQjWQjRjRjLTjQTjVjVjZjZj]j]jajajejejPijUij2lj7ljojojcqjhqjrjrjaujfujYwj^wj:zj?zjn}js}jjjjj j%jjÅjχjԇjCjHjjjjjjjRjWjcjhjЙjՙjjjCjHjRjWjjjwj|jjjAjFjjĪjjjjjjjjj-j2jjjSjXjjjjjjjjj%j*j>jCjSjXjjj4j9j1j6jjjjj}jjjj-j2jjjjjjjSjXjjjj"jjj jjcjhjjjjjjjjj j jM jR jjjjjjjjjKjPj`jejjj"j"j$j$j[&j`&j)j)j+j+j.j.j0j0j3j3jk6jp6j8j8j:j:jB<jG<j@j@jCjCjEjEjuHjzHjJjJjLjLjMRjRRj8Uj=UjXjXj[j[j^j^j4aj9ajcjdjgjgjkjkjljmjjyjnjnjnjqjqj%tj*tjJwjOwj>jpyjyjyjzjzj|j|jS}jX}j@jEjjjjjjjjjjjjjjjjjjjj jjjjjajDjajfj<jAjjjjjj j:j?jjjjjjj-j2jjjJjOjNjSjjj3j8jjjjjjjjjjjPjUjjjjjjjYj^jjjjjojtj+j0jjj'j,j2j7jjjejjjjjajfj j j= jB j j jjjjjHjMjjjjj%j*j\ ja j!j!jk$jp$j*(j/(ju,jz,j/j /j0j0jD2jI2j3j3j5j5j8j 8j.:j3:jW<j\<j=j=j@j@jBjBjDjDjEjEjFjFjLHjQHjIjIjKjKjNjNjOjOjQjQjRjRjrTjwTjUjUjtWjyWjYjYj4[j9[j\j\j^j^j_j`jajajbjbjej"ejpgjugjijij~mjmjnjojZpj_pjrjrjujujNxjSxj-}j2}j~j~jyj~j5j:jrjwjojtj jj4j9jjjjjgjljjjjśjojtj-j2jrjwj;j@jѨj֨jejjjӫjثj.j3jVj[jгjճjRjoj^jjjjZj_jjjԽjٽjzjjjjj!jjjjjCjHjjjjjjjjjQjVjrjwjjjjjBjGjjjbjgjjjjjjj\jajjj jjjjjjjjj j,j1jjj.j3jjjjjjj:j?jjjm jr j j$ jjjtjyjj"jjj7j<jjjEjJjjj7j<jjj7 j< j`"je"j$j$j &j&j'j'j7*j<*j{,j,j.j.j1j1j2j2jM4jR4j 7j%7j:j:j=j=j=?jB?j!Bj&BjDjDjFjFjHHjMHjKj KjMjMjOjOjSQjXQjRjRj-Uj2UjVjVjlXjqXjZjZj_]jd]j_j_j%aj*ajejejSgjXgjhjhjjj jjIljNljmjmjojoj=rjBrj4tj9tjxjxjd{ji{j}j}jgjlj^jcjjjjjjjjjj!jjƎjjjj j۔jjj jjjj jjj/j4j֞j۞jVj[j֡jۡj}jjjjjj2j7jjjjjdjijjjyj~jjjjjܵjjjj[j`jjjejjjjjjjjj:j?jjjjjjjfjkjjj>jCjYj^jj"jjjCjHjWj\jjjqjvjjjjjjjGjLj!j!j7%j<%j(j(j*j*j+j+j)-j.-j.j.j?0jD0j1j1j4j4j5j5j7j7j;9j@9jt;jy;j>j>j@j@jBjBjXDj]DjwFj|FjHj HjJj"JjLj$Lj;Nj@NjPjPjRjRjUj!UjWjWjQZjVZj]j]j_j"_j`j`jbj$bjcjcj;ej@ejfjfjLhjQhjijijwkj|kjljljnjnj.pj3pjqjqjJsjOsjwjwjzjzj~j~jҁj؁jkjpjjdjjj܉jjjjjjjjjjjj9j>jjjKjPj4j9jjj!j&j%j*jjjMjRjjjUjZjjjjjjj+j0jjjWj\jjj^jcj jjjjjjjjjjjjjjOjTjyj~j}jjjjjjjjjjAjFjkjpjjjjjjjjj$j)jjjjj*j/jjjVj[jjj2j7jj jajfj jjjj(j-jmjrjjjjj[j`jjjjjjjWj\jjjH jM j j jjjjjjjjjjj j j$j$j'j'j+j+j,j,j.j.j1j1j=4jB4jM7jR7j:j:jo>jt>j?j?j%Aj*AjBjBjCjCjkEjpEjFjGjHjHjJjJj LjLjMjMjOjOjPjPjRj RjcSjhSjTjTjVjVjtWjyWjXjXjvZj{Zj[j[jx]j}]j#_j(_jj6>j?j?jAjAj\CjaCjDjDj|FjFjGjHj~IjIjJjKjMjMj"Pj'PjKRjPRjTjTjWjWj)[j.[j]j]j_j_jgajlaj#cj(cjdjdjfjfjjjjjljljojojZrj_rj6tj;tjYvj^vjUxjZxjQzjVzjM|jR|j}j}jj jjj3j8j7j<jjjBjGjjj.j3jjjjj>jCjCjHjojtjjjjjvj{j1j6jjjjjjjսjڽjjj4j9j`jej5j:jfjkjjj9j>j<jAj%j*j=jBjQjVjjjjjjjjj.j3jjj9j>jjjj jjjDjIjjjxj}jG jL j j jjjXj]jjjjjGjLjjjajfjjj jj=jBjrjwj""j'"j%j"%j)j)j,j,j0j0j2j2jH4jM4j 7j7j0:j5:jo=jt=j%?j*?j6Aj;AjCCjHCjEj!EjGj GjHjHjLJjQJjLjLjNjNjAPjFPjRjRjfUjkUjWjWjMZjRZj\j\jX^j]^j`j`jcbjhbjdjdjfjfjjjjjmj mjnjnjpjpjrjrjUvjZvjyjyj |j|jjjUjZjj jJjƄjjjjj#j(jjj jjrjwj]jbjjjLjQjjřjjjNjSjjjojtjSjXj ju footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]hsystem_message)}(hhh]jl)}(h:Enumerated list start value not ordinal-1: "8" (ordinal 8)h]h>Enumerated list start value not ordinal-1: “8” (ordinal 8)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jkhjubah}(h]h ]h"]h$]h&]levelKtypeINFOsourceS/var/lib/git/docbuild/linux/Documentation/networking/kapi:32: ./net/core/datagram.clineMuh1jhjQubatransform_messages] transformerN include_log] decorationNhhub.